Added PW hook for alcohol & onUserDefined. Removed ability score check for Psilike [PRC_IsPsiLike] creatures. Updated scripted Favored Enemy for Plant & Ooze. Removed extra scythe entry from CheckCraftingMaterial(). Added missing morningstar entry in GetBaseResRef(). Increased Template limit to 250. Changed Lich templates to count Practiced Spellcaster in calculation.

This commit is contained in:
Jaysyn904
2024-07-24 18:17:19 -04:00
parent beeac117f7
commit e5b7389319
19 changed files with 38 additions and 19419 deletions

View File

@@ -15,13 +15,13 @@
//:: 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);
int nSpellID = PRCGetSpellId();
int nDrunkenMaster = GetLevelByClass(CLASS_TYPE_DRUNKEN_MASTER);
if(nDrunkenMaster)
{
if(nDrunkenMaster > 4)
@@ -35,6 +35,14 @@ void main()
DrunkenMasterSpeakString();
DrunkenMasterCreateEmptyBottle(nSpellID);
}
else
MakeDrunk(nSpellID);
}
//:: Only overrides alcohol payload if PW hook script exists.
if(ResManGetAliasFor("prc_pwalcohol", RESTYPE_NSS) != "")
{
ExecuteScript("prc_pwalcohol");
}
else
MakeDrunk(nSpellID);
}