PRC8/nwn/nwnprc/trunk/spells/nw_s3_alcohol.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

41 lines
1.0 KiB
Plaintext

//::///////////////////////////////////////////////
//:: NW_S3_Alcohol.nss
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Makes beverages fun.
May 2002: Removed fortitude saves. Just instant intelligence loss
*/
//:://////////////////////////////////////////////
//:: Created By: Brent
//:: Created On: February 2002
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Modified by Jeremiah Teague for
//:: Drunken Master Prestige Class
//:://////////////////////////////////////////////
#include "prc_inc_clsfunc"
void main()
{
int nSpellID = GetSpellId();
int nDrunkenMaster = GetLevelByClass(CLASS_TYPE_DRUNKEN_MASTER);
if(nDrunkenMaster)
{
if(nDrunkenMaster > 4)
{
RemoveAlcoholEffects();
DrunkenRage();
}
else
DrunkLikeDemon();
DrunkenMasterSpeakString();
DrunkenMasterCreateEmptyBottle(nSpellID);
}
else
MakeDrunk(nSpellID);
}