Updated to PRC8
Updated to PRC8. Further function integration. Fixed NPC onDeath script. Full compile. Updated release archive.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user