Spell & Ability Upgrade

Reorganized hak files & removed duplicates.  Added @rafhot's PRC spell & ability level scaling expansion.  Further script integration.  Full compile.
This commit is contained in:
Jaysyn904
2023-08-19 21:08:35 -04:00
parent a911002fe6
commit 7dd83ad168
1466 changed files with 4010 additions and 21168 deletions

View File

@@ -8,6 +8,7 @@
//:://////////////////////////////////////////////
#include "x2_inc_switches"
#include "prc_inc_spells"
//showing spell names is a 2da file hit. When storing
//a lot of spells this can cause a significant delay
@@ -89,7 +90,7 @@ void main()
} //This Event Handles storing the spells
else if (nEvent == X2_ITEM_EVENT_SPELLCAST_AT)
{
oItem = GetSpellTargetObject();
oItem = PRCGetSpellTargetObject();
nSpellId = GetSpellId();
oPC = OBJECT_SELF;
nNumOfSpells = GetLocalInt(oItem, ksNumSpells) + 1;