Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
40
trunk/spells/nw_s3_alcohol.nss
Normal file
40
trunk/spells/nw_s3_alcohol.nss
Normal file
@@ -0,0 +1,40 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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);
|
||||
}
|
Reference in New Issue
Block a user