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

@@ -8,6 +8,8 @@
//:://////////////////////////////////////////////
#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
@@ -86,8 +88,8 @@ void main()
} //This Event Handles storing the spells
else if (nEvent == X2_ITEM_EVENT_SPELLCAST_AT)
{
oItem = GetSpellTargetObject();
nSpellId = GetSpellId();
oItem = PRCGetSpellTargetObject();
nSpellId = PRCGetSpellId();
oPC = OBJECT_SELF;
//This tells us what position to store the spell on