Updated to PRC8

Updated to PRC8.  Further function integration.  Fixed NPC onDeath script.   Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-02-20 22:24:11 -05:00
parent ada3850bad
commit 2bb2c470e0
805 changed files with 37897 additions and 623 deletions

View File

@@ -1,5 +1,6 @@
#include "prc_inc_spells"
#include "x2_inc_switches"
void main()
{
int nEvent =GetUserDefinedItemEventNumber();
@@ -24,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;
}
}