Updated to PRC8
Updated to PRC8. Further function integration. Fixed NPC onDeath script. Full compile. Updated release archive.
This commit is contained in:
@@ -848,7 +848,7 @@
|
||||
},
|
||||
"Mod_CustomTlk": {
|
||||
"type": "cexostring",
|
||||
"value": "prc8_cep31_mg"
|
||||
"value": "prc8_cep3_merge"
|
||||
},
|
||||
"Mod_CutSceneList": {
|
||||
"type": "list",
|
||||
@@ -907,13 +907,6 @@
|
||||
"Mod_HakList": {
|
||||
"type": "list",
|
||||
"value": [
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "prc8_cep3_merge"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
@@ -932,49 +925,56 @@
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "35_2das"
|
||||
"value": "prc8_cep3_merge"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "35_scripts"
|
||||
"value": "prc8_2das"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "35_newspellbook"
|
||||
"value": "prc8_scripts"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "35_spells"
|
||||
"value": "prc8_newspellbook"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "35_epicspells"
|
||||
"value": "prc8_spells"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "35_psionics"
|
||||
"value": "prc8_epicspells"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "35_race"
|
||||
"value": "prc8_psionics"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "prc8_race"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -988,21 +988,21 @@
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "35_textures"
|
||||
"value": "prc8_textures"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "35_misc"
|
||||
"value": "prc8_misc"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "35_craft2das"
|
||||
"value": "prc8_craft2das"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1072,7 +1072,28 @@
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "cep3_core2"
|
||||
"value": "cep3_tiles2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "cep3_loadscreen"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "cep3_doors"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "cep3_core0"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1086,7 +1107,14 @@
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "cep3_core0"
|
||||
"value": "cep3_core2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Mod_Hak": {
|
||||
"type": "cexostring",
|
||||
"value": "cep2_core3"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1186,7 +1214,7 @@
|
||||
},
|
||||
"Mod_OnPlrTarget": {
|
||||
"type": "resref",
|
||||
"value": ""
|
||||
"value": "prc_onplaytarget"
|
||||
},
|
||||
"Mod_OnPlrTileAct": {
|
||||
"type": "resref",
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
_module/ncs/gen_enc_config.ncs
Normal file
BIN
_module/ncs/gen_enc_config.ncs
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
_module/ncs/prc_pwondeath.ncs
Normal file
BIN
_module/ncs/prc_pwondeath.ncs
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -19,12 +19,14 @@ bugfix by Grant Beaty 2002.08.31
|
||||
*/
|
||||
|
||||
#include "NW_I0_SPELLS"
|
||||
#include "prc_inc_spells"
|
||||
|
||||
void main()
|
||||
{
|
||||
//Declare major variables
|
||||
effect eVis = EffectVisualEffect(VFX_DUR_ELEMENTAL_SHIELD);
|
||||
int nDuration = GetCasterLevel(OBJECT_SELF);
|
||||
int nMetaMagic = GetMetaMagicFeat();
|
||||
int nDuration = PRCGetCasterLevel(OBJECT_SELF);
|
||||
int nMetaMagic = PRCGetMetaMagicFeat();
|
||||
object oTarget = OBJECT_SELF;
|
||||
effect eShield = EffectRegenerate(3, 6.0);
|
||||
effect eDur = EffectVisualEffect(VFX_DUR_CESSATE_POSITIVE);
|
||||
@@ -48,8 +50,8 @@ void main()
|
||||
}
|
||||
|
||||
//If there is already a fire shield in effect, remove it.
|
||||
if(GetHasSpellEffect(GetSpellId(), oTarget))
|
||||
RemoveSpellEffects(GetSpellId(), oTarget, oTarget);
|
||||
if(GetHasSpellEffect(PRCGetSpellId(), oTarget))
|
||||
RemoveSpellEffects(PRCGetSpellId(), oTarget, oTarget);
|
||||
|
||||
//Apply the VFX impact and effects
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, RoundsToSeconds(nDuration));
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
//script ac_"tagnameofitemgoeshere" (without the "")
|
||||
#include "nw_i0_spells"
|
||||
#include "x2_inc_switches"
|
||||
#include "prc_inc_spells"
|
||||
|
||||
void main()
|
||||
{
|
||||
// Check if we have the correct event firing the script
|
||||
@@ -21,8 +23,8 @@ void main()
|
||||
|
||||
// fill the variables
|
||||
oSpellOrigin = OBJECT_SELF;
|
||||
oSpellTarget = GetSpellTargetObject();
|
||||
oItem = GetSpellCastItem();
|
||||
oSpellTarget = PRCGetSpellTargetObject();
|
||||
oItem = PRCGetSpellCastItem();
|
||||
int nLevel = GetCasterLevel(OBJECT_SELF);
|
||||
|
||||
if (GetIsObjectValid(oItem))
|
||||
@@ -36,7 +38,7 @@ void main()
|
||||
}
|
||||
if (!GetWeaponRanged(oWeapon) || !GetIsObjectValid(oWeapon))
|
||||
{
|
||||
SignalEvent(oSpellTarget,EventSpellCastAt(OBJECT_SELF,GetSpellId()));
|
||||
SignalEvent(oSpellTarget,EventSpellCastAt(OBJECT_SELF,PRCGetSpellId()));
|
||||
int nDamage = d10(10)+ nLevel;
|
||||
effect eDamage = EffectDamage(nDamage,DAMAGE_TYPE_FIRE);
|
||||
effect eVis;
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
//script ac_"tagnameofitemgoeshere" (without the "")
|
||||
#include "nw_i0_spells"
|
||||
#include "x2_inc_switches"
|
||||
#include "prc_inc_spells"
|
||||
|
||||
void main()
|
||||
{
|
||||
// Check if we have the correct event firing the script
|
||||
@@ -21,8 +23,8 @@ void main()
|
||||
|
||||
// fill the variables
|
||||
oSpellOrigin = OBJECT_SELF;
|
||||
oSpellTarget = GetSpellTargetObject();
|
||||
oItem = GetSpellCastItem();
|
||||
oSpellTarget = PRCGetSpellTargetObject();
|
||||
oItem = PRCGetSpellCastItem();
|
||||
int nLevel = GetCasterLevel(OBJECT_SELF);
|
||||
|
||||
if (GetIsObjectValid(oItem))
|
||||
@@ -36,7 +38,7 @@ void main()
|
||||
}
|
||||
if (!GetWeaponRanged(oWeapon) || !GetIsObjectValid(oWeapon))
|
||||
{
|
||||
SignalEvent(oSpellTarget,EventSpellCastAt(OBJECT_SELF,GetSpellId()));
|
||||
SignalEvent(oSpellTarget,EventSpellCastAt(OBJECT_SELF,PRCGetSpellId()));
|
||||
int nDamage = d6(1)+ nLevel;
|
||||
effect eDamage = EffectDamage(nDamage,DAMAGE_TYPE_FIRE);
|
||||
effect eVis;
|
||||
|
||||
@@ -18,6 +18,8 @@ the X2_ITEM_EVENT_ACTIVATE: script code will run.
|
||||
*/
|
||||
////////////////////////////////////////
|
||||
#include "x2_inc_switches"
|
||||
#include "prc_inc_spells"
|
||||
|
||||
|
||||
//Required Include For Color Messages(Read include to learn more)
|
||||
#include "gen_inc_color"
|
||||
@@ -99,10 +101,10 @@ void main()
|
||||
// * and it hits a target(if it is a weapon) or is being hit (if it is a piece of armor)
|
||||
// * Note that this event fires for non PC creatures as well.
|
||||
|
||||
oItem = GetSpellCastItem(); // The item triggering this spellscript
|
||||
oItem = PRCGetSpellCastItem(); // The item triggering this spellscript
|
||||
oPC = OBJECT_SELF; // The player triggering it
|
||||
oSpellOrigin = OBJECT_SELF ; // Where the spell came from
|
||||
oSpellTarget = GetSpellTargetObject(); // What the spell is aimed at
|
||||
oSpellTarget = PRCGetSpellTargetObject(); // What the spell is aimed at
|
||||
|
||||
//Your code goes here
|
||||
|
||||
@@ -201,8 +203,8 @@ void main()
|
||||
//* standard spellbooks on the item
|
||||
|
||||
oPC = OBJECT_SELF; // The player who cast the spell
|
||||
oItem = GetSpellTargetObject();// The item targeted by the spell
|
||||
iSpell = GetSpellId(); // The id of the spell that was cast
|
||||
oItem = PRCGetSpellTargetObject();// The item targeted by the spell
|
||||
iSpell = PRCGetSpellId(); // The id of the spell that was cast
|
||||
// See the list of SPELL_* constants
|
||||
|
||||
//Your code goes here
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
////////////////////////////////////////
|
||||
//Required Include!
|
||||
#include "x2_inc_switches"
|
||||
#include "prc_inc_spells"
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -113,10 +115,10 @@ location lPC;
|
||||
// * and it hits a target(if it is a weapon) or is being hit (if it is a piece of armor)
|
||||
// * Note that this event fires for non PC creatures as well.
|
||||
|
||||
oItem = GetSpellCastItem(); // The item triggering this spellscript
|
||||
oItem = PRCGetSpellCastItem(); // The item triggering this spellscript
|
||||
oPC = OBJECT_SELF; // The player triggering it
|
||||
oSpellOrigin = OBJECT_SELF ; // Where the spell came from
|
||||
oSpellTarget = GetSpellTargetObject(); // What the spell is aimed at
|
||||
oSpellTarget = PRCGetSpellTargetObject(); // What the spell is aimed at
|
||||
|
||||
//Your code goes here
|
||||
}
|
||||
@@ -253,8 +255,8 @@ location lPC;
|
||||
//* standard spellbooks on the item
|
||||
|
||||
oPC = OBJECT_SELF; // The player who cast the spell
|
||||
oItem = GetSpellTargetObject();// The item targeted by the spell
|
||||
iSpell = GetSpellId(); // The id of the spell that was cast
|
||||
oItem = PRCGetSpellTargetObject();// The item targeted by the spell
|
||||
iSpell = PRCGetSpellId(); // The id of the spell that was cast
|
||||
// See the list of SPELL_* constants
|
||||
|
||||
//Your code goes here
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user