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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user