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

@@ -1,4 +1,6 @@
#include "x2_inc_switches"
#include "prc_inc_spells"
void main()
{
int nEvent =GetUserDefinedItemEventNumber();
@@ -23,7 +25,7 @@ OBJECT_SELF); break;
ExecuteScript("sp_"+GetTag(GetModuleItemLost()),
OBJECT_SELF); break;
case X2_ITEM_EVENT_ONHITCAST:
ExecuteScript("on_"+GetTag(GetSpellCastItem()),
ExecuteScript("on_"+GetTag(PRCGetSpellCastItem()),
OBJECT_SELF); break;
}
}