From 177e3a1d50fce90cfe3bd18460c8209d5f4121cc Mon Sep 17 00:00:00 2001 From: Clanzion Date: Thu, 10 Feb 2022 18:25:30 -0500 Subject: [PATCH] Fix Fix Han's Q causing permanent stun --- NarutoNinpou.w3m/war3map.j | 10926 ++++++++++++++++----------------- NarutoNinpou.w3m/war3map.w3a | Bin 3046631 -> 3046631 bytes NarutoNinpou.w3m/war3map.w3i | Bin 1126 -> 1126 bytes NarutoNinpou.w3m/war3map.wct | Bin 6321182 -> 6321191 bytes NarutoNinpou.w3m/war3map.wpm | Bin 262160 -> 262160 bytes NarutoNinpou.w3m/war3map.wtg | Bin 278903 -> 278903 bytes NarutoNinpou.w3m/war3map.wts | 4 +- 7 files changed, 5465 insertions(+), 5465 deletions(-) diff --git a/NarutoNinpou.w3m/war3map.j b/NarutoNinpou.w3m/war3map.j index 52799cc1..c76356db 100644 --- a/NarutoNinpou.w3m/war3map.j +++ b/NarutoNinpou.w3m/war3map.j @@ -51,31 +51,31 @@ trigger Damage //endglobals from Damage //globals from DamageEngine: constant boolean LIBRARY_DamageEngine=true -constant boolean DamageEngine__USE_GUI= true +constant boolean DamageEngine___USE_GUI= true -constant boolean DamageEngine__USE_SCALING= DamageEngine__USE_GUI -constant boolean DamageEngine__USE_EXTRA= true -constant boolean DamageEngine__USE_ARMOR_MOD= true -constant boolean DamageEngine__USE_MELEE_RANGE= true -constant boolean DamageEngine__USE_LETHAL= true +constant boolean DamageEngine___USE_SCALING= DamageEngine___USE_GUI +constant boolean DamageEngine___USE_EXTRA= true +constant boolean DamageEngine___USE_ARMOR_MOD= true +constant boolean DamageEngine___USE_MELEE_RANGE= true +constant boolean DamageEngine___USE_LETHAL= true -constant integer DamageEngine__LIMBO= 16 +constant integer DamageEngine___LIMBO= 16 constant integer DamageEngine_TYPE_CODE= 1 constant integer DamageEngine_TYPE_PURE= 2 -constant real DamageEngine__DEATH_VAL= 0.405 -timer DamageEngine__alarm= CreateTimer() -boolean DamageEngine__alarmSet= false +constant real DamageEngine___DEATH_VAL= 0.405 +timer DamageEngine___alarm= CreateTimer() +boolean DamageEngine___alarmSet= false //Values to track the original pre-spirit Link/defensive damage values -integer DamageEngine__lastInstance= 0 -boolean DamageEngine__canKick= true -boolean DamageEngine__totem= false -boolean array DamageEngine__attacksImmune -boolean array DamageEngine__damagesImmune +integer DamageEngine___lastInstance= 0 +boolean DamageEngine___canKick= true +boolean DamageEngine___totem= false +boolean array DamageEngine___attacksImmune +boolean array DamageEngine___damagesImmune //Made global in order to use enable/disable behavior. -trigger DamageEngine__t1= CreateTrigger() -trigger DamageEngine__t2= CreateTrigger() -trigger DamageEngine__t3= CreateTrigger() +trigger DamageEngine___t1= CreateTrigger() +trigger DamageEngine___t2= CreateTrigger() +trigger DamageEngine___t3= CreateTrigger() //These variables coincide with Blizzard's "limitop" type definitions so as to enable users (GUI in particular) with some nice performance perks. constant integer DamageEngine_FILTER_ATTACK= 0 constant integer DamageEngine_FILTER_MELEE= 1 @@ -84,16 +84,16 @@ constant integer DamageEngine_FILTER_RANGED= 3 constant integer DamageEngine_FILTER_SPELL= 4 constant integer DamageEngine_FILTER_CODE= 5 constant integer DamageEngine_FILTER_MAX= 6 -integer DamageEngine__eventFilter= DamageEngine_FILTER_OTHER +integer DamageEngine___eventFilter= DamageEngine_FILTER_OTHER boolean DamageEngine_inception= false -boolean DamageEngine__dreaming= false -integer DamageEngine__sleepLevel= 0 -group DamageEngine__proclusGlobal= CreateGroup() -group DamageEngine__fischerMorrow= CreateGroup() -boolean DamageEngine__kicking= false -boolean DamageEngine__eventsRun= false +boolean DamageEngine___dreaming= false +integer DamageEngine___sleepLevel= 0 +group DamageEngine___proclusGlobal= CreateGroup() +group DamageEngine___fischerMorrow= CreateGroup() +boolean DamageEngine___kicking= false +boolean DamageEngine___eventsRun= false -boolean DamageEngine__hasLethal= false +boolean DamageEngine___hasLethal= false //endglobals from DamageEngine //globals from Event: constant boolean LIBRARY_Event=true @@ -298,8 +298,8 @@ integer Table__more= 8190 //Configure it if you use more than 8190 "key" variables in your map (this will never happen though). hashtable Table__ht= InitHashtable() -constant integer Table__sizeK=10 -constant integer Table__listK=12 +constant integer Table__sizeK=7 +constant integer Table__listK=9 //endglobals from Table //globals from TimerUtils: constant boolean LIBRARY_TimerUtils=true @@ -399,10 +399,10 @@ hashtable Armor___unitData //endglobals from Armor //globals from AutoBuyS: constant boolean LIBRARY_AutoBuyS=true -// processed: boolean array AutoBuyS___autobuy[12] -// processed: boolean array AutoBuyS___firstUse[12] -// processed: integer array AutoBuyS___buildId[14] -// processed: ItemList array AutoBuyS___lists[12] +// processed: boolean array AutoBuyS__autobuy[12] +// processed: boolean array AutoBuyS__firstUse[12] +// processed: integer array AutoBuyS__buildId[14] +// processed: ItemList array AutoBuyS__lists[12] //endglobals from AutoBuyS //globals from Camera: constant boolean LIBRARY_Camera=true @@ -569,7 +569,7 @@ boolexpr UnitDex__FilterEnter //endglobals from UnitDex //globals from xepreload: constant boolean LIBRARY_xepreload=true -unit xepreload__dum=null +unit xepreload___dum=null //endglobals from xepreload //globals from Byakugou: constant boolean LIBRARY_Byakugou=true @@ -608,7 +608,7 @@ group UnitRecycler2__toRecycle //endglobals from UnitRecycler2 //globals from JiroboPrison: constant boolean LIBRARY_JiroboPrison=true -// processed: destructable array JiroboPrison___blocks[1][1] +// processed: destructable array JiroboPrison__blocks[1][1] integer JPC //endglobals from JiroboPrison //globals from OonokiKeijuugan: @@ -5097,28 +5097,28 @@ boolean array GiveGold // processed: unit array MitsukiLightning__lasers[1][1] // processed: effect array MitsukiLightning__effects[1][1] // processed: destructable array MitsukiDoton__blocks[1][1] -// processed: unit array AsumaFireR__firewall[1][1] +// processed: unit array AsumaFireR___firewall[1][1] // processed: unit array chiyo_kunais[1][6] -// processed: integer array DanzoNewSemiS__instances[8190] -// processed: unit array DanzoNewIzanagiSM__sharingans[1][1] -// processed: unit array DaruiLaserCircus__lasers[1][1] -// processed: effect array DaruiLaserCircus__effects[1][1] -trigger GaiYagai__t1 -trigger GaiYagai__t2 -integer GaiYagai__count= 0 -unit GaiYagai__dragon -real GaiYagai__angle +// processed: integer array DanzoNewSemiS___instances[8190] +// processed: unit array DanzoNewIzanagiSM___sharingans[1][1] +// processed: unit array DaruiLaserCircus___lasers[1][1] +// processed: effect array DaruiLaserCircus___effects[1][1] +trigger GaiYagai___t1 +trigger GaiYagai___t2 +integer GaiYagai___count= 0 +unit GaiYagai___dragon +real GaiYagai___angle // processed: unit array NidaimeMizukageGenjutsu___mirages[1][1] // processed: unit array HakuNewSemiS___needles[1][1] // processed: destructable array HashiramaGate___blocks[1][1] // processed: destructable array EdoHashiramaGate___blocks[1][1] -// processed: destructable array HiruzenCageNew___blocks[1][1] -group ItachiCrow___ItachiCrowDamage= CreateGroup() -// processed: real array ItachiRevanCrowCloneScope___order_x[8190] -// processed: real array ItachiRevanCrowCloneScope___order_y[8190] -// processed: unit array JuugoChains___chains[1][500] -// processed: real array JuugoUltimateee___scales[1][100] -// processed: destructable array KabutoDoton___blocks[1][1] +// processed: destructable array HiruzenCageNew__blocks[1][1] +group ItachiCrow__ItachiCrowDamage= CreateGroup() +// processed: real array ItachiRevanCrowCloneScope__order_x[8190] +// processed: real array ItachiRevanCrowCloneScope__order_y[8190] +// processed: unit array JuugoChains__chains[1][500] +// processed: real array JuugoUltimateee__scales[1][100] +// processed: destructable array KabutoDoton__blocks[1][1] // processed: real array KakashiLightningCloneScope___order_x[8190] // processed: real array KakashiLightningCloneScope___order_y[8190] unit kakashi_susanoo @@ -5137,26 +5137,26 @@ unit madara_susanoo real array MadaraYasaka___distance unit MadaraMeteorSingle___MadaraCaster unit MadaraMeteor___MadaraCaster -trigger MinatoRasengan___t1 -trigger MinatoRasengan___t2 -trigger MinatoRasengan___t3 -trigger MinatoInstantLight___t1 -trigger MinatoInstantLight___t2 -trigger MinatoInstantLight___t3 -trigger MinatoMarkedKunai___t1 -trigger MinatoMarkedKunai___t2 -// processed: unit array MinatoJouninYellowFlash___minatos[1][1] -// processed: unit array MinatoJouninYellowFlash___flashes[1][1] -// processed: unit array MinatoFexterUltimate___minatos[1][1] -// processed: unit array MinatoFexterUltimate___flashes[1][1] -real Mu___Mu_x -real Mu___Mu_y -unit Mu___Mu_caster -unit Mu___Mu_laser1 -unit Mu___Mu_laser2 -unit Mu___Mu_clone1 -unit Mu___Mu_clone2 -effect Mu___Mu_laser2e +trigger MinatoRasengan__t1 +trigger MinatoRasengan__t2 +trigger MinatoRasengan__t3 +trigger MinatoInstantLight__t1 +trigger MinatoInstantLight__t2 +trigger MinatoInstantLight__t3 +trigger MinatoMarkedKunai__t1 +trigger MinatoMarkedKunai__t2 +// processed: unit array MinatoJouninYellowFlash__minatos[1][1] +// processed: unit array MinatoJouninYellowFlash__flashes[1][1] +// processed: unit array MinatoFexterUltimate__minatos[1][1] +// processed: unit array MinatoFexterUltimate__flashes[1][1] +real Mu__Mu_x +real Mu__Mu_y +unit Mu__Mu_caster +unit Mu__Mu_laser1 +unit Mu__Mu_laser2 +unit Mu__Mu_clone1 +unit Mu__Mu_clone2 +effect Mu__Mu_laser2e // processed: unit array NarutoDama__chakra[1][1] // processed: unit array NarutoShockwave__wave[1][1] // processed: unit array NarutoFexterDama__chakra[1][1] @@ -5171,29 +5171,29 @@ effect Mu___Mu_laser2e boolean bool_hirudora // processed: integer array OPEN_GATE_COUNTER[1] unit sasuke_susanoo -// processed: integer array SasukeNewSusanoo__units_triggers2[8190] -// processed: unit array SasukeSenbon__senbons[8190][9] -trigger SasukeDragonFlame__t1 -trigger SasukeDragonFlame__t2 -integer SasukeDragonFlame__count= 0 -unit SasukeDragonFlame__dragon -real SasukeDragonFlame__angle -// processed: effect array ShisuiHosenka__fires[1][1] +// processed: integer array SasukeNewSusanoo___units_triggers2[8190] +// processed: unit array SasukeSenbon___senbons[8190][9] +trigger SasukeDragonFlame___t1 +trigger SasukeDragonFlame___t2 +integer SasukeDragonFlame___count= 0 +unit SasukeDragonFlame___dragon +real SasukeDragonFlame___angle +// processed: effect array ShisuiHosenka___fires[1][1] unit shisui_susanoo -// processed: integer array ShisuiNewSusanoo__units_triggers2[8190] -// processed: unit array ShizuneSenbonsS__senbons[1][1] -// processed: unit array ShizuneSenbonsS__senbons2[1][1] -// processed: unit array ShizuneNewSemi__dummies[1][1] -// processed: unit array TentenBashosen__dummies[1][1] -// processed: boolean array TobiramaDarkness__show[12] -// processed: unit array ToruneSemi__dummies[1][1] -// processed: dialog array SendGoldAndCystal___gd[12] -// processed: button array SendGoldAndCystal___gb[12][12] -// processed: dialog array SendGoldAndCystal___cd[12] -// processed: button array SendGoldAndCystal___cb[12][12] -// processed: integer array SendGoldAndCystal___g[12] -// processed: integer array SendGoldAndCystal___c[12] -// processed: integer array SendGoldAndCystal___given[12] +// processed: integer array ShisuiNewSusanoo___units_triggers2[8190] +// processed: unit array ShizuneSenbonsS___senbons[1][1] +// processed: unit array ShizuneSenbonsS___senbons2[1][1] +// processed: unit array ShizuneNewSemi___dummies[1][1] +// processed: unit array TentenBashosen___dummies[1][1] +// processed: boolean array TobiramaDarkness___show[12] +// processed: unit array ToruneSemi___dummies[1][1] +// processed: dialog array SendGoldAndCystal__gd[12] +// processed: button array SendGoldAndCystal__gb[12][12] +// processed: dialog array SendGoldAndCystal__cd[12] +// processed: button array SendGoldAndCystal__cb[12][12] +// processed: integer array SendGoldAndCystal__g[12] +// processed: integer array SendGoldAndCystal__c[12] +// processed: integer array SendGoldAndCystal__given[12] group TempGroup @@ -5229,9 +5229,9 @@ boolean array s__DamageTrigger_configured boolean array s__DamageTrigger_usingGUI integer array s__DamageTrigger_next trigger array s__DamageTrigger_rootTrig -boolean array s__DamageTrigger_DamageEngine__trigFrozen -integer array s__DamageTrigger_DamageEngine__levelsDeep -boolean array s__DamageTrigger_DamageEngine__inceptionTrig +boolean array s__DamageTrigger_DamageEngine___trigFrozen +integer array s__DamageTrigger_DamageEngine___levelsDeep +boolean array s__DamageTrigger_DamageEngine___inceptionTrig unit array s__DamageTrigger_source unit array s__DamageTrigger_target integer array s__DamageTrigger_sourceType @@ -5470,8 +5470,8 @@ real array s__Lightning_alphaColour real array s__Lightning_fadingAlpha real array s__Lightning_fadingAlphaInc real array s__Lightning_releaseDelay -constant integer si__PauseUnitEx__Pause=128 -integer s__PauseUnitEx__Pause_map= 0 +constant integer si__PauseUnitEx___Pause=128 +integer s__PauseUnitEx___Pause_map= 0 constant integer si__RegisterNativeEvent__NativeEvent=129 integer s__RegisterNativeEvent__NativeEvent_table constant integer si__effectTimed=130 @@ -5551,7 +5551,7 @@ integer array s__UnitDex_List constant integer s__UnitDex_DETECT_LEAVE_ABILITY= 'uDex' constant boolean s__UnitDex_ALLOW_DEBUGGING= true integer s__UnitDex_Counter= 0 -constant integer si__xepreload__init=137 +constant integer si__xepreload___init=137 constant integer si__InfinityHeal=138 integer array s__InfinityHeal_c unit array s__InfinityHeal_u @@ -6437,11 +6437,11 @@ integer array s__IchigoSlash_count constant integer si__IchigoAttacks=303 integer s__IchigoAttacks_Alloc__instanceCount= 0 integer array s__IchigoAttacks_Alloc__recycle -constant integer si__IchigoAbiltiies__Spell=304 -integer s__IchigoAbiltiies__Spell_Alloc__instanceCount= 0 -integer array s__IchigoAbiltiies__Spell_Alloc__recycle -constant integer s__IchigoAbiltiies__Spell_SPELL_ID= 'A1DT' -unit array s__IchigoAbiltiies__Spell_caster +constant integer si__IchigoAbiltiies___Spell=304 +integer s__IchigoAbiltiies___Spell_Alloc__instanceCount= 0 +integer array s__IchigoAbiltiies___Spell_Alloc__recycle +constant integer s__IchigoAbiltiies___Spell_SPELL_ID= 'A1DT' +unit array s__IchigoAbiltiies___Spell_caster constant integer si__AnkoSkinChange=305 constant integer s__AnkoSkinChange_SPELL_ID= 'A158' constant integer si__AnkoHebi=306 @@ -6503,16 +6503,16 @@ unit array s__AnkoUltimate_caster unit array s__AnkoUltimate_target group array s__AnkoUltimate_snakes integer array s__AnkoUltimate_count -constant integer si__Ox__Spell=311 -integer s__Ox__Spell_Alloc__instanceCount= 0 -integer array s__Ox__Spell_Alloc__recycle -constant integer s__Ox__Spell_SPELL_ID= 'A19H' -unit array s__Ox__Spell_caster -unit array s__Ox__Spell_target -unit array s__Ox__Spell_ox -real array s__Ox__Spell_angle -group array s__Ox__Spell_damaged -integer array s__Ox__Spell_count +constant integer si__Ox___Spell=311 +integer s__Ox___Spell_Alloc__instanceCount= 0 +integer array s__Ox___Spell_Alloc__recycle +constant integer s__Ox___Spell_SPELL_ID= 'A19H' +unit array s__Ox___Spell_caster +unit array s__Ox___Spell_target +unit array s__Ox___Spell_ox +real array s__Ox___Spell_angle +group array s__Ox___Spell_damaged +integer array s__Ox___Spell_count constant integer si__Dog=312 integer s__Dog_Alloc__instanceCount= 0 integer array s__Dog_Alloc__recycle @@ -6527,15 +6527,15 @@ integer array s__Dog_count real array s__Dog_dist group array s__Dog_damaged constant integer si__Cloak=313 -constant integer si__Crab__Spell=314 -integer s__Crab__Spell_Alloc__instanceCount= 0 -integer array s__Crab__Spell_Alloc__recycle -constant integer s__Crab__Spell_SPELL_ID= 'A19P' -unit array s__Crab__Spell_caster -unit array s__Crab__Spell_crab -real array s__Crab__Spell_target_x -real array s__Crab__Spell_target_y -integer array s__Crab__Spell_count +constant integer si__Crab___Spell=314 +integer s__Crab___Spell_Alloc__instanceCount= 0 +integer array s__Crab___Spell_Alloc__recycle +constant integer s__Crab___Spell_SPELL_ID= 'A19P' +unit array s__Crab___Spell_caster +unit array s__Crab___Spell_crab +real array s__Crab___Spell_target_x +real array s__Crab___Spell_target_y +integer array s__Crab___Spell_count constant integer si__Bird=315 integer s__Bird_Alloc__instanceCount= 0 integer array s__Bird_Alloc__recycle @@ -6726,13 +6726,13 @@ unit array s__DanzoMissile_caster unit array s__DanzoMissile_ball real array s__DanzoMissile_angle integer array s__DanzoMissile_count -constant integer si__DanzoNewIzanagiSM__DanzoNewNewIzanagi=338 -integer s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_Alloc__instanceCount= 0 -integer array s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_Alloc__recycle -constant integer s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_SPELL_ID= 'A0G6' -unit array s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_caster -integer array s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_count -effect array s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_e +constant integer si__DanzoNewIzanagiSM___DanzoNewNewIzanagi=338 +integer s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_Alloc__instanceCount= 0 +integer array s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_Alloc__recycle +constant integer s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_SPELL_ID= 'A0G6' +unit array s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_caster +integer array s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_count +effect array s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_e constant integer si__DaruiRaiton=339 constant integer s__DaruiRaiton_SPELL_ID= 'A1A9' constant integer si__DaruiNewSuiton=340 @@ -6761,19 +6761,19 @@ constant integer si__DaruiBlackLightning=342 integer s__DaruiBlackLightning_Alloc__instanceCount= 0 integer array s__DaruiBlackLightning_Alloc__recycle constant integer s__DaruiBlackLightning_SPELL_ID= 'A1AC' -constant integer si__DaruiLaserCircus__Spell=343 -integer s__DaruiLaserCircus__Spell_Alloc__instanceCount= 0 -integer array s__DaruiLaserCircus__Spell_Alloc__recycle -constant integer s__DaruiLaserCircus__Spell_SPELL_ID= 'A01Y' -integer s__DaruiLaserCircus__Spell_instance -unit array s__DaruiLaserCircus__Spell_caster -unit array s__DaruiLaserCircus__Spell_dummy -real array s__DaruiLaserCircus__Spell_target_x -real array s__DaruiLaserCircus__Spell_target_y -real array s__DaruiLaserCircus__Spell_speed -real array s__DaruiLaserCircus__Spell_distance -integer array s__DaruiLaserCircus__Spell_count -integer array s__DaruiLaserCircus__Spell_effects_count +constant integer si__DaruiLaserCircus___Spell=343 +integer s__DaruiLaserCircus___Spell_Alloc__instanceCount= 0 +integer array s__DaruiLaserCircus___Spell_Alloc__recycle +constant integer s__DaruiLaserCircus___Spell_SPELL_ID= 'A01Y' +integer s__DaruiLaserCircus___Spell_instance +unit array s__DaruiLaserCircus___Spell_caster +unit array s__DaruiLaserCircus___Spell_dummy +real array s__DaruiLaserCircus___Spell_target_x +real array s__DaruiLaserCircus___Spell_target_y +real array s__DaruiLaserCircus___Spell_speed +real array s__DaruiLaserCircus___Spell_distance +integer array s__DaruiLaserCircus___Spell_count +integer array s__DaruiLaserCircus___Spell_effects_count constant integer si__DaruiBlackPanther=344 integer s__DaruiBlackPanther_Alloc__instanceCount= 0 integer array s__DaruiBlackPanther_Alloc__recycle @@ -6919,13 +6919,13 @@ unit array s__FuuUltimate_caster unit array s__FuuUltimate_bijuu timer array s__FuuUltimate_spin integer array s__FuuUltimate_count -constant integer si__GaaraSandShield__Spell=360 -integer s__GaaraSandShield__Spell_Alloc__instanceCount= 0 -integer array s__GaaraSandShield__Spell_Alloc__recycle -constant integer s__GaaraSandShield__Spell_SPELL_ID= 'A0KE' -unit array s__GaaraSandShield__Spell_caster -unit array s__GaaraSandShield__Spell_target -unit array s__GaaraSandShield__Spell_shield +constant integer si__GaaraSandShield___Spell=360 +integer s__GaaraSandShield___Spell_Alloc__instanceCount= 0 +integer array s__GaaraSandShield___Spell_Alloc__recycle +constant integer s__GaaraSandShield___Spell_SPELL_ID= 'A0KE' +unit array s__GaaraSandShield___Spell_caster +unit array s__GaaraSandShield___Spell_target +unit array s__GaaraSandShield___Spell_shield constant integer si__GaaraNewQ=361 integer si__GaaraNewQ_F=0 integer si__GaaraNewQ_I=0 @@ -6973,15 +6973,15 @@ boolexpr s__GaaraUltimateChoice_pick unit s__GaaraUltimateChoice_u unit array s__GaaraUltimateChoice_caster player array s__GaaraUltimateChoice_pp -constant integer si__GaiOmoteRenge__Spell=367 -integer s__GaiOmoteRenge__Spell_Alloc__instanceCount= 0 -integer array s__GaiOmoteRenge__Spell_Alloc__recycle -constant integer s__GaiOmoteRenge__Spell_SPELL_ID= 'A0WO' -constant integer s__GaiOmoteRenge__Spell_DUMMY_ID= 'hwat' -integer s__GaiOmoteRenge__Spell_instance -unit array s__GaiOmoteRenge__Spell_caster -real array s__GaiOmoteRenge__Spell_target_x -real array s__GaiOmoteRenge__Spell_target_y +constant integer si__GaiOmoteRenge___Spell=367 +integer s__GaiOmoteRenge___Spell_Alloc__instanceCount= 0 +integer array s__GaiOmoteRenge___Spell_Alloc__recycle +constant integer s__GaiOmoteRenge___Spell_SPELL_ID= 'A0WO' +constant integer s__GaiOmoteRenge___Spell_DUMMY_ID= 'hwat' +integer s__GaiOmoteRenge___Spell_instance +unit array s__GaiOmoteRenge___Spell_caster +real array s__GaiOmoteRenge___Spell_target_x +real array s__GaiOmoteRenge___Spell_target_y constant integer si__HachimonLifeDrain=368 unit s__HachimonLifeDrain_gai constant integer si__GaiEighthGates=369 @@ -7357,26 +7357,26 @@ unit array s__EdoHashiramaGate___Spell_gates integer array s__EdoHashiramaGate___Spell_count group array s__EdoHashiramaGate___Spell_damaged timer array s__EdoHashiramaGate___Spell_catch -constant integer si__EdoTenseiHashiramaStatue___Spell=422 -integer s__EdoTenseiHashiramaStatue___Spell_Alloc__instanceCount= 0 -integer array s__EdoTenseiHashiramaStatue___Spell_Alloc__recycle -constant integer s__EdoTenseiHashiramaStatue___Spell_SPELL_ID= 'A10U' -unit array s__EdoTenseiHashiramaStatue___Spell_caster -unit array s__EdoTenseiHashiramaStatue___Spell_statue -unit array s__EdoTenseiHashiramaStatue___Spell_statue_hands -unit array s__EdoTenseiHashiramaStatue___Spell_statue_hands_dmg -real array s__EdoTenseiHashiramaStatue___Spell_target_x -real array s__EdoTenseiHashiramaStatue___Spell_target_y -integer array s__EdoTenseiHashiramaStatue___Spell_count -constant integer si__HayateSwordStrike___Spell=423 -integer s__HayateSwordStrike___Spell_Alloc__instanceCount= 0 -integer array s__HayateSwordStrike___Spell_Alloc__recycle -constant integer s__HayateSwordStrike___Spell_SPELL_ID= 'A0TO' -unit array s__HayateSwordStrike___Spell_caster -unit array s__HayateSwordStrike___Spell_target -real array s__HayateSwordStrike___Spell_angle -real array s__HayateSwordStrike___Spell_distance -integer array s__HayateSwordStrike___Spell_count +constant integer si__EdoTenseiHashiramaStatue__Spell=422 +integer s__EdoTenseiHashiramaStatue__Spell_Alloc__instanceCount= 0 +integer array s__EdoTenseiHashiramaStatue__Spell_Alloc__recycle +constant integer s__EdoTenseiHashiramaStatue__Spell_SPELL_ID= 'A10U' +unit array s__EdoTenseiHashiramaStatue__Spell_caster +unit array s__EdoTenseiHashiramaStatue__Spell_statue +unit array s__EdoTenseiHashiramaStatue__Spell_statue_hands +unit array s__EdoTenseiHashiramaStatue__Spell_statue_hands_dmg +real array s__EdoTenseiHashiramaStatue__Spell_target_x +real array s__EdoTenseiHashiramaStatue__Spell_target_y +integer array s__EdoTenseiHashiramaStatue__Spell_count +constant integer si__HayateSwordStrike__Spell=423 +integer s__HayateSwordStrike__Spell_Alloc__instanceCount= 0 +integer array s__HayateSwordStrike__Spell_Alloc__recycle +constant integer s__HayateSwordStrike__Spell_SPELL_ID= 'A0TO' +unit array s__HayateSwordStrike__Spell_caster +unit array s__HayateSwordStrike__Spell_target +real array s__HayateSwordStrike__Spell_angle +real array s__HayateSwordStrike__Spell_distance +integer array s__HayateSwordStrike__Spell_count constant integer si__HayateExplosiveKunai=424 integer s__HayateExplosiveKunai_Alloc__instanceCount= 0 integer array s__HayateExplosiveKunai_Alloc__recycle @@ -7598,15 +7598,15 @@ constant integer s__HiruzenKongoRoheki_SPELL_ID= 'A1A7' unit array s__HiruzenKongoRoheki_caster unit array s__HiruzenKongoRoheki_target unit array s__HiruzenKongoRoheki_cage -constant integer si__HiruzenCageNew___Spell=447 -integer s__HiruzenCageNew___Spell_Alloc__instanceCount= 0 -integer array s__HiruzenCageNew___Spell_Alloc__recycle -constant integer s__HiruzenCageNew___Spell_SPELL_ID= 'A1E3' -unit array s__HiruzenCageNew___Spell_caster -unit array s__HiruzenCageNew___Spell_target -unit array s__HiruzenCageNew___Spell_box -real array s__HiruzenCageNew___Spell_target_x -real array s__HiruzenCageNew___Spell_target_y +constant integer si__HiruzenCageNew__Spell=447 +integer s__HiruzenCageNew__Spell_Alloc__instanceCount= 0 +integer array s__HiruzenCageNew__Spell_Alloc__recycle +constant integer s__HiruzenCageNew__Spell_SPELL_ID= 'A1E3' +unit array s__HiruzenCageNew__Spell_caster +unit array s__HiruzenCageNew__Spell_target +unit array s__HiruzenCageNew__Spell_box +real array s__HiruzenCageNew__Spell_target_x +real array s__HiruzenCageNew__Spell_target_y constant integer si__InoNewSemi=448 integer s__InoNewSemi_Alloc__instanceCount= 0 integer array s__InoNewSemi_Alloc__recycle @@ -7811,17 +7811,17 @@ real array s__ItachiRevanCrow_angle integer array s__ItachiRevanCrow_count group array s__ItachiRevanCrow_damaged group array s__ItachiRevanCrow_crows -constant integer si__RevanCrowRNew___Spell=475 -integer s__RevanCrowRNew___Spell_Alloc__instanceCount= 0 -integer array s__RevanCrowRNew___Spell_Alloc__recycle -constant integer s__RevanCrowRNew___Spell_SPELL_ID= 'A1E2' -integer s__RevanCrowRNew___Spell_instance -unit array s__RevanCrowRNew___Spell_caster -unit array s__RevanCrowRNew___Spell_meteor -real array s__RevanCrowRNew___Spell_target_x -real array s__RevanCrowRNew___Spell_target_y -real array s__RevanCrowRNew___Spell_angle -integer array s__RevanCrowRNew___Spell_type +constant integer si__RevanCrowRNew__Spell=475 +integer s__RevanCrowRNew__Spell_Alloc__instanceCount= 0 +integer array s__RevanCrowRNew__Spell_Alloc__recycle +constant integer s__RevanCrowRNew__Spell_SPELL_ID= 'A1E2' +integer s__RevanCrowRNew__Spell_instance +unit array s__RevanCrowRNew__Spell_caster +unit array s__RevanCrowRNew__Spell_meteor +real array s__RevanCrowRNew__Spell_target_x +real array s__RevanCrowRNew__Spell_target_y +real array s__RevanCrowRNew__Spell_angle +integer array s__RevanCrowRNew__Spell_type constant integer si__ItachiRevanCrowClone=476 integer s__ItachiRevanCrowClone_Alloc__instanceCount= 0 integer array s__ItachiRevanCrowClone_Alloc__recycle @@ -7843,28 +7843,28 @@ unit array s__JirayaNewW_target real array s__JirayaNewW_angle effect array s__JirayaNewW_rasengan integer array s__JirayaNewW_count -constant integer si__JirayaFrogCart___Spell=479 -integer s__JirayaFrogCart___Spell_Alloc__instanceCount= 0 -integer array s__JirayaFrogCart___Spell_Alloc__recycle -constant integer s__JirayaFrogCart___Spell_SPELL_ID= 'A0Q4' -integer s__JirayaFrogCart___Spell_instance -unit array s__JirayaFrogCart___Spell_caster -unit array s__JirayaFrogCart___Spell_gamahiro -real array s__JirayaFrogCart___Spell_target_x -real array s__JirayaFrogCart___Spell_target_y -real array s__JirayaFrogCart___Spell_angle -integer array s__JirayaFrogCart___Spell_type -constant integer si__JirayaOodamaRasengan___Spell=480 -integer s__JirayaOodamaRasengan___Spell_Alloc__instanceCount= 0 -integer array s__JirayaOodamaRasengan___Spell_Alloc__recycle -constant integer s__JirayaOodamaRasengan___Spell_SPELL_ID= 'ACrg' -integer s__JirayaOodamaRasengan___Spell_instance -unit array s__JirayaOodamaRasengan___Spell_caster -effect array s__JirayaOodamaRasengan___Spell_rasengan -real array s__JirayaOodamaRasengan___Spell_target_x -real array s__JirayaOodamaRasengan___Spell_target_y -real array s__JirayaOodamaRasengan___Spell_distance -integer array s__JirayaOodamaRasengan___Spell_count +constant integer si__JirayaFrogCart__Spell=479 +integer s__JirayaFrogCart__Spell_Alloc__instanceCount= 0 +integer array s__JirayaFrogCart__Spell_Alloc__recycle +constant integer s__JirayaFrogCart__Spell_SPELL_ID= 'A0Q4' +integer s__JirayaFrogCart__Spell_instance +unit array s__JirayaFrogCart__Spell_caster +unit array s__JirayaFrogCart__Spell_gamahiro +real array s__JirayaFrogCart__Spell_target_x +real array s__JirayaFrogCart__Spell_target_y +real array s__JirayaFrogCart__Spell_angle +integer array s__JirayaFrogCart__Spell_type +constant integer si__JirayaOodamaRasengan__Spell=480 +integer s__JirayaOodamaRasengan__Spell_Alloc__instanceCount= 0 +integer array s__JirayaOodamaRasengan__Spell_Alloc__recycle +constant integer s__JirayaOodamaRasengan__Spell_SPELL_ID= 'ACrg' +integer s__JirayaOodamaRasengan__Spell_instance +unit array s__JirayaOodamaRasengan__Spell_caster +effect array s__JirayaOodamaRasengan__Spell_rasengan +real array s__JirayaOodamaRasengan__Spell_target_x +real array s__JirayaOodamaRasengan__Spell_target_y +real array s__JirayaOodamaRasengan__Spell_distance +integer array s__JirayaOodamaRasengan__Spell_count constant integer si__JiraiyaDies=481 constant integer si__JiroboBoulder=482 integer s__JiroboBoulder_Alloc__instanceCount= 0 @@ -7909,16 +7909,16 @@ constant integer si__JuugoCursedSealAbiltiies=487 integer s__JuugoCursedSealAbiltiies_Alloc__instanceCount= 0 integer array s__JuugoCursedSealAbiltiies_Alloc__recycle unit s__JuugoCursedSealAbiltiies_juugo -constant integer si__JuugoChains___JuugoSpell=488 -integer s__JuugoChains___JuugoSpell_Alloc__instanceCount= 0 -integer array s__JuugoChains___JuugoSpell_Alloc__recycle -constant integer s__JuugoChains___JuugoSpell_SPELL_ID= 'A0TY' -unit array s__JuugoChains___JuugoSpell_caster -unit array s__JuugoChains___JuugoSpell_target -unit array s__JuugoChains___JuugoSpell_dummy -integer array s__JuugoChains___JuugoSpell_count -real array s__JuugoChains___JuugoSpell_window -real array s__JuugoChains___JuugoSpell_angle +constant integer si__JuugoChains__JuugoSpell=488 +integer s__JuugoChains__JuugoSpell_Alloc__instanceCount= 0 +integer array s__JuugoChains__JuugoSpell_Alloc__recycle +constant integer s__JuugoChains__JuugoSpell_SPELL_ID= 'A0TY' +unit array s__JuugoChains__JuugoSpell_caster +unit array s__JuugoChains__JuugoSpell_target +unit array s__JuugoChains__JuugoSpell_dummy +integer array s__JuugoChains__JuugoSpell_count +real array s__JuugoChains__JuugoSpell_window +real array s__JuugoChains__JuugoSpell_angle constant integer si__JuugoCelular=489 integer s__JuugoCelular_Alloc__instanceCount= 0 integer array s__JuugoCelular_Alloc__recycle @@ -7984,44 +7984,44 @@ constant integer si__JuugoNewFury=497 integer s__JuugoNewFury_Alloc__instanceCount= 0 integer array s__JuugoNewFury_Alloc__recycle constant integer s__JuugoNewFury_SPELL_ID= 'A0XX' -constant integer si__KabutoSpells___KabutoPoison=498 -integer s__KabutoSpells___KabutoPoison_Alloc__instanceCount= 0 -integer array s__KabutoSpells___KabutoPoison_Alloc__recycle -constant integer s__KabutoSpells___KabutoPoison_SPELL_ID= 'A0L6' -unit array s__KabutoSpells___KabutoPoison_caster -unit array s__KabutoSpells___KabutoPoison_target -group array s__KabutoSpells___KabutoPoison_clouds -group array s__KabutoSpells___KabutoPoison_damaged -integer array s__KabutoSpells___KabutoPoison_count -constant integer si__KabutoEdoTensei___Spell=499 -integer s__KabutoEdoTensei___Spell_Alloc__instanceCount= 0 -integer array s__KabutoEdoTensei___Spell_Alloc__recycle -constant integer s__KabutoEdoTensei___Spell_SPELL_ID= 'A0LA' -integer s__KabutoEdoTensei___Spell_instance -group array s__KabutoEdoTensei___Spell_katon -unit array s__KabutoEdoTensei___Spell_caster -unit array s__KabutoEdoTensei___Spell_coffin_1 -unit array s__KabutoEdoTensei___Spell_coffin_2 -unit array s__KabutoEdoTensei___Spell_coffin_3 -unit array s__KabutoEdoTensei___Spell_itachi -unit array s__KabutoEdoTensei___Spell_deidara -unit array s__KabutoEdoTensei___Spell_kakuzu -unit array s__KabutoEdoTensei___Spell_grudge -unit array s__KabutoEdoTensei___Spell_bird -unit array s__KabutoEdoTensei___Spell_dummy_1 -unit array s__KabutoEdoTensei___Spell_dummy_2 -unit array s__KabutoEdoTensei___Spell_dummy_3 -lightning array s__KabutoEdoTensei___Spell_light -real array s__KabutoEdoTensei___Spell_target_x -real array s__KabutoEdoTensei___Spell_target_y -real array s__KabutoEdoTensei___Spell_distance -integer array s__KabutoEdoTensei___Spell_count -integer array s__KabutoEdoTensei___Spell_count_2 -constant integer si__KabutoSennin___Spell=500 -integer s__KabutoSennin___Spell_Alloc__instanceCount= 0 -integer array s__KabutoSennin___Spell_Alloc__recycle -constant integer s__KabutoSennin___Spell_SPELL_ID= 'A0LB' -unit array s__KabutoSennin___Spell_caster +constant integer si__KabutoSpells__KabutoPoison=498 +integer s__KabutoSpells__KabutoPoison_Alloc__instanceCount= 0 +integer array s__KabutoSpells__KabutoPoison_Alloc__recycle +constant integer s__KabutoSpells__KabutoPoison_SPELL_ID= 'A0L6' +unit array s__KabutoSpells__KabutoPoison_caster +unit array s__KabutoSpells__KabutoPoison_target +group array s__KabutoSpells__KabutoPoison_clouds +group array s__KabutoSpells__KabutoPoison_damaged +integer array s__KabutoSpells__KabutoPoison_count +constant integer si__KabutoEdoTensei__Spell=499 +integer s__KabutoEdoTensei__Spell_Alloc__instanceCount= 0 +integer array s__KabutoEdoTensei__Spell_Alloc__recycle +constant integer s__KabutoEdoTensei__Spell_SPELL_ID= 'A0LA' +integer s__KabutoEdoTensei__Spell_instance +group array s__KabutoEdoTensei__Spell_katon +unit array s__KabutoEdoTensei__Spell_caster +unit array s__KabutoEdoTensei__Spell_coffin_1 +unit array s__KabutoEdoTensei__Spell_coffin_2 +unit array s__KabutoEdoTensei__Spell_coffin_3 +unit array s__KabutoEdoTensei__Spell_itachi +unit array s__KabutoEdoTensei__Spell_deidara +unit array s__KabutoEdoTensei__Spell_kakuzu +unit array s__KabutoEdoTensei__Spell_grudge +unit array s__KabutoEdoTensei__Spell_bird +unit array s__KabutoEdoTensei__Spell_dummy_1 +unit array s__KabutoEdoTensei__Spell_dummy_2 +unit array s__KabutoEdoTensei__Spell_dummy_3 +lightning array s__KabutoEdoTensei__Spell_light +real array s__KabutoEdoTensei__Spell_target_x +real array s__KabutoEdoTensei__Spell_target_y +real array s__KabutoEdoTensei__Spell_distance +integer array s__KabutoEdoTensei__Spell_count +integer array s__KabutoEdoTensei__Spell_count_2 +constant integer si__KabutoSennin__Spell=500 +integer s__KabutoSennin__Spell_Alloc__instanceCount= 0 +integer array s__KabutoSennin__Spell_Alloc__recycle +constant integer s__KabutoSennin__Spell_SPELL_ID= 'A0LB' +unit array s__KabutoSennin__Spell_caster constant integer si__KabutoNewD=501 integer s__KabutoNewD_Alloc__instanceCount= 0 integer array s__KabutoNewD_Alloc__recycle @@ -8043,49 +8043,49 @@ unit array s__KabutoPull_dummy boolean array s__KabutoPull_found effect array s__KabutoPull_e1 effect array s__KabutoPull_e2 -constant integer si__KabutoSawarabi___Spell=503 -integer s__KabutoSawarabi___Spell_Alloc__instanceCount= 0 -integer array s__KabutoSawarabi___Spell_Alloc__recycle -constant integer s__KabutoSawarabi___Spell_SPELL_ID= 'A0LC' -group array s__KabutoSawarabi___Spell_damaged -unit array s__KabutoSawarabi___Spell_caster -unit array s__KabutoSawarabi___Spell_kimimaro -unit array s__KabutoSawarabi___Spell_dummy -integer array s__KabutoSawarabi___Spell_count -constant integer si__KabutoMukiTensei___Spell=504 -integer s__KabutoMukiTensei___Spell_Alloc__instanceCount= 0 -integer array s__KabutoMukiTensei___Spell_Alloc__recycle -constant integer s__KabutoMukiTensei___Spell_SPELL_ID= 'A0LD' -integer s__KabutoMukiTensei___Spell_instance -group array s__KabutoMukiTensei___Spell_spikes -unit array s__KabutoMukiTensei___Spell_caster -real array s__KabutoMukiTensei___Spell_target_x -real array s__KabutoMukiTensei___Spell_target_y -integer array s__KabutoMukiTensei___Spell_count -constant integer si__KabutoDoton___Spell=505 -integer s__KabutoDoton___Spell_Alloc__instanceCount= 0 -integer array s__KabutoDoton___Spell_Alloc__recycle -constant integer s__KabutoDoton___Spell_SPELL_ID= 'A0LE' -integer s__KabutoDoton___Spell_instance -group array s__KabutoDoton___Spell_g -unit array s__KabutoDoton___Spell_caster -unit array s__KabutoDoton___Spell_sphere -unit array s__KabutoDoton___Spell_jirobo -real array s__KabutoDoton___Spell_target_x -real array s__KabutoDoton___Spell_target_y -constant integer si__KabutoHakugeki___Spell=506 -integer si__KabutoHakugeki___Spell_F=0 -integer si__KabutoHakugeki___Spell_I=0 -integer array si__KabutoHakugeki___Spell_V -constant integer s__KabutoHakugeki___Spell_SPELL_ID= 'A0LF' -unit array s__KabutoHakugeki___Spell_caster -unit array s__KabutoHakugeki___Spell_white_dragon -unit array s__KabutoHakugeki___Spell_ball -real array s__KabutoHakugeki___Spell_target_x -real array s__KabutoHakugeki___Spell_target_y -real array s__KabutoHakugeki___Spell_offset -integer array s__KabutoHakugeki___Spell_count -boolean array s__KabutoHakugeki___Spell_parabola +constant integer si__KabutoSawarabi__Spell=503 +integer s__KabutoSawarabi__Spell_Alloc__instanceCount= 0 +integer array s__KabutoSawarabi__Spell_Alloc__recycle +constant integer s__KabutoSawarabi__Spell_SPELL_ID= 'A0LC' +group array s__KabutoSawarabi__Spell_damaged +unit array s__KabutoSawarabi__Spell_caster +unit array s__KabutoSawarabi__Spell_kimimaro +unit array s__KabutoSawarabi__Spell_dummy +integer array s__KabutoSawarabi__Spell_count +constant integer si__KabutoMukiTensei__Spell=504 +integer s__KabutoMukiTensei__Spell_Alloc__instanceCount= 0 +integer array s__KabutoMukiTensei__Spell_Alloc__recycle +constant integer s__KabutoMukiTensei__Spell_SPELL_ID= 'A0LD' +integer s__KabutoMukiTensei__Spell_instance +group array s__KabutoMukiTensei__Spell_spikes +unit array s__KabutoMukiTensei__Spell_caster +real array s__KabutoMukiTensei__Spell_target_x +real array s__KabutoMukiTensei__Spell_target_y +integer array s__KabutoMukiTensei__Spell_count +constant integer si__KabutoDoton__Spell=505 +integer s__KabutoDoton__Spell_Alloc__instanceCount= 0 +integer array s__KabutoDoton__Spell_Alloc__recycle +constant integer s__KabutoDoton__Spell_SPELL_ID= 'A0LE' +integer s__KabutoDoton__Spell_instance +group array s__KabutoDoton__Spell_g +unit array s__KabutoDoton__Spell_caster +unit array s__KabutoDoton__Spell_sphere +unit array s__KabutoDoton__Spell_jirobo +real array s__KabutoDoton__Spell_target_x +real array s__KabutoDoton__Spell_target_y +constant integer si__KabutoHakugeki__Spell=506 +integer si__KabutoHakugeki__Spell_F=0 +integer si__KabutoHakugeki__Spell_I=0 +integer array si__KabutoHakugeki__Spell_V +constant integer s__KabutoHakugeki__Spell_SPELL_ID= 'A0LF' +unit array s__KabutoHakugeki__Spell_caster +unit array s__KabutoHakugeki__Spell_white_dragon +unit array s__KabutoHakugeki__Spell_ball +real array s__KabutoHakugeki__Spell_target_x +real array s__KabutoHakugeki__Spell_target_y +real array s__KabutoHakugeki__Spell_offset +integer array s__KabutoHakugeki__Spell_count +boolean array s__KabutoHakugeki__Spell_parabola constant integer si__KabutoNervous=507 integer s__KabutoNervous_Alloc__instanceCount= 0 integer array s__KabutoNervous_Alloc__recycle @@ -8118,28 +8118,28 @@ integer s__KaguyaTeleport_Alloc__instanceCount= 0 integer array s__KaguyaTeleport_Alloc__recycle constant integer s__KaguyaTeleport_SPELL_ID= 'A0IC' timer s__KaguyaTeleport_t= null -constant integer si__KaguyaLava___Spell=512 -integer s__KaguyaLava___Spell_Alloc__instanceCount= 0 -integer array s__KaguyaLava___Spell_Alloc__recycle -constant integer s__KaguyaLava___Spell_SPELL_ID= 'A0IB' -unit array s__KaguyaLava___Spell_caster -real array s__KaguyaLava___Spell_target_x -real array s__KaguyaLava___Spell_target_y -group array s__KaguyaLava___Spell_damaged -constant integer si__KaguyaPunch___Spell=513 -integer s__KaguyaPunch___Spell_Alloc__instanceCount= 0 -integer array s__KaguyaPunch___Spell_Alloc__recycle -constant integer s__KaguyaPunch___Spell_SPELL_ID= 'A0IT' -group s__KaguyaPunch___Spell_damaged -unit array s__KaguyaPunch___Spell_caster -real array s__KaguyaPunch___Spell_x -real array s__KaguyaPunch___Spell_y -real array s__KaguyaPunch___Spell_caster_x -real array s__KaguyaPunch___Spell_caster_y -integer array s__KaguyaPunch___Spell_count -real array s__KaguyaPunch___Spell_angle -unit array s__KaguyaPunch___Spell_missile -real array s__KaguyaPunch___Spell_window +constant integer si__KaguyaLava__Spell=512 +integer s__KaguyaLava__Spell_Alloc__instanceCount= 0 +integer array s__KaguyaLava__Spell_Alloc__recycle +constant integer s__KaguyaLava__Spell_SPELL_ID= 'A0IB' +unit array s__KaguyaLava__Spell_caster +real array s__KaguyaLava__Spell_target_x +real array s__KaguyaLava__Spell_target_y +group array s__KaguyaLava__Spell_damaged +constant integer si__KaguyaPunch__Spell=513 +integer s__KaguyaPunch__Spell_Alloc__instanceCount= 0 +integer array s__KaguyaPunch__Spell_Alloc__recycle +constant integer s__KaguyaPunch__Spell_SPELL_ID= 'A0IT' +group s__KaguyaPunch__Spell_damaged +unit array s__KaguyaPunch__Spell_caster +real array s__KaguyaPunch__Spell_x +real array s__KaguyaPunch__Spell_y +real array s__KaguyaPunch__Spell_caster_x +real array s__KaguyaPunch__Spell_caster_y +integer array s__KaguyaPunch__Spell_count +real array s__KaguyaPunch__Spell_angle +unit array s__KaguyaPunch__Spell_missile +real array s__KaguyaPunch__Spell_window constant integer si__KaguyaSemi=514 integer s__KaguyaSemi_Alloc__instanceCount= 0 integer array s__KaguyaSemi_Alloc__recycle @@ -8154,15 +8154,15 @@ real array s__KaguyaSemi_portal_y unit array s__KaguyaSemi_dummy boolean array s__KaguyaSemi_attack boolean array s__KaguyaSemi_down -constant integer si__KaguyaUltimate___Spell=515 -integer s__KaguyaUltimate___Spell_Alloc__instanceCount= 0 -integer array s__KaguyaUltimate___Spell_Alloc__recycle -constant integer s__KaguyaUltimate___Spell_SPELL_ID= 'A0IY' -unit array s__KaguyaUltimate___Spell_caster -unit array s__KaguyaUltimate___Spell_ball -real array s__KaguyaUltimate___Spell_x -real array s__KaguyaUltimate___Spell_y -integer array s__KaguyaUltimate___Spell_count +constant integer si__KaguyaUltimate__Spell=515 +integer s__KaguyaUltimate__Spell_Alloc__instanceCount= 0 +integer array s__KaguyaUltimate__Spell_Alloc__recycle +constant integer s__KaguyaUltimate__Spell_SPELL_ID= 'A0IY' +unit array s__KaguyaUltimate__Spell_caster +unit array s__KaguyaUltimate__Spell_ball +real array s__KaguyaUltimate__Spell_x +real array s__KaguyaUltimate__Spell_y +integer array s__KaguyaUltimate__Spell_count constant integer si__KaguyaDimensionTravel___Spell=516 integer s__KaguyaDimensionTravel___Spell_Alloc__instanceCount= 0 integer array s__KaguyaDimensionTravel___Spell_Alloc__recycle @@ -9242,55 +9242,55 @@ constant integer s__MeiNewKomu_SPELL_ID= 'A0HB' unit array s__MeiNewKomu_caster unit array s__MeiNewKomu_cloud integer array s__MeiNewKomu_count -constant integer si__MeiLavaPit___Spell=661 -integer s__MeiLavaPit___Spell_Alloc__instanceCount= 0 -integer array s__MeiLavaPit___Spell_Alloc__recycle -constant integer s__MeiLavaPit___Spell_SPELL_ID= 'A10X' -group array s__MeiLavaPit___Spell_damaged -unit array s__MeiLavaPit___Spell_caster -real array s__MeiLavaPit___Spell_target_x -real array s__MeiLavaPit___Spell_target_y -integer array s__MeiLavaPit___Spell_count +constant integer si__MeiLavaPit__Spell=661 +integer s__MeiLavaPit__Spell_Alloc__instanceCount= 0 +integer array s__MeiLavaPit__Spell_Alloc__recycle +constant integer s__MeiLavaPit__Spell_SPELL_ID= 'A10X' +group array s__MeiLavaPit__Spell_damaged +unit array s__MeiLavaPit__Spell_caster +real array s__MeiLavaPit__Spell_target_x +real array s__MeiLavaPit__Spell_target_y +integer array s__MeiLavaPit__Spell_count constant integer si__MifuneD=662 constant integer s__MifuneD_SPELL_ID= 'A0R4' -constant integer si__MifuneQ___Spell=663 -integer s__MifuneQ___Spell_Alloc__instanceCount= 0 -integer array s__MifuneQ___Spell_Alloc__recycle -constant integer s__MifuneQ___Spell_SPELL_ID= 'A0W0' -unit array s__MifuneQ___Spell_caster -unit array s__MifuneQ___Spell_target -real array s__MifuneQ___Spell_angle -real array s__MifuneQ___Spell_distance -integer array s__MifuneQ___Spell_count -constant integer si__MifuneNewW___Spell=664 -integer s__MifuneNewW___Spell_Alloc__instanceCount= 0 -integer array s__MifuneNewW___Spell_Alloc__recycle -constant integer s__MifuneNewW___Spell_SPELL_ID= 'A0KX' -unit s__MifuneNewW___Spell_dummy2 -group array s__MifuneNewW___Spell_damaged -unit array s__MifuneNewW___Spell_caster -unit array s__MifuneNewW___Spell_dummy -real array s__MifuneNewW___Spell_angle -integer array s__MifuneNewW___Spell_count +constant integer si__MifuneQ__Spell=663 +integer s__MifuneQ__Spell_Alloc__instanceCount= 0 +integer array s__MifuneQ__Spell_Alloc__recycle +constant integer s__MifuneQ__Spell_SPELL_ID= 'A0W0' +unit array s__MifuneQ__Spell_caster +unit array s__MifuneQ__Spell_target +real array s__MifuneQ__Spell_angle +real array s__MifuneQ__Spell_distance +integer array s__MifuneQ__Spell_count +constant integer si__MifuneNewW__Spell=664 +integer s__MifuneNewW__Spell_Alloc__instanceCount= 0 +integer array s__MifuneNewW__Spell_Alloc__recycle +constant integer s__MifuneNewW__Spell_SPELL_ID= 'A0KX' +unit s__MifuneNewW__Spell_dummy2 +group array s__MifuneNewW__Spell_damaged +unit array s__MifuneNewW__Spell_caster +unit array s__MifuneNewW__Spell_dummy +real array s__MifuneNewW__Spell_angle +integer array s__MifuneNewW__Spell_count constant integer si__KenjutsuFlash=665 integer s__KenjutsuFlash_Alloc__instanceCount= 0 integer array s__KenjutsuFlash_Alloc__recycle constant integer s__KenjutsuFlash_SPELL_ID= 'A0RA' -constant integer si__MifuneR___Spell=666 -integer s__MifuneR___Spell_Alloc__instanceCount= 0 -integer array s__MifuneR___Spell_Alloc__recycle -constant integer s__MifuneR___Spell_SPELL_ID= 'A0R5' -constant integer s__MifuneR___Spell_DUMMY_ID= 'h08G' -unit array s__MifuneR___Spell_caster -unit array s__MifuneR___Spell_target -constant integer si__MifuneT___Spell=667 -integer s__MifuneT___Spell_Alloc__instanceCount= 0 -integer array s__MifuneT___Spell_Alloc__recycle -constant integer s__MifuneT___Spell_SPELL_ID= 'A0R6' -unit array s__MifuneT___Spell_caster -unit array s__MifuneT___Spell_target -real array s__MifuneT___Spell_angle -integer array s__MifuneT___Spell_count +constant integer si__MifuneR__Spell=666 +integer s__MifuneR__Spell_Alloc__instanceCount= 0 +integer array s__MifuneR__Spell_Alloc__recycle +constant integer s__MifuneR__Spell_SPELL_ID= 'A0R5' +constant integer s__MifuneR__Spell_DUMMY_ID= 'h08G' +unit array s__MifuneR__Spell_caster +unit array s__MifuneR__Spell_target +constant integer si__MifuneT__Spell=667 +integer s__MifuneT__Spell_Alloc__instanceCount= 0 +integer array s__MifuneT__Spell_Alloc__recycle +constant integer s__MifuneT__Spell_SPELL_ID= 'A0R6' +unit array s__MifuneT__Spell_caster +unit array s__MifuneT__Spell_target +real array s__MifuneT__Spell_angle +integer array s__MifuneT__Spell_count constant integer si__MifuneCooldown=668 constant integer si__MinatoUltimateChoice=669 integer s__MinatoUltimateChoice_Alloc__instanceCount= 0 @@ -9356,67 +9356,67 @@ effect s__MinatoJouninD_kunai2e unit array s__MinatoJouninD_caster unit array s__MinatoJouninD_kunai integer array s__MinatoJouninD_count -constant integer si__MinatoJouninRasengan___Spell=676 -integer s__MinatoJouninRasengan___Spell_Alloc__instanceCount= 0 -integer array s__MinatoJouninRasengan___Spell_Alloc__recycle -constant integer s__MinatoJouninRasengan___Spell_SPELL_ID= 'A1A8' -group array s__MinatoJouninRasengan___Spell_damaged -unit array s__MinatoJouninRasengan___Spell_caster -unit array s__MinatoJouninRasengan___Spell_target -unit array s__MinatoJouninRasengan___Spell_dummy -effect array s__MinatoJouninRasengan___Spell_rasengan -effect array s__MinatoJouninRasengan___Spell_rasengan_2 -real array s__MinatoJouninRasengan___Spell_angle -integer array s__MinatoJouninRasengan___Spell_count -integer array s__MinatoJouninRasengan___Spell_count_2 -boolean array s__MinatoJouninRasengan___Spell_b -constant integer si__MinatoJouninHiraishin___Spell=677 -integer s__MinatoJouninHiraishin___Spell_Alloc__instanceCount= 0 -integer array s__MinatoJouninHiraishin___Spell_Alloc__recycle -constant integer s__MinatoJouninHiraishin___Spell_SPELL_ID= 'A0PT' -unit array s__MinatoJouninHiraishin___Spell_caster -unit array s__MinatoJouninHiraishin___Spell_target -real array s__MinatoJouninHiraishin___Spell_target_x -real array s__MinatoJouninHiraishin___Spell_target_y -unit array s__MinatoJouninHiraishin___Spell_kunai -group array s__MinatoJouninHiraishin___Spell_damaged -constant integer si__MinatoJouninNewShunshin___Spell=678 -integer s__MinatoJouninNewShunshin___Spell_Alloc__instanceCount= 0 -integer array s__MinatoJouninNewShunshin___Spell_Alloc__recycle -constant integer s__MinatoJouninNewShunshin___Spell_SPELL_ID= 'A0PX' -constant integer s__MinatoJouninNewShunshin___Spell_BUFF_ID= 'B04B' -constant integer s__MinatoJouninNewShunshin___Spell_UNIT_ID= 'h084' -unit array s__MinatoJouninNewShunshin___Spell_caster -unit array s__MinatoJouninNewShunshin___Spell_target -real array s__MinatoJouninNewShunshin___Spell_caster_x -real array s__MinatoJouninNewShunshin___Spell_caster_y -real array s__MinatoJouninNewShunshin___Spell_angle -constant integer si__MinatoJouninRenNoDan___Spell=679 -integer s__MinatoJouninRenNoDan___Spell_Alloc__instanceCount= 0 -integer array s__MinatoJouninRenNoDan___Spell_Alloc__recycle -constant integer s__MinatoJouninRenNoDan___Spell_SPELL_ID= 'A0PY' -integer s__MinatoJouninRenNoDan___Spell_instance -unit array s__MinatoJouninRenNoDan___Spell_caster -unit array s__MinatoJouninRenNoDan___Spell_target -unit array s__MinatoJouninRenNoDan___Spell_dummy -effect array s__MinatoJouninRenNoDan___Spell_rasengan -integer array s__MinatoJouninRenNoDan___Spell_count -constant integer si__MinatoJouninYellowFlash___Spell=680 -integer s__MinatoJouninYellowFlash___Spell_Alloc__instanceCount= 0 -integer array s__MinatoJouninYellowFlash___Spell_Alloc__recycle -constant integer s__MinatoJouninYellowFlash___Spell_SPELL_ID= 'A0Q1' -unit array s__MinatoJouninYellowFlash___Spell_caster -integer array s__MinatoJouninYellowFlash___Spell_count -constant integer si__MinatoFexterRenNoDan___Spell=681 -integer s__MinatoFexterRenNoDan___Spell_Alloc__instanceCount= 0 -integer array s__MinatoFexterRenNoDan___Spell_Alloc__recycle -constant integer s__MinatoFexterRenNoDan___Spell_SPELL_ID= 'A0YO' -unit array s__MinatoFexterRenNoDan___Spell_caster -real array s__MinatoFexterRenNoDan___Spell_target_x -real array s__MinatoFexterRenNoDan___Spell_target_y -unit array s__MinatoFexterRenNoDan___Spell_dummy -effect array s__MinatoFexterRenNoDan___Spell_rasengan -integer array s__MinatoFexterRenNoDan___Spell_count +constant integer si__MinatoJouninRasengan__Spell=676 +integer s__MinatoJouninRasengan__Spell_Alloc__instanceCount= 0 +integer array s__MinatoJouninRasengan__Spell_Alloc__recycle +constant integer s__MinatoJouninRasengan__Spell_SPELL_ID= 'A1A8' +group array s__MinatoJouninRasengan__Spell_damaged +unit array s__MinatoJouninRasengan__Spell_caster +unit array s__MinatoJouninRasengan__Spell_target +unit array s__MinatoJouninRasengan__Spell_dummy +effect array s__MinatoJouninRasengan__Spell_rasengan +effect array s__MinatoJouninRasengan__Spell_rasengan_2 +real array s__MinatoJouninRasengan__Spell_angle +integer array s__MinatoJouninRasengan__Spell_count +integer array s__MinatoJouninRasengan__Spell_count_2 +boolean array s__MinatoJouninRasengan__Spell_b +constant integer si__MinatoJouninHiraishin__Spell=677 +integer s__MinatoJouninHiraishin__Spell_Alloc__instanceCount= 0 +integer array s__MinatoJouninHiraishin__Spell_Alloc__recycle +constant integer s__MinatoJouninHiraishin__Spell_SPELL_ID= 'A0PT' +unit array s__MinatoJouninHiraishin__Spell_caster +unit array s__MinatoJouninHiraishin__Spell_target +real array s__MinatoJouninHiraishin__Spell_target_x +real array s__MinatoJouninHiraishin__Spell_target_y +unit array s__MinatoJouninHiraishin__Spell_kunai +group array s__MinatoJouninHiraishin__Spell_damaged +constant integer si__MinatoJouninNewShunshin__Spell=678 +integer s__MinatoJouninNewShunshin__Spell_Alloc__instanceCount= 0 +integer array s__MinatoJouninNewShunshin__Spell_Alloc__recycle +constant integer s__MinatoJouninNewShunshin__Spell_SPELL_ID= 'A0PX' +constant integer s__MinatoJouninNewShunshin__Spell_BUFF_ID= 'B04B' +constant integer s__MinatoJouninNewShunshin__Spell_UNIT_ID= 'h084' +unit array s__MinatoJouninNewShunshin__Spell_caster +unit array s__MinatoJouninNewShunshin__Spell_target +real array s__MinatoJouninNewShunshin__Spell_caster_x +real array s__MinatoJouninNewShunshin__Spell_caster_y +real array s__MinatoJouninNewShunshin__Spell_angle +constant integer si__MinatoJouninRenNoDan__Spell=679 +integer s__MinatoJouninRenNoDan__Spell_Alloc__instanceCount= 0 +integer array s__MinatoJouninRenNoDan__Spell_Alloc__recycle +constant integer s__MinatoJouninRenNoDan__Spell_SPELL_ID= 'A0PY' +integer s__MinatoJouninRenNoDan__Spell_instance +unit array s__MinatoJouninRenNoDan__Spell_caster +unit array s__MinatoJouninRenNoDan__Spell_target +unit array s__MinatoJouninRenNoDan__Spell_dummy +effect array s__MinatoJouninRenNoDan__Spell_rasengan +integer array s__MinatoJouninRenNoDan__Spell_count +constant integer si__MinatoJouninYellowFlash__Spell=680 +integer s__MinatoJouninYellowFlash__Spell_Alloc__instanceCount= 0 +integer array s__MinatoJouninYellowFlash__Spell_Alloc__recycle +constant integer s__MinatoJouninYellowFlash__Spell_SPELL_ID= 'A0Q1' +unit array s__MinatoJouninYellowFlash__Spell_caster +integer array s__MinatoJouninYellowFlash__Spell_count +constant integer si__MinatoFexterRenNoDan__Spell=681 +integer s__MinatoFexterRenNoDan__Spell_Alloc__instanceCount= 0 +integer array s__MinatoFexterRenNoDan__Spell_Alloc__recycle +constant integer s__MinatoFexterRenNoDan__Spell_SPELL_ID= 'A0YO' +unit array s__MinatoFexterRenNoDan__Spell_caster +real array s__MinatoFexterRenNoDan__Spell_target_x +real array s__MinatoFexterRenNoDan__Spell_target_y +unit array s__MinatoFexterRenNoDan__Spell_dummy +effect array s__MinatoFexterRenNoDan__Spell_rasengan +integer array s__MinatoFexterRenNoDan__Spell_count constant integer si__MinatoFexterNewE=682 integer s__MinatoFexterNewE_Alloc__instanceCount= 0 integer array s__MinatoFexterNewE_Alloc__recycle @@ -9457,15 +9457,15 @@ boolexpr s__MinatoFexterSemiUltimateChoice_pick unit s__MinatoFexterSemiUltimateChoice_u unit array s__MinatoFexterSemiUltimateChoice_caster player array s__MinatoFexterSemiUltimateChoice_pp -constant integer si__MinatoFexterGamabunta___Spell=686 -integer s__MinatoFexterGamabunta___Spell_Alloc__instanceCount= 0 -integer array s__MinatoFexterGamabunta___Spell_Alloc__recycle -constant integer s__MinatoFexterGamabunta___Spell_SPELL_ID= 'A12S' -unit array s__MinatoFexterGamabunta___Spell_caster -unit array s__MinatoFexterGamabunta___Spell_gamahiro -real array s__MinatoFexterGamabunta___Spell_target_x -real array s__MinatoFexterGamabunta___Spell_target_y -real array s__MinatoFexterGamabunta___Spell_angle +constant integer si__MinatoFexterGamabunta__Spell=686 +integer s__MinatoFexterGamabunta__Spell_Alloc__instanceCount= 0 +integer array s__MinatoFexterGamabunta__Spell_Alloc__recycle +constant integer s__MinatoFexterGamabunta__Spell_SPELL_ID= 'A12S' +unit array s__MinatoFexterGamabunta__Spell_caster +unit array s__MinatoFexterGamabunta__Spell_gamahiro +real array s__MinatoFexterGamabunta__Spell_target_x +real array s__MinatoFexterGamabunta__Spell_target_y +real array s__MinatoFexterGamabunta__Spell_angle constant integer si__MinatoFexterUltimateChoice=687 integer s__MinatoFexterUltimateChoice_Alloc__instanceCount= 0 integer array s__MinatoFexterUltimateChoice_Alloc__recycle @@ -9477,33 +9477,33 @@ boolexpr s__MinatoFexterUltimateChoice_pick unit s__MinatoFexterUltimateChoice_u unit array s__MinatoFexterUltimateChoice_caster player array s__MinatoFexterUltimateChoice_pp -constant integer si__MinatoFexterUltimate___Spell=688 -integer s__MinatoFexterUltimate___Spell_Alloc__instanceCount= 0 -integer array s__MinatoFexterUltimate___Spell_Alloc__recycle -constant integer s__MinatoFexterUltimate___Spell_SPELL_ID= 'A12U' -unit array s__MinatoFexterUltimate___Spell_caster -integer array s__MinatoFexterUltimate___Spell_count +constant integer si__MinatoFexterUltimate__Spell=688 +integer s__MinatoFexterUltimate__Spell_Alloc__instanceCount= 0 +integer array s__MinatoFexterUltimate__Spell_Alloc__recycle +constant integer s__MinatoFexterUltimate__Spell_SPELL_ID= 'A12U' +unit array s__MinatoFexterUltimate__Spell_caster +integer array s__MinatoFexterUltimate__Spell_count constant integer si__MuFly=689 -constant integer si__MuNormalJinton___Spell=690 -integer s__MuNormalJinton___Spell_Alloc__instanceCount= 0 -integer array s__MuNormalJinton___Spell_Alloc__recycle -constant integer s__MuNormalJinton___Spell_SPELL_ID= 'A0KR' -unit array s__MuNormalJinton___Spell_caster -group array s__MuNormalJinton___Spell_hideG -real array s__MuNormalJinton___Spell_x -real array s__MuNormalJinton___Spell_y -constant integer si__MuSlam___Spell=691 -integer s__MuSlam___Spell_Alloc__instanceCount= 0 -integer array s__MuSlam___Spell_Alloc__recycle -constant integer s__MuSlam___Spell_SPELL_ID= 'A0KQ' -group array s__MuSlam___Spell_damaged -unit array s__MuSlam___Spell_caster -real array s__MuSlam___Spell_pos_x -real array s__MuSlam___Spell_pos_y -real array s__MuSlam___Spell_angle -integer array s__MuSlam___Spell_count -constant integer si__MuCylindricalJinton___Spell=692 -constant integer s__MuCylindricalJinton___Spell_SPELL_ID= 'A0KS' +constant integer si__MuNormalJinton__Spell=690 +integer s__MuNormalJinton__Spell_Alloc__instanceCount= 0 +integer array s__MuNormalJinton__Spell_Alloc__recycle +constant integer s__MuNormalJinton__Spell_SPELL_ID= 'A0KR' +unit array s__MuNormalJinton__Spell_caster +group array s__MuNormalJinton__Spell_hideG +real array s__MuNormalJinton__Spell_x +real array s__MuNormalJinton__Spell_y +constant integer si__MuSlam__Spell=691 +integer s__MuSlam__Spell_Alloc__instanceCount= 0 +integer array s__MuSlam__Spell_Alloc__recycle +constant integer s__MuSlam__Spell_SPELL_ID= 'A0KQ' +group array s__MuSlam__Spell_damaged +unit array s__MuSlam__Spell_caster +real array s__MuSlam__Spell_pos_x +real array s__MuSlam__Spell_pos_y +real array s__MuSlam__Spell_angle +integer array s__MuSlam__Spell_count +constant integer si__MuCylindricalJinton__Spell=692 +constant integer s__MuCylindricalJinton__Spell_SPELL_ID= 'A0KS' constant integer si__MuuInvisibility=693 integer s__MuuInvisibility_Alloc__instanceCount= 0 integer array s__MuuInvisibility_Alloc__recycle @@ -9525,12 +9525,12 @@ constant integer s__NagatoSixPaths_PRETA_PATH_SPELL_ID= 'A0SW' constant integer s__NagatoSixPaths_NARAKA_PATH_SPELL_ID= 'A0SX' unit array s__NagatoSixPaths_caster constant integer si__NagatoShinraTenSeiChannel=696 -constant integer si__NagatoDevaTarget___Spell=697 -integer s__NagatoDevaTarget___Spell_Alloc__instanceCount= 0 -integer array s__NagatoDevaTarget___Spell_Alloc__recycle -constant integer s__NagatoDevaTarget___Spell_SPELL_ID= 'A1A4' -unit array s__NagatoDevaTarget___Spell_caster -unit array s__NagatoDevaTarget___Spell_target +constant integer si__NagatoDevaTarget__Spell=697 +integer s__NagatoDevaTarget__Spell_Alloc__instanceCount= 0 +integer array s__NagatoDevaTarget__Spell_Alloc__recycle +constant integer s__NagatoDevaTarget__Spell_SPELL_ID= 'A1A4' +unit array s__NagatoDevaTarget__Spell_caster +unit array s__NagatoDevaTarget__Spell_target constant integer si__NagatoDevaArea=698 integer s__NagatoDevaArea_Alloc__instanceCount= 0 integer array s__NagatoDevaArea_Alloc__recycle @@ -10732,15 +10732,15 @@ integer array s__SasukeChidoriEiso_count group array s__SasukeChidoriEiso_damaged group array s__SasukeChidoriEiso_senbons boolean array s__SasukeChidoriEiso_hitsword -constant integer si__SasukeKagutsuchi__Spell=857 -integer s__SasukeKagutsuchi__Spell_Alloc__instanceCount= 0 -integer array s__SasukeKagutsuchi__Spell_Alloc__recycle -constant integer s__SasukeKagutsuchi__Spell_SPELL_ID= 'A0U4' -group array s__SasukeKagutsuchi__Spell_amaterasu -unit array s__SasukeKagutsuchi__Spell_caster -real array s__SasukeKagutsuchi__Spell_target_x -real array s__SasukeKagutsuchi__Spell_target_y -integer array s__SasukeKagutsuchi__Spell_count +constant integer si__SasukeKagutsuchi___Spell=857 +integer s__SasukeKagutsuchi___Spell_Alloc__instanceCount= 0 +integer array s__SasukeKagutsuchi___Spell_Alloc__recycle +constant integer s__SasukeKagutsuchi___Spell_SPELL_ID= 'A0U4' +group array s__SasukeKagutsuchi___Spell_amaterasu +unit array s__SasukeKagutsuchi___Spell_caster +real array s__SasukeKagutsuchi___Spell_target_x +real array s__SasukeKagutsuchi___Spell_target_y +integer array s__SasukeKagutsuchi___Spell_count constant integer si__AmaTimer=858 integer array s__AmaTimer_c unit array s__AmaTimer_u @@ -10765,27 +10765,27 @@ constant integer s__SasukeChibakuTensei_SPELL_ID= 'A0V5' unit array s__SasukeChibakuTensei_caster group array s__SasukeChibakuTensei_damaged integer array s__SasukeChibakuTensei_count -constant integer si__SasukeNewSusanoo__Spell=861 -integer s__SasukeNewSusanoo__Spell_Alloc__instanceCount= 0 -integer array s__SasukeNewSusanoo__Spell_Alloc__recycle -constant integer s__SasukeNewSusanoo__Spell_SPELL_ID= 'A0KU' -unit array s__SasukeNewSusanoo__Spell_caster -unit array s__SasukeNewSusanoo__Spell_susanoo -real array s__SasukeNewSusanoo__Spell_hp -real array s__SasukeNewSusanoo__Spell_damage -real array s__SasukeNewSusanoo__Spell_duration -boolean array s__SasukeNewSusanoo__Spell_firstDmg -integer array s__SasukeNewSusanoo__Spell_count -trigger array s__SasukeNewSusanoo__Spell_dmgTrig -constant integer si__SasukeIndraArrow__Spell=862 -integer s__SasukeIndraArrow__Spell_Alloc__instanceCount= 0 -integer array s__SasukeIndraArrow__Spell_Alloc__recycle -constant integer s__SasukeIndraArrow__Spell_SPELL_ID= 'A0CS' -integer s__SasukeIndraArrow__Spell_instance -unit array s__SasukeIndraArrow__Spell_caster -unit array s__SasukeIndraArrow__Spell_arrow -real array s__SasukeIndraArrow__Spell_angle -integer array s__SasukeIndraArrow__Spell_count +constant integer si__SasukeNewSusanoo___Spell=861 +integer s__SasukeNewSusanoo___Spell_Alloc__instanceCount= 0 +integer array s__SasukeNewSusanoo___Spell_Alloc__recycle +constant integer s__SasukeNewSusanoo___Spell_SPELL_ID= 'A0KU' +unit array s__SasukeNewSusanoo___Spell_caster +unit array s__SasukeNewSusanoo___Spell_susanoo +real array s__SasukeNewSusanoo___Spell_hp +real array s__SasukeNewSusanoo___Spell_damage +real array s__SasukeNewSusanoo___Spell_duration +boolean array s__SasukeNewSusanoo___Spell_firstDmg +integer array s__SasukeNewSusanoo___Spell_count +trigger array s__SasukeNewSusanoo___Spell_dmgTrig +constant integer si__SasukeIndraArrow___Spell=862 +integer s__SasukeIndraArrow___Spell_Alloc__instanceCount= 0 +integer array s__SasukeIndraArrow___Spell_Alloc__recycle +constant integer s__SasukeIndraArrow___Spell_SPELL_ID= 'A0CS' +integer s__SasukeIndraArrow___Spell_instance +unit array s__SasukeIndraArrow___Spell_caster +unit array s__SasukeIndraArrow___Spell_arrow +real array s__SasukeIndraArrow___Spell_angle +integer array s__SasukeIndraArrow___Spell_count constant integer si__SasukeChidoriSenbon=863 integer s__SasukeChidoriSenbon_Alloc__instanceCount= 0 integer array s__SasukeChidoriSenbon_Alloc__recycle @@ -10816,20 +10816,20 @@ unit array s__SasukeDragonFlame_shuriken3 unit array s__SasukeDragonFlame_shuriken4 unit array s__SasukeDragonFlame_shuriken5 real array s__SasukeDragonFlame_angle -constant integer si__SasukeCursedSealAbiltiies__Spell=865 -integer s__SasukeCursedSealAbiltiies__Spell_Alloc__instanceCount= 0 -integer array s__SasukeCursedSealAbiltiies__Spell_Alloc__recycle -constant integer s__SasukeCursedSealAbiltiies__Spell_SPELL_ID= 'A0B8' -unit array s__SasukeCursedSealAbiltiies__Spell_caster -constant integer si__SasukeAdultRinnegan__Spell=866 -integer s__SasukeAdultRinnegan__Spell_Alloc__instanceCount= 0 -integer array s__SasukeAdultRinnegan__Spell_Alloc__recycle -constant integer s__SasukeAdultRinnegan__Spell_SPELL_ID= 'A0Y0' -unit array s__SasukeAdultRinnegan__Spell_caster -real array s__SasukeAdultRinnegan__Spell_caster_x -real array s__SasukeAdultRinnegan__Spell_caster_y -real array s__SasukeAdultRinnegan__Spell_target_x -real array s__SasukeAdultRinnegan__Spell_target_y +constant integer si__SasukeCursedSealAbiltiies___Spell=865 +integer s__SasukeCursedSealAbiltiies___Spell_Alloc__instanceCount= 0 +integer array s__SasukeCursedSealAbiltiies___Spell_Alloc__recycle +constant integer s__SasukeCursedSealAbiltiies___Spell_SPELL_ID= 'A0B8' +unit array s__SasukeCursedSealAbiltiies___Spell_caster +constant integer si__SasukeAdultRinnegan___Spell=866 +integer s__SasukeAdultRinnegan___Spell_Alloc__instanceCount= 0 +integer array s__SasukeAdultRinnegan___Spell_Alloc__recycle +constant integer s__SasukeAdultRinnegan___Spell_SPELL_ID= 'A0Y0' +unit array s__SasukeAdultRinnegan___Spell_caster +real array s__SasukeAdultRinnegan___Spell_caster_x +real array s__SasukeAdultRinnegan___Spell_caster_y +real array s__SasukeAdultRinnegan___Spell_target_x +real array s__SasukeAdultRinnegan___Spell_target_y constant integer si__SasukeBlackChidori=867 integer s__SasukeBlackChidori_Alloc__instanceCount= 0 integer array s__SasukeBlackChidori_Alloc__recycle @@ -10934,15 +10934,15 @@ integer array s__ShisuiSilentKill_Alloc__recycle constant integer s__ShisuiSilentKill_SPELL_ID= 'A0RG' unit array s__ShisuiSilentKill_caster unit array s__ShisuiSilentKill_target -constant integer si__ShisuiHosenka__Spell=891 -integer s__ShisuiHosenka__Spell_Alloc__instanceCount= 0 -integer array s__ShisuiHosenka__Spell_Alloc__recycle -constant integer s__ShisuiHosenka__Spell_SPELL_ID= 'A0RD' -unit array s__ShisuiHosenka__Spell_caster -real array s__ShisuiHosenka__Spell_angle -integer array s__ShisuiHosenka__Spell_count -group array s__ShisuiHosenka__Spell_shurikens -group array s__ShisuiHosenka__Spell_damaged_units +constant integer si__ShisuiHosenka___Spell=891 +integer s__ShisuiHosenka___Spell_Alloc__instanceCount= 0 +integer array s__ShisuiHosenka___Spell_Alloc__recycle +constant integer s__ShisuiHosenka___Spell_SPELL_ID= 'A0RD' +unit array s__ShisuiHosenka___Spell_caster +real array s__ShisuiHosenka___Spell_angle +integer array s__ShisuiHosenka___Spell_count +group array s__ShisuiHosenka___Spell_shurikens +group array s__ShisuiHosenka___Spell_damaged_units constant integer si__ShisuiGenjutsu=892 integer s__ShisuiGenjutsu_Alloc__instanceCount= 0 integer array s__ShisuiGenjutsu_Alloc__recycle @@ -10959,18 +10959,18 @@ unit array s__ShisuiSusanoo_susanoo real array s__ShisuiSusanoo_angle integer array s__ShisuiSusanoo_count group array s__ShisuiSusanoo_needles -constant integer si__ShisuiNewSusanoo__Spell=894 -integer s__ShisuiNewSusanoo__Spell_Alloc__instanceCount= 0 -integer array s__ShisuiNewSusanoo__Spell_Alloc__recycle -constant integer s__ShisuiNewSusanoo__Spell_SPELL_ID= 'A0S7' -unit array s__ShisuiNewSusanoo__Spell_caster -unit array s__ShisuiNewSusanoo__Spell_susanoo -real array s__ShisuiNewSusanoo__Spell_hp -real array s__ShisuiNewSusanoo__Spell_damage -real array s__ShisuiNewSusanoo__Spell_duration -boolean array s__ShisuiNewSusanoo__Spell_firstDmg -integer array s__ShisuiNewSusanoo__Spell_count -trigger array s__ShisuiNewSusanoo__Spell_dmgTrig +constant integer si__ShisuiNewSusanoo___Spell=894 +integer s__ShisuiNewSusanoo___Spell_Alloc__instanceCount= 0 +integer array s__ShisuiNewSusanoo___Spell_Alloc__recycle +constant integer s__ShisuiNewSusanoo___Spell_SPELL_ID= 'A0S7' +unit array s__ShisuiNewSusanoo___Spell_caster +unit array s__ShisuiNewSusanoo___Spell_susanoo +real array s__ShisuiNewSusanoo___Spell_hp +real array s__ShisuiNewSusanoo___Spell_damage +real array s__ShisuiNewSusanoo___Spell_duration +boolean array s__ShisuiNewSusanoo___Spell_firstDmg +integer array s__ShisuiNewSusanoo___Spell_count +trigger array s__ShisuiNewSusanoo___Spell_dmgTrig constant integer si__ShisuiUltimateChoice=895 integer s__ShisuiUltimateChoice_Alloc__instanceCount= 0 integer array s__ShisuiUltimateChoice_Alloc__recycle @@ -11037,26 +11037,26 @@ constant integer s__ShizuneShield_SPELL_ID= 'A1B5' unit array s__ShizuneShield_target real array s__ShizuneShield_hp real array s__ShizuneShield_last_hp -constant integer si__ShizuneNewSemi__Item=903 -integer s__ShizuneNewSemi__Item_Alloc__instanceCount= 0 -integer array s__ShizuneNewSemi__Item_Alloc__recycle -constant integer s__ShizuneNewSemi__Item_SPELL_ID= 'A11N' -group array s__ShizuneNewSemi__Item_damaged -unit array s__ShizuneNewSemi__Item_caster -integer array s__ShizuneNewSemi__Item_count -integer array s__ShizuneNewSemi__Item_element -constant integer si__ShizuneNewUltimate__Spell=904 -integer s__ShizuneNewUltimate__Spell_Alloc__instanceCount= 0 -integer array s__ShizuneNewUltimate__Spell_Alloc__recycle -constant integer s__ShizuneNewUltimate__Spell_SPELL_ID= 'A11O' -boolean s__ShizuneNewUltimate__Spell_cooldown -integer s__ShizuneNewUltimate__Spell_charges -unit array s__ShizuneNewUltimate__Spell_caster -unit array s__ShizuneNewUltimate__Spell_target -real array s__ShizuneNewUltimate__Spell_angle -integer array s__ShizuneNewUltimate__Spell_count -effect array s__ShizuneNewUltimate__Spell_e1 -effect array s__ShizuneNewUltimate__Spell_e2 +constant integer si__ShizuneNewSemi___Item=903 +integer s__ShizuneNewSemi___Item_Alloc__instanceCount= 0 +integer array s__ShizuneNewSemi___Item_Alloc__recycle +constant integer s__ShizuneNewSemi___Item_SPELL_ID= 'A11N' +group array s__ShizuneNewSemi___Item_damaged +unit array s__ShizuneNewSemi___Item_caster +integer array s__ShizuneNewSemi___Item_count +integer array s__ShizuneNewSemi___Item_element +constant integer si__ShizuneNewUltimate___Spell=904 +integer s__ShizuneNewUltimate___Spell_Alloc__instanceCount= 0 +integer array s__ShizuneNewUltimate___Spell_Alloc__recycle +constant integer s__ShizuneNewUltimate___Spell_SPELL_ID= 'A11O' +boolean s__ShizuneNewUltimate___Spell_cooldown +integer s__ShizuneNewUltimate___Spell_charges +unit array s__ShizuneNewUltimate___Spell_caster +unit array s__ShizuneNewUltimate___Spell_target +real array s__ShizuneNewUltimate___Spell_angle +integer array s__ShizuneNewUltimate___Spell_count +effect array s__ShizuneNewUltimate___Spell_e1 +effect array s__ShizuneNewUltimate___Spell_e2 constant integer si__SuigetsuSuiryuudan=905 integer s__SuigetsuSuiryuudan_Alloc__instanceCount= 0 integer array s__SuigetsuSuiryuudan_Alloc__recycle @@ -11125,12 +11125,12 @@ boolexpr s__SuigetsuUltimateChoice_pick unit s__SuigetsuUltimateChoice_u unit array s__SuigetsuUltimateChoice_caster player array s__SuigetsuUltimateChoice_pp -constant integer si__TentenNewD__Spell=912 -integer s__TentenNewD__Spell_Alloc__instanceCount= 0 -integer array s__TentenNewD__Spell_Alloc__recycle -constant integer s__TentenNewD__Spell_SPELL_ID= 'A05X' -unit array s__TentenNewD__Spell_caster -unit array s__TentenNewD__Spell_domo +constant integer si__TentenNewD___Spell=912 +integer s__TentenNewD___Spell_Alloc__instanceCount= 0 +integer array s__TentenNewD___Spell_Alloc__recycle +constant integer s__TentenNewD___Spell_SPELL_ID= 'A05X' +unit array s__TentenNewD___Spell_caster +unit array s__TentenNewD___Spell_domo constant integer si__TentenDanceOfChains=913 integer si__TentenDanceOfChains_F=0 integer si__TentenDanceOfChains_I=0 @@ -11180,15 +11180,15 @@ real array s___TentenNewSemi_chains_y constant integer s___TentenNewSemi_chains_y_size=8190 integer array s__TentenNewSemi_chains_y real array s__TentenNewSemi_window -constant integer si__TentenBashosen__Item=921 -integer s__TentenBashosen__Item_Alloc__instanceCount= 0 -integer array s__TentenBashosen__Item_Alloc__recycle -constant integer s__TentenBashosen__Item_SPELL_ID= 'A0T8' -group array s__TentenBashosen__Item_damaged -unit array s__TentenBashosen__Item_caster -integer array s__TentenBashosen__Item_count -integer array s__TentenBashosen__Item_element -effect array s__TentenBashosen__Item_bashosen +constant integer si__TentenBashosen___Item=921 +integer s__TentenBashosen___Item_Alloc__instanceCount= 0 +integer array s__TentenBashosen___Item_Alloc__recycle +constant integer s__TentenBashosen___Item_SPELL_ID= 'A0T8' +group array s__TentenBashosen___Item_damaged +unit array s__TentenBashosen___Item_caster +integer array s__TentenBashosen___Item_count +integer array s__TentenBashosen___Item_element +effect array s__TentenBashosen___Item_bashosen constant integer si__TentenUltimateChoice=922 integer s__TentenUltimateChoice_Alloc__instanceCount= 0 integer array s__TentenUltimateChoice_Alloc__recycle @@ -11393,14 +11393,14 @@ integer array s__ToruneAssassination_Alloc__recycle constant integer s__ToruneAssassination_SPELL_ID= 'A0Y7' unit array s__ToruneAssassination_caster unit array s__ToruneAssassination_target -constant integer si__ToruneSemi__Item=947 -integer s__ToruneSemi__Item_Alloc__instanceCount= 0 -integer array s__ToruneSemi__Item_Alloc__recycle -constant integer s__ToruneSemi__Item_SPELL_ID= 'A0Y8' -group array s__ToruneSemi__Item_damaged -unit array s__ToruneSemi__Item_caster -integer array s__ToruneSemi__Item_count -integer array s__ToruneSemi__Item_element +constant integer si__ToruneSemi___Item=947 +integer s__ToruneSemi___Item_Alloc__instanceCount= 0 +integer array s__ToruneSemi___Item_Alloc__recycle +constant integer s__ToruneSemi___Item_SPELL_ID= 'A0Y8' +group array s__ToruneSemi___Item_damaged +unit array s__ToruneSemi___Item_caster +integer array s__ToruneSemi___Item_count +integer array s__ToruneSemi___Item_element constant integer si__ToruneUltimate=948 integer s__ToruneUltimate_Alloc__instanceCount= 0 integer array s__ToruneUltimate_Alloc__recycle @@ -11874,10 +11874,10 @@ timer s__TeamDuel_DUEL_TIMER timerdialog s__TeamDuel_DUEL_TIMER_DIALOG boolean s__TeamDuel_ENABLED boolean s__TeamDuel_STARTED -constant integer si__SendGoldAndCystal___Command=1005 -integer si__SendGoldAndCystal___Command_F=0 -integer si__SendGoldAndCystal___Command_I=0 -integer array si__SendGoldAndCystal___Command_V +constant integer si__SendGoldAndCystal__Command=1005 +integer si__SendGoldAndCystal__Command_F=0 +integer si__SendGoldAndCystal__Command_I=0 +integer array si__SendGoldAndCystal__Command_V constant integer si__BuyAttributes=1006 integer si__BuyAttributes_F=0 integer si__BuyAttributes_I=0 @@ -12095,16 +12095,16 @@ integer s__AHSS_Configurations_heroes integer s__AHSS_Configurations_options integer s__AHSS_Configurations_paths integer s__AHSS_Configurations_graphics -constant integer si__AHSS___Team=1037 -integer si__AHSS___Team_F=0 -integer si__AHSS___Team_I=0 -integer array si__AHSS___Team_V -string array s__AHSS___Team_name -integer array s___AHSS___Team_players -constant integer s___AHSS___Team_players_size=12 -integer array s__AHSS___Team_players -integer array s__AHSS___Team_count -rect array s__AHSS___Team_spawningSpot +constant integer si__AHSS__Team=1037 +integer si__AHSS__Team_F=0 +integer si__AHSS__Team_I=0 +integer array si__AHSS__Team_V +string array s__AHSS__Team_name +integer array s___AHSS__Team_players +constant integer s___AHSS__Team_players_size=12 +integer array s__AHSS__Team_players +integer array s__AHSS__Team_count +rect array s__AHSS__Team_spawningSpot constant integer si__AHSS_Teams=1039 integer si__AHSS_Teams_F=0 integer si__AHSS_Teams_I=0 @@ -12113,24 +12113,24 @@ integer array s___AHSS_Teams_teams constant integer s___AHSS_Teams_teams_size=12 integer array s__AHSS_Teams_teams integer array s__AHSS_Teams_count -constant integer si__AHSS___Hero=1041 -integer si__AHSS___Hero_F=0 -integer si__AHSS___Hero_I=0 -integer array si__AHSS___Hero_V -string array s__AHSS___Hero_name -real array s__AHSS___Hero_strength -real array s__AHSS___Hero_strengthLvl -real array s__AHSS___Hero_agility -real array s__AHSS___Hero_agilityLvl -real array s__AHSS___Hero_intelligence -real array s__AHSS___Hero_intelligenceLvl -string array s__AHSS___Hero_description -integer array s__AHSS___Hero_heroid -string array s__AHSS___Hero_modelPath -boolean array s__AHSS___Hero_modelAlternate -real array s__AHSS___Hero_modelScale -integer array s__AHSS___Hero_icon -string array s__AHSS___Hero_iconPath +constant integer si__AHSS__Hero=1041 +integer si__AHSS__Hero_F=0 +integer si__AHSS__Hero_I=0 +integer array si__AHSS__Hero_V +string array s__AHSS__Hero_name +real array s__AHSS__Hero_strength +real array s__AHSS__Hero_strengthLvl +real array s__AHSS__Hero_agility +real array s__AHSS__Hero_agilityLvl +real array s__AHSS__Hero_intelligence +real array s__AHSS__Hero_intelligenceLvl +string array s__AHSS__Hero_description +integer array s__AHSS__Hero_heroid +string array s__AHSS__Hero_modelPath +boolean array s__AHSS__Hero_modelAlternate +real array s__AHSS__Hero_modelScale +integer array s__AHSS__Hero_icon +string array s__AHSS__Hero_iconPath constant integer si__AHSS_Heroes=1042 integer si__AHSS_Heroes_F=0 integer si__AHSS_Heroes_I=0 @@ -12163,24 +12163,24 @@ integer array s__AHSS_Paths_selection integer array s__AHSS_Paths_strength integer array s__AHSS_Paths_agility integer array s__AHSS_Paths_intelligence -constant integer si__AHSS___TeamIcon=1046 -integer si__AHSS___TeamIcon_F=0 -integer si__AHSS___TeamIcon_I=0 -integer array si__AHSS___TeamIcon_V -destructable array s___AHSS___TeamIcon_icons -constant integer s___AHSS___TeamIcon_icons_size=12 -integer array s__AHSS___TeamIcon_icons -integer array s___AHSS___TeamIcon_iconsId -constant integer s___AHSS___TeamIcon_iconsId_size=12 -integer array s__AHSS___TeamIcon_iconsId -constant integer si__AHSS___PlayerSelection=1049 -integer si__AHSS___PlayerSelection_F=0 -integer si__AHSS___PlayerSelection_I=0 -integer array si__AHSS___PlayerSelection_V -integer array s__AHSS___PlayerSelection_whichPlayer -unit array s__AHSS___PlayerSelection_selectionBox -integer array s__AHSS___PlayerSelection_row -integer array s__AHSS___PlayerSelection_column +constant integer si__AHSS__TeamIcon=1046 +integer si__AHSS__TeamIcon_F=0 +integer si__AHSS__TeamIcon_I=0 +integer array si__AHSS__TeamIcon_V +destructable array s___AHSS__TeamIcon_icons +constant integer s___AHSS__TeamIcon_icons_size=12 +integer array s__AHSS__TeamIcon_icons +integer array s___AHSS__TeamIcon_iconsId +constant integer s___AHSS__TeamIcon_iconsId_size=12 +integer array s__AHSS__TeamIcon_iconsId +constant integer si__AHSS__PlayerSelection=1049 +integer si__AHSS__PlayerSelection_F=0 +integer si__AHSS__PlayerSelection_I=0 +integer array si__AHSS__PlayerSelection_V +integer array s__AHSS__PlayerSelection_whichPlayer +unit array s__AHSS__PlayerSelection_selectionBox +integer array s__AHSS__PlayerSelection_row +integer array s__AHSS__PlayerSelection_column constant integer si__AHSS_Graphics=1050 integer si__AHSS_Graphics_F=0 integer si__AHSS_Graphics_I=0 @@ -12351,10 +12351,10 @@ integer array s__9assisted integer array s__10assisted integer array s__11assisted integer array s__12assisted -boolean array s__AutoBuyS___autobuy -boolean array s__AutoBuyS___firstUse -integer array s__AutoBuyS___buildId -integer array s__AutoBuyS___lists +boolean array s__AutoBuyS__autobuy +boolean array s__AutoBuyS__firstUse +integer array s__AutoBuyS__buildId +integer array s__AutoBuyS__lists integer array s__RegisterPlayerUnitEvent__leave_ids boolexpr array s__RegisterPlayerUnitEvent__death_events boolexpr array s__2RegisterPlayerUnitEvent__death_events @@ -12376,7 +12376,7 @@ integer array s__RegisterPlayerUnitEvent__spell_events_count trigger array s__RegisterPlayerUnitEvent__trigger_events trigger array s__2RegisterPlayerUnitEvent__trigger_events integer array s__RegisterPlayerUnitEvent__trigger_events_count -destructable array s__JiroboPrison___blocks +destructable array s__JiroboPrison__blocks group array s__UnitUtils__dummies string array s__UnitUtils__ASCII_TABLE integer array s__UnitUtils__PLAYER_ARRAY @@ -12407,22 +12407,22 @@ unit array s__Bashosen__dummies unit array s__MitsukiLightning__lasers effect array s__MitsukiLightning__effects destructable array s__MitsukiDoton__blocks -unit array s__AsumaFireR__firewall +unit array s__AsumaFireR___firewall unit array s__chiyo_kunais -integer array s__DanzoNewSemiS__instances -unit array s__DanzoNewIzanagiSM__sharingans -unit array s__DaruiLaserCircus__lasers -effect array s__DaruiLaserCircus__effects +integer array s__DanzoNewSemiS___instances +unit array s__DanzoNewIzanagiSM___sharingans +unit array s__DaruiLaserCircus___lasers +effect array s__DaruiLaserCircus___effects unit array s__NidaimeMizukageGenjutsu___mirages unit array s__HakuNewSemiS___needles destructable array s__HashiramaGate___blocks destructable array s__EdoHashiramaGate___blocks -destructable array s__HiruzenCageNew___blocks -real array s__ItachiRevanCrowCloneScope___order_x -real array s__ItachiRevanCrowCloneScope___order_y -unit array s__JuugoChains___chains -real array s__JuugoUltimateee___scales -destructable array s__KabutoDoton___blocks +destructable array s__HiruzenCageNew__blocks +real array s__ItachiRevanCrowCloneScope__order_x +real array s__ItachiRevanCrowCloneScope__order_y +unit array s__JuugoChains__chains +real array s__JuugoUltimateee__scales +destructable array s__KabutoDoton__blocks real array s__KakashiLightningCloneScope___order_x real array s__KakashiLightningCloneScope___order_y integer array s__KakashiNewSusanoo___units_triggers2 @@ -12435,10 +12435,10 @@ unit array s__KurenaiFarming___petals unit array s__MadaraKaton___firewall integer array s__units_triggers unit array s__MadaraYasaka___yasakas -unit array s__MinatoJouninYellowFlash___minatos -unit array s__MinatoJouninYellowFlash___flashes -unit array s__MinatoFexterUltimate___minatos -unit array s__MinatoFexterUltimate___flashes +unit array s__MinatoJouninYellowFlash__minatos +unit array s__MinatoJouninYellowFlash__flashes +unit array s__MinatoFexterUltimate__minatos +unit array s__MinatoFexterUltimate__flashes unit array s__NarutoDama__chakra unit array s__NarutoShockwave__wave unit array s__NarutoFexterDama__chakra @@ -12451,31 +12451,31 @@ unit array s__OrochimaruYamataNoJutsu__chakra lightning array s__RaikageStraight__light lightning array s__RingoLightning__light integer array s__OPEN_GATE_COUNTER -integer array s__SasukeNewSusanoo__units_triggers2 -unit array s__SasukeSenbon__senbons -unit array s__2SasukeSenbon__senbons -unit array s__3SasukeSenbon__senbons -unit array s__4SasukeSenbon__senbons -unit array s__5SasukeSenbon__senbons -unit array s__6SasukeSenbon__senbons -unit array s__7SasukeSenbon__senbons -unit array s__8SasukeSenbon__senbons -unit array s__9SasukeSenbon__senbons -effect array s__ShisuiHosenka__fires -integer array s__ShisuiNewSusanoo__units_triggers2 -unit array s__ShizuneSenbonsS__senbons -unit array s__ShizuneSenbonsS__senbons2 -unit array s__ShizuneNewSemi__dummies -unit array s__TentenBashosen__dummies -boolean array s__TobiramaDarkness__show -unit array s__ToruneSemi__dummies -dialog array s__SendGoldAndCystal___gd -button array s__SendGoldAndCystal___gb -dialog array s__SendGoldAndCystal___cd -button array s__SendGoldAndCystal___cb -integer array s__SendGoldAndCystal___g -integer array s__SendGoldAndCystal___c -integer array s__SendGoldAndCystal___given +integer array s__SasukeNewSusanoo___units_triggers2 +unit array s__SasukeSenbon___senbons +unit array s__2SasukeSenbon___senbons +unit array s__3SasukeSenbon___senbons +unit array s__4SasukeSenbon___senbons +unit array s__5SasukeSenbon___senbons +unit array s__6SasukeSenbon___senbons +unit array s__7SasukeSenbon___senbons +unit array s__8SasukeSenbon___senbons +unit array s__9SasukeSenbon___senbons +effect array s__ShisuiHosenka___fires +integer array s__ShisuiNewSusanoo___units_triggers2 +unit array s__ShizuneSenbonsS___senbons +unit array s__ShizuneSenbonsS___senbons2 +unit array s__ShizuneNewSemi___dummies +unit array s__TentenBashosen___dummies +boolean array s__TobiramaDarkness___show +unit array s__ToruneSemi___dummies +dialog array s__SendGoldAndCystal__gd +button array s__SendGoldAndCystal__gb +dialog array s__SendGoldAndCystal__cd +button array s__SendGoldAndCystal__cb +integer array s__SendGoldAndCystal__g +integer array s__SendGoldAndCystal__c +integer array s__SendGoldAndCystal__given boolean array s__AssistSystem___sai integer array s__s__Recipes_recipes integer array s__s__Recipes_items @@ -12549,7 +12549,7 @@ button array s__s__InoUltimateChoice_b real array s__s__IrukaOil_hps button array s__s__ItachiUltimateChoice_b unit array s__s__KabutoPull_snake -unit array s__s__KabutoHakugeki___Spell_stun +unit array s__s__KabutoHakugeki__Spell_stun unit array s__s__KaguyaTeleport_teleport1 unit array s__s__KaguyaTeleport_teleport2 unit array s__s__KaguyaDimensionTravel___Spell_teleport1 @@ -13068,51 +13068,51 @@ function sg__HideHeroesSystem__ishidden_set takes integer i,boolean v returns no endif endfunction -function sg__SasukeSenbon__senbons_get takes integer i returns unit +function sg__SasukeSenbon___senbons_get takes integer i returns unit if(i<8191) then - return s__SasukeSenbon__senbons[i] + return s__SasukeSenbon___senbons[i] elseif(i<40955) then if(i<16382) then - return s__2SasukeSenbon__senbons[i-8191] + return s__2SasukeSenbon___senbons[i-8191] elseif(i<24573) then - return s__3SasukeSenbon__senbons[i-16382] + return s__3SasukeSenbon___senbons[i-16382] elseif(i<32764) then - return s__4SasukeSenbon__senbons[i-24573] + return s__4SasukeSenbon___senbons[i-24573] else - return s__5SasukeSenbon__senbons[i-32764] + return s__5SasukeSenbon___senbons[i-32764] endif elseif(i<49146) then - return s__6SasukeSenbon__senbons[i-40955] + return s__6SasukeSenbon___senbons[i-40955] elseif(i<57337) then - return s__7SasukeSenbon__senbons[i-49146] + return s__7SasukeSenbon___senbons[i-49146] elseif(i<65528) then - return s__8SasukeSenbon__senbons[i-57337] + return s__8SasukeSenbon___senbons[i-57337] else - return s__9SasukeSenbon__senbons[i-65528] + return s__9SasukeSenbon___senbons[i-65528] endif endfunction -function sg__SasukeSenbon__senbons_set takes integer i,unit v returns nothing +function sg__SasukeSenbon___senbons_set takes integer i,unit v returns nothing if(i<8191) then - set s__SasukeSenbon__senbons[i]=v + set s__SasukeSenbon___senbons[i]=v elseif(i<40955) then if(i<16382) then - set s__2SasukeSenbon__senbons[i-8191]=v + set s__2SasukeSenbon___senbons[i-8191]=v elseif(i<24573) then - set s__3SasukeSenbon__senbons[i-16382]=v + set s__3SasukeSenbon___senbons[i-16382]=v elseif(i<32764) then - set s__4SasukeSenbon__senbons[i-24573]=v + set s__4SasukeSenbon___senbons[i-24573]=v else - set s__5SasukeSenbon__senbons[i-32764]=v + set s__5SasukeSenbon___senbons[i-32764]=v endif elseif(i<49146) then - set s__6SasukeSenbon__senbons[i-40955]=v + set s__6SasukeSenbon___senbons[i-40955]=v elseif(i<57337) then - set s__7SasukeSenbon__senbons[i-49146]=v + set s__7SasukeSenbon___senbons[i-49146]=v elseif(i<65528) then - set s__8SasukeSenbon__senbons[i-57337]=v + set s__8SasukeSenbon___senbons[i-57337]=v else - set s__9SasukeSenbon__senbons[i-65528]=v + set s__9SasukeSenbon___senbons[i-65528]=v endif endfunction @@ -13336,61 +13336,61 @@ function s__AHSS_Graphics_deallocate takes integer this returns nothing set si__AHSS_Graphics_F=this endfunction -//Generated allocator of AHSS___PlayerSelection -function s__AHSS___PlayerSelection__allocate takes nothing returns integer - local integer this=si__AHSS___PlayerSelection_F +//Generated allocator of AHSS__PlayerSelection +function s__AHSS__PlayerSelection__allocate takes nothing returns integer + local integer this=si__AHSS__PlayerSelection_F if (this!=0) then - set si__AHSS___PlayerSelection_F=si__AHSS___PlayerSelection_V[this] + set si__AHSS__PlayerSelection_F=si__AHSS__PlayerSelection_V[this] else - set si__AHSS___PlayerSelection_I=si__AHSS___PlayerSelection_I+1 - set this=si__AHSS___PlayerSelection_I + set si__AHSS__PlayerSelection_I=si__AHSS__PlayerSelection_I+1 + set this=si__AHSS__PlayerSelection_I endif if (this>8190) then return 0 endif - set si__AHSS___PlayerSelection_V[this]=-1 + set si__AHSS__PlayerSelection_V[this]=-1 return this endfunction -//Generated destructor of AHSS___PlayerSelection -function s__AHSS___PlayerSelection_deallocate takes integer this returns nothing +//Generated destructor of AHSS__PlayerSelection +function s__AHSS__PlayerSelection_deallocate takes integer this returns nothing if this==null then return - elseif (si__AHSS___PlayerSelection_V[this]!=-1) then + elseif (si__AHSS__PlayerSelection_V[this]!=-1) then return endif - set si__AHSS___PlayerSelection_V[this]=si__AHSS___PlayerSelection_F - set si__AHSS___PlayerSelection_F=this + set si__AHSS__PlayerSelection_V[this]=si__AHSS__PlayerSelection_F + set si__AHSS__PlayerSelection_F=this endfunction -//Generated allocator of AHSS___TeamIcon -function s__AHSS___TeamIcon__allocate takes nothing returns integer - local integer this=si__AHSS___TeamIcon_F +//Generated allocator of AHSS__TeamIcon +function s__AHSS__TeamIcon__allocate takes nothing returns integer + local integer this=si__AHSS__TeamIcon_F if (this!=0) then - set si__AHSS___TeamIcon_F=si__AHSS___TeamIcon_V[this] + set si__AHSS__TeamIcon_F=si__AHSS__TeamIcon_V[this] else - set si__AHSS___TeamIcon_I=si__AHSS___TeamIcon_I+1 - set this=si__AHSS___TeamIcon_I + set si__AHSS__TeamIcon_I=si__AHSS__TeamIcon_I+1 + set this=si__AHSS__TeamIcon_I endif if (this>681) then return 0 endif - set s__AHSS___TeamIcon_icons[this]=(this-1)*12 - set s__AHSS___TeamIcon_iconsId[this]=(this-1)*12 - set si__AHSS___TeamIcon_V[this]=-1 + set s__AHSS__TeamIcon_icons[this]=(this-1)*12 + set s__AHSS__TeamIcon_iconsId[this]=(this-1)*12 + set si__AHSS__TeamIcon_V[this]=-1 return this endfunction -//Generated destructor of AHSS___TeamIcon -function s__AHSS___TeamIcon_deallocate takes integer this returns nothing +//Generated destructor of AHSS__TeamIcon +function s__AHSS__TeamIcon_deallocate takes integer this returns nothing if this==null then return - elseif (si__AHSS___TeamIcon_V[this]!=-1) then + elseif (si__AHSS__TeamIcon_V[this]!=-1) then return endif - set si__AHSS___TeamIcon_V[this]=si__AHSS___TeamIcon_F - set si__AHSS___TeamIcon_F=this + set si__AHSS__TeamIcon_V[this]=si__AHSS__TeamIcon_F + set si__AHSS__TeamIcon_F=this endfunction //Generated method caller for AHSS_Paths.setBackground @@ -13627,32 +13627,32 @@ function s__AHSS_Heroes_deallocate takes integer this returns nothing set si__AHSS_Heroes_F=this endfunction -//Generated allocator of AHSS___Hero -function s__AHSS___Hero__allocate takes nothing returns integer - local integer this=si__AHSS___Hero_F +//Generated allocator of AHSS__Hero +function s__AHSS__Hero__allocate takes nothing returns integer + local integer this=si__AHSS__Hero_F if (this!=0) then - set si__AHSS___Hero_F=si__AHSS___Hero_V[this] + set si__AHSS__Hero_F=si__AHSS__Hero_V[this] else - set si__AHSS___Hero_I=si__AHSS___Hero_I+1 - set this=si__AHSS___Hero_I + set si__AHSS__Hero_I=si__AHSS__Hero_I+1 + set this=si__AHSS__Hero_I endif if (this>8190) then return 0 endif - set si__AHSS___Hero_V[this]=-1 + set si__AHSS__Hero_V[this]=-1 return this endfunction -//Generated destructor of AHSS___Hero -function s__AHSS___Hero_deallocate takes integer this returns nothing +//Generated destructor of AHSS__Hero +function s__AHSS__Hero_deallocate takes integer this returns nothing if this==null then return - elseif (si__AHSS___Hero_V[this]!=-1) then + elseif (si__AHSS__Hero_V[this]!=-1) then return endif - set si__AHSS___Hero_V[this]=si__AHSS___Hero_F - set si__AHSS___Hero_F=this + set si__AHSS__Hero_V[this]=si__AHSS__Hero_F + set si__AHSS__Hero_F=this endfunction //Generated method caller for AHSS_Teams.create @@ -13710,32 +13710,32 @@ function s__AHSS_Teams_deallocate takes integer this returns nothing set si__AHSS_Teams_F=this endfunction -//Generated allocator of AHSS___Team -function s__AHSS___Team__allocate takes nothing returns integer - local integer this=si__AHSS___Team_F +//Generated allocator of AHSS__Team +function s__AHSS__Team__allocate takes nothing returns integer + local integer this=si__AHSS__Team_F if (this!=0) then - set si__AHSS___Team_F=si__AHSS___Team_V[this] + set si__AHSS__Team_F=si__AHSS__Team_V[this] else - set si__AHSS___Team_I=si__AHSS___Team_I+1 - set this=si__AHSS___Team_I + set si__AHSS__Team_I=si__AHSS__Team_I+1 + set this=si__AHSS__Team_I endif if (this>681) then return 0 endif - set s__AHSS___Team_players[this]=(this-1)*12 - set si__AHSS___Team_V[this]=-1 + set s__AHSS__Team_players[this]=(this-1)*12 + set si__AHSS__Team_V[this]=-1 return this endfunction -//Generated destructor of AHSS___Team -function s__AHSS___Team_deallocate takes integer this returns nothing +//Generated destructor of AHSS__Team +function s__AHSS__Team_deallocate takes integer this returns nothing if this==null then return - elseif (si__AHSS___Team_V[this]!=-1) then + elseif (si__AHSS__Team_V[this]!=-1) then return endif - set si__AHSS___Team_V[this]=si__AHSS___Team_F - set si__AHSS___Team_F=this + set si__AHSS__Team_V[this]=si__AHSS__Team_F + set si__AHSS__Team_F=this endfunction //Generated allocator of AHSS_Configurations @@ -14108,32 +14108,32 @@ function s__BuyAttributes_deallocate takes integer this returns nothing set si__BuyAttributes_F=this endfunction -//Generated allocator of SendGoldAndCystal___Command -function s__SendGoldAndCystal___Command__allocate takes nothing returns integer - local integer this=si__SendGoldAndCystal___Command_F +//Generated allocator of SendGoldAndCystal__Command +function s__SendGoldAndCystal__Command__allocate takes nothing returns integer + local integer this=si__SendGoldAndCystal__Command_F if (this!=0) then - set si__SendGoldAndCystal___Command_F=si__SendGoldAndCystal___Command_V[this] + set si__SendGoldAndCystal__Command_F=si__SendGoldAndCystal__Command_V[this] else - set si__SendGoldAndCystal___Command_I=si__SendGoldAndCystal___Command_I+1 - set this=si__SendGoldAndCystal___Command_I + set si__SendGoldAndCystal__Command_I=si__SendGoldAndCystal__Command_I+1 + set this=si__SendGoldAndCystal__Command_I endif if (this>8190) then return 0 endif - set si__SendGoldAndCystal___Command_V[this]=-1 + set si__SendGoldAndCystal__Command_V[this]=-1 return this endfunction -//Generated destructor of SendGoldAndCystal___Command -function s__SendGoldAndCystal___Command_deallocate takes integer this returns nothing +//Generated destructor of SendGoldAndCystal__Command +function s__SendGoldAndCystal__Command_deallocate takes integer this returns nothing if this==null then return - elseif (si__SendGoldAndCystal___Command_V[this]!=-1) then + elseif (si__SendGoldAndCystal__Command_V[this]!=-1) then return endif - set si__SendGoldAndCystal___Command_V[this]=si__SendGoldAndCystal___Command_F - set si__SendGoldAndCystal___Command_F=this + set si__SendGoldAndCystal__Command_V[this]=si__SendGoldAndCystal__Command_F + set si__SendGoldAndCystal__Command_F=this endfunction //Generated allocator of TeamDuel @@ -15042,32 +15042,32 @@ function sc__KaguyaSemi_startSlash takes integer this returns nothing call TriggerEvaluate(st__KaguyaSemi_startSlash) endfunction -//Generated allocator of KabutoHakugeki___Spell -function s__KabutoHakugeki___Spell__allocate takes nothing returns integer - local integer this=si__KabutoHakugeki___Spell_F +//Generated allocator of KabutoHakugeki__Spell +function s__KabutoHakugeki__Spell__allocate takes nothing returns integer + local integer this=si__KabutoHakugeki__Spell_F if (this!=0) then - set si__KabutoHakugeki___Spell_F=si__KabutoHakugeki___Spell_V[this] + set si__KabutoHakugeki__Spell_F=si__KabutoHakugeki__Spell_V[this] else - set si__KabutoHakugeki___Spell_I=si__KabutoHakugeki___Spell_I+1 - set this=si__KabutoHakugeki___Spell_I + set si__KabutoHakugeki__Spell_I=si__KabutoHakugeki__Spell_I+1 + set this=si__KabutoHakugeki__Spell_I endif if (this>8190) then return 0 endif - set si__KabutoHakugeki___Spell_V[this]=-1 + set si__KabutoHakugeki__Spell_V[this]=-1 return this endfunction -//Generated destructor of KabutoHakugeki___Spell -function s__KabutoHakugeki___Spell_deallocate takes integer this returns nothing +//Generated destructor of KabutoHakugeki__Spell +function s__KabutoHakugeki__Spell_deallocate takes integer this returns nothing if this==null then return - elseif (si__KabutoHakugeki___Spell_V[this]!=-1) then + elseif (si__KabutoHakugeki__Spell_V[this]!=-1) then return endif - set si__KabutoHakugeki___Spell_V[this]=si__KabutoHakugeki___Spell_F - set si__KabutoHakugeki___Spell_F=this + set si__KabutoHakugeki__Spell_V[this]=si__KabutoHakugeki__Spell_F + set si__KabutoHakugeki__Spell_F=this endfunction //Generated allocator of JuugoAxeFist @@ -17063,8 +17063,8 @@ function CTL__DT takes integer l__CTL__t returns nothing return 0 endif - if not DamageEngine__hasLethal and index == s__DamageTrigger_LETHAL then - set DamageEngine__hasLethal=true + if not DamageEngine___hasLethal and index == s__DamageTrigger_LETHAL then + set DamageEngine___hasLethal=true endif if s__DamageTrigger_trigIndexStack[0] == 0 then set s__DamageTrigger_count=s__DamageTrigger_count + 1 //List runs from index 10 and up @@ -17126,7 +17126,7 @@ function CTL__DT takes integer l__CTL__t returns nothing endif return true endfunction - function s__DamageTrigger_DamageEngine__run takes integer this returns nothing + function s__DamageTrigger_DamageEngine___run takes integer this returns nothing local integer cat= this local integer d= s__Damage_index @@ -17134,13 +17134,13 @@ function CTL__DT takes integer l__CTL__t returns nothing local boolean guiUnset= false local boolean mod= cat <= s__DamageTrigger_DAMAGE - if DamageEngine__dreaming then + if DamageEngine___dreaming then return endif - set DamageEngine__dreaming=true - call DisableTrigger(DamageEngine__t1) - call DisableTrigger(DamageEngine__t2) - call EnableTrigger(DamageEngine__t3) + set DamageEngine___dreaming=true + call DisableTrigger(DamageEngine___t1) + call DisableTrigger(DamageEngine___t2) + call EnableTrigger(DamageEngine___t3) //call BJDebugMsg("Start of event running") loop set this=s__DamageTrigger_next[this] @@ -17148,11 +17148,11 @@ function CTL__DT takes integer l__CTL__t returns nothing exitwhen cat == s__DamageTrigger_MOD and ( udg_DamageEventOverride or udg_DamageEventType == DamageEngine_TYPE_PURE ) exitwhen cat == s__DamageTrigger_SHIELD and udg_DamageEventAmount <= 0.00 - exitwhen cat == s__DamageTrigger_LETHAL and udg_LethalDamageHP > DamageEngine__DEATH_VAL + exitwhen cat == s__DamageTrigger_LETHAL and udg_LethalDamageHP > DamageEngine___DEATH_VAL set s__DamageTrigger_eventIndex=this - if not s__DamageTrigger_DamageEngine__trigFrozen[this] and s__DamageTrigger_filters[this * DamageEngine_FILTER_MAX + s__Damage_eFilter[d]] and IsTriggerEnabled(s__DamageTrigger_rootTrig[this]) and ( not s__DamageTrigger_configured[this] or s__DamageTrigger_checkConfiguration(this) ) then + if not s__DamageTrigger_DamageEngine___trigFrozen[this] and s__DamageTrigger_filters[this * DamageEngine_FILTER_MAX + s__Damage_eFilter[d]] and IsTriggerEnabled(s__DamageTrigger_rootTrig[this]) and ( not s__DamageTrigger_configured[this] or s__DamageTrigger_checkConfiguration(this) ) then if mod then if s__DamageTrigger_usingGUI[this] then @@ -17212,10 +17212,10 @@ function CTL__DT takes integer l__CTL__t returns nothing //call BJDebugMsg("End of event running") - call DisableTrigger(DamageEngine__t3) - call EnableTrigger(DamageEngine__t1) - call EnableTrigger(DamageEngine__t2) - set DamageEngine__dreaming=false + call DisableTrigger(DamageEngine___t3) + call EnableTrigger(DamageEngine___t1) + call EnableTrigger(DamageEngine___t2) + set DamageEngine___dreaming=false endfunction function s__DamageTrigger__staticgetindex takes code c returns trigger local integer i= 0 @@ -17285,7 +17285,7 @@ function CTL__DT takes integer l__CTL__t returns nothing function s__Damage_onAOEEnd takes nothing returns nothing if udg_DamageEventAOE > 1 then - call s__DamageTrigger_DamageEngine__run(s__DamageTrigger_AOE) + call s__DamageTrigger_DamageEngine___run(s__DamageTrigger_AOE) endif set udg_DamageEventAOE=0 set udg_DamageEventLevel=0 @@ -17297,7 +17297,7 @@ function CTL__DT takes integer l__CTL__t returns nothing function s__Damage_afterDamage takes nothing returns nothing if udg_DamageEventPrevAmt != 0.00 and udg_DamageEventDamageT != 0 then - call s__DamageTrigger_DamageEngine__run(s__DamageTrigger_AFTER) + call s__DamageTrigger_DamageEngine___run(s__DamageTrigger_AFTER) set udg_DamageEventDamageT=0 set udg_DamageEventPrevAmt=0.00 endif @@ -17313,8 +17313,8 @@ function CTL__DT takes integer l__CTL__t returns nothing set s__Damage_index=this call s__DamageTrigger_setGUIFromStruct(true) - call GroupAddUnit(DamageEngine__proclusGlobal, udg_DamageEventSource) - call GroupAddUnit(DamageEngine__fischerMorrow, udg_DamageEventTarget) + call GroupAddUnit(DamageEngine___proclusGlobal, udg_DamageEventSource) + call GroupAddUnit(DamageEngine___fischerMorrow, udg_DamageEventTarget) //ignored textmacro command: DAMAGE_EVENT_PRE_VARS_PLUGIN_01() //ignored textmacro command: DAMAGE_EVENT_PRE_VARS_PLUGIN_02() //ignored textmacro command: DAMAGE_EVENT_PRE_VARS_PLUGIN_03() @@ -17322,7 +17322,7 @@ function CTL__DT takes integer l__CTL__t returns nothing //ignored textmacro command: DAMAGE_EVENT_PRE_VARS_PLUGIN_05() if udg_DamageEventAmount != 0.00 then set udg_DamageEventOverride=udg_DamageEventDamageT == 0 - call s__DamageTrigger_DamageEngine__run(s__DamageTrigger_MOD) + call s__DamageTrigger_DamageEngine___run(s__DamageTrigger_MOD) @@ -17344,46 +17344,46 @@ function CTL__DT takes integer l__CTL__t returns nothing loop exitwhen i == 0 set i=i - 1 - set s__DamageTrigger_DamageEngine__trigFrozen[s__Damage_recursiveTrig[s__Damage_stackRef[i]]]=false - set s__DamageTrigger_DamageEngine__levelsDeep[s__Damage_recursiveTrig[s__Damage_stackRef[i]]]=0 + set s__DamageTrigger_DamageEngine___trigFrozen[s__Damage_recursiveTrig[s__Damage_stackRef[i]]]=false + set s__DamageTrigger_DamageEngine___levelsDeep[s__Damage_recursiveTrig[s__Damage_stackRef[i]]]=0 endloop - call EnableTrigger(DamageEngine__t1) - call EnableTrigger(DamageEngine__t2) - set DamageEngine__kicking=false + call EnableTrigger(DamageEngine___t1) + call EnableTrigger(DamageEngine___t2) + set DamageEngine___kicking=false set s__Damage_damageStack=0 set s__Damage_prepped=0 - set DamageEngine__dreaming=false - set DamageEngine__sleepLevel=0 - call GroupClear(DamageEngine__proclusGlobal) - call GroupClear(DamageEngine__fischerMorrow) + set DamageEngine___dreaming=false + set DamageEngine___sleepLevel=0 + call GroupClear(DamageEngine___proclusGlobal) + call GroupClear(DamageEngine___fischerMorrow) //call BJDebugMsg("Cleared up the groups") endfunction function s__Damage_finish takes nothing returns nothing local integer i= 0 local integer exit - if DamageEngine__eventsRun then - set DamageEngine__eventsRun=false + if DamageEngine___eventsRun then + set DamageEngine___eventsRun=false call s__Damage_afterDamage() endif - if DamageEngine__canKick and not DamageEngine__kicking then + if DamageEngine___canKick and not DamageEngine___kicking then if s__Damage_damageStack != 0 then - set DamageEngine__kicking=true + set DamageEngine___kicking=true loop - set DamageEngine__sleepLevel=DamageEngine__sleepLevel + 1 + set DamageEngine___sleepLevel=DamageEngine___sleepLevel + 1 set exit=s__Damage_damageStack loop set s__Damage_prepped=s__Damage_stackRef[i] if UnitAlive(s__Damage_targetUnit[s__Damage_prepped]) then //Added just in case dead units had issues. call s__Damage_doPreEvents(s__Damage_prepped,false) //don't evaluate the pre-event if s__Damage_damage[s__Damage_prepped] > 0.00 then - call DisableTrigger(DamageEngine__t1) //Force only the after armor event to run. - call EnableTrigger(DamageEngine__t2) //in case the user forgot to re-enable this - set DamageEngine__totem=true + call DisableTrigger(DamageEngine___t1) //Force only the after armor event to run. + call EnableTrigger(DamageEngine___t2) //in case the user forgot to re-enable this + set DamageEngine___totem=true call UnitDamageTarget(s__Damage_sourceUnit[s__Damage_prepped], s__Damage_targetUnit[s__Damage_prepped], s__Damage_damage[s__Damage_prepped], s__Damage_isAttack[s__Damage_prepped], s__Damage_isRanged[s__Damage_prepped], s__Damage_attackType[s__Damage_prepped], s__Damage_damageType[s__Damage_prepped], s__Damage_weaponType[s__Damage_prepped]) else //No new events run at all in this case if udg_DamageEventDamageT != 0 then - call s__DamageTrigger_DamageEngine__run(s__DamageTrigger_DAMAGE) + call s__DamageTrigger_DamageEngine___run(s__DamageTrigger_DAMAGE) endif if s__Damage_damage[s__Damage_prepped] < 0.00 then //No need for BlzSetEventDamage here @@ -17408,43 +17408,43 @@ function CTL__DT takes integer l__CTL__t returns nothing call s__Damage_setArmor(s__Damage_index,true) - set DamageEngine__canKick=true - set DamageEngine__kicking=false - set DamageEngine__totem=false + set DamageEngine___canKick=true + set DamageEngine___kicking=false + set DamageEngine___totem=false if udg_DamageEventDamageT != 0 then - call s__DamageTrigger_DamageEngine__run(s__DamageTrigger_DAMAGE) - set DamageEngine__eventsRun=true + call s__DamageTrigger_DamageEngine___run(s__DamageTrigger_DAMAGE) + set DamageEngine___eventsRun=true endif call s__Damage_finish() endfunction function s__Damage__set_enabled takes boolean b returns nothing if b then - if DamageEngine__dreaming then - call EnableTrigger(DamageEngine__t3) + if DamageEngine___dreaming then + call EnableTrigger(DamageEngine___t3) else - call EnableTrigger(DamageEngine__t1) - call EnableTrigger(DamageEngine__t2) + call EnableTrigger(DamageEngine___t1) + call EnableTrigger(DamageEngine___t2) endif else - if DamageEngine__dreaming then - call DisableTrigger(DamageEngine__t3) + if DamageEngine___dreaming then + call DisableTrigger(DamageEngine___t3) else - call DisableTrigger(DamageEngine__t1) - call DisableTrigger(DamageEngine__t2) + call DisableTrigger(DamageEngine___t1) + call DisableTrigger(DamageEngine___t2) endif endif endfunction function s__Damage__get_enabled takes nothing returns boolean - return IsTriggerEnabled(DamageEngine__t1) + return IsTriggerEnabled(DamageEngine___t1) endfunction function s__Damage_getOutOfBed takes nothing returns nothing - if DamageEngine__totem then + if DamageEngine___totem then call s__Damage_failsafeClear() //WarCraft 3 didn't run the DAMAGED event despite running the DAMAGING event. else - set DamageEngine__canKick=true - set DamageEngine__kicking=false + set DamageEngine___canKick=true + set DamageEngine___kicking=false call s__Damage_finish() endif @@ -17454,7 +17454,7 @@ function CTL__DT takes integer l__CTL__t returns nothing endfunction function s__Damage_wakeUp takes nothing returns nothing - set DamageEngine__dreaming=false + set DamageEngine___dreaming=false call s__Damage__set_enabled(true) call ForForce(bj_FORCE_PLAYER[0], function s__Damage_getOutOfBed) //Moved to a new thread in case of a thread crash if not s__Damage_arisen then @@ -17465,7 +17465,7 @@ function CTL__DT takes integer l__CTL__t returns nothing endif set s__Damage_count=0 set s__Damage_index=0 - set DamageEngine__alarmSet=false + set DamageEngine___alarmSet=false //call BJDebugMsg("Timer wrapped up") endfunction function s__Damage_addRecursive takes integer this returns nothing @@ -17475,16 +17475,16 @@ function CTL__DT takes integer l__CTL__t returns nothing set s__Damage_isCode[this]=true set s__Damage_userType[this]=DamageEngine_TYPE_CODE endif - set DamageEngine_inception=DamageEngine_inception or s__DamageTrigger_DamageEngine__inceptionTrig[s__DamageTrigger_eventIndex] - if DamageEngine__kicking and IsUnitInGroup(s__Damage_sourceUnit[this], DamageEngine__proclusGlobal) and IsUnitInGroup(s__Damage_targetUnit[this], DamageEngine__fischerMorrow) then + set DamageEngine_inception=DamageEngine_inception or s__DamageTrigger_DamageEngine___inceptionTrig[s__DamageTrigger_eventIndex] + if DamageEngine___kicking and IsUnitInGroup(s__Damage_sourceUnit[this], DamageEngine___proclusGlobal) and IsUnitInGroup(s__Damage_targetUnit[this], DamageEngine___fischerMorrow) then if not DamageEngine_inception then - set s__DamageTrigger_DamageEngine__trigFrozen[s__DamageTrigger_eventIndex]=true - elseif not s__DamageTrigger_DamageEngine__trigFrozen[s__DamageTrigger_eventIndex] then - set s__DamageTrigger_DamageEngine__inceptionTrig[s__DamageTrigger_eventIndex]=true - if s__DamageTrigger_DamageEngine__levelsDeep[s__DamageTrigger_eventIndex] < DamageEngine__sleepLevel then - set s__DamageTrigger_DamageEngine__levelsDeep[s__DamageTrigger_eventIndex]=s__DamageTrigger_DamageEngine__levelsDeep[s__DamageTrigger_eventIndex] + 1 - if s__DamageTrigger_DamageEngine__levelsDeep[s__DamageTrigger_eventIndex] >= DamageEngine__LIMBO then - set s__DamageTrigger_DamageEngine__trigFrozen[s__DamageTrigger_eventIndex]=true + set s__DamageTrigger_DamageEngine___trigFrozen[s__DamageTrigger_eventIndex]=true + elseif not s__DamageTrigger_DamageEngine___trigFrozen[s__DamageTrigger_eventIndex] then + set s__DamageTrigger_DamageEngine___inceptionTrig[s__DamageTrigger_eventIndex]=true + if s__DamageTrigger_DamageEngine___levelsDeep[s__DamageTrigger_eventIndex] < DamageEngine___sleepLevel then + set s__DamageTrigger_DamageEngine___levelsDeep[s__DamageTrigger_eventIndex]=s__DamageTrigger_DamageEngine___levelsDeep[s__DamageTrigger_eventIndex] + 1 + if s__DamageTrigger_DamageEngine___levelsDeep[s__DamageTrigger_eventIndex] >= DamageEngine___LIMBO then + set s__DamageTrigger_DamageEngine___trigFrozen[s__DamageTrigger_eventIndex]=true endif endif endif @@ -17583,12 +17583,12 @@ function CTL__DT takes integer l__CTL__t returns nothing function s__Damage_onDamaging takes nothing returns boolean local integer d= s__Damage_createFromEvent() //call BJDebugMsg("Pre-damage event running for " + GetUnitName(GetTriggerUnit())) - if DamageEngine__alarmSet then - if DamageEngine__totem then //WarCraft 3 didn't run the DAMAGED event despite running the DAMAGING event. + if DamageEngine___alarmSet then + if DamageEngine___totem then //WarCraft 3 didn't run the DAMAGED event despite running the DAMAGING event. if s__Damage_damageType[d] == DAMAGE_TYPE_SPIRIT_LINK or s__Damage_damageType[d] == DAMAGE_TYPE_DEFENSIVE or s__Damage_damageType[d] == DAMAGE_TYPE_PLANT then - set DamageEngine__totem=false - set DamageEngine__lastInstance=s__Damage_index - set DamageEngine__canKick=false + set DamageEngine___totem=false + set DamageEngine___lastInstance=s__Damage_index + set DamageEngine___canKick=false else call s__Damage_failsafeClear() //Not an overlapping event - just wrap it up endif @@ -17607,8 +17607,8 @@ function CTL__DT takes integer l__CTL__t returns nothing endif else - call TimerStart(DamageEngine__alarm, 0.00, false, function s__Damage_wakeUp) - set DamageEngine__alarmSet=true + call TimerStart(DamageEngine___alarm, 0.00, false, function s__Damage_wakeUp) + set DamageEngine___alarmSet=true set udg_AOEDamageSource=s__Damage_sourceUnit[d] set udg_EnhancedDamageTarget=s__Damage_targetUnit[d] @@ -17618,11 +17618,11 @@ function CTL__DT takes integer l__CTL__t returns nothing call GroupAddUnit(udg_DamageEventAOEGroup, s__Damage_targetUnit[d]) if s__Damage_doPreEvents(d,true) then - call s__DamageTrigger_DamageEngine__run(s__DamageTrigger_ZERO) - set DamageEngine__canKick=true + call s__DamageTrigger_DamageEngine___run(s__DamageTrigger_ZERO) + set DamageEngine___canKick=true call s__Damage_finish() endif - set DamageEngine__totem=DamageEngine__lastInstance == 0 or DamageEngine__attacksImmune[udg_DamageEventAttackT] or DamageEngine__damagesImmune[udg_DamageEventDamageT] or not IsUnitType(udg_DamageEventTarget, UNIT_TYPE_MAGIC_IMMUNE) + set DamageEngine___totem=DamageEngine___lastInstance == 0 or DamageEngine___attacksImmune[udg_DamageEventAttackT] or DamageEngine___damagesImmune[udg_DamageEventDamageT] or not IsUnitType(udg_DamageEventTarget, UNIT_TYPE_MAGIC_IMMUNE) return false endfunction function s__Damage_onDamaged takes nothing returns boolean @@ -17631,17 +17631,17 @@ function CTL__DT takes integer l__CTL__t returns nothing //call BJDebugMsg("Second damage event running for " + GetUnitName(GetTriggerUnit())) if s__Damage_prepped > 0 then set s__Damage_prepped=0 - elseif DamageEngine__dreaming or s__Damage_prevAmt[d] == 0.00 then + elseif DamageEngine___dreaming or s__Damage_prevAmt[d] == 0.00 then return false - elseif DamageEngine__totem then - set DamageEngine__totem=false + elseif DamageEngine___totem then + set DamageEngine___totem=false else //This should only happen for stuff like Spirit Link or Thorns Aura/Carapace call s__Damage_afterDamage() - set s__Damage_index=DamageEngine__lastInstance - set DamageEngine__lastInstance=0 + set s__Damage_index=DamageEngine___lastInstance + set DamageEngine___lastInstance=0 set d=s__Damage_index - set DamageEngine__canKick=true + set DamageEngine___canKick=true call s__DamageTrigger_setGUIFromStruct(true) endif @@ -17674,21 +17674,21 @@ function CTL__DT takes integer l__CTL__t returns nothing //ignored textmacro command: DAMAGE_EVENT_VARS_PLUGIN_05() if udg_DamageEventAmount > 0.00 then - call s__DamageTrigger_DamageEngine__run(s__DamageTrigger_SHIELD) + call s__DamageTrigger_DamageEngine___run(s__DamageTrigger_SHIELD) - if DamageEngine__hasLethal or udg_DamageEventType < 0 then + if DamageEngine___hasLethal or udg_DamageEventType < 0 then set udg_LethalDamageHP=GetWidgetLife(udg_DamageEventTarget) - udg_DamageEventAmount - if udg_LethalDamageHP <= DamageEngine__DEATH_VAL then - if DamageEngine__hasLethal then - call s__DamageTrigger_DamageEngine__run(s__DamageTrigger_LETHAL) + if udg_LethalDamageHP <= DamageEngine___DEATH_VAL then + if DamageEngine___hasLethal then + call s__DamageTrigger_DamageEngine___run(s__DamageTrigger_LETHAL) set udg_DamageEventAmount=GetWidgetLife(udg_DamageEventTarget) - udg_LethalDamageHP set s__Damage_damage[d]=udg_DamageEventAmount endif - if udg_DamageEventType < 0 and udg_LethalDamageHP <= DamageEngine__DEATH_VAL then + if udg_DamageEventType < 0 and udg_LethalDamageHP <= DamageEngine___DEATH_VAL then call SetUnitExploded(udg_DamageEventTarget, true) endif endif @@ -17703,10 +17703,10 @@ function CTL__DT takes integer l__CTL__t returns nothing endif if udg_DamageEventDamageT != 0 then - call s__DamageTrigger_DamageEngine__run(s__DamageTrigger_DAMAGE) + call s__DamageTrigger_DamageEngine___run(s__DamageTrigger_DAMAGE) endif call BlzSetEventDamage(udg_DamageEventAmount) - set DamageEngine__eventsRun=true + set DamageEngine___eventsRun=true if udg_DamageEventAmount == 0.00 then call s__Damage_finish() endif @@ -17717,7 +17717,7 @@ function CTL__DT takes integer l__CTL__t returns nothing if udg_NextDamageType == 0 then set udg_NextDamageType=DamageEngine_TYPE_CODE endif - if DamageEngine__dreaming then + if DamageEngine___dreaming then set d=s__Damage_create(src , tgt , amt , a , at , dt , wt) set s__Damage_isCode[d]=true set s__Damage_eFilter[d]=DamageEngine_FILTER_CODE @@ -17746,49 +17746,49 @@ function CTL__DT takes integer l__CTL__t returns nothing endfunction //=========================================================================== function s__Damage_onInit takes nothing returns nothing - call TriggerRegisterAnyUnitEventBJ(DamageEngine__t1, EVENT_PLAYER_UNIT_DAMAGING) - call TriggerAddCondition(DamageEngine__t1, Filter(function s__Damage_onDamaging)) + call TriggerRegisterAnyUnitEventBJ(DamageEngine___t1, EVENT_PLAYER_UNIT_DAMAGING) + call TriggerAddCondition(DamageEngine___t1, Filter(function s__Damage_onDamaging)) - call TriggerRegisterAnyUnitEventBJ(DamageEngine__t2, EVENT_PLAYER_UNIT_DAMAGED) - call TriggerAddCondition(DamageEngine__t2, Filter(function s__Damage_onDamaged)) + call TriggerRegisterAnyUnitEventBJ(DamageEngine___t2, EVENT_PLAYER_UNIT_DAMAGED) + call TriggerAddCondition(DamageEngine___t2, Filter(function s__Damage_onDamaged)) //For recursion - call TriggerRegisterAnyUnitEventBJ(DamageEngine__t3, EVENT_PLAYER_UNIT_DAMAGING) - call TriggerAddCondition(DamageEngine__t3, Filter(function s__Damage_onRecursion)) - call DisableTrigger(DamageEngine__t3) + call TriggerRegisterAnyUnitEventBJ(DamageEngine___t3, EVENT_PLAYER_UNIT_DAMAGING) + call TriggerAddCondition(DamageEngine___t3, Filter(function s__Damage_onRecursion)) + call DisableTrigger(DamageEngine___t3) //For preventing Thorns/Defensive glitch. //Data gathered from https://www.hiveworkshop.com/threads/repo-in-progress-mapping-damage-types-to-their-abilities.316271/ - set DamageEngine__attacksImmune[0]=false //ATTACK_TYPE_NORMAL - set DamageEngine__attacksImmune[1]=true //ATTACK_TYPE_MELEE - set DamageEngine__attacksImmune[2]=true //ATTACK_TYPE_PIERCE - set DamageEngine__attacksImmune[3]=true //ATTACK_TYPE_SIEGE - set DamageEngine__attacksImmune[4]=false //ATTACK_TYPE_MAGIC - set DamageEngine__attacksImmune[5]=true //ATTACK_TYPE_CHAOS - set DamageEngine__attacksImmune[6]=true //ATTACK_TYPE_HERO + set DamageEngine___attacksImmune[0]=false //ATTACK_TYPE_NORMAL + set DamageEngine___attacksImmune[1]=true //ATTACK_TYPE_MELEE + set DamageEngine___attacksImmune[2]=true //ATTACK_TYPE_PIERCE + set DamageEngine___attacksImmune[3]=true //ATTACK_TYPE_SIEGE + set DamageEngine___attacksImmune[4]=false //ATTACK_TYPE_MAGIC + set DamageEngine___attacksImmune[5]=true //ATTACK_TYPE_CHAOS + set DamageEngine___attacksImmune[6]=true //ATTACK_TYPE_HERO - set DamageEngine__damagesImmune[0]=true //DAMAGE_TYPE_UNKNOWN - set DamageEngine__damagesImmune[4]=true //DAMAGE_TYPE_NORMAL - set DamageEngine__damagesImmune[5]=true //DAMAGE_TYPE_ENHANCED - set DamageEngine__damagesImmune[8]=false //DAMAGE_TYPE_FIRE - set DamageEngine__damagesImmune[9]=false //DAMAGE_TYPE_COLD - set DamageEngine__damagesImmune[10]=false //DAMAGE_TYPE_LIGHTNING - set DamageEngine__damagesImmune[11]=true //DAMAGE_TYPE_POISON - set DamageEngine__damagesImmune[12]=true //DAMAGE_TYPE_DISEASE - set DamageEngine__damagesImmune[13]=false //DAMAGE_TYPE_DIVINE - set DamageEngine__damagesImmune[14]=false //DAMAGE_TYPE_MAGIC - set DamageEngine__damagesImmune[15]=false //DAMAGE_TYPE_SONIC - set DamageEngine__damagesImmune[16]=true //DAMAGE_TYPE_ACID - set DamageEngine__damagesImmune[17]=false //DAMAGE_TYPE_FORCE - set DamageEngine__damagesImmune[18]=false //DAMAGE_TYPE_DEATH - set DamageEngine__damagesImmune[19]=false //DAMAGE_TYPE_MIND - set DamageEngine__damagesImmune[20]=false //DAMAGE_TYPE_PLANT - set DamageEngine__damagesImmune[21]=false //DAMAGE_TYPE_DEFENSIVE - set DamageEngine__damagesImmune[22]=true //DAMAGE_TYPE_DEMOLITION - set DamageEngine__damagesImmune[23]=true //DAMAGE_TYPE_SLOW_POISON - set DamageEngine__damagesImmune[24]=false //DAMAGE_TYPE_SPIRIT_LINK - set DamageEngine__damagesImmune[25]=false //DAMAGE_TYPE_SHADOW_STRIKE - set DamageEngine__damagesImmune[26]=true //DAMAGE_TYPE_UNIVERSAL + set DamageEngine___damagesImmune[0]=true //DAMAGE_TYPE_UNKNOWN + set DamageEngine___damagesImmune[4]=true //DAMAGE_TYPE_NORMAL + set DamageEngine___damagesImmune[5]=true //DAMAGE_TYPE_ENHANCED + set DamageEngine___damagesImmune[8]=false //DAMAGE_TYPE_FIRE + set DamageEngine___damagesImmune[9]=false //DAMAGE_TYPE_COLD + set DamageEngine___damagesImmune[10]=false //DAMAGE_TYPE_LIGHTNING + set DamageEngine___damagesImmune[11]=true //DAMAGE_TYPE_POISON + set DamageEngine___damagesImmune[12]=true //DAMAGE_TYPE_DISEASE + set DamageEngine___damagesImmune[13]=false //DAMAGE_TYPE_DIVINE + set DamageEngine___damagesImmune[14]=false //DAMAGE_TYPE_MAGIC + set DamageEngine___damagesImmune[15]=false //DAMAGE_TYPE_SONIC + set DamageEngine___damagesImmune[16]=true //DAMAGE_TYPE_ACID + set DamageEngine___damagesImmune[17]=false //DAMAGE_TYPE_FORCE + set DamageEngine___damagesImmune[18]=false //DAMAGE_TYPE_DEATH + set DamageEngine___damagesImmune[19]=false //DAMAGE_TYPE_MIND + set DamageEngine___damagesImmune[20]=false //DAMAGE_TYPE_PLANT + set DamageEngine___damagesImmune[21]=false //DAMAGE_TYPE_DEFENSIVE + set DamageEngine___damagesImmune[22]=true //DAMAGE_TYPE_DEMOLITION + set DamageEngine___damagesImmune[23]=true //DAMAGE_TYPE_SLOW_POISON + set DamageEngine___damagesImmune[24]=false //DAMAGE_TYPE_SPIRIT_LINK + set DamageEngine___damagesImmune[25]=false //DAMAGE_TYPE_SHADOW_STRIKE + set DamageEngine___damagesImmune[26]=true //DAMAGE_TYPE_UNIVERSAL endfunction //ignored textmacro command: DAMAGE_EVENT_STRUCT_PLUGIN_DMGPKG() //ignored textmacro command: DAMAGE_EVENT_STRUCT_PLUGIN_01() @@ -20544,34 +20544,34 @@ endfunction - function AutoBuyS___buyItems takes unit u returns nothing + function AutoBuyS__buyItems takes unit u returns nothing local integer id= GetPlayerId(GetOwningPlayer(u)) loop - exitwhen not s__ItemList_doAction(s__AutoBuyS___lists[id]) + exitwhen not s__ItemList_doAction(s__AutoBuyS__lists[id]) endloop endfunction - function AutoBuyS___enterKonoha takes nothing returns nothing - if IsUnitAlly(GetEnteringUnit(), Player(3)) and GetEnteringUnit() == udg_units33[GetPlayerId(GetOwningPlayer(GetEnteringUnit())) + 1] and s__AutoBuyS___autobuy[GetPlayerId(GetOwningPlayer(GetEnteringUnit()))] then - call AutoBuyS___buyItems(GetEnteringUnit()) + function AutoBuyS__enterKonoha takes nothing returns nothing + if IsUnitAlly(GetEnteringUnit(), Player(3)) and GetEnteringUnit() == udg_units33[GetPlayerId(GetOwningPlayer(GetEnteringUnit())) + 1] and s__AutoBuyS__autobuy[GetPlayerId(GetOwningPlayer(GetEnteringUnit()))] then + call AutoBuyS__buyItems(GetEnteringUnit()) endif endfunction - function AutoBuyS___enterEvil takes nothing returns nothing - if IsUnitAlly(GetTriggerUnit(), Player(7)) and GetEnteringUnit() == udg_units33[GetPlayerId(GetOwningPlayer(GetEnteringUnit())) + 1] and s__AutoBuyS___autobuy[GetPlayerId(GetOwningPlayer(GetEnteringUnit()))] then - call AutoBuyS___buyItems(GetEnteringUnit()) + function AutoBuyS__enterEvil takes nothing returns nothing + if IsUnitAlly(GetTriggerUnit(), Player(7)) and GetEnteringUnit() == udg_units33[GetPlayerId(GetOwningPlayer(GetEnteringUnit())) + 1] and s__AutoBuyS__autobuy[GetPlayerId(GetOwningPlayer(GetEnteringUnit()))] then + call AutoBuyS__buyItems(GetEnteringUnit()) endif endfunction - function AutoBuyS___enterAkt takes nothing returns nothing - if IsUnitAlly(GetEnteringUnit(), Player(11)) and GetEnteringUnit() == udg_units33[GetPlayerId(GetOwningPlayer(GetEnteringUnit())) + 1] and s__AutoBuyS___autobuy[GetPlayerId(GetOwningPlayer(GetEnteringUnit()))] then - call AutoBuyS___buyItems(GetEnteringUnit()) + function AutoBuyS__enterAkt takes nothing returns nothing + if IsUnitAlly(GetEnteringUnit(), Player(11)) and GetEnteringUnit() == udg_units33[GetPlayerId(GetOwningPlayer(GetEnteringUnit())) + 1] and s__AutoBuyS__autobuy[GetPlayerId(GetOwningPlayer(GetEnteringUnit()))] then + call AutoBuyS__buyItems(GetEnteringUnit()) endif endfunction function autoBuyCmdEnable takes boolean enable returns nothing local integer id= GetPlayerId(GetTriggerPlayer()) - set s__AutoBuyS___autobuy[id]= enable + set s__AutoBuyS__autobuy[id]= enable endfunction function autobuyCmdBuild takes integer build returns nothing @@ -20582,316 +20582,316 @@ endfunction local boolean gen local boolean nin local integer id= GetPlayerId(GetTriggerPlayer()) - set s__AutoBuyS___autobuy[id]= true - set s__AutoBuyS___buildId[id]= build - if s__AutoBuyS___firstUse[id] then + set s__AutoBuyS__autobuy[id]= true + set s__AutoBuyS__buildId[id]= build + if s__AutoBuyS__firstUse[id] then set str=GetHeroStr(udg_units33[id + 1], true) set agi=GetHeroAgi(udg_units33[id + 1], true) set int=GetHeroInt(udg_units33[id + 1], true) set tai=str >= agi and str >= int set nin=agi >= str and agi >= int set gen=int >= str and int >= agi - set s__AutoBuyS___lists[id]= s__ItemList_create(id) - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(CLOGS ) , ( 800) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),('I00B' ) , ( 900) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(NINJA_BOOTS ) , ( 900) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(OIL ) , ( 2250) , 0) // INLINED!! - if s__AutoBuyS___buildId[id] == 2 then + set s__AutoBuyS__lists[id]= s__ItemList_create(id) + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(CLOGS ) , ( 800) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),('I00B' ) , ( 900) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(NINJA_BOOTS ) , ( 900) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(OIL ) , ( 2250) , 0) // INLINED!! + if s__AutoBuyS__buildId[id] == 2 then call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "|cff87ceebUsing offensive build.|r") - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(ANBU_BADGE ) , ( 2000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(ANBU_MASK ) , ( 800 + 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(ANBU_BADGE ) , ( 2000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(ANBU_MASK ) , ( 800 + 2500) , 1) // INLINED!! if tai then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(EXPLOSIVE_KUNAI ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_1 ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_2 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_3 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_4 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_5 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_6 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_7 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_8 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_9 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_10 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KYUUBI_LOST_SPEAR ) , ( 9000) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(EXPLOSIVE_KUNAI ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_1 ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_2 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_3 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_4 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_5 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_6 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_7 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_8 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_9 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_10 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KYUUBI_LOST_SPEAR ) , ( 9000) , 1) // INLINED!! elseif nin then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(FUUMA_SHURIKEN ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_1 ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_2 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_3 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_4 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_5 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_6 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_7 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_8 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_9 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_10 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(YONDAIME_CROSSBOW ) , ( 9000) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(FUUMA_SHURIKEN ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_1 ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_2 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_3 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_4 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_5 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_6 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_7 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_8 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_9 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_10 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(YONDAIME_CROSSBOW ) , ( 9000) , 1) // INLINED!! elseif gen then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_DANCE ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_1 ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_2 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_3 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_4 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_5 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_6 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_7 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_8 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_9 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_10 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(NIDAIME_STAFF ) , ( 9000) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_DANCE ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_1 ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_2 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_3 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_4 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_5 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_6 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_7 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_8 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_9 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_10 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(NIDAIME_STAFF ) , ( 9000) , 1) // INLINED!! endif - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(BAULK_OF_KAWARIMI ) , ( 2000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(OIL ) , ( 2250) , 2) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(GENIN_CLOTH ) , ( 3700) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(CHUNNIN_CLOTH ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(JOUNIN_CLOTH ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(ANBU_ARMOR ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SANNIN_CLOTH ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KAGE_ROBE ) , ( 12800) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),('fwss' ) , ( 800) , 2) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(BAULK_OF_KAWARIMI ) , ( 2000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(OIL ) , ( 2250) , 2) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(GENIN_CLOTH ) , ( 3700) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(CHUNNIN_CLOTH ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(JOUNIN_CLOTH ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(ANBU_ARMOR ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SANNIN_CLOTH ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KAGE_ROBE ) , ( 12800) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),('fwss' ) , ( 800) , 2) // INLINED!! if tai then - call s__ItemList_addActionFrom((s__AutoBuyS___lists[id]),(HOKAGE_ROBE ) , ( 9500 ) , ( KAGE_ROBE) , 1) // INLINED!! + call s__ItemList_addActionFrom((s__AutoBuyS__lists[id]),(HOKAGE_ROBE ) , ( 9500 ) , ( KAGE_ROBE) , 1) // INLINED!! elseif nin then - call s__ItemList_addActionFrom((s__AutoBuyS___lists[id]),(RAIKAGE_ROBE ) , ( 9500 ) , ( KAGE_ROBE) , 1) // INLINED!! + call s__ItemList_addActionFrom((s__AutoBuyS__lists[id]),(RAIKAGE_ROBE ) , ( 9500 ) , ( KAGE_ROBE) , 1) // INLINED!! elseif gen then - call s__ItemList_addActionFrom((s__AutoBuyS___lists[id]),(MIZUKAGE_ROBE ) , ( 9500 ) , ( KAGE_ROBE) , 1) // INLINED!! + call s__ItemList_addActionFrom((s__AutoBuyS__lists[id]),(MIZUKAGE_ROBE ) , ( 9500 ) , ( KAGE_ROBE) , 1) // INLINED!! endif if tai then - call s__ItemList_addActionFrom((s__AutoBuyS___lists[id]),('I07A' ) , ( 14000 ) , ( ANBU_MASK) , 1) // INLINED!! + call s__ItemList_addActionFrom((s__AutoBuyS__lists[id]),('I07A' ) , ( 14000 ) , ( ANBU_MASK) , 1) // INLINED!! elseif nin then - call s__ItemList_addActionFrom((s__AutoBuyS___lists[id]),('I07E' ) , ( 14000 ) , ( ANBU_MASK) , 1) // INLINED!! + call s__ItemList_addActionFrom((s__AutoBuyS__lists[id]),('I07E' ) , ( 14000 ) , ( ANBU_MASK) , 1) // INLINED!! elseif gen then - call s__ItemList_addActionFrom((s__AutoBuyS___lists[id]),('I07B' ) , ( 14000 ) , ( ANBU_MASK) , 1) // INLINED!! + call s__ItemList_addActionFrom((s__AutoBuyS__lists[id]),('I07B' ) , ( 14000 ) , ( ANBU_MASK) , 1) // INLINED!! endif - elseif s__AutoBuyS___buildId[id] == 3 then + elseif s__AutoBuyS__buildId[id] == 3 then call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "|cff87ceebUsing anti-stun build.|r") - call s__ItemList_addAction((s__AutoBuyS___lists[id]),('mcou' ) , ( 4000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),('mcou' ) , ( 4000) , 0) // INLINED!! if tai then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(EXPLOSIVE_KUNAI ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_1 ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_2 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_3 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_4 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_5 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_6 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_7 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_8 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_9 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_10 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KYUUBI_LOST_SPEAR ) , ( 9000) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(EXPLOSIVE_KUNAI ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_1 ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_2 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_3 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_4 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_5 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_6 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_7 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_8 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_9 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_10 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KYUUBI_LOST_SPEAR ) , ( 9000) , 1) // INLINED!! elseif nin then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(FUUMA_SHURIKEN ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_1 ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_2 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_3 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_4 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_5 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_6 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_7 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_8 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_9 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_10 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(YONDAIME_CROSSBOW ) , ( 9000) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(FUUMA_SHURIKEN ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_1 ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_2 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_3 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_4 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_5 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_6 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_7 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_8 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_9 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_10 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(YONDAIME_CROSSBOW ) , ( 9000) , 1) // INLINED!! elseif gen then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_DANCE ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_1 ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_2 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_3 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_4 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_5 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_6 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_7 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_8 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_9 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_10 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(NIDAIME_STAFF ) , ( 9000) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_DANCE ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_1 ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_2 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_3 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_4 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_5 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_6 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_7 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_8 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_9 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_10 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(NIDAIME_STAFF ) , ( 9000) , 1) // INLINED!! endif - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(BAULK_OF_KAWARIMI ) , ( 2000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(OIL ) , ( 2250) , 2) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(GENIN_CLOTH ) , ( 3700) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(CHUNNIN_CLOTH ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(JOUNIN_CLOTH ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(ANBU_ARMOR ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SANNIN_CLOTH ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KAGE_ROBE ) , ( 12800) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(OTOKAGE_ROBE ) , ( 9500) , 1) // INLINED!! - call s__ItemList_addActionFrom((s__AutoBuyS___lists[id]),('I006' ) , ( 10300 ) , ( 'mcou') , 1) // INLINED!! - elseif s__AutoBuyS___buildId[id] == 4 then + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(BAULK_OF_KAWARIMI ) , ( 2000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(OIL ) , ( 2250) , 2) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(GENIN_CLOTH ) , ( 3700) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(CHUNNIN_CLOTH ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(JOUNIN_CLOTH ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(ANBU_ARMOR ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SANNIN_CLOTH ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KAGE_ROBE ) , ( 12800) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(OTOKAGE_ROBE ) , ( 9500) , 1) // INLINED!! + call s__ItemList_addActionFrom((s__AutoBuyS__lists[id]),('I006' ) , ( 10300 ) , ( 'mcou') , 1) // INLINED!! + elseif s__AutoBuyS__buildId[id] == 4 then call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "|cff87ceebUsing anti-debuff build.|r") - call s__ItemList_addAction((s__AutoBuyS___lists[id]),('modt' ) , ( 2000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(ANBU_MASK ) , ( 800 + 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SANBI_SKIN ) , ( 3300) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),('I054' ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),('I055' ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),('I05Q' ) , ( 5000) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),('modt' ) , ( 2000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(ANBU_MASK ) , ( 800 + 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SANBI_SKIN ) , ( 3300) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),('I054' ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),('I055' ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),('I05Q' ) , ( 5000) , 1) // INLINED!! if tai then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(EXPLOSIVE_KUNAI ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(EXPLOSIVE_KUNAI ) , ( 3000) , 0) // INLINED!! elseif nin then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(FUUMA_SHURIKEN ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(FUUMA_SHURIKEN ) , ( 3000) , 0) // INLINED!! elseif gen then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_DANCE ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_DANCE ) , ( 3000) , 0) // INLINED!! endif - call s__ItemList_addAction((s__AutoBuyS___lists[id]),('I033' ) , ( 2250) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(OIL ) , ( 2250) , 2) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),('I033' ) , ( 2250) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(OIL ) , ( 2250) , 2) // INLINED!! if tai then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_1 ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_2 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_3 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_4 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_5 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_6 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_7 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_8 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_9 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_10 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KYUUBI_LOST_SPEAR ) , ( 9000) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_1 ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_2 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_3 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_4 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_5 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_6 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_7 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_8 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_9 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_10 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KYUUBI_LOST_SPEAR ) , ( 9000) , 1) // INLINED!! elseif nin then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_1 ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_2 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_3 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_4 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_5 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_6 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_7 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_8 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_9 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_10 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(YONDAIME_CROSSBOW ) , ( 9000) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_1 ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_2 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_3 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_4 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_5 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_6 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_7 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_8 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_9 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_10 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(YONDAIME_CROSSBOW ) , ( 9000) , 1) // INLINED!! elseif gen then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_1 ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_2 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_3 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_4 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_5 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_6 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_7 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_8 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_9 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_10 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(NIDAIME_STAFF ) , ( 9000) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_1 ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_2 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_3 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_4 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_5 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_6 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_7 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_8 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_9 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_10 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(NIDAIME_STAFF ) , ( 9000) , 1) // INLINED!! endif - call s__ItemList_addActionFrom((s__AutoBuyS___lists[id]),('I006' ) , ( 9000 ) , ( ANBU_MASK) , 1) // INLINED!! - elseif s__AutoBuyS___buildId[id] == 5 then + call s__ItemList_addActionFrom((s__AutoBuyS__lists[id]),('I006' ) , ( 9000 ) , ( ANBU_MASK) , 1) // INLINED!! + elseif s__AutoBuyS__buildId[id] == 5 then call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "|cff87ceebUsing auto-attack build.|r") - call s__ItemList_addAction((s__AutoBuyS___lists[id]),('I007' ) , ( 6000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(AKATSUKI_RING ) , ( 3500) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(JADE_OF_SUSANOO ) , ( 8000) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),('I007' ) , ( 6000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(AKATSUKI_RING ) , ( 3500) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(JADE_OF_SUSANOO ) , ( 8000) , 1) // INLINED!! if tai then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(EXPLOSIVE_KUNAI ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(EXPLOSIVE_KUNAI ) , ( 3000) , 0) // INLINED!! elseif nin then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(FUUMA_SHURIKEN ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(FUUMA_SHURIKEN ) , ( 3000) , 0) // INLINED!! elseif gen then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_DANCE ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_DANCE ) , ( 3000) , 0) // INLINED!! endif - call s__ItemList_addAction((s__AutoBuyS___lists[id]),('I03X' ) , ( 2250) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(OIL ) , ( 2250) , 2) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(GENIN_CLOTH ) , ( 3700) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(CHUNNIN_CLOTH ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(JOUNIN_CLOTH ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(ANBU_ARMOR ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SANNIN_CLOTH ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KAGE_ROBE ) , ( 12800) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KAZEKAGE_ROBE ) , ( 9500) , 1) // INLINED!! - call s__ItemList_addActionFrom((s__AutoBuyS___lists[id]),('rhth' ) , ( 5000 ) , ( JADE_OF_SUSANOO) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),('I03X' ) , ( 2250) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(OIL ) , ( 2250) , 2) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(GENIN_CLOTH ) , ( 3700) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(CHUNNIN_CLOTH ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(JOUNIN_CLOTH ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(ANBU_ARMOR ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SANNIN_CLOTH ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KAGE_ROBE ) , ( 12800) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KAZEKAGE_ROBE ) , ( 9500) , 1) // INLINED!! + call s__ItemList_addActionFrom((s__AutoBuyS__lists[id]),('rhth' ) , ( 5000 ) , ( JADE_OF_SUSANOO) , 1) // INLINED!! else call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "|cff87ceebUsing defensive build.|r") - call s__ItemList_addAction((s__AutoBuyS___lists[id]),('I00R' ) , ( 800) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(GENIN_CLOTH ) , ( 3700) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(CHUNNIN_CLOTH ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(JOUNIN_CLOTH ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(ANBU_ARMOR ) , ( 3300) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SANNIN_CLOTH ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),('I00R' ) , ( 800) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(GENIN_CLOTH ) , ( 3700) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(CHUNNIN_CLOTH ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(JOUNIN_CLOTH ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(ANBU_ARMOR ) , ( 3300) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SANNIN_CLOTH ) , ( 3300) , 1) // INLINED!! if tai then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(EXPLOSIVE_KUNAI ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(EXPLOSIVE_KUNAI ) , ( 3000) , 0) // INLINED!! elseif nin then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(FUUMA_SHURIKEN ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(FUUMA_SHURIKEN ) , ( 3000) , 0) // INLINED!! elseif gen then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_DANCE ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_DANCE ) , ( 3000) , 0) // INLINED!! endif - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(BAULK_OF_KAWARIMI ) , ( 2000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(OIL ) , ( 2250) , 2) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(BAULK_OF_KAWARIMI ) , ( 2000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(OIL ) , ( 2250) , 2) // INLINED!! if tai then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_1 ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_2 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_3 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_4 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_5 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_6 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_7 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_8 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_9 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KUNAI_10 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(KYUUBI_LOST_SPEAR ) , ( 9000) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_1 ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_2 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_3 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_4 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_5 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_6 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_7 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_8 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_9 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KUNAI_10 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(KYUUBI_LOST_SPEAR ) , ( 9000) , 1) // INLINED!! elseif nin then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_1 ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_2 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_3 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_4 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_5 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_6 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_7 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_8 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_9 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SHURIKEN_10 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(YONDAIME_CROSSBOW ) , ( 9000) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_1 ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_2 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_3 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_4 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_5 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_6 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_7 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_8 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_9 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SHURIKEN_10 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(YONDAIME_CROSSBOW ) , ( 9000) , 1) // INLINED!! elseif gen then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_1 ) , ( 3000) , 0) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_2 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_3 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_4 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_5 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_6 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_7 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_8 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_9 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(SENBONS_10 ) , ( 2500) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(NIDAIME_STAFF ) , ( 9000) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_1 ) , ( 3000) , 0) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_2 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_3 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_4 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_5 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_6 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_7 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_8 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_9 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(SENBONS_10 ) , ( 2500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(NIDAIME_STAFF ) , ( 9000) , 1) // INLINED!! endif - call s__ItemList_addActionFrom((s__AutoBuyS___lists[id]),(KAGE_ROBE ) , ( 12800 ) , ( SANNIN_CLOTH) , 1) // INLINED!! + call s__ItemList_addActionFrom((s__AutoBuyS__lists[id]),(KAGE_ROBE ) , ( 12800 ) , ( SANNIN_CLOTH) , 1) // INLINED!! if tai then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(HOKAGE_ROBE ) , ( 9500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(HOKAGE_ROBE ) , ( 9500) , 1) // INLINED!! elseif nin then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(RAIKAGE_ROBE ) , ( 9500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(RAIKAGE_ROBE ) , ( 9500) , 1) // INLINED!! elseif gen then - call s__ItemList_addAction((s__AutoBuyS___lists[id]),(MIZUKAGE_ROBE ) , ( 9500) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),(MIZUKAGE_ROBE ) , ( 9500) , 1) // INLINED!! endif - call s__ItemList_addAction((s__AutoBuyS___lists[id]),('I03Y' ) , ( 2700) , 1) // INLINED!! - call s__ItemList_addAction((s__AutoBuyS___lists[id]),('I03Z' ) , ( 2700) , 1) // INLINED!! - call s__ItemList_addActionFrom((s__AutoBuyS___lists[id]),('I040' ) , ( 2700 ) , ( 'I03Z') , 1) // INLINED!! - call s__ItemList_addActionFrom((s__AutoBuyS___lists[id]),('I04T' ) , ( 9900 ) , ( 'I03Z') , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),('I03Y' ) , ( 2700) , 1) // INLINED!! + call s__ItemList_addAction((s__AutoBuyS__lists[id]),('I03Z' ) , ( 2700) , 1) // INLINED!! + call s__ItemList_addActionFrom((s__AutoBuyS__lists[id]),('I040' ) , ( 2700 ) , ( 'I03Z') , 1) // INLINED!! + call s__ItemList_addActionFrom((s__AutoBuyS__lists[id]),('I04T' ) , ( 9900 ) , ( 'I03Z') , 1) // INLINED!! endif endif - set s__AutoBuyS___firstUse[id]= false + set s__AutoBuyS__firstUse[id]= false endfunction - function AutoBuyS___autobuyCmd takes nothing returns nothing + function AutoBuyS__autobuyCmd takes nothing returns nothing local integer id= GetPlayerId(GetTriggerPlayer()) if udg_units33[id + 1] == null then call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "|cffff0000You must have a hero to enable this command.|r") else - if s__AutoBuyS___autobuy[id] then + if s__AutoBuyS__autobuy[id] then call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "|cff87ceebAutobuy disabled.|r") - set s__AutoBuyS___autobuy[id]= false + set s__AutoBuyS__autobuy[id]= false else call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "|cff87ceebAutobuy enabled. Type -autobuy again to disable it. |cffff0000DO NOT BUY ANYTHING MANUALLY!|r") - set s__AutoBuyS___buildId[id]= S2I(SubStringBJ(GetEventPlayerChatString(), 10, 11)) - call autobuyCmdBuild(s__AutoBuyS___buildId[id]) + set s__AutoBuyS__buildId[id]= S2I(SubStringBJ(GetEventPlayerChatString(), 10, 11)) + call autobuyCmdBuild(s__AutoBuyS__buildId[id]) endif endif endfunction - function AutoBuyS___autoNew takes nothing returns nothing + function AutoBuyS__autoNew takes nothing returns nothing local integer p= GetPlayerId(GetTriggerPlayer()) - call s__ItemList_destroy(s__AutoBuyS___lists[p]) + call s__ItemList_destroy(s__AutoBuyS__lists[p]) - set s__AutoBuyS___firstUse[p]= true - set s__AutoBuyS___autobuy[p]= false + set s__AutoBuyS__firstUse[p]= true + set s__AutoBuyS__autobuy[p]= false endfunction - function AutoBuyS___init takes nothing returns nothing + function AutoBuyS__init takes nothing returns nothing local trigger t= CreateTrigger() local trigger t1= CreateTrigger() local trigger t2= CreateTrigger() @@ -20900,21 +20900,21 @@ endfunction local integer i= 0 loop exitwhen i > 11 - set s__AutoBuyS___autobuy[i]= false - set s__AutoBuyS___firstUse[i]= true + set s__AutoBuyS__autobuy[i]= false + set s__AutoBuyS__firstUse[i]= true call TriggerRegisterPlayerChatEvent(t, Player(i), "-autobuy", false) call TriggerRegisterPlayerChatEvent(t4, Player(i), "-autonew", false) set i=i + 1 endloop - call TriggerAddAction(t, function AutoBuyS___autobuyCmd) - call TriggerAddCondition(t4, Condition(function AutoBuyS___autoNew)) + call TriggerAddAction(t, function AutoBuyS__autobuyCmd) + call TriggerAddCondition(t4, Condition(function AutoBuyS__autoNew)) call TriggerRegisterEnterRectSimple(t1, gg_rct_KONOHA) - call TriggerAddAction(t1, function AutoBuyS___enterKonoha) + call TriggerAddAction(t1, function AutoBuyS__enterKonoha) call TriggerRegisterEnterRectSimple(t2, gg_rct_EVIL) - call TriggerAddAction(t2, function AutoBuyS___enterEvil) + call TriggerAddAction(t2, function AutoBuyS__enterEvil) call TriggerRegisterEnterRectSimple(t3, gg_rct_AKATSUKI) - call TriggerAddAction(t3, function AutoBuyS___enterAkt) + call TriggerAddAction(t3, function AutoBuyS__enterAkt) set t=null set t1=null @@ -21854,43 +21854,43 @@ endfunction //library Lightning ends //library PauseUnitEx: -//Implemented from module PauseUnitEx__PauseM: +//Implemented from module PauseUnitEx___PauseM: - function s__PauseUnitEx__Pause_PauseUnitEx__PauseM__onInit takes nothing returns nothing - set s__PauseUnitEx__Pause_map=s__Table_create() + function s__PauseUnitEx___Pause_PauseUnitEx___PauseM__onInit takes nothing returns nothing + set s__PauseUnitEx___Pause_map=s__Table_create() endfunction - function s__PauseUnitEx__Pause_getPauseCounter takes unit whichUnit returns integer + function s__PauseUnitEx___Pause_getPauseCounter takes unit whichUnit returns integer local integer counter= 0 local integer unitId= GetHandleId(whichUnit) - set counter=(LoadInteger(Table__ht, (s__PauseUnitEx__Pause_map), (unitId))) // INLINED!! + set counter=(LoadInteger(Table__ht, (s__PauseUnitEx___Pause_map), (unitId))) // INLINED!! return counter endfunction - function s__PauseUnitEx__Pause_pauseUnit takes unit whichUnit,boolean flag returns nothing - local integer counter= s__PauseUnitEx__Pause_getPauseCounter(whichUnit) + function s__PauseUnitEx___Pause_pauseUnit takes unit whichUnit,boolean flag returns nothing + local integer counter= s__PauseUnitEx___Pause_getPauseCounter(whichUnit) local integer unitId= GetHandleId(whichUnit) local integer incr= IntegerTertiaryOp(flag, 1, - 1) set counter=counter + incr - call SaveInteger(Table__ht, (s__PauseUnitEx__Pause_map), (unitId), ( counter)) // INLINED!! + call SaveInteger(Table__ht, (s__PauseUnitEx___Pause_map), (unitId), ( counter)) // INLINED!! call BlzPauseUnitEx(whichUnit, flag) endfunction - function s__PauseUnitEx__Pause_isPaused takes unit whichUnit returns boolean - local integer counter= s__PauseUnitEx__Pause_getPauseCounter(whichUnit) + function s__PauseUnitEx___Pause_isPaused takes unit whichUnit returns boolean + local integer counter= s__PauseUnitEx___Pause_getPauseCounter(whichUnit) return counter > 0 endfunction - function s__PauseUnitEx__Pause_setPauseCounter takes unit whichUnit,integer new returns nothing - local integer counter= s__PauseUnitEx__Pause_getPauseCounter(whichUnit) + function s__PauseUnitEx___Pause_setPauseCounter takes unit whichUnit,integer new returns nothing + local integer counter= s__PauseUnitEx___Pause_getPauseCounter(whichUnit) local integer sign= 0 local integer unitId= GetHandleId(whichUnit) local boolean flag= false @@ -21907,22 +21907,22 @@ endfunction call BlzPauseUnitEx(whichUnit, flag) endloop - call SaveInteger(Table__ht, (s__PauseUnitEx__Pause_map), (unitId), ( counter)) // INLINED!! + call SaveInteger(Table__ht, (s__PauseUnitEx___Pause_map), (unitId), ( counter)) // INLINED!! endfunction function PauseUnitEx takes unit whichUnit,boolean flag returns nothing - call s__PauseUnitEx__Pause_pauseUnit(whichUnit , flag) + call s__PauseUnitEx___Pause_pauseUnit(whichUnit , flag) endfunction function SetUnitPauseExCounter takes unit whichUnit,integer new returns nothing - call s__PauseUnitEx__Pause_setPauseCounter(whichUnit , new) + call s__PauseUnitEx___Pause_setPauseCounter(whichUnit , new) endfunction function IsUnitPausedEx takes unit whichUnit returns boolean - return s__PauseUnitEx__Pause_isPaused(whichUnit) + return s__PauseUnitEx___Pause_isPaused(whichUnit) endfunction function GetUnitPauseExCounter takes unit whichUnit returns integer - return s__PauseUnitEx__Pause_getPauseCounter(whichUnit) + return s__PauseUnitEx___Pause_getPauseCounter(whichUnit) endfunction //library PauseUnitEx ends @@ -22856,7 +22856,7 @@ endfunction //inline friendly (when debug mode is off..) function XE_PreloadAbility takes integer abilid returns nothing - call UnitAddAbility(xepreload__dum, abilid) + call UnitAddAbility(xepreload___dum, abilid) @@ -22876,7 +22876,7 @@ endfunction // due to the infamous % bug. Then again, if you do that then you probably // deserve it.... // - function xepreload__DebugIdInteger2IdString takes integer value returns string + function xepreload___DebugIdInteger2IdString takes integer value returns string local string charMap= ".................................!.#$%&'()*+,-./0123456789:;<=>.@ABCDEFGHIJKLMNOPQRSTUVWXYZ[.]^_`abcdefghijklmnopqrstuvwxyz{|}~................................................................................................................................." local string result= "" local integer remainingValue= value @@ -22896,9 +22896,9 @@ endfunction endfunction //-------------------------------- - function xepreload__kill takes nothing returns nothing - call RemoveUnit(xepreload__dum) - set xepreload__dum=null + function xepreload___kill takes nothing returns nothing + call RemoveUnit(xepreload___dum) + set xepreload___dum=null call ReleaseTimer(GetExpiredTimer()) @@ -22906,17 +22906,17 @@ endfunction endfunction - function s__xepreload__init_onInit takes nothing returns nothing + function s__xepreload___init_onInit takes nothing returns nothing local timer t - set xepreload__dum=CreateUnit(Player(15), XE_DUMMY_UNITID, 0, 0, 0) - if ( xepreload__dum == null ) then + set xepreload___dum=CreateUnit(Player(15), XE_DUMMY_UNITID, 0, 0, 0) + if ( xepreload___dum == null ) then endif set t=(NewTimerEx(0)) // INLINED!! - call TimerStart(t, 0.0, false, function xepreload__kill) + call TimerStart(t, 0.0, false, function xepreload___kill) set t=null endfunction @@ -23606,8 +23606,8 @@ function EnableTriggerForUnit takes unit u,trigger l__RegisterPlayerUnitEvent__t set new_x=(((s__JiroboPrison_Spell_target_x[this] )*1.0) + Cos((( 6 * i )*1.0)) * (( 350)*1.0)) // INLINED!! set new_y=(((s__JiroboPrison_Spell_target_y[this] )*1.0) + Sin((( 6 * i )*1.0)) * (( 350)*1.0)) // INLINED!! call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Other\\Volcano\\VolcanoDeath.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! - call RemoveDestructable(s__JiroboPrison___blocks[(this)*(1)+i]) - set s__JiroboPrison___blocks[(this)*(1)+i]= null + call RemoveDestructable(s__JiroboPrison__blocks[(this)*(1)+i]) + set s__JiroboPrison__blocks[(this)*(1)+i]= null endloop call TimerStart(NewTimerEx(this), 3.0, true, function s__JiroboPrison_Spell_delay1) call s__JiroboPrison_Spell_deallocate(this) @@ -23652,7 +23652,7 @@ function EnableTriggerForUnit takes unit u,trigger l__RegisterPlayerUnitEvent__t set new_x=(((s__JiroboPrison_Spell_target_x[this] )*1.0) + Cos((( 6 * i )*1.0)) * (( 350)*1.0)) // INLINED!! set new_y=(((s__JiroboPrison_Spell_target_y[this] )*1.0) + Sin((( 6 * i )*1.0)) * (( 350)*1.0)) // INLINED!! call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Other\\Volcano\\VolcanoDeath.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! - set s__JiroboPrison___blocks[(this)*(1)+i]= CreateDestructable('YTpb', new_x, new_y, 0, 1.0, 1) + set s__JiroboPrison__blocks[(this)*(1)+i]= CreateDestructable('YTpb', new_x, new_y, 0, 1.0, 1) endloop set JPC=this call TimerStart(NewTimerEx(this), 1.0, false, function s__JiroboPrison_Spell_delay) @@ -23857,9 +23857,9 @@ function UnitUtils__init takes nothing returns nothing set s__UnitUtils__dummies[i]= CreateGroup() set i=i + 1 endloop - call UnitAddAbility(xepreload__dum, ('A0NN')) // INLINED!! - call UnitAddAbility(xepreload__dum, ('A0VM')) // INLINED!! - call UnitAddAbility(xepreload__dum, ('A0VY')) // INLINED!! + call UnitAddAbility(xepreload___dum, ('A0NN')) // INLINED!! + call UnitAddAbility(xepreload___dum, ('A0VM')) // INLINED!! + call UnitAddAbility(xepreload___dum, ('A0VY')) // INLINED!! set UnitUtils__bars=s__Table_create() endfunction @@ -32647,7 +32647,7 @@ endfunction call UnitDamageTarget(s__NewChain_caster[this], s__NewChain_target[this], 3 * GetHeroAgi(s__NewChain_caster[this], true) + 3 * GetHeroInt(s__NewChain_caster[this], true) + 2 * GetHeroStr(s__NewChain_caster[this], true), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) call DestroyEffect(s__NewChain_bondage[this]) set s__NewChain_bondage[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__NewChain_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NewChain_target[this] ) , ( 0)) // INLINED!! call s__NewChain_destroy(this) call ReleaseTimer(GetExpiredTimer()) else @@ -32691,18 +32691,18 @@ endfunction set s__NewChain_target[this]=u //call PauseUnit(this.caster, false) set s__NewChain_bondage[this]=AddSpecialEffectTarget("war3mapImported\\TimberChainHead.mdl", s__NewChain_target[this], "origin") - call s__PauseUnitEx__Pause_setPauseCounter((s__NewChain_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NewChain_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__NewChain_pull) call ReleaseTimer(GetExpiredTimer()) elseif s__NewChain_count[this] > 30 then if s__NewChain_target[this] != null then - call s__PauseUnitEx__Pause_setPauseCounter((s__NewChain_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__NewChain_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NewChain_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NewChain_target[this] ) , ( 1)) // INLINED!! set s__NewChain_bondage[this]=AddSpecialEffectTarget("war3mapImported\\TimberChainHead.mdl", s__NewChain_target[this], "origin") call TimerStart(NewTimerEx(this), 0.03, true, function s__NewChain_pull) call ReleaseTimer(GetExpiredTimer()) else - call s__PauseUnitEx__Pause_setPauseCounter((s__NewChain_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NewChain_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__NewChain_caster[this], "stand") loop call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\FeralSpirit\\feralspiritdone.mdl" ), (( s___NewChain_chains_x[s__NewChain_chains_x[this]+s__NewChain_count[this]] )*1.0), (( s___NewChain_chains_y[s__NewChain_chains_y[this]+s__NewChain_count[this]])*1.0))) // INLINED!! @@ -32808,7 +32808,7 @@ endfunction call ReleaseTimer(GetExpiredTimer()) elseif s__BlastingSphere_count[this] > 23 then if s__BlastingSphere_target[this] != null then - call s__PauseUnitEx__Pause_setPauseCounter((s__BlastingSphere_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__BlastingSphere_caster[this] ) , ( 0)) // INLINED!! //call PauseUnit(this.target, true) call TimerStart(NewTimerEx(this), 0.03, false, function s__BlastingSphere_damage) call ReleaseTimer(GetExpiredTimer()) @@ -34895,10 +34895,10 @@ endfunction set bj_lastCreatedUnit=FirstOfGroup(s__AdamantineStaffActive__Spell_g[this]) exitwhen bj_lastCreatedUnit == null call SetUnitInvulnerable(bj_lastCreatedUnit, false) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call GroupRemoveUnit(s__AdamantineStaffActive__Spell_g[this], bj_lastCreatedUnit) endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__AdamantineStaffActive__Spell_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__AdamantineStaffActive__Spell_target[this] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(s__AdamantineStaffActive__Spell_target[this], false) set s__AdamantineStaffActive__Spell_target[this]=null call s__AdamantineStaffActive__Spell_destroy(this) @@ -34950,7 +34950,7 @@ endfunction call SetUnitY(s__AdamantineStaffActive__Spell_jirobo[this], new_y) call SetUnitAnimation(s__AdamantineStaffActive__Spell_jirobo[this], "spell") set s__AdamantineStaffActive__Spell_target[this]=GetSpellTargetUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__AdamantineStaffActive__Spell_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__AdamantineStaffActive__Spell_target[this] ) , ( 1)) // INLINED!! call SetUnitInvulnerable(s__AdamantineStaffActive__Spell_target[this], true) //call DestroyEffect(AddSpecialEffectEx("Effects\\s_Black_Blink.mdx", new_x, new_y)) call TimerStartEx(NewTimerEx(this) , 0.05 , false , function s__AdamantineStaffActive__Spell_delay1 , "AdamantineStaff_delay1") @@ -35190,7 +35190,7 @@ endfunction if s__YataMirror_count[this] > 96 then - call s__PauseUnitEx__Pause_setPauseCounter((s__YataMirror_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YataMirror_target[this] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(s__YataMirror_target[this], false) call DestroyEffect(s__YataMirror_e[this]) if s__YataMirror_speed[this] > 0 then @@ -35220,7 +35220,7 @@ endfunction call SetUnitPropWindow(s__YataMirror_target[this], 0) call SetUnitInvulnerable(s__YataMirror_target[this], true) - call s__PauseUnitEx__Pause_setPauseCounter((s__YataMirror_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YataMirror_target[this] ) , ( 1)) // INLINED!! if IsUnitAlly(s__YataMirror_target[this], GetTriggerPlayer()) and s__YataMirror_target[this] != GetTriggerUnit() then call UnitRemoveBuffs(s__YataMirror_target[this], false, true) @@ -35483,7 +35483,7 @@ endfunction function s__NinjaNet_unpause takes nothing returns nothing local unit u= (s__UnitDex_Unit[((LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))))]) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((u ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((u ) , ( 0)) // INLINED!! set u=null call ReleaseTimer(GetExpiredTimer()) endfunction @@ -38281,7 +38281,7 @@ endfunction call SelectUnitForPlayerSingle(s__YamanakaSemi_target[this], GetOwningPlayer(s__YamanakaSemi_target[this])) call SetUnitFlyHeight(s__YamanakaSemi_target[this], 0, 2000.0) call SetUnitAnimation(s__YamanakaSemi_target[this], "death") - call s__PauseUnitEx__Pause_setPauseCounter((s__YamanakaSemi_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YamanakaSemi_target[this] ) , ( 0)) // INLINED!! call TimerStart(NewTimerEx(this), 0.5, false, function s__YamanakaSemi_damage) call ReleaseTimer(GetExpiredTimer()) endfunction @@ -38307,7 +38307,7 @@ endfunction set s__YamanakaSemi_caster[this]=GetTriggerUnit() set s__YamanakaSemi_target[this]=GetSpellTargetUnit() set s__YamanakaSemi_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__YamanakaSemi_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YamanakaSemi_target[this] ) , ( 1)) // INLINED!! call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__YamanakaSemi_periodic , "YamanakaSemi_periodic") endfunction @@ -38397,7 +38397,7 @@ endfunction exitwhen bj_lastCreatedUnit == null call GroupRemoveUnit(s__YamanakaTrap2_damaged[this], bj_lastCreatedUnit) call SetUnitVertexColor(bj_lastCreatedUnit, 255, 255, 255, 255) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! endloop call s__YamanakaTrap2_destroy(this) call ReleaseTimer(GetExpiredTimer()) @@ -38415,7 +38415,7 @@ endfunction exitwhen bj_lastCreatedUnit == null call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__YamanakaTrap2_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! call SetUnitVertexColor(bj_lastCreatedUnit, 100, 100, 100, 255) call GroupAddUnit(s__YamanakaTrap2_damaged[this], bj_lastCreatedUnit) set count=count + 1 @@ -38771,8 +38771,8 @@ endfunction else call SetUnitState(s__TeoSemi__Spell_target[this], UNIT_STATE_LIFE, GetUnitState(s__TeoSemi__Spell_target[this], UNIT_STATE_LIFE) + 800 * GetUnitAbilityLevel(s__TeoSemi__Spell_caster[this], s__TeoSemi__Spell_SPELL_ID)) endif - call s__PauseUnitEx__Pause_setPauseCounter((s__TeoSemi__Spell_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__TeoSemi__Spell_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TeoSemi__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TeoSemi__Spell_target[this] ) , ( 0)) // INLINED!! if GetUnitTypeId(s__TeoSemi__Spell_caster[this]) != 'N02C' then call SetUnitAnimation(s__TeoSemi__Spell_caster[this], "stand") endif @@ -38852,7 +38852,7 @@ endfunction set angle=Atan2(( target_y - caster_y ), ( target_x - caster_x )) call SetUnitX(s__TeoSemi__Spell_caster[this], caster_x) call SetUnitY(s__TeoSemi__Spell_caster[this], caster_y) - call s__PauseUnitEx__Pause_setPauseCounter((s__TeoSemi__Spell_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TeoSemi__Spell_target[this] ) , ( 1)) // INLINED!! if GetUnitTypeId(s__TeoSemi__Spell_caster[this]) != 'N02C' then call SetUnitTimeScale(s__TeoSemi__Spell_caster[this], 3.0) call SetUnitAnimationByIndex(s__TeoSemi__Spell_caster[this], 2) @@ -38995,7 +38995,7 @@ endfunction //call SetUnitInvulnerable(this.caster, false) //call ShowUnit(this.caster, true) call SelectUnitForPlayerSingle(s__BorutoStream_caster[this], GetOwningPlayer(s__BorutoStream_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__BorutoStream_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__BorutoStream_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__BorutoStream_caster[this], "stand") call s__BorutoStream_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -39044,7 +39044,7 @@ endfunction //call SetUnitInvulnerable(this.caster, false) //call ShowUnit(this.caster, true) call SelectUnitForPlayerSingle(s__BorutoStream_caster[this], GetOwningPlayer(s__BorutoStream_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__BorutoStream_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__BorutoStream_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__BorutoStream_caster[this], "stand") call s__BorutoStream_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -39082,7 +39082,7 @@ endfunction set s__BorutoStream_damaged[this]=CreateGroup() - call s__PauseUnitEx__Pause_setPauseCounter((s__BorutoStream_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__BorutoStream_caster[this] ) , ( 1)) // INLINED!! set s__BorutoStream_dummy[this]=(CreateUnit((GetOwningPlayer(s__BorutoStream_caster[this]) ), ( 'h06P' ), (( GetUnitX(s__BorutoStream_caster[this]) )*1.0), (( GetUnitY(s__BorutoStream_caster[this]) )*1.0), (( GetUnitFacing(s__BorutoStream_caster[this]))*1.0))) // INLINED!! call UnitAddAbility(s__BorutoStream_dummy[this], 'A091') call SetUnitAnimation(s__BorutoStream_dummy[this], "spell three") @@ -39387,7 +39387,7 @@ endfunction call ReleaseTimer(GetExpiredTimer()) elseif s__BorutoRasengan_count[this] > 23 then if s__BorutoRasengan_target[this] != null then - call s__PauseUnitEx__Pause_setPauseCounter((s__BorutoRasengan_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__BorutoRasengan_caster[this] ) , ( 0)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, false, function s__BorutoRasengan_damage) call ReleaseTimer(GetExpiredTimer()) else @@ -39468,7 +39468,7 @@ endfunction set s__BorutoOyakoRasengan__Spell_stunUnit[this]=null call DestroyEffect(s__BorutoOyakoRasengan__Spell_rasengan[this]) call SetUnitTimeScale(s__BorutoOyakoRasengan__Spell_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__BorutoOyakoRasengan__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__BorutoOyakoRasengan__Spell_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__BorutoOyakoRasengan__Spell_caster[this], "stand") call SetUnitFlyHeight(s__BorutoOyakoRasengan__Spell_caster[this], 0, 0) set s__BorutoOyakoRasengan__Spell_caster[this]=null @@ -39581,7 +39581,7 @@ endfunction if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Boruto_T, 100, GetTriggerUnit()) endif - call s__PauseUnitEx__Pause_setPauseCounter((s__BorutoOyakoRasengan__Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__BorutoOyakoRasengan__Spell_caster[this] ) , ( 1)) // INLINED!! call UnitAddAbility(s__BorutoOyakoRasengan__Spell_caster[this], 'Arav') call UnitRemoveAbility(s__BorutoOyakoRasengan__Spell_caster[this], 'Arav') call SetUnitAnimation(s__BorutoOyakoRasengan__Spell_caster[this], "Spell Three Alternate") @@ -39720,7 +39720,7 @@ endfunction call DestroyGroup(bj_lastCreatedGroup) set i=i + 1 endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__MitsukiSenei_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MitsukiSenei_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__MitsukiSenei_caster[this], "stand") call TimerStart(NewTimerEx(this), 0.03, true, function s__MitsukiSenei_periodic2) call ReleaseTimer(GetExpiredTimer()) @@ -39734,7 +39734,7 @@ endfunction set s__MitsukiSenei_damaged[this]=CreateGroup() set s__MitsukiSenei_angle[this]=Atan3(GetUnitX(s__MitsukiSenei_caster[this]) , GetUnitY(s__MitsukiSenei_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) set s__MitsukiSenei_missile[this]=CreateUnit(GetTriggerPlayer(), 'e007', GetUnitX(s__MitsukiSenei_caster[this]), GetUnitY(s__MitsukiSenei_caster[this]), 270) - call s__PauseUnitEx__Pause_setPauseCounter((s__MitsukiSenei_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MitsukiSenei_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__MitsukiSenei_caster[this], "spell throw") call TimerStart(NewTimerEx(this), 0.02, true, function s__MitsukiSenei_periodic) endfunction @@ -39918,7 +39918,7 @@ function Trig_MitsukiUwabami_Actions takes nothing returns nothing set udg_units11[1]=GetSpellTargetUnit() call TriggerSleepAction(0.10) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units11[1] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units11[1] ) , ( 1)) // INLINED!! call SetUnitFlyHeight(udg_units11[1], 200.00, 400.00) @@ -39937,7 +39937,7 @@ function Trig_MitsukiUwabami_Actions takes nothing returns nothing endloop call TriggerSleepAction(0.0) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units11[0] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units11[0] ) , ( 1)) // INLINED!! call SetUnitTimeScalePercent(GetTriggerUnit(), 0.00) call TriggerSleepAction(0.50) @@ -39983,13 +39983,13 @@ function Trig_MitsukiUwabami_Actions takes nothing returns nothing call SetUnitFlyHeight(udg_units11[1], 500.00, 5000.00) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units11[0] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units11[0] ) , ( 0)) // INLINED!! call EnableTrigger(udg_trigger86) call TriggerSleepAction(0.25) call SetUnitFlyHeight(udg_units11[1], 0.00, 6000.00) //call TriggerSleepAction(0.20) call DisableTrigger(udg_trigger86) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units11[1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units11[1] ) , ( 0)) // INLINED!! set udg_locations03[12]=GetUnitLoc(udg_units11[1]) set bj_wantDestroyGroup=true call ForGroupBJ(GetUnitsInRangeOfLocMatching(400.00, udg_locations03[12], Condition(function Trig_MitsukiUwabami_Func037001003)), function Trig_MitsukiUwabami_Func037A) @@ -40793,7 +40793,7 @@ endfunction call UnitDamageTarget(s__MitsukiDoton__Spell_caster[s__MitsukiDoton__Spell_instance], GetFilterUnit(), 5 * GetHeroInt(s__MitsukiDoton__Spell_caster[s__MitsukiDoton__Spell_instance], true) + 500, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) else call SetUnitInvulnerable(GetFilterUnit(), true) - call s__PauseUnitEx__Pause_setPauseCounter((GetFilterUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetFilterUnit() ) , ( 1)) // INLINED!! call GroupAddUnit(s__MitsukiDoton__Spell_g[s__MitsukiDoton__Spell_instance], GetFilterUnit()) endif endif @@ -40833,7 +40833,7 @@ endfunction set bj_lastCreatedUnit=FirstOfGroup(s__MitsukiDoton__Spell_g[this]) exitwhen bj_lastCreatedUnit == null call SetUnitInvulnerable(bj_lastCreatedUnit, false) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call GroupRemoveUnit(s__MitsukiDoton__Spell_g[this], bj_lastCreatedUnit) endloop call s__MitsukiDoton__Spell_destroy(this) @@ -41201,7 +41201,7 @@ function Trig_IchigoVastoLord_Actions takes nothing returns nothing if GetUnitAbilityLevel(GetTriggerUnit(), 'B066') > 0 and GetEventDamage() > GetWidgetLife(GetTriggerUnit()) and GetRandomInt(0, 100) < 2 then call SetUnitInvulnerable(GetTriggerUnit(), true) call SetUnitAnimation(GetTriggerUnit(), "Stand Wounded") - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Ichigo_Vasto_Lorde, 110.0, GetTriggerUnit()) endif @@ -41220,7 +41220,7 @@ function Trig_IchigoVastoLord_Actions takes nothing returns nothing call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 1.0) call BlzEndUnitAbilityCooldown(GetTriggerUnit(), 'A1DQ') - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! call PolledWait(10.0) call SetPlayerAbilityAvailable(GetOwningPlayer(GetTriggerUnit()), 'A1D3', true) if GetHeroLevel(GetTriggerUnit()) < 35 then @@ -41615,7 +41615,7 @@ endfunction if s__IchigoSlash_count[this] >= 25 then set udg_Bounty[GetPlayerId(GetOwningPlayer(s__IchigoSlash_caster[this])) + 1]=0 call KillUnit(s__IchigoSlash_slash[this]) - call s__PauseUnitEx__Pause_setPauseCounter((s__IchigoSlash_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__IchigoSlash_caster[this] ) , ( 0)) // INLINED!! set s__IchigoSlash_slash[this]=null call DestroyGroup(s__IchigoSlash_damaged[this]) set s__IchigoSlash_damaged[this]=null @@ -41635,7 +41635,7 @@ endfunction call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Ichigo: The Final Getsuga Tensho is when I become Getsuga itself!|r") call PlaySoundOnUnitBJ(gg_snd_Ichigo_R_Transform, 100.0, GetTriggerUnit()) endif - call s__PauseUnitEx__Pause_setPauseCounter((s__IchigoSlash_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__IchigoSlash_caster[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__IchigoSlash_periodic) endfunction @@ -41710,59 +41710,59 @@ endfunction //Implemented from module Alloc: - function s__IchigoAbiltiies__Spell_allocate takes nothing returns integer + function s__IchigoAbiltiies___Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__IchigoAbiltiies__Spell_Alloc__recycle[(0)] == 0 ) then - set s__IchigoAbiltiies__Spell_Alloc__instanceCount=s__IchigoAbiltiies__Spell_Alloc__instanceCount + 1 - set this=s__IchigoAbiltiies__Spell_Alloc__instanceCount + if ( s__IchigoAbiltiies___Spell_Alloc__recycle[(0)] == 0 ) then + set s__IchigoAbiltiies___Spell_Alloc__instanceCount=s__IchigoAbiltiies___Spell_Alloc__instanceCount + 1 + set this=s__IchigoAbiltiies___Spell_Alloc__instanceCount else - set this=s__IchigoAbiltiies__Spell_Alloc__recycle[(0)] - set s__IchigoAbiltiies__Spell_Alloc__recycle[(0)]=s__IchigoAbiltiies__Spell_Alloc__recycle[s__IchigoAbiltiies__Spell_Alloc__recycle[(0)]] + set this=s__IchigoAbiltiies___Spell_Alloc__recycle[(0)] + set s__IchigoAbiltiies___Spell_Alloc__recycle[(0)]=s__IchigoAbiltiies___Spell_Alloc__recycle[s__IchigoAbiltiies___Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__IchigoAbiltiies__Spell_deallocate takes integer this returns nothing - set s__IchigoAbiltiies__Spell_Alloc__recycle[this]=s__IchigoAbiltiies__Spell_Alloc__recycle[(0)] - set s__IchigoAbiltiies__Spell_Alloc__recycle[(0)]=this + function s__IchigoAbiltiies___Spell_deallocate takes integer this returns nothing + set s__IchigoAbiltiies___Spell_Alloc__recycle[this]=s__IchigoAbiltiies___Spell_Alloc__recycle[(0)] + set s__IchigoAbiltiies___Spell_Alloc__recycle[(0)]=this endfunction - function s__IchigoAbiltiies__Spell_destroy takes integer this returns nothing - set s__IchigoAbiltiies__Spell_caster[this]=null - call s__IchigoAbiltiies__Spell_deallocate(this) + function s__IchigoAbiltiies___Spell_destroy takes integer this returns nothing + set s__IchigoAbiltiies___Spell_caster[this]=null + call s__IchigoAbiltiies___Spell_deallocate(this) endfunction - function s__IchigoAbiltiies__Spell_periodic takes nothing returns nothing + function s__IchigoAbiltiies___Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - if GetUnitTypeId(s__IchigoAbiltiies__Spell_caster[this]) != 'U00G' then - call SetPlayerAbilityAvailable(GetOwningPlayer(s__IchigoAbiltiies__Spell_caster[this]), 'A092', true) - call s__IchigoAbiltiies__Spell_destroy(this) + if GetUnitTypeId(s__IchigoAbiltiies___Spell_caster[this]) != 'U00G' then + call SetPlayerAbilityAvailable(GetOwningPlayer(s__IchigoAbiltiies___Spell_caster[this]), 'A092', true) + call s__IchigoAbiltiies___Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__IchigoAbiltiies__Spell_delay takes nothing returns nothing + function s__IchigoAbiltiies___Spell_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call SetPlayerAbilityAvailable(GetOwningPlayer(s__IchigoAbiltiies__Spell_caster[this]), 'A092', false) - call TimerStart(NewTimerEx(this), 0.03, true, function s__IchigoAbiltiies__Spell_periodic) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__IchigoAbiltiies___Spell_caster[this]), 'A092', false) + call TimerStart(NewTimerEx(this), 0.03, true, function s__IchigoAbiltiies___Spell_periodic) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__IchigoAbiltiies__Spell_actions takes nothing returns nothing - local integer this= s__IchigoAbiltiies__Spell_allocate() - set s__IchigoAbiltiies__Spell_caster[this]=GetTriggerUnit() - if GetUnitTypeId(s__IchigoAbiltiies__Spell_caster[this]) == 'H0A7' then - call TimerStart(NewTimerEx(this), 1.5, false, function s__IchigoAbiltiies__Spell_delay) + function s__IchigoAbiltiies___Spell_actions takes nothing returns nothing + local integer this= s__IchigoAbiltiies___Spell_allocate() + set s__IchigoAbiltiies___Spell_caster[this]=GetTriggerUnit() + if GetUnitTypeId(s__IchigoAbiltiies___Spell_caster[this]) == 'H0A7' then + call TimerStart(NewTimerEx(this), 1.5, false, function s__IchigoAbiltiies___Spell_delay) endif endfunction - function s__IchigoAbiltiies__Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEvent2((s__IchigoAbiltiies__Spell_SPELL_ID ) , Filter(( function s__IchigoAbiltiies__Spell_actions))) // INLINED!! + function s__IchigoAbiltiies___Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEvent2((s__IchigoAbiltiies___Spell_SPELL_ID ) , Filter(( function s__IchigoAbiltiies___Spell_actions))) // INLINED!! endfunction @@ -42373,8 +42373,8 @@ endfunction call DestroyEffect(bj_lastCreatedEffect) set i=i + 1 endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__AnkoUltimate_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__AnkoUltimate_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__AnkoUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__AnkoUltimate_target[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__AnkoUltimate_target[this], "death") call StunUnitTimed(s__AnkoUltimate_caster[this] , s__AnkoUltimate_target[this] , 2.0) set bj_lastCreatedGroup=CreateGroup() @@ -42405,8 +42405,8 @@ endfunction set s__AnkoUltimate_target[this]=GetSpellTargetUnit() set s__AnkoUltimate_count[this]=0 set s__AnkoUltimate_snakes[this]=CreateGroup() - call s__PauseUnitEx__Pause_setPauseCounter((s__AnkoUltimate_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__AnkoUltimate_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__AnkoUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__AnkoUltimate_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__AnkoUltimate_periodic) endfunction @@ -42422,60 +42422,60 @@ endfunction //Implemented from module Alloc: - function s__Ox__Spell_allocate takes nothing returns integer + function s__Ox___Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__Ox__Spell_Alloc__recycle[(0)] == 0 ) then - set s__Ox__Spell_Alloc__instanceCount=s__Ox__Spell_Alloc__instanceCount + 1 - set this=s__Ox__Spell_Alloc__instanceCount + if ( s__Ox___Spell_Alloc__recycle[(0)] == 0 ) then + set s__Ox___Spell_Alloc__instanceCount=s__Ox___Spell_Alloc__instanceCount + 1 + set this=s__Ox___Spell_Alloc__instanceCount else - set this=s__Ox__Spell_Alloc__recycle[(0)] - set s__Ox__Spell_Alloc__recycle[(0)]=s__Ox__Spell_Alloc__recycle[s__Ox__Spell_Alloc__recycle[(0)]] + set this=s__Ox___Spell_Alloc__recycle[(0)] + set s__Ox___Spell_Alloc__recycle[(0)]=s__Ox___Spell_Alloc__recycle[s__Ox___Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__Ox__Spell_deallocate takes integer this returns nothing - set s__Ox__Spell_Alloc__recycle[this]=s__Ox__Spell_Alloc__recycle[(0)] - set s__Ox__Spell_Alloc__recycle[(0)]=this + function s__Ox___Spell_deallocate takes integer this returns nothing + set s__Ox___Spell_Alloc__recycle[this]=s__Ox___Spell_Alloc__recycle[(0)] + set s__Ox___Spell_Alloc__recycle[(0)]=this endfunction - function s__Ox__Spell_destroy takes integer this returns nothing - set s__Ox__Spell_caster[this]=null - set s__Ox__Spell_target[this]=null - call DestroyEffect(AddSpecialEffect(("s_Shadow_Smoke.mdx" ), (( GetUnitX(s__Ox__Spell_ox[this]) )*1.0), (( GetUnitY(s__Ox__Spell_ox[this]))*1.0))) // INLINED!! - call RecycleUnit(s__Ox__Spell_ox[this]) - call DestroyGroup(s__Ox__Spell_damaged[this]) - set s__Ox__Spell_damaged[this]=null - set s__Ox__Spell_ox[this]=null - call s__Ox__Spell_deallocate(this) + function s__Ox___Spell_destroy takes integer this returns nothing + set s__Ox___Spell_caster[this]=null + set s__Ox___Spell_target[this]=null + call DestroyEffect(AddSpecialEffect(("s_Shadow_Smoke.mdx" ), (( GetUnitX(s__Ox___Spell_ox[this]) )*1.0), (( GetUnitY(s__Ox___Spell_ox[this]))*1.0))) // INLINED!! + call RecycleUnit(s__Ox___Spell_ox[this]) + call DestroyGroup(s__Ox___Spell_damaged[this]) + set s__Ox___Spell_damaged[this]=null + set s__Ox___Spell_ox[this]=null + call s__Ox___Spell_deallocate(this) endfunction - function s__Ox__Spell_periodic2 takes nothing returns nothing + function s__Ox___Spell_periodic2 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real x= GetUnitX(s__Ox__Spell_ox[this]) - local real y= GetUnitY(s__Ox__Spell_ox[this]) - local real angle= s__Ox__Spell_angle[this] - local real new_x= (((x )*1.0) + Cos((( s__Ox__Spell_angle[this] )*1.0)) * (( 25)*1.0)) // INLINED!! - local real new_y= (((y )*1.0) + Sin((( s__Ox__Spell_angle[this] )*1.0)) * (( 25)*1.0)) // INLINED!! + local real x= GetUnitX(s__Ox___Spell_ox[this]) + local real y= GetUnitY(s__Ox___Spell_ox[this]) + local real angle= s__Ox___Spell_angle[this] + local real new_x= (((x )*1.0) + Cos((( s__Ox___Spell_angle[this] )*1.0)) * (( 25)*1.0)) // INLINED!! + local real new_y= (((y )*1.0) + Sin((( s__Ox___Spell_angle[this] )*1.0)) * (( 25)*1.0)) // INLINED!! local real i - call SetUnitX(s__Ox__Spell_ox[this], new_x) - call SetUnitY(s__Ox__Spell_ox[this], new_y) - call SetUnitFacing(s__Ox__Spell_ox[this], Rad2Deg(angle)) - set s__Ox__Spell_count[this]=s__Ox__Spell_count[this] + 1 - if ModuloInteger(s__Ox__Spell_count[this], 5) == 0 then - call KillUnit((CreateUnit((GetOwningPlayer(s__Ox__Spell_caster[this]) ), ( 'e02G' ), (( x )*1.0), (( y )*1.0), (( GetRandomReal(0, 360))*1.0)))) // INLINED!! + call SetUnitX(s__Ox___Spell_ox[this], new_x) + call SetUnitY(s__Ox___Spell_ox[this], new_y) + call SetUnitFacing(s__Ox___Spell_ox[this], Rad2Deg(angle)) + set s__Ox___Spell_count[this]=s__Ox___Spell_count[this] + 1 + if ModuloInteger(s__Ox___Spell_count[this], 5) == 0 then + call KillUnit((CreateUnit((GetOwningPlayer(s__Ox___Spell_caster[this]) ), ( 'e02G' ), (( x )*1.0), (( y )*1.0), (( GetRandomReal(0, 360))*1.0)))) // INLINED!! endif set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, GetUnitX(s__Ox__Spell_ox[this]), GetUnitY(s__Ox__Spell_ox[this]), 300.0, null) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, GetUnitX(s__Ox___Spell_ox[this]), GetUnitY(s__Ox___Spell_ox[this]), 300.0, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__Ox__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__Ox___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then set new_x=(((GetUnitX(bj_lastCreatedUnit) )*1.0) + Cos((( angle )*1.0)) * (( 25)*1.0)) // INLINED!! set new_y=(((GetUnitY(bj_lastCreatedUnit) )*1.0) + Sin((( angle )*1.0)) * (( 25)*1.0)) // INLINED!! if not IsTerrainPathable(new_x, new_y, PATHING_TYPE_WALKABILITY) then @@ -42483,87 +42483,87 @@ endfunction call SetUnitY(bj_lastCreatedUnit, new_y) endif call DestroyEffect(AddSpecialEffect(("Abilities\\Weapons\\AncientProtectorMissile\\AncientProtectorMissile.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! - if not IsUnitInGroup(bj_lastCreatedUnit, s__Ox__Spell_damaged[this]) then - call UnitDamageTarget(s__Ox__Spell_caster[this], bj_lastCreatedUnit, 1.0 * GetHeroAgi(s__Ox__Spell_caster[this], true) * GetUnitAbilityLevel(s__Ox__Spell_caster[this], s__Ox__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) - call GroupAddUnit(s__Ox__Spell_damaged[this], bj_lastCreatedUnit) + if not IsUnitInGroup(bj_lastCreatedUnit, s__Ox___Spell_damaged[this]) then + call UnitDamageTarget(s__Ox___Spell_caster[this], bj_lastCreatedUnit, 1.0 * GetHeroAgi(s__Ox___Spell_caster[this], true) * GetUnitAbilityLevel(s__Ox___Spell_caster[this], s__Ox___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) + call GroupAddUnit(s__Ox___Spell_damaged[this], bj_lastCreatedUnit) endif endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - if s__Ox__Spell_count[this] > 12 then - call s__Ox__Spell_destroy(this) + if s__Ox___Spell_count[this] > 12 then + call s__Ox___Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__Ox__Spell_periodic takes nothing returns nothing + function s__Ox___Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real x= GetUnitX(s__Ox__Spell_ox[this]) - local real y= GetUnitY(s__Ox__Spell_ox[this]) - local real angle= Atan3(x , y , GetUnitX(s__Ox__Spell_target[this]) , GetUnitY(s__Ox__Spell_target[this])) + local real x= GetUnitX(s__Ox___Spell_ox[this]) + local real y= GetUnitY(s__Ox___Spell_ox[this]) + local real angle= Atan3(x , y , GetUnitX(s__Ox___Spell_target[this]) , GetUnitY(s__Ox___Spell_target[this])) local real new_x= (((x )*1.0) + Cos((( angle )*1.0)) * (( 25)*1.0)) // INLINED!! local real new_y= (((y )*1.0) + Sin((( angle )*1.0)) * (( 25)*1.0)) // INLINED!! local real i - call SetUnitX(s__Ox__Spell_ox[this], new_x) - call SetUnitY(s__Ox__Spell_ox[this], new_y) - call SetUnitFacing(s__Ox__Spell_ox[this], Rad2Deg(angle)) - set s__Ox__Spell_count[this]=s__Ox__Spell_count[this] + 1 - if ModuloInteger(s__Ox__Spell_count[this], 5) == 0 then - call KillUnit((CreateUnit((GetOwningPlayer(s__Ox__Spell_caster[this]) ), ( 'e02G' ), (( x )*1.0), (( y )*1.0), (( GetRandomReal(0, 360))*1.0)))) // INLINED!! + call SetUnitX(s__Ox___Spell_ox[this], new_x) + call SetUnitY(s__Ox___Spell_ox[this], new_y) + call SetUnitFacing(s__Ox___Spell_ox[this], Rad2Deg(angle)) + set s__Ox___Spell_count[this]=s__Ox___Spell_count[this] + 1 + if ModuloInteger(s__Ox___Spell_count[this], 5) == 0 then + call KillUnit((CreateUnit((GetOwningPlayer(s__Ox___Spell_caster[this]) ), ( 'e02G' ), (( x )*1.0), (( y )*1.0), (( GetRandomReal(0, 360))*1.0)))) // INLINED!! endif set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, GetUnitX(s__Ox__Spell_ox[this]), GetUnitY(s__Ox__Spell_ox[this]), 300.0, null) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, GetUnitX(s__Ox___Spell_ox[this]), GetUnitY(s__Ox___Spell_ox[this]), 300.0, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__Ox__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__Ox___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then set new_x=(((GetUnitX(bj_lastCreatedUnit) )*1.0) + Cos((( angle )*1.0)) * (( 25)*1.0)) // INLINED!! set new_y=(((GetUnitY(bj_lastCreatedUnit) )*1.0) + Sin((( angle )*1.0)) * (( 25)*1.0)) // INLINED!! - if not IsTerrainPathable(new_x, new_y, PATHING_TYPE_WALKABILITY) and bj_lastCreatedUnit != s__Ox__Spell_target[this] then + if not IsTerrainPathable(new_x, new_y, PATHING_TYPE_WALKABILITY) and bj_lastCreatedUnit != s__Ox___Spell_target[this] then call SetUnitX(bj_lastCreatedUnit, new_x) call SetUnitY(bj_lastCreatedUnit, new_y) endif call DestroyEffect(AddSpecialEffect(("Abilities\\Weapons\\AncientProtectorMissile\\AncientProtectorMissile.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! - if not IsUnitInGroup(bj_lastCreatedUnit, s__Ox__Spell_damaged[this]) then - call UnitDamageTarget(s__Ox__Spell_caster[this], bj_lastCreatedUnit, 1.0 * GetHeroAgi(s__Ox__Spell_caster[this], true) * GetUnitAbilityLevel(s__Ox__Spell_caster[this], s__Ox__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) - if (UnitHasItemOfTypeBJ((s__Ox__Spell_caster[this] ), ( 'I01X'))) then // INLINED!! - call SlowArea(s__Ox__Spell_caster[this] , GetUnitX(bj_lastCreatedUnit) , GetUnitY(bj_lastCreatedUnit) , 300.0) + if not IsUnitInGroup(bj_lastCreatedUnit, s__Ox___Spell_damaged[this]) then + call UnitDamageTarget(s__Ox___Spell_caster[this], bj_lastCreatedUnit, 1.0 * GetHeroAgi(s__Ox___Spell_caster[this], true) * GetUnitAbilityLevel(s__Ox___Spell_caster[this], s__Ox___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) + if (UnitHasItemOfTypeBJ((s__Ox___Spell_caster[this] ), ( 'I01X'))) then // INLINED!! + call SlowArea(s__Ox___Spell_caster[this] , GetUnitX(bj_lastCreatedUnit) , GetUnitY(bj_lastCreatedUnit) , 300.0) endif - call GroupAddUnit(s__Ox__Spell_damaged[this], bj_lastCreatedUnit) + call GroupAddUnit(s__Ox___Spell_damaged[this], bj_lastCreatedUnit) endif endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - if GetDistanceUnits(s__Ox__Spell_ox[this] , s__Ox__Spell_target[this]) <= 100 then - set s__Ox__Spell_count[this]=0 - set s__Ox__Spell_angle[this]=angle - call TimerStart(NewTimerEx(this), 0.03, true, function s__Ox__Spell_periodic2) + if GetDistanceUnits(s__Ox___Spell_ox[this] , s__Ox___Spell_target[this]) <= 100 then + set s__Ox___Spell_count[this]=0 + set s__Ox___Spell_angle[this]=angle + call TimerStart(NewTimerEx(this), 0.03, true, function s__Ox___Spell_periodic2) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__Ox__Spell_actions takes nothing returns nothing + function s__Ox___Spell_actions takes nothing returns nothing local integer this - set this=s__Ox__Spell_allocate() - set s__Ox__Spell_caster[this]=GetTriggerUnit() - set s__Ox__Spell_target[this]=GetSpellTargetUnit() - set s__Ox__Spell_damaged[this]=CreateGroup() - set s__Ox__Spell_count[this]=0 - set s__Ox__Spell_ox[this]=(CreateUnit((GetTriggerPlayer() ), ( 'h0A6' ), (( GetUnitX(s__Ox__Spell_caster[this]) )*1.0), (( GetUnitY(s__Ox__Spell_caster[this]) )*1.0), (( GetUnitFacing(s__Ox__Spell_caster[this]))*1.0))) // INLINED!! - call SetUnitAnimationByIndex(s__Ox__Spell_ox[this], 5) - call SetUnitTimeScale(s__Ox__Spell_ox[this], 3.0) - set bj_lastCreatedUnit=(CreateUnit((GetTriggerPlayer() ), ( 'h01V' ), (( GetUnitX(s__Ox__Spell_caster[this]) )*1.0), (( GetUnitY(s__Ox__Spell_caster[this]) )*1.0), (( 270.0)*1.0))) // INLINED!! + set this=s__Ox___Spell_allocate() + set s__Ox___Spell_caster[this]=GetTriggerUnit() + set s__Ox___Spell_target[this]=GetSpellTargetUnit() + set s__Ox___Spell_damaged[this]=CreateGroup() + set s__Ox___Spell_count[this]=0 + set s__Ox___Spell_ox[this]=(CreateUnit((GetTriggerPlayer() ), ( 'h0A6' ), (( GetUnitX(s__Ox___Spell_caster[this]) )*1.0), (( GetUnitY(s__Ox___Spell_caster[this]) )*1.0), (( GetUnitFacing(s__Ox___Spell_caster[this]))*1.0))) // INLINED!! + call SetUnitAnimationByIndex(s__Ox___Spell_ox[this], 5) + call SetUnitTimeScale(s__Ox___Spell_ox[this], 3.0) + set bj_lastCreatedUnit=(CreateUnit((GetTriggerPlayer() ), ( 'h01V' ), (( GetUnitX(s__Ox___Spell_caster[this]) )*1.0), (( GetUnitY(s__Ox___Spell_caster[this]) )*1.0), (( 270.0)*1.0))) // INLINED!! call SetUnitAnimation(bj_lastCreatedUnit, "birth") call RecycleUnitDelayed(bj_lastCreatedUnit , 3.5) - call DestroyEffect(AddSpecialEffect(("s_Shadow_Smoke.mdx" ), (( GetUnitX(s__Ox__Spell_caster[this]) )*1.0), (( GetUnitY(s__Ox__Spell_caster[this]))*1.0))) // INLINED!! - call TimerStart(NewTimerEx(this), 0.03, true, function s__Ox__Spell_periodic) - call SetUnitAnimation(s__Ox__Spell_caster[this], "spell two") + call DestroyEffect(AddSpecialEffect(("s_Shadow_Smoke.mdx" ), (( GetUnitX(s__Ox___Spell_caster[this]) )*1.0), (( GetUnitY(s__Ox___Spell_caster[this]))*1.0))) // INLINED!! + call TimerStart(NewTimerEx(this), 0.03, true, function s__Ox___Spell_periodic) + call SetUnitAnimation(s__Ox___Spell_caster[this], "spell two") endfunction - function s__Ox__Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(95 , s__Ox__Spell_SPELL_ID , function s__Ox__Spell_actions) + function s__Ox___Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(95 , s__Ox___Spell_SPELL_ID , function s__Ox___Spell_actions) endfunction @@ -42659,7 +42659,7 @@ endfunction endloop call DestroyGroup(bj_lastCreatedGroup) call SetUnitTimeScale(s__Dog_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__Dog_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__Dog_caster[this] ) , ( 0)) // INLINED!! set s__Dog_count[this]=0 set bj_lastCreatedEffect=AddSpecialEffect("war3mapImported\\Blood.mdl", s__Dog_target_x[this], s__Dog_target_y[this]) call BlzSetSpecialEffectScale(bj_lastCreatedEffect, 3.0) @@ -42678,7 +42678,7 @@ endfunction set s__Dog_caster_y[this]=GetUnitY(s__Dog_caster[this]) set s__Dog_count[this]=0 set s__Dog_damaged[this]=CreateGroup() - call s__PauseUnitEx__Pause_setPauseCounter((s__Dog_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__Dog_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(GetTriggerUnit(), "Attack Three") set s__Dog_dist[this]=GetDistance(GetUnitX(s__Dog_caster[this]) , GetUnitY(s__Dog_caster[this]) , s__Dog_target_x[this] , s__Dog_target_y[this]) call SetUnitFlyHeight(GetTriggerUnit(), 400.00, 400.00) @@ -42721,29 +42721,29 @@ endfunction //Implemented from module Alloc: - function s__Crab__Spell_allocate takes nothing returns integer + function s__Crab___Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__Crab__Spell_Alloc__recycle[(0)] == 0 ) then - set s__Crab__Spell_Alloc__instanceCount=s__Crab__Spell_Alloc__instanceCount + 1 - set this=s__Crab__Spell_Alloc__instanceCount + if ( s__Crab___Spell_Alloc__recycle[(0)] == 0 ) then + set s__Crab___Spell_Alloc__instanceCount=s__Crab___Spell_Alloc__instanceCount + 1 + set this=s__Crab___Spell_Alloc__instanceCount else - set this=s__Crab__Spell_Alloc__recycle[(0)] - set s__Crab__Spell_Alloc__recycle[(0)]=s__Crab__Spell_Alloc__recycle[s__Crab__Spell_Alloc__recycle[(0)]] + set this=s__Crab___Spell_Alloc__recycle[(0)] + set s__Crab___Spell_Alloc__recycle[(0)]=s__Crab___Spell_Alloc__recycle[s__Crab___Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__Crab__Spell_deallocate takes integer this returns nothing - set s__Crab__Spell_Alloc__recycle[this]=s__Crab__Spell_Alloc__recycle[(0)] - set s__Crab__Spell_Alloc__recycle[(0)]=this + function s__Crab___Spell_deallocate takes integer this returns nothing + set s__Crab___Spell_Alloc__recycle[this]=s__Crab___Spell_Alloc__recycle[(0)] + set s__Crab___Spell_Alloc__recycle[(0)]=this endfunction - function s__Crab__Spell_periodic takes nothing returns nothing + function s__Crab___Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real angle local real offset @@ -42753,15 +42753,15 @@ endfunction local real crab_x local real crab_y local integer i= 0 - set s__Crab__Spell_count[this]=s__Crab__Spell_count[this] + 1 + set s__Crab___Spell_count[this]=s__Crab___Spell_count[this] + 1 set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__Crab__Spell_target_x[this], s__Crab__Spell_target_y[this], 600.0, null) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__Crab___Spell_target_x[this], s__Crab___Spell_target_y[this], 600.0, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__Crab__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) then + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__Crab___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) then call DestroyEffect(AddSpecialEffectTarget("Abilities\\Weapons\\HydraliskImpact\\HydraliskImpact.mdl", bj_lastCreatedUnit, "chest")) - call UnitDamageTarget(s__Crab__Spell_caster[this], bj_lastCreatedUnit, ( ( 2.0 * GetHeroAgi(s__Crab__Spell_caster[this], true) + 750 ) * GetUnitAbilityLevel(s__Crab__Spell_caster[this], s__Crab__Spell_SPELL_ID) ) / 70.0, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) + call UnitDamageTarget(s__Crab___Spell_caster[this], bj_lastCreatedUnit, ( ( 2.0 * GetHeroAgi(s__Crab___Spell_caster[this], true) + 750 ) * GetUnitAbilityLevel(s__Crab___Spell_caster[this], s__Crab___Spell_SPELL_ID) ) / 70.0, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop @@ -42771,33 +42771,33 @@ endfunction exitwhen i > 5 set angle=GetRandomReal(0, 360) set offset=GetRandomReal(0, 500) - set new_x=s__Crab__Spell_target_x[this] + Cos(Deg2Rad(angle)) * offset - set new_y=s__Crab__Spell_target_y[this] + Sin(Deg2Rad(angle)) * offset - set angle2=Atan2(( s__Crab__Spell_target_y[this] - new_y ), ( s__Crab__Spell_target_x[this] - new_x )) + set new_x=s__Crab___Spell_target_x[this] + Cos(Deg2Rad(angle)) * offset + set new_y=s__Crab___Spell_target_y[this] + Sin(Deg2Rad(angle)) * offset + set angle2=Atan2(( s__Crab___Spell_target_y[this] - new_y ), ( s__Crab___Spell_target_x[this] - new_x )) endloop - if s__Crab__Spell_count[this] > 70 then - call ShowUnit(s__Crab__Spell_crab[this], false) + if s__Crab___Spell_count[this] > 70 then + call ShowUnit(s__Crab___Spell_crab[this], false) - call KillUnit(s__Crab__Spell_crab[this]) - set s__Crab__Spell_caster[this]=null - set s__Crab__Spell_crab[this]=null - call s__Crab__Spell_deallocate(this) + call KillUnit(s__Crab___Spell_crab[this]) + set s__Crab___Spell_caster[this]=null + set s__Crab___Spell_crab[this]=null + call s__Crab___Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__Crab__Spell_pause2 takes nothing returns nothing + function s__Crab___Spell_pause2 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call TimerStart(NewTimerEx(this), 0.03, true, function s__Crab__Spell_periodic) + call TimerStart(NewTimerEx(this), 0.03, true, function s__Crab___Spell_periodic) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__Crab__Spell_pause takes nothing returns nothing + function s__Crab___Spell_pause takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real new_x= s__Crab__Spell_target_x[this] + Cos(Deg2Rad(GetUnitFacing(s__Crab__Spell_crab[this]))) * 100 - local real new_y= s__Crab__Spell_target_y[this] + Sin(Deg2Rad(GetUnitFacing(s__Crab__Spell_crab[this]))) * 100 + local real new_x= s__Crab___Spell_target_x[this] + Cos(Deg2Rad(GetUnitFacing(s__Crab___Spell_crab[this]))) * 100 + local real new_y= s__Crab___Spell_target_y[this] + Sin(Deg2Rad(GetUnitFacing(s__Crab___Spell_crab[this]))) * 100 local real angle local real offset local real new_x_2 @@ -42809,9 +42809,9 @@ endfunction exitwhen i > 25 set angle=GetRandomReal(0, 360) set offset=GetRandomReal(0, 500) - set new_x_2=s__Crab__Spell_target_x[this] + Cos(Deg2Rad(angle)) * offset - set new_y_2=s__Crab__Spell_target_y[this] + Sin(Deg2Rad(angle)) * offset - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__Crab__Spell_caster[this]), 'z00C', new_x, new_y, GetRandomReal(0, 360)) + set new_x_2=s__Crab___Spell_target_x[this] + Cos(Deg2Rad(angle)) * offset + set new_y_2=s__Crab___Spell_target_y[this] + Sin(Deg2Rad(angle)) * offset + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__Crab___Spell_caster[this]), 'z00C', new_x, new_y, GetRandomReal(0, 360)) call UnitAddAbility(bj_lastCreatedUnit, 'A0A1') call SetUnitVertexColor(bj_lastCreatedUnit, 255, 255, 255, 25) call SetUnitMoveSpeed(bj_lastCreatedUnit, 522.0) @@ -42819,7 +42819,7 @@ endfunction set height=GetRandomReal(100, 200) call SetUnitFlyHeight(bj_lastCreatedUnit, height, height) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 4.5) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__Crab__Spell_caster[this]), 'z00D', new_x, new_y, GetRandomReal(0, 360)) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__Crab___Spell_caster[this]), 'z00D', new_x, new_y, GetRandomReal(0, 360)) call SetUnitVertexColor(bj_lastCreatedUnit, 255, 255, 255, 25) call SetUnitMoveSpeed(bj_lastCreatedUnit, 522.0) call IssuePointOrder(bj_lastCreatedUnit, "move", new_x_2, new_y_2) @@ -42827,12 +42827,12 @@ endfunction call SetUnitFlyHeight(bj_lastCreatedUnit, height, height) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 4.5) endloop - call TimerStart(NewTimerEx(this), 0.5, false, function s__Crab__Spell_pause2) + call TimerStart(NewTimerEx(this), 0.5, false, function s__Crab___Spell_pause2) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__Crab__Spell_actions takes nothing returns nothing - local integer this= s__Crab__Spell_allocate() + function s__Crab___Spell_actions takes nothing returns nothing + local integer this= s__Crab___Spell_allocate() local real caster_x local real caster_y local real angle @@ -42844,19 +42844,19 @@ endfunction if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Ajisai_Animal_Path_R, 100, GetTriggerUnit()) endif - set s__Crab__Spell_caster[this]=GetTriggerUnit() - set s__Crab__Spell_target_x[this]=GetSpellTargetX() - set s__Crab__Spell_target_y[this]=GetSpellTargetY() - set s__Crab__Spell_crab[this]=CreateUnit(GetOwningPlayer(s__Crab__Spell_caster[this]), 'e081', GetUnitX(s__Crab__Spell_caster[this]), GetUnitY(s__Crab__Spell_caster[this]), Rad2Deg(Atan3(GetUnitX(s__Crab__Spell_caster[this]) , GetUnitY(s__Crab__Spell_caster[this]) , GetSpellTargetX() , GetSpellTargetY()))) - set bj_lastCreatedUnit=(CreateUnit((GetTriggerPlayer() ), ( 'h01V' ), (( GetUnitX(s__Crab__Spell_crab[this]) )*1.0), (( GetUnitY(s__Crab__Spell_crab[this]) )*1.0), (( 270.0)*1.0))) // INLINED!! + set s__Crab___Spell_caster[this]=GetTriggerUnit() + set s__Crab___Spell_target_x[this]=GetSpellTargetX() + set s__Crab___Spell_target_y[this]=GetSpellTargetY() + set s__Crab___Spell_crab[this]=CreateUnit(GetOwningPlayer(s__Crab___Spell_caster[this]), 'e081', GetUnitX(s__Crab___Spell_caster[this]), GetUnitY(s__Crab___Spell_caster[this]), Rad2Deg(Atan3(GetUnitX(s__Crab___Spell_caster[this]) , GetUnitY(s__Crab___Spell_caster[this]) , GetSpellTargetX() , GetSpellTargetY()))) + set bj_lastCreatedUnit=(CreateUnit((GetTriggerPlayer() ), ( 'h01V' ), (( GetUnitX(s__Crab___Spell_crab[this]) )*1.0), (( GetUnitY(s__Crab___Spell_crab[this]) )*1.0), (( 270.0)*1.0))) // INLINED!! call SetUnitAnimation(bj_lastCreatedUnit, "birth") call RecycleUnitDelayed(bj_lastCreatedUnit , 3.5) - set s__Crab__Spell_count[this]=0 - call TimerStart(NewTimerEx(this), 0.1, false, function s__Crab__Spell_pause) + set s__Crab___Spell_count[this]=0 + call TimerStart(NewTimerEx(this), 0.1, false, function s__Crab___Spell_pause) endfunction - function s__Crab__Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(95 , s__Crab__Spell_SPELL_ID , function s__Crab__Spell_actions) + function s__Crab___Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(95 , s__Crab___Spell_SPELL_ID , function s__Crab___Spell_actions) endfunction @@ -43013,7 +43013,7 @@ endfunction function s__Panda_finish takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! call SetUnitInvulnerable(s__Panda_caster[this], false) - call s__PauseUnitEx__Pause_setPauseCounter((s__Panda_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__Panda_caster[this] ) , ( 0)) // INLINED!! set s__Panda_caster[this]=null call s__Panda_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -43027,7 +43027,7 @@ endfunction local real y set s__Panda_caster[this]=GetTriggerUnit() call SetUnitInvulnerable(s__Panda_caster[this], true) - call s__PauseUnitEx__Pause_setPauseCounter((s__Panda_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__Panda_caster[this] ) , ( 1)) // INLINED!! set bj_lastCreatedGroup=CreateGroup() call GroupEnumUnitsInRange(bj_lastCreatedGroup, GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), 400, Filter(function s__Panda_dealDamage)) call DestroyGroup(bj_lastCreatedGroup) @@ -43240,7 +43240,7 @@ function Trig_AsumaShadowStrike_Actions takes nothing returns nothing set udg_units26[101]=GetSpellTargetUnit() set udg_real11=50.00 call TriggerSleepAction(0.05) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! call UnitAddAbility(GetTriggerUnit(), 'A032') call SetUnitTimeScalePercent(GetTriggerUnit(), 400.00) call AddSpecialEffectLocBJ((GetUnitLoc(GetTriggerUnit()) ), ( "blackblink.mdx")) // INLINED!! @@ -43285,7 +43285,7 @@ call AddSpecialEffectLocBJ((GetUnitLoc(GetTriggerUnit()) ), ( "blackblink.mdx")) endloop call RemoveLocation(udg_locations03[67]) call EnableTrigger(udg_trigger197) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units26[101] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units26[101] ) , ( 1)) // INLINED!! call SetUnitPathing(udg_units26[101], false) call TriggerSleepAction(0.20) call AddSpecialEffectLocBJ((GetUnitLoc(GetTriggerUnit()) ), ( "blackblink.mdx")) // INLINED!! @@ -43376,10 +43376,10 @@ call AddSpecialEffectLocBJ((GetUnitLoc(GetTriggerUnit()) ), ( "blackblink.mdx")) call TriggerSleepAction(0.40) call DisableTrigger(udg_trigger197) call SetUnitPathing(udg_units26[101], true) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units26[101] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units26[101] ) , ( 0)) // INLINED!! call UnitRemoveAbility(GetTriggerUnit(), 'A032') call SetUnitTimeScalePercent(GetTriggerUnit(), 100.00) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! call RemoveLocation(l) set l=null endfunction @@ -43596,9 +43596,9 @@ endfunction set i=0 loop exitwhen i > 18 - call KillUnit(s__AsumaFireR__firewall[(this)*(1)+i]) - call ShowUnit(s__AsumaFireR__firewall[(this)*(1)+i], false) - set s__AsumaFireR__firewall[(this)*(1)+i]= null + call KillUnit(s__AsumaFireR___firewall[(this)*(1)+i]) + call ShowUnit(s__AsumaFireR___firewall[(this)*(1)+i], false) + set s__AsumaFireR___firewall[(this)*(1)+i]= null set i=i + 1 endloop call DestroyGroup(s__AsumaFireR_damaged[this]) @@ -43627,7 +43627,7 @@ endfunction loop exitwhen i > 18 set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, GetUnitX(s__AsumaFireR__firewall[(this)*(1)+i]), GetUnitY(s__AsumaFireR__firewall[(this)*(1)+i]), 200.0, null) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, GetUnitX(s__AsumaFireR___firewall[(this)*(1)+i]), GetUnitY(s__AsumaFireR___firewall[(this)*(1)+i]), 200.0, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null @@ -43674,14 +43674,14 @@ endfunction set i=0 loop exitwhen i > 18 - set s__AsumaFireR__firewall[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__AsumaFireR_caster[this]), 'nsbs', s__AsumaFireR_target_x[this], s__AsumaFireR_target_y[this], Rad2Deg(angle1) + 20 * ( i + 1 )) + set s__AsumaFireR___firewall[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__AsumaFireR_caster[this]), 'nsbs', s__AsumaFireR_target_x[this], s__AsumaFireR_target_y[this], Rad2Deg(angle1) + 20 * ( i + 1 )) if GetUnitAbilityLevel(s__AsumaFireR_caster[this], 'A0GH') > 0 then - call UnitAddAbility(s__AsumaFireR__firewall[(this)*(1)+i], 'A0A1') + call UnitAddAbility(s__AsumaFireR___firewall[(this)*(1)+i], 'A0A1') endif - set x1=(((s__AsumaFireR_target_x[this] )*1.0) + Cos((( Deg2Rad(GetUnitFacing(s__AsumaFireR__firewall[(this)*(1)+i])) )*1.0)) * (( 300.0)*1.0)) // INLINED!! - set y1=(((s__AsumaFireR_target_y[this] )*1.0) + Sin((( Deg2Rad(GetUnitFacing(s__AsumaFireR__firewall[(this)*(1)+i])) )*1.0)) * (( 300.0)*1.0)) // INLINED!! - call SetUnitX(s__AsumaFireR__firewall[(this)*(1)+i], x1) - call SetUnitY(s__AsumaFireR__firewall[(this)*(1)+i], y1) + set x1=(((s__AsumaFireR_target_x[this] )*1.0) + Cos((( Deg2Rad(GetUnitFacing(s__AsumaFireR___firewall[(this)*(1)+i])) )*1.0)) * (( 300.0)*1.0)) // INLINED!! + set y1=(((s__AsumaFireR_target_y[this] )*1.0) + Sin((( Deg2Rad(GetUnitFacing(s__AsumaFireR___firewall[(this)*(1)+i])) )*1.0)) * (( 300.0)*1.0)) // INLINED!! + call SetUnitX(s__AsumaFireR___firewall[(this)*(1)+i], x1) + call SetUnitY(s__AsumaFireR___firewall[(this)*(1)+i], y1) set i=i + 1 endloop call TimerStartEx(NewTimerEx(this) , 0.1 , true , function s__AsumaFireR_periodic , "AsumaFireR_periodic") @@ -43761,8 +43761,8 @@ function Trig_AsumaHien_Actions takes nothing returns nothing set udg_units30[101]=GetTriggerUnit() set udg_units26[101]=GetSpellTargetUnit() call TriggerSleepAction(0.05) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_units26[101] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units26[101] ) , ( 1)) // INLINED!! call UnitAddAbility(GetTriggerUnit(), 'A02Q') call SetUnitTimeScalePercent(GetTriggerUnit(), 400.00) call SetUnitAnimationWithRarity(GetTriggerUnit(), "attack", RARITY_FREQUENT) @@ -43791,12 +43791,12 @@ function Trig_AsumaHien_Actions takes nothing returns nothing call SetUnitTimeScalePercent(bj_lastCreatedUnit, ( 110.00 + ( 6.00 * I2R(bj_forLoopAIndex) ) )) set bj_forLoopAIndex=bj_forLoopAIndex + 1 endloop - call s__PauseUnitEx__Pause_setPauseCounter((udg_units26[101] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units26[101] ) , ( 0)) // INLINED!! call SetUnitAnimationWithRarity(GetTriggerUnit(), "attack", RARITY_FREQUENT) call SetUnitPositionLocFacingLocBJ(GetTriggerUnit(), PolarProjectionBJ(GetUnitLoc(udg_units26[101]), 400.00, GetUnitFacing(GetTriggerUnit())), PolarProjectionBJ(GetUnitLoc(udg_units26[101]), 800.00, GetUnitFacing(GetTriggerUnit()))) call UnitRemoveAbility(GetTriggerUnit(), 'A02Q') call SetUnitTimeScalePercent(GetTriggerUnit(), 100.00) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! call GroupClear(udg_groups03[15]) endfunction @@ -43853,13 +43853,13 @@ function Trig_AsumaKatonHaisenkisho_Actions takes nothing returns nothing call UnitApplyTimedLifeBJ(1.00, 'BTLF', GetLastCreatedUnit()) set bj_forLoopAIndex=bj_forLoopAIndex + 1 endloop - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! call SetUnitAnimation(GetTriggerUnit(), "spell one") call TriggerSleepAction(0.80) call SetUnitAnimation(udg_AsumaFIre_Caster, "spell two") call TriggerSleepAction(0.20) call ForForce(GetPlayersAll(), function Trig_AsumaKatonHaisenkisho_Func012A) - call s__PauseUnitEx__Pause_setPauseCounter((udg_AsumaFIre_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_AsumaFIre_Caster ) , ( 0)) // INLINED!! set udg_AsumaFire_Group=GetUnitsInRangeOfLocMatching(400.00, udg_AsumaFire_Point[1], Condition(function Trig_AsumaKatonHaisenkisho_Func014002003)) call ForGroupBJ(udg_AsumaFire_Group, function Trig_AsumaKatonHaisenkisho_Func015A) call DestroyGroup(udg_AsumaFire_Group) @@ -44768,7 +44768,7 @@ endfunction exitwhen bj_lastCreatedUnit == null call GroupRemoveUnit(s__ChiyoTrap_damaged[this], bj_lastCreatedUnit) call SetUnitVertexColor(bj_lastCreatedUnit, 255, 255, 255, 255) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! endloop call s__ChiyoTrap_destroy(this) call ReleaseTimer(GetExpiredTimer()) @@ -44860,9 +44860,9 @@ function Trig_ChoujiYummy_Actions takes nothing returns nothing set e=null else - call s__PauseUnitEx__Pause_setPauseCounter((u ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((u ) , ( 1)) // INLINED!! call TriggerSleepAction(0.5) - call s__PauseUnitEx__Pause_setPauseCounter((u ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((u ) , ( 0)) // INLINED!! set bj_forLoopAIndex=GetRandomInt(1, 4) if bj_forLoopAIndex == 1 then call UnitAddItemByIdSwapped('pman', GetTriggerUnit()) @@ -44993,7 +44993,7 @@ endfunction set s__ChoujiNewNikudanSensha_count[this]=s__ChoujiNewNikudanSensha_count[this] + 1 if s__ChoujiNewNikudanSensha_count[this] > 26 + 1 * GetUnitAbilityLevel(s__ChoujiNewNikudanSensha_caster[this], s__ChoujiNewNikudanSensha_SPELL_ID) then call SetUnitAnimation(s__ChoujiNewNikudanSensha_caster[this], "stand") - call s__PauseUnitEx__Pause_setPauseCounter((s__ChoujiNewNikudanSensha_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ChoujiNewNikudanSensha_caster[this] ) , ( 0)) // INLINED!! call DestroyGroup(s__ChoujiNewNikudanSensha_damaged[this]) set s__ChoujiNewNikudanSensha_damaged[this]=null call s__ChoujiNewNikudanSensha_deallocate(this) @@ -45007,7 +45007,7 @@ endfunction set s__ChoujiNewNikudanSensha_count[this]=0 set s__ChoujiNewNikudanSensha_damaged[this]=CreateGroup() set s__ChoujiNewNikudanSensha_angle[this]=Atan3(GetUnitX(s__ChoujiNewNikudanSensha_caster[this]) , GetUnitY(s__ChoujiNewNikudanSensha_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) - call s__PauseUnitEx__Pause_setPauseCounter((s__ChoujiNewNikudanSensha_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ChoujiNewNikudanSensha_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__ChoujiNewNikudanSensha_caster[this], "spell channel") call TimerStart(NewTimerEx(this), 0.03, true, function s__ChoujiNewNikudanSensha_periodic) set s__ChoujiNewNikudanSensha_big[this]=GetUnitAbilityLevel(s__ChoujiNewNikudanSensha_caster[this], 'B00E') > 0 @@ -45142,7 +45142,7 @@ endfunction set s__ChoujiChoharite_damaged[this]=null call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl" ), (( GetUnitX(s__ChoujiChoharite_target[this]) )*1.0), (( GetUnitY(s__ChoujiChoharite_target[this]))*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Other\\Volcano\\VolcanoDeath.mdl" ), (( GetUnitX(s__ChoujiChoharite_target[this]) )*1.0), (( GetUnitY(s__ChoujiChoharite_target[this]))*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__ChoujiChoharite_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ChoujiChoharite_target[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__ChoujiChoharite_target[this], "death") call s__ChoujiChoharite_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -45164,7 +45164,7 @@ endfunction call BlzSetSpecialEffectScale(bj_lastCreatedEffect, 1.5) call BlzSetSpecialEffectHeight(bj_lastCreatedEffect, 60 + GetPointZ(GetUnitX(s__ChoujiChoharite_target[this]) , GetUnitY(s__ChoujiChoharite_target[this]))) call DestroyEffect(bj_lastCreatedEffect) - call s__PauseUnitEx__Pause_setPauseCounter((s__ChoujiChoharite_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ChoujiChoharite_target[this] ) , ( 1)) // INLINED!! if GetUnitAbilityLevel(s__ChoujiChoharite_caster[this], 'B00E') > 0 then call UnitDamageTargetBJ(s__ChoujiChoharite_caster[this], s__ChoujiChoharite_target[this], ( ( I2R(GetHeroStr(s__ChoujiChoharite_caster[this], true)) * I2R(GetUnitAbilityLevel(s__ChoujiChoharite_caster[this], 'A0WD')) ) + ( ( 0.00 + ( 0.40 * I2R(GetUnitAbilityLevel(s__ChoujiChoharite_caster[this], 'A07X')) ) ) * I2R(GetHeroStr(s__ChoujiChoharite_caster[this], true)) ) ), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC) else @@ -45217,7 +45217,7 @@ function Trig_ChoujiSemi_Actions takes nothing returns nothing set udg_units14[52]=GetTriggerUnit() set udg_locations07[3056]=GetUnitLoc(GetTriggerUnit()) //call TriggerSleepAction(0.05) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units14[52] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units14[52] ) , ( 1)) // INLINED!! call SetUnitAnimation(udg_units14[52], "Spell Slam") call SetUnitScale((GetTriggerUnit() ), (( 1 )*1.0), (( 1 )*1.0), (( 1)*1.0)) // INLINED!! call TriggerSleepAction(1.50) @@ -45244,7 +45244,7 @@ call AddSpecialEffectLocBJ((udg_locations07[3058] ), ( "Abilities\\Spells\\Other call RemoveLocation(udg_locations07[3058]) call CameraSetEQNoiseForPlayer(GetOwningPlayer(GetTriggerUnit()), 17.00) call TriggerSleepAction(0.50) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! call SetUnitScale((GetTriggerUnit() ), (( ( 1 + ( 0.01 * I2R(udg_integers02[3307]) ) ) )*1.0), (( ( 1 + ( 0.01 * I2R(udg_integers02[3307]) ) ) )*1.0), (( ( 1 + ( 0.01 * I2R(udg_integers02[3307]) ) ))*1.0)) // INLINED!! call CameraClearNoiseForPlayer(GetOwningPlayer(GetTriggerUnit())) call GroupClear(udg_groups06[37]) @@ -45327,7 +45327,7 @@ endfunction call ShowUnit(s__ChoujiNewUlt_caster[this], true) call SetUnitInvulnerable(s__ChoujiNewUlt_caster[this], false) call SelectUnitForPlayerSingle(s__ChoujiNewUlt_caster[this], GetOwningPlayer(s__ChoujiNewUlt_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__ChoujiNewUlt_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ChoujiNewUlt_caster[this] ) , ( 0)) // INLINED!! call ReleaseTimer(s__ChoujiNewUlt_spin[this]) set s__ChoujiNewUlt_spin[this]=null call s__ChoujiNewUlt_deallocate(this) @@ -45403,7 +45403,7 @@ endfunction call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cFFFF0000Chouji: I'm not fat, I've just got big bones!!..|r") call PlaySoundOnUnitBJ(gg_snd_Chouji_T, 80.0, GetTriggerUnit()) endif - call s__PauseUnitEx__Pause_setPauseCounter((s__ChoujiNewUlt_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ChoujiNewUlt_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__ChoujiNewUlt_caster[this], false) call SetUnitX(s__ChoujiNewUlt_caster[this], s__ChoujiNewUlt_target_x[this]) call SetUnitY(s__ChoujiNewUlt_caster[this], s__ChoujiNewUlt_target_y[this]) @@ -45936,7 +45936,7 @@ endfunction local real new_x= (((s__DanzoNewSemi_target_x[this] )*1.0) + Cos((( angle )*1.0)) * (( 150)*1.0)) // INLINED!! local real new_y= (((s__DanzoNewSemi_target_y[this] )*1.0) + Sin((( angle )*1.0)) * (( 150)*1.0)) // INLINED!! local integer i - call s__PauseUnitEx__Pause_setPauseCounter((s__DanzoNewSemi_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__DanzoNewSemi_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__DanzoNewSemi_caster[this], 1.0) set s__DanzoNewSemi_count[this]=0 set s__DanzoNewSemi_baku[this]=(CreateUnit((GetOwningPlayer(s__DanzoNewSemi_caster[this]) ), ( 'h04Z' ), (( new_x )*1.0), (( new_y )*1.0), (( Rad2Deg(angle + bj_PI))*1.0))) // INLINED!! @@ -45962,8 +45962,8 @@ endfunction if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Danzo_R, 100.0, GetTriggerUnit()) endif - set s__DanzoNewSemiS__instances[(GetUnitUserData((s__DanzoNewSemi_caster[this])))]= this // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__DanzoNewSemi_caster[this] ) , ( 1)) // INLINED!! + set s__DanzoNewSemiS___instances[(GetUnitUserData((s__DanzoNewSemi_caster[this])))]= this // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__DanzoNewSemi_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__DanzoNewSemi_caster[this], "spell one") call SetUnitTimeScale(s__DanzoNewSemi_caster[this], 2.0) set bj_lastCreatedUnit=(CreateUnit((GetTriggerPlayer() ), ( 'h01V' ), (( GetUnitX(s__DanzoNewSemi_caster[this]) )*1.0), (( GetUnitY(s__DanzoNewSemi_caster[this]) )*1.0), (( 270.0)*1.0))) // INLINED!! @@ -46015,7 +46015,7 @@ endfunction endfunction function s__DanzoMissile_destroy takes integer this returns nothing - local integer semi= s__DanzoNewSemiS__instances[(GetUnitUserData((s__DanzoMissile_caster[this])))] // INLINED!! + local integer semi= s__DanzoNewSemiS___instances[(GetUnitUserData((s__DanzoMissile_caster[this])))] // INLINED!! call s__DanzoNewSemi_destroy(semi) call KillUnit(s__DanzoMissile_ball[this]) call ShowUnit(s__DanzoMissile_ball[this], false) @@ -46129,66 +46129,66 @@ endfunction //Implemented from module Alloc: - function s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_allocate takes nothing returns integer + function s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_Alloc__recycle[(0)] == 0 ) then - set s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_Alloc__instanceCount=s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_Alloc__instanceCount + 1 - set this=s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_Alloc__instanceCount + if ( s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_Alloc__recycle[(0)] == 0 ) then + set s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_Alloc__instanceCount=s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_Alloc__instanceCount + 1 + set this=s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_Alloc__instanceCount else - set this=s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_Alloc__recycle[(0)] - set s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_Alloc__recycle[(0)]=s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_Alloc__recycle[s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_Alloc__recycle[(0)]] + set this=s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_Alloc__recycle[(0)] + set s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_Alloc__recycle[(0)]=s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_Alloc__recycle[s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_Alloc__recycle[(0)]] endif return this endfunction - function s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_deallocate takes integer this returns nothing - set s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_Alloc__recycle[this]=s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_Alloc__recycle[(0)] - set s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_Alloc__recycle[(0)]=this + function s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_deallocate takes integer this returns nothing + set s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_Alloc__recycle[this]=s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_Alloc__recycle[(0)] + set s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_Alloc__recycle[(0)]=this endfunction - function s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_removeSharingan takes nothing returns nothing + function s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_removeSharingan takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call RecycleUnit(s__DanzoNewIzanagiSM__sharingans[(this)*(1)+s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_count[this]]) - set s__DanzoNewIzanagiSM__sharingans[(this)*(1)+s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_count[this]]= null - set s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_count[this]=s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_count[this] - 1 - if s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_count[this] < 0 then + call RecycleUnit(s__DanzoNewIzanagiSM___sharingans[(this)*(1)+s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_count[this]]) + set s__DanzoNewIzanagiSM___sharingans[(this)*(1)+s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_count[this]]= null + set s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_count[this]=s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_count[this] - 1 + if s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_count[this] < 0 then call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_spin takes nothing returns nothing + function s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_spin takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local integer i=0 local real x local real y local real angle - call UnitRemoveBuffs(s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_caster[this], false, true) - if s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_count[this] < 0 then - call AddUnitAnimationProperties(s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_caster[this], "alternate", false) - call DestroyEffect(s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_e[this]) - set s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_e[this]=null - call SetUnitVertexColor((s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_caster[this] ), ( 255 ), ( 255 ), ( 255 ), ( 255)) // INLINED!! - call s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_deallocate(this) + call UnitRemoveBuffs(s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_caster[this], false, true) + if s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_count[this] < 0 then + call AddUnitAnimationProperties(s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_caster[this], "alternate", false) + call DestroyEffect(s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_e[this]) + set s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_e[this]=null + call SetUnitVertexColor((s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_caster[this] ), ( 255 ), ( 255 ), ( 255 ), ( 255)) // INLINED!! + call s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_deallocate(this) call ReleaseTimer(GetExpiredTimer()) else loop - exitwhen i > s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_count[this] - set x=(((GetUnitX(s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_caster[this]) )*1.0) + Cos((( Deg2Rad(GetUnitFacing(s__DanzoNewIzanagiSM__sharingans[(this)*(1)+i]) + 5) )*1.0)) * (( 100)*1.0)) // INLINED!! - set y=(((GetUnitY(s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_caster[this]) )*1.0) + Sin((( Deg2Rad(GetUnitFacing(s__DanzoNewIzanagiSM__sharingans[(this)*(1)+i]) + 5) )*1.0)) * (( 100)*1.0)) // INLINED!! - call SetUnitX(s__DanzoNewIzanagiSM__sharingans[(this)*(1)+i], x) - call SetUnitY(s__DanzoNewIzanagiSM__sharingans[(this)*(1)+i], y) - call SetUnitFacing(s__DanzoNewIzanagiSM__sharingans[(this)*(1)+i], GetUnitFacing(s__DanzoNewIzanagiSM__sharingans[(this)*(1)+i]) + 5) + exitwhen i > s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_count[this] + set x=(((GetUnitX(s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_caster[this]) )*1.0) + Cos((( Deg2Rad(GetUnitFacing(s__DanzoNewIzanagiSM___sharingans[(this)*(1)+i]) + 5) )*1.0)) * (( 100)*1.0)) // INLINED!! + set y=(((GetUnitY(s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_caster[this]) )*1.0) + Sin((( Deg2Rad(GetUnitFacing(s__DanzoNewIzanagiSM___sharingans[(this)*(1)+i]) + 5) )*1.0)) * (( 100)*1.0)) // INLINED!! + call SetUnitX(s__DanzoNewIzanagiSM___sharingans[(this)*(1)+i], x) + call SetUnitY(s__DanzoNewIzanagiSM___sharingans[(this)*(1)+i], y) + call SetUnitFacing(s__DanzoNewIzanagiSM___sharingans[(this)*(1)+i], GetUnitFacing(s__DanzoNewIzanagiSM___sharingans[(this)*(1)+i]) + 5) set i=i + 1 endloop endif endfunction - function s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_actions takes nothing returns nothing - local integer this= s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_allocate() + function s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_actions takes nothing returns nothing + local integer this= s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_allocate() local real x local real y local integer i= 0 @@ -46196,25 +46196,25 @@ endfunction call PlaySoundOnUnitBJ(gg_snd_Danzo_T, 80, GetTriggerUnit()) call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Danzo: I will use any means necessary to protect the village!|r") endif - set s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_caster[this]=GetTriggerUnit() - set s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_count[this]=9 - set s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_e[this]=AddSpecialEffectTarget("Abilities\\Spells\\Human\\Banish\\BanishTarget.mdl", s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_caster[this], "origin") - call SetUnitVertexColor((s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_caster[this] ), ( 255 ), ( 255 ), ( 255 ), ( 150)) // INLINED!! + set s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_caster[this]=GetTriggerUnit() + set s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_count[this]=9 + set s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_e[this]=AddSpecialEffectTarget("Abilities\\Spells\\Human\\Banish\\BanishTarget.mdl", s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_caster[this], "origin") + call SetUnitVertexColor((s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_caster[this] ), ( 255 ), ( 255 ), ( 255 ), ( 150)) // INLINED!! loop exitwhen i > 9 - set x=(((GetUnitX(s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_caster[this]) )*1.0) + Cos((( Deg2Rad(36 * i) )*1.0)) * (( 100)*1.0)) // INLINED!! - set y=(((GetUnitY(s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_caster[this]) )*1.0) + Sin((( Deg2Rad(36 * i) )*1.0)) * (( 100)*1.0)) // INLINED!! + set x=(((GetUnitX(s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_caster[this]) )*1.0) + Cos((( Deg2Rad(36 * i) )*1.0)) * (( 100)*1.0)) // INLINED!! + set y=(((GetUnitY(s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_caster[this]) )*1.0) + Sin((( Deg2Rad(36 * i) )*1.0)) * (( 100)*1.0)) // INLINED!! set bj_lastCreatedUnit=(CreateUnit((GetTriggerPlayer() ), ( 'h04Y' ), (( x )*1.0), (( y )*1.0), (( 36 * i)*1.0))) // INLINED!! - set s__DanzoNewIzanagiSM__sharingans[(this)*(1)+i]= bj_lastCreatedUnit + set s__DanzoNewIzanagiSM___sharingans[(this)*(1)+i]= bj_lastCreatedUnit set i=i + 1 endloop - call TimerStart(NewTimerEx(this), 0.03, true, function s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_spin) - call TimerStart(NewTimerEx(this), 1.0, true, function s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_removeSharingan) - call AddUnitAnimationProperties(s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_caster[this], "alternate", true) + call TimerStart(NewTimerEx(this), 0.03, true, function s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_spin) + call TimerStart(NewTimerEx(this), 1.0, true, function s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_removeSharingan) + call AddUnitAnimationProperties(s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_caster[this], "alternate", true) endfunction - function s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(41 , s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_SPELL_ID , function s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_actions) + function s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(41 , s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_SPELL_ID , function s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_actions) endfunction @@ -46399,7 +46399,7 @@ endfunction call SetUnitY(s__DaruiNewE_target[this], new_y) endif if s__DaruiNewE_count[this] > 5 then - call s__PauseUnitEx__Pause_setPauseCounter((s__DaruiNewE_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__DaruiNewE_target[this] ) , ( 0)) // INLINED!! set s__DaruiNewE_target[this]=null call s__DaruiNewE_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -46440,13 +46440,13 @@ endfunction if u != null then set s__DaruiNewE_count[this]=0 set s__DaruiNewE_target[this]=u - call s__PauseUnitEx__Pause_setPauseCounter((s__DaruiNewE_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__DaruiNewE_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__DaruiNewE_caster[this], 1.0) call KillUnit(s__DaruiNewE_missile[this]) call ShowUnit(s__DaruiNewE_missile[this], false) set s__DaruiNewE_missile[this]=null call SlowArea(s__DaruiNewE_caster[this] , GetUnitX(s__DaruiNewE_target[this]) , GetUnitY(s__DaruiNewE_target[this]) , 200) - call s__PauseUnitEx__Pause_setPauseCounter((s__DaruiNewE_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__DaruiNewE_target[this] ) , ( 1)) // INLINED!! call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ), (( GetUnitX(s__DaruiNewE_target[this]) )*1.0), (( GetUnitY(s__DaruiNewE_target[this]))*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Other\\Stampede\\StampedeMissileDeath.mdl" ), (( GetUnitX(s__DaruiNewE_target[this]) )*1.0), (( GetUnitY(s__DaruiNewE_target[this]))*1.0))) // INLINED!! call SetUnitAnimation(s__DaruiNewE_caster[this], "attack") @@ -46455,7 +46455,7 @@ endfunction call ReleaseTimer(GetExpiredTimer()) elseif s__DaruiNewE_count[this] > 25 then call ResetUnitAnimation(s__DaruiNewE_caster[this]) - call s__PauseUnitEx__Pause_setPauseCounter((s__DaruiNewE_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__DaruiNewE_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__DaruiNewE_caster[this], 1.0) call KillUnit(s__DaruiNewE_missile[this]) call ShowUnit(s__DaruiNewE_missile[this], false) @@ -46471,7 +46471,7 @@ endfunction set s__DaruiNewE_angle[this]=Atan3(GetUnitX(s__DaruiNewE_caster[this]) , GetUnitY(s__DaruiNewE_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) set s__DaruiNewE_count[this]=0 call SetUnitAnimation(s__DaruiNewE_caster[this], "attack") - call s__PauseUnitEx__Pause_setPauseCounter((s__DaruiNewE_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__DaruiNewE_caster[this] ) , ( 1)) // INLINED!! call SetUnitTimeScale(s__DaruiNewE_caster[this], 3.0) call SetUnitAnimationByIndex(s__DaruiNewE_caster[this], 1) set s__DaruiNewE_missile[this]=CreateUnit(GetTriggerPlayer(), 'e007', GetUnitX(s__DaruiNewE_caster[this]), GetUnitY(s__DaruiNewE_caster[this]), Rad2Deg(s__DaruiNewE_angle[this])) @@ -46570,69 +46570,69 @@ endfunction //Implemented from module Alloc: - function s__DaruiLaserCircus__Spell_allocate takes nothing returns integer + function s__DaruiLaserCircus___Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__DaruiLaserCircus__Spell_Alloc__recycle[(0)] == 0 ) then - set s__DaruiLaserCircus__Spell_Alloc__instanceCount=s__DaruiLaserCircus__Spell_Alloc__instanceCount + 1 - set this=s__DaruiLaserCircus__Spell_Alloc__instanceCount + if ( s__DaruiLaserCircus___Spell_Alloc__recycle[(0)] == 0 ) then + set s__DaruiLaserCircus___Spell_Alloc__instanceCount=s__DaruiLaserCircus___Spell_Alloc__instanceCount + 1 + set this=s__DaruiLaserCircus___Spell_Alloc__instanceCount else - set this=s__DaruiLaserCircus__Spell_Alloc__recycle[(0)] - set s__DaruiLaserCircus__Spell_Alloc__recycle[(0)]=s__DaruiLaserCircus__Spell_Alloc__recycle[s__DaruiLaserCircus__Spell_Alloc__recycle[(0)]] + set this=s__DaruiLaserCircus___Spell_Alloc__recycle[(0)] + set s__DaruiLaserCircus___Spell_Alloc__recycle[(0)]=s__DaruiLaserCircus___Spell_Alloc__recycle[s__DaruiLaserCircus___Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__DaruiLaserCircus__Spell_deallocate takes integer this returns nothing - set s__DaruiLaserCircus__Spell_Alloc__recycle[this]=s__DaruiLaserCircus__Spell_Alloc__recycle[(0)] - set s__DaruiLaserCircus__Spell_Alloc__recycle[(0)]=this + function s__DaruiLaserCircus___Spell_deallocate takes integer this returns nothing + set s__DaruiLaserCircus___Spell_Alloc__recycle[this]=s__DaruiLaserCircus___Spell_Alloc__recycle[(0)] + set s__DaruiLaserCircus___Spell_Alloc__recycle[(0)]=this endfunction - function s__DaruiLaserCircus__Spell_damagefix takes nothing returns boolean - if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__DaruiLaserCircus__Spell_caster[s__DaruiLaserCircus__Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 then - call UnitDamageTarget(s__DaruiLaserCircus__Spell_caster[s__DaruiLaserCircus__Spell_instance], GetFilterUnit(), ( 700 + 4 * GetHeroAgi(s__DaruiLaserCircus__Spell_caster[s__DaruiLaserCircus__Spell_instance], true) ) * GetUnitAbilityLevel(s__DaruiLaserCircus__Spell_caster[s__DaruiLaserCircus__Spell_instance], s__DaruiLaserCircus__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) + function s__DaruiLaserCircus___Spell_damagefix takes nothing returns boolean + if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__DaruiLaserCircus___Spell_caster[s__DaruiLaserCircus___Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 then + call UnitDamageTarget(s__DaruiLaserCircus___Spell_caster[s__DaruiLaserCircus___Spell_instance], GetFilterUnit(), ( 700 + 4 * GetHeroAgi(s__DaruiLaserCircus___Spell_caster[s__DaruiLaserCircus___Spell_instance], true) ) * GetUnitAbilityLevel(s__DaruiLaserCircus___Spell_caster[s__DaruiLaserCircus___Spell_instance], s__DaruiLaserCircus___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) //call StunUnitTimed(instance.caster, GetFilterUnit(), 2.0) endif return false endfunction - function s__DaruiLaserCircus__Spell_destroy takes integer this returns nothing + function s__DaruiLaserCircus___Spell_destroy takes integer this returns nothing local integer i= 0 //call PauseUnit(this.target, false) loop set i=i + 1 exitwhen i > 6 //call RecycleUnit(lasers[this][i]) - call KillUnit(s__DaruiLaserCircus__lasers[(this)*(1)+i]) - set s__DaruiLaserCircus__lasers[(this)*(1)+i]= null + call KillUnit(s__DaruiLaserCircus___lasers[(this)*(1)+i]) + set s__DaruiLaserCircus___lasers[(this)*(1)+i]= null endloop - set i=s__DaruiLaserCircus__Spell_effects_count[this] + set i=s__DaruiLaserCircus___Spell_effects_count[this] loop set i=i - 1 exitwhen i < 0 //call BlzSetSpecialEffectScale(effects[this][i], 0) //call DestroyEffect(effects[this][i]) - set s__DaruiLaserCircus__effects[(this)*(1)+i]= null + set s__DaruiLaserCircus___effects[(this)*(1)+i]= null endloop - call RecycleUnit(s__DaruiLaserCircus__Spell_dummy[this]) - set s__DaruiLaserCircus__Spell_caster[this]=null - set s__DaruiLaserCircus__Spell_dummy[this]=null - call s__DaruiLaserCircus__Spell_deallocate(this) + call RecycleUnit(s__DaruiLaserCircus___Spell_dummy[this]) + set s__DaruiLaserCircus___Spell_caster[this]=null + set s__DaruiLaserCircus___Spell_dummy[this]=null + call s__DaruiLaserCircus___Spell_deallocate(this) endfunction - function s__DaruiLaserCircus__Spell_periodic takes nothing returns nothing + function s__DaruiLaserCircus___Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real dummy_x= GetUnitX(s__DaruiLaserCircus__Spell_dummy[this]) - local real dummy_y= GetUnitY(s__DaruiLaserCircus__Spell_dummy[this]) - local real angle= Atan2(( s__DaruiLaserCircus__Spell_target_y[this] - dummy_y ), ( s__DaruiLaserCircus__Spell_target_x[this] - dummy_x )) - local real new_x= dummy_x + Cos(angle) * s__DaruiLaserCircus__Spell_speed[this] - local real new_y= dummy_y + Sin(angle) * s__DaruiLaserCircus__Spell_speed[this] - local real distance_x= new_x - s__DaruiLaserCircus__Spell_target_x[this] - local real distance_y= new_y - s__DaruiLaserCircus__Spell_target_y[this] + local real dummy_x= GetUnitX(s__DaruiLaserCircus___Spell_dummy[this]) + local real dummy_y= GetUnitY(s__DaruiLaserCircus___Spell_dummy[this]) + local real angle= Atan2(( s__DaruiLaserCircus___Spell_target_y[this] - dummy_y ), ( s__DaruiLaserCircus___Spell_target_x[this] - dummy_x )) + local real new_x= dummy_x + Cos(angle) * s__DaruiLaserCircus___Spell_speed[this] + local real new_y= dummy_y + Sin(angle) * s__DaruiLaserCircus___Spell_speed[this] + local real distance_x= new_x - s__DaruiLaserCircus___Spell_target_x[this] + local real distance_y= new_y - s__DaruiLaserCircus___Spell_target_y[this] local real distance= SquareRoot(distance_x * distance_x + distance_y * distance_y) local real laser_x local real laser_y @@ -46641,50 +46641,50 @@ endfunction local real height local real parabola_height local integer i= 0 - set s__DaruiLaserCircus__Spell_count[this]=s__DaruiLaserCircus__Spell_count[this] + 1 - call SetUnitX(s__DaruiLaserCircus__Spell_dummy[this], new_x) - call SetUnitY(s__DaruiLaserCircus__Spell_dummy[this], new_y) - if s__DaruiLaserCircus__Spell_count[this] >= 20 then - set bj_lastCreatedEffect=AddSpecialEffect("ThunderGroundCrack.mdx", s__DaruiLaserCircus__Spell_target_x[this], s__DaruiLaserCircus__Spell_target_y[this]) + set s__DaruiLaserCircus___Spell_count[this]=s__DaruiLaserCircus___Spell_count[this] + 1 + call SetUnitX(s__DaruiLaserCircus___Spell_dummy[this], new_x) + call SetUnitY(s__DaruiLaserCircus___Spell_dummy[this], new_y) + if s__DaruiLaserCircus___Spell_count[this] >= 20 then + set bj_lastCreatedEffect=AddSpecialEffect("ThunderGroundCrack.mdx", s__DaruiLaserCircus___Spell_target_x[this], s__DaruiLaserCircus___Spell_target_y[this]) //call BlzSetSpecialEffectScale(bj_lastCreatedEffect, 1.5) call DestroyEffect(bj_lastCreatedEffect) set bj_lastCreatedGroup=CreateGroup() - set s__DaruiLaserCircus__Spell_instance=this - call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__DaruiLaserCircus__Spell_target_x[this], s__DaruiLaserCircus__Spell_target_y[this], 350, Filter(function s__DaruiLaserCircus__Spell_damagefix)) + set s__DaruiLaserCircus___Spell_instance=this + call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__DaruiLaserCircus___Spell_target_x[this], s__DaruiLaserCircus___Spell_target_y[this], 350, Filter(function s__DaruiLaserCircus___Spell_damagefix)) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ), (( s__DaruiLaserCircus__Spell_target_x[this] )*1.0), (( s__DaruiLaserCircus__Spell_target_y[this])*1.0))) // INLINED!! - call s__DaruiLaserCircus__Spell_destroy(this) + call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ), (( s__DaruiLaserCircus___Spell_target_x[this] )*1.0), (( s__DaruiLaserCircus___Spell_target_y[this])*1.0))) // INLINED!! + call s__DaruiLaserCircus___Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) else loop set i=i + 1 exitwhen i > 6 set offset=300 - 100 * i - set parabola_offset=Parabola(0 , 0 , offset , s__DaruiLaserCircus__Spell_distance[this] , s__DaruiLaserCircus__Spell_distance[this] - distance) + set parabola_offset=Parabola(0 , 0 , offset , s__DaruiLaserCircus___Spell_distance[this] , s__DaruiLaserCircus___Spell_distance[this] - distance) set laser_x=new_x + Cos(angle + bj_PI / 2) * parabola_offset set laser_y=new_y + Sin(angle + bj_PI / 2) * parabola_offset - call SetUnitX(s__DaruiLaserCircus__lasers[(this)*(1)+i], laser_x) - call SetUnitY(s__DaruiLaserCircus__lasers[(this)*(1)+i], laser_y) + call SetUnitX(s__DaruiLaserCircus___lasers[(this)*(1)+i], laser_x) + call SetUnitY(s__DaruiLaserCircus___lasers[(this)*(1)+i], laser_y) set height=300 - SquareRoot(Pow(300 - 100 * i, 2)) - set parabola_height=Parabola(0 , 0 , height , s__DaruiLaserCircus__Spell_distance[this] , s__DaruiLaserCircus__Spell_distance[this] - distance) - call SetUnitFlyHeight(s__DaruiLaserCircus__lasers[(this)*(1)+i], parabola_height, 0) + set parabola_height=Parabola(0 , 0 , height , s__DaruiLaserCircus___Spell_distance[this] , s__DaruiLaserCircus___Spell_distance[this] - distance) + call SetUnitFlyHeight(s__DaruiLaserCircus___lasers[(this)*(1)+i], parabola_height, 0) //set bj_lastCreatedEffect = AddSpecialEffect("Abilities\\Weapons\\ZigguratMissile\\ZigguratMissile.mdl", laser_x, laser_y) //call BlzSetSpecialEffectRoll(bj_lastCreatedEffect, Deg2Rad(GetUnitFacing(lasers[this][i]))) //call BlzSetSpecialEffectHeight(bj_lastCreatedEffect, GetUnitFlyHeight(lasers[this][i])) //call BlzSetSpecialEffectScale(bj_lastCreatedEffect, 1.5) //set effects[this][this.effects_count] = bj_lastCreatedEffect - set s__DaruiLaserCircus__Spell_effects_count[this]=s__DaruiLaserCircus__Spell_effects_count[this] + 1 + set s__DaruiLaserCircus___Spell_effects_count[this]=s__DaruiLaserCircus___Spell_effects_count[this] + 1 endloop endif endfunction - function s__DaruiLaserCircus__Spell_actions takes nothing returns nothing - local integer this= s__DaruiLaserCircus__Spell_allocate() + function s__DaruiLaserCircus___Spell_actions takes nothing returns nothing + local integer this= s__DaruiLaserCircus___Spell_allocate() local real caster_x local real caster_y local real angle @@ -46696,44 +46696,44 @@ endfunction if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Darui_R, 100.0, GetTriggerUnit()) endif - set s__DaruiLaserCircus__Spell_caster[this]=GetTriggerUnit() - set caster_x=GetUnitX(s__DaruiLaserCircus__Spell_caster[this]) - set caster_y=GetUnitY(s__DaruiLaserCircus__Spell_caster[this]) - set s__DaruiLaserCircus__Spell_target_x[this]=GetSpellTargetX() - set s__DaruiLaserCircus__Spell_target_y[this]=GetSpellTargetY() - set s__DaruiLaserCircus__Spell_effects_count[this]=0 - set angle=Atan2(( s__DaruiLaserCircus__Spell_target_y[this] - caster_y ), ( s__DaruiLaserCircus__Spell_target_x[this] - caster_x )) + set s__DaruiLaserCircus___Spell_caster[this]=GetTriggerUnit() + set caster_x=GetUnitX(s__DaruiLaserCircus___Spell_caster[this]) + set caster_y=GetUnitY(s__DaruiLaserCircus___Spell_caster[this]) + set s__DaruiLaserCircus___Spell_target_x[this]=GetSpellTargetX() + set s__DaruiLaserCircus___Spell_target_y[this]=GetSpellTargetY() + set s__DaruiLaserCircus___Spell_effects_count[this]=0 + set angle=Atan2(( s__DaruiLaserCircus___Spell_target_y[this] - caster_y ), ( s__DaruiLaserCircus___Spell_target_x[this] - caster_x )) set new_x=caster_x + Cos(angle) * 100 set new_y=caster_y + Sin(angle) * 100 - set distance_x=s__DaruiLaserCircus__Spell_target_x[this] - caster_x - set distance_y=s__DaruiLaserCircus__Spell_target_y[this] - caster_y + set distance_x=s__DaruiLaserCircus___Spell_target_x[this] - caster_x + set distance_y=s__DaruiLaserCircus___Spell_target_y[this] - caster_y //set this.target = GetSpellTargetUnit() - set s__DaruiLaserCircus__Spell_distance[this]=SquareRoot(distance_x * distance_x + distance_y * distance_y) - set s__DaruiLaserCircus__Spell_speed[this]=s__DaruiLaserCircus__Spell_distance[this] / 20.0 + set s__DaruiLaserCircus___Spell_distance[this]=SquareRoot(distance_x * distance_x + distance_y * distance_y) + set s__DaruiLaserCircus___Spell_speed[this]=s__DaruiLaserCircus___Spell_distance[this] / 20.0 //if this.distance >= 150 then - set s__DaruiLaserCircus__Spell_dummy[this]=GetInvisibleDummy(GetTriggerPlayer() , new_x , new_y) - call SetUnitX(s__DaruiLaserCircus__Spell_dummy[this], new_x) - call SetUnitY(s__DaruiLaserCircus__Spell_dummy[this], new_y) + set s__DaruiLaserCircus___Spell_dummy[this]=GetInvisibleDummy(GetTriggerPlayer() , new_x , new_y) + call SetUnitX(s__DaruiLaserCircus___Spell_dummy[this], new_x) + call SetUnitY(s__DaruiLaserCircus___Spell_dummy[this], new_y) loop set i=i + 1 exitwhen i > 6 - set s__DaruiLaserCircus__lasers[(this)*(1)+i]= GetDummy(GetTriggerPlayer() , "Psionic Shot Blue.mdx" , new_x , new_y , GetUnitFacing(s__DaruiLaserCircus__Spell_caster[this])) - call SetUnitX(s__DaruiLaserCircus__lasers[(this)*(1)+i], new_x) - call SetUnitY(s__DaruiLaserCircus__lasers[(this)*(1)+i], new_y) - call SetUnitScale(s__DaruiLaserCircus__lasers[(this)*(1)+i], 5.0, 5.0, 5.0) + set s__DaruiLaserCircus___lasers[(this)*(1)+i]= GetDummy(GetTriggerPlayer() , "Psionic Shot Blue.mdx" , new_x , new_y , GetUnitFacing(s__DaruiLaserCircus___Spell_caster[this])) + call SetUnitX(s__DaruiLaserCircus___lasers[(this)*(1)+i], new_x) + call SetUnitY(s__DaruiLaserCircus___lasers[(this)*(1)+i], new_y) + call SetUnitScale(s__DaruiLaserCircus___lasers[(this)*(1)+i], 5.0, 5.0, 5.0) endloop - set s__DaruiLaserCircus__Spell_count[this]=0 + set s__DaruiLaserCircus___Spell_count[this]=0 set bj_lastCreatedEffect=AddSpecialEffect("s_FreezingRing.mdl", caster_x, caster_y) call BlzSetSpecialEffectPitch(bj_lastCreatedEffect, - 1.57) call BlzSetSpecialEffectRoll(bj_lastCreatedEffect, angle + bj_PI) call DestroyEffect(bj_lastCreatedEffect) - call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__DaruiLaserCircus__Spell_periodic , "DaruiLaserCircus_periodic") + call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__DaruiLaserCircus___Spell_periodic , "DaruiLaserCircus_periodic") //call PauseUnit(this.target, true) endfunction - function s__DaruiLaserCircus__Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(40 , s__DaruiLaserCircus__Spell_SPELL_ID , function s__DaruiLaserCircus__Spell_actions) + function s__DaruiLaserCircus___Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(40 , s__DaruiLaserCircus___Spell_SPELL_ID , function s__DaruiLaserCircus___Spell_actions) endfunction @@ -48222,7 +48222,7 @@ endfunction if GetDistanceUnits(s__DosuSoundPunch_caster[this] , s__DosuSoundPunch_target[this]) < 200 then call SetUnitAnimation(s__DosuSoundPunch_caster[this], "attack") call SetUnitTimeScale(s__DosuSoundPunch_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__DosuSoundPunch_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__DosuSoundPunch_caster[this] ) , ( 0)) // INLINED!! call UnitDamageTarget(s__DosuSoundPunch_caster[this], s__DosuSoundPunch_target[this], GetHeroAgi(s__DosuSoundPunch_caster[this], true) * GetUnitAbilityLevel(s__DosuSoundPunch_caster[this], s__DosuSoundPunch_SPELL_ID), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, null) call StunUnitTimed(s__DosuSoundPunch_caster[this] , s__DosuSoundPunch_target[this] , 2.0) set s__DosuSoundPunch_count[this]=0 @@ -48235,7 +48235,7 @@ endfunction local integer this= s__DosuSoundPunch_allocate() set s__DosuSoundPunch_caster[this]=GetTriggerUnit() set s__DosuSoundPunch_target[this]=GetSpellTargetUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__DosuSoundPunch_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__DosuSoundPunch_caster[this] ) , ( 1)) // INLINED!! set bj_lastCreatedEffect=AddSpecialEffect("DustWaveDash.mdx", GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit())) call BlzSetSpecialEffectYaw(bj_lastCreatedEffect, Atan3(GetUnitX(s__DosuSoundPunch_caster[this]) , GetUnitY(s__DosuSoundPunch_caster[this]) , GetUnitX(s__DosuSoundPunch_target[this]) , GetUnitY(s__DosuSoundPunch_target[this]))) call BlzSetSpecialEffectHeight(bj_lastCreatedEffect, GetPointZ(GetUnitX(GetTriggerUnit()) , GetUnitY(GetTriggerUnit()))) @@ -48376,7 +48376,7 @@ endfunction call DestroyEffect(bj_lastCreatedEffect) endif if s__DosuVibrations_count[this] >= 100 then - call s__PauseUnitEx__Pause_setPauseCounter((s__DosuVibrations_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__DosuVibrations_caster[this] ) , ( 0)) // INLINED!! call s__DosuVibrations_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endif @@ -48550,7 +48550,7 @@ endfunction function s__FuuCocoon_finish takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__FuuCocoon_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__FuuCocoon_caster[this] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(s__FuuCocoon_caster[this], false) call s__FuuCocoon_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -48558,7 +48558,7 @@ endfunction function s__FuuCocoon_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__FuuCocoon_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__FuuCocoon_caster[this] ) , ( 1)) // INLINED!! call SetUnitInvulnerable(s__FuuCocoon_caster[this], true) call TimerStartEx(NewTimerEx(this) , 3.0 , false , function s__FuuCocoon_finish , "FuuCocoon_finish") call ReleaseTimer(GetExpiredTimer()) @@ -48717,7 +48717,7 @@ endfunction call SetUnitY(s__FuuGrab_target[this], new_y) call SetUnitFlyHeight(s__FuuGrab_target[this], ParabolaZ(600 , s__FuuGrab_distance[this] , s__FuuGrab_distance[this] - GetDistance(new_x , new_y , s__FuuGrab_caster_x[this] , s__FuuGrab_caster_y[this])), 0) if GetDistance(x , y , s__FuuGrab_caster_x[this] , s__FuuGrab_caster_y[this]) < 100 then - call s__PauseUnitEx__Pause_setPauseCounter((s__FuuGrab_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__FuuGrab_caster[this] ) , ( 0)) // INLINED!! //call PauseUnit(this.target, false) if s__FuuGrab_window[this] > 0 then call SetUnitPropWindow(s__FuuGrab_target[this], s__FuuGrab_window[this]) @@ -48804,7 +48804,7 @@ endfunction set s__FuuGrab_target[this]=GetSpellTargetUnit() set s__FuuGrab_caster_x[this]=GetUnitX(s__FuuGrab_caster[this]) set s__FuuGrab_caster_y[this]=GetUnitY(s__FuuGrab_caster[this]) - call s__PauseUnitEx__Pause_setPauseCounter((s__FuuGrab_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__FuuGrab_caster[this] ) , ( 1)) // INLINED!! call SetUnitTimeScale(s__FuuGrab_caster[this], 3.0) call SetUnitAnimationByIndex(s__FuuGrab_caster[this], 1) call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__FuuGrab_grab , "FuuSemi_grab") @@ -48876,7 +48876,7 @@ endfunction endloop call DestroyGroup(bj_lastCreatedGroup) if s__FuuAssault_count[this] > 30 then - call s__PauseUnitEx__Pause_setPauseCounter((s__FuuAssault_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__FuuAssault_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__FuuAssault_caster[this], 1.0) call SetUnitAnimation(s__FuuAssault_caster[this], "stand") call DestroyGroup(s__FuuAssault_damaged[this]) @@ -48892,7 +48892,7 @@ endfunction set s__FuuAssault_count[this]=0 set s__FuuAssault_angle[this]=Atan3(GetUnitX(s__FuuAssault_caster[this]) , GetUnitY(s__FuuAssault_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) set s__FuuAssault_damaged[this]=CreateGroup() - call s__PauseUnitEx__Pause_setPauseCounter((s__FuuAssault_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__FuuAssault_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__FuuAssault_caster[this], 3.0) call SetUnitAnimationByIndex(s__FuuAssault_caster[this], 1) @@ -49069,7 +49069,7 @@ endfunction call ShowUnit(s__FuuUltimate_caster[this], true) call SetUnitInvulnerable(s__FuuUltimate_caster[this], false) call SelectUnitForPlayerSingle(s__FuuUltimate_caster[this], GetOwningPlayer(s__FuuUltimate_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__FuuUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__FuuUltimate_caster[this] ) , ( 0)) // INLINED!! call ReleaseTimer(s__FuuUltimate_spin[this]) set s__FuuUltimate_spin[this]=null call s__FuuUltimate_deallocate(this) @@ -49149,7 +49149,7 @@ endfunction call PlaySoundOnUnitBJ(gg_snd_Fuu_T, 80, GetTriggerUnit()) call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Fuu: I'll protect my friends no matter what!|r") endif - call s__PauseUnitEx__Pause_setPauseCounter((s__FuuUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__FuuUltimate_caster[this] ) , ( 1)) // INLINED!! //call AddSpecialEffectEx("blackblink.mdx", GetUnitX(this.caster), GetUnitY(this.caster)) //call AddSpecialEffectEx("blackblink.mdx", this.target_x, this.target_y) call SetUnitX(s__FuuUltimate_caster[this], s__FuuUltimate_target_x[this]) @@ -49171,51 +49171,51 @@ endfunction //Implemented from module Alloc: - function s__GaaraSandShield__Spell_allocate takes nothing returns integer + function s__GaaraSandShield___Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__GaaraSandShield__Spell_Alloc__recycle[(0)] == 0 ) then - set s__GaaraSandShield__Spell_Alloc__instanceCount=s__GaaraSandShield__Spell_Alloc__instanceCount + 1 - set this=s__GaaraSandShield__Spell_Alloc__instanceCount + if ( s__GaaraSandShield___Spell_Alloc__recycle[(0)] == 0 ) then + set s__GaaraSandShield___Spell_Alloc__instanceCount=s__GaaraSandShield___Spell_Alloc__instanceCount + 1 + set this=s__GaaraSandShield___Spell_Alloc__instanceCount else - set this=s__GaaraSandShield__Spell_Alloc__recycle[(0)] - set s__GaaraSandShield__Spell_Alloc__recycle[(0)]=s__GaaraSandShield__Spell_Alloc__recycle[s__GaaraSandShield__Spell_Alloc__recycle[(0)]] + set this=s__GaaraSandShield___Spell_Alloc__recycle[(0)] + set s__GaaraSandShield___Spell_Alloc__recycle[(0)]=s__GaaraSandShield___Spell_Alloc__recycle[s__GaaraSandShield___Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__GaaraSandShield__Spell_deallocate takes integer this returns nothing - set s__GaaraSandShield__Spell_Alloc__recycle[this]=s__GaaraSandShield__Spell_Alloc__recycle[(0)] - set s__GaaraSandShield__Spell_Alloc__recycle[(0)]=this + function s__GaaraSandShield___Spell_deallocate takes integer this returns nothing + set s__GaaraSandShield___Spell_Alloc__recycle[this]=s__GaaraSandShield___Spell_Alloc__recycle[(0)] + set s__GaaraSandShield___Spell_Alloc__recycle[(0)]=this endfunction - function s__GaaraSandShield__Spell_finish takes nothing returns nothing + function s__GaaraSandShield___Spell_finish takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real shield_x= GetUnitX(s__GaaraSandShield__Spell_shield[this]) - local real shield_y= GetUnitY(s__GaaraSandShield__Spell_shield[this]) + local real shield_x= GetUnitX(s__GaaraSandShield___Spell_shield[this]) + local real shield_y= GetUnitY(s__GaaraSandShield___Spell_shield[this]) //set bj_lastCreatedUnit = CreateUnit(GetOwningPlayer(this.caster), 'e06K', shield_x, shield_y, 270.0) //call SetUnitX(bj_lastCreatedUnit, shield_x) //call SetUnitY(bj_lastCreatedUnit, shield_y) //call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) - call KillUnit(s__GaaraSandShield__Spell_shield[this]) - call s__PauseUnitEx__Pause_setPauseCounter((s__GaaraSandShield__Spell_target[this] ) , ( 0)) // INLINED!! - if IsUnitAlly(s__GaaraSandShield__Spell_target[this], GetOwningPlayer(s__GaaraSandShield__Spell_caster[this])) then - call SetUnitInvulnerable(s__GaaraSandShield__Spell_target[this], false) + call KillUnit(s__GaaraSandShield___Spell_shield[this]) + call s__PauseUnitEx___Pause_setPauseCounter((s__GaaraSandShield___Spell_target[this] ) , ( 0)) // INLINED!! + if IsUnitAlly(s__GaaraSandShield___Spell_target[this], GetOwningPlayer(s__GaaraSandShield___Spell_caster[this])) then + call SetUnitInvulnerable(s__GaaraSandShield___Spell_target[this], false) else // call Damage(this.caster, this.target, 50 * GetUnitAbilityLevel(this.caster, SPELL_ID), "fuuton", false) endif - set s__GaaraSandShield__Spell_caster[this]=null - set s__GaaraSandShield__Spell_target[this]=null - set s__GaaraSandShield__Spell_shield[this]=null - call s__GaaraSandShield__Spell_deallocate(this) + set s__GaaraSandShield___Spell_caster[this]=null + set s__GaaraSandShield___Spell_target[this]=null + set s__GaaraSandShield___Spell_shield[this]=null + call s__GaaraSandShield___Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__GaaraSandShield__Spell_actions takes nothing returns nothing + function s__GaaraSandShield___Spell_actions takes nothing returns nothing local integer this local real caster_x local real caster_y @@ -49225,38 +49225,38 @@ endfunction local real shield_x local real shield_y //if GetSpellTargetUnit() != GetTriggerUnit() then - set this=s__GaaraSandShield__Spell_allocate() - set s__GaaraSandShield__Spell_caster[this]=GetTriggerUnit() - set s__GaaraSandShield__Spell_target[this]=GetSpellTargetUnit() - set caster_x=GetUnitX(s__GaaraSandShield__Spell_caster[this]) - set caster_y=GetUnitY(s__GaaraSandShield__Spell_caster[this]) - set target_x=GetUnitX(s__GaaraSandShield__Spell_target[this]) - set target_y=GetUnitY(s__GaaraSandShield__Spell_target[this]) - if s__GaaraSandShield__Spell_caster[this] == s__GaaraSandShield__Spell_target[this] then - set angle=Deg2Rad(GetUnitFacing(s__GaaraSandShield__Spell_caster[this]) + 180) - set shield_x=caster_x + Cos(Deg2Rad(GetUnitFacing(s__GaaraSandShield__Spell_caster[this]) + 180)) * 100 - set shield_y=caster_y + Sin(Deg2Rad(GetUnitFacing(s__GaaraSandShield__Spell_caster[this]) + 180)) * 100 + set this=s__GaaraSandShield___Spell_allocate() + set s__GaaraSandShield___Spell_caster[this]=GetTriggerUnit() + set s__GaaraSandShield___Spell_target[this]=GetSpellTargetUnit() + set caster_x=GetUnitX(s__GaaraSandShield___Spell_caster[this]) + set caster_y=GetUnitY(s__GaaraSandShield___Spell_caster[this]) + set target_x=GetUnitX(s__GaaraSandShield___Spell_target[this]) + set target_y=GetUnitY(s__GaaraSandShield___Spell_target[this]) + if s__GaaraSandShield___Spell_caster[this] == s__GaaraSandShield___Spell_target[this] then + set angle=Deg2Rad(GetUnitFacing(s__GaaraSandShield___Spell_caster[this]) + 180) + set shield_x=caster_x + Cos(Deg2Rad(GetUnitFacing(s__GaaraSandShield___Spell_caster[this]) + 180)) * 100 + set shield_y=caster_y + Sin(Deg2Rad(GetUnitFacing(s__GaaraSandShield___Spell_caster[this]) + 180)) * 100 else set angle=Atan2(( target_y - caster_y ), ( target_x - caster_x )) set shield_x=target_x + Cos(angle) * 100 set shield_y=target_y + Sin(angle) * 100 endif - set s__GaaraSandShield__Spell_shield[this]=(CreateUnit((GetTriggerPlayer() ), ( 'e01S' ), (( shield_x )*1.0), (( shield_y )*1.0), (( Rad2Deg(angle) + 180)*1.0))) // INLINED!! - call SetUnitX(s__GaaraSandShield__Spell_shield[this], shield_x) - call SetUnitY(s__GaaraSandShield__Spell_shield[this], shield_y) - call SetUnitAnimation(s__GaaraSandShield__Spell_shield[this], "birth") - call UnitAddAbility(s__GaaraSandShield__Spell_shield[this], 'Arav') - call SetUnitFlyHeight(s__GaaraSandShield__Spell_shield[this], GetUnitFlyHeight(s__GaaraSandShield__Spell_target[this]), 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__GaaraSandShield__Spell_target[this] ) , ( 1)) // INLINED!! - if IsUnitAlly(s__GaaraSandShield__Spell_target[this], GetTriggerPlayer()) then - call SetUnitInvulnerable(s__GaaraSandShield__Spell_target[this], true) - endif - call TimerStart(NewTimerEx(this), 2.0, false, function s__GaaraSandShield__Spell_finish) + set s__GaaraSandShield___Spell_shield[this]=(CreateUnit((GetTriggerPlayer() ), ( 'e01S' ), (( shield_x )*1.0), (( shield_y )*1.0), (( Rad2Deg(angle) + 180)*1.0))) // INLINED!! + call SetUnitX(s__GaaraSandShield___Spell_shield[this], shield_x) + call SetUnitY(s__GaaraSandShield___Spell_shield[this], shield_y) + call SetUnitAnimation(s__GaaraSandShield___Spell_shield[this], "birth") + call UnitAddAbility(s__GaaraSandShield___Spell_shield[this], 'Arav') + call SetUnitFlyHeight(s__GaaraSandShield___Spell_shield[this], GetUnitFlyHeight(s__GaaraSandShield___Spell_target[this]), 0) + call s__PauseUnitEx___Pause_setPauseCounter((s__GaaraSandShield___Spell_target[this] ) , ( 1)) // INLINED!! + if IsUnitAlly(s__GaaraSandShield___Spell_target[this], GetTriggerPlayer()) then + call SetUnitInvulnerable(s__GaaraSandShield___Spell_target[this], true) + endif + call TimerStart(NewTimerEx(this), 2.0, false, function s__GaaraSandShield___Spell_finish) //endif endfunction - function s__GaaraSandShield__Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(15 , s__GaaraSandShield__Spell_SPELL_ID , function s__GaaraSandShield__Spell_actions) + function s__GaaraSandShield___Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(15 , s__GaaraSandShield___Spell_SPELL_ID , function s__GaaraSandShield___Spell_actions) endfunction @@ -49312,13 +49312,13 @@ endfunction set s__GaaraNewQ_target[this]=u call SetUnitTimeScale(s__GaaraNewQ_dummy[this], 2.0) call SetUnitAnimation(s__GaaraNewQ_dummy[this], "spell") - call s__PauseUnitEx__Pause_setPauseCounter((s__GaaraNewQ_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__GaaraNewQ_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.5, false, function s__GaaraNewQ_delay) call ReleaseTimer(GetExpiredTimer()) elseif s__GaaraNewQ_count[this] > 32 then if s__GaaraNewQ_target[this] != null then call SetUnitAnimation(s__GaaraNewQ_dummy[this], "spell") - call s__PauseUnitEx__Pause_setPauseCounter((s__GaaraNewQ_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__GaaraNewQ_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.05, false, function s__GaaraNewQ_delay) call ReleaseTimer(GetExpiredTimer()) else @@ -49365,7 +49365,7 @@ function Trig_GaaraSabakuKyuTrue_Actions takes nothing returns nothing call SetUnitTimeScale(bj_lastCreatedUnit, 2.0) call RemoveLocation(GetUnitLoc(bj_lastCreatedUnit)) call UnitApplyTimedLifeBJ(3.00 - 1.5, 'BTLF', bj_lastCreatedUnit) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units03[1] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units03[1] ) , ( 1)) // INLINED!! call RemoveLocation(udg_locations03[9]) set bj_forLoopAIndex=1 set bj_forLoopAIndexEnd=4 @@ -49428,7 +49428,7 @@ function Trig_GaaraSabakuKyuTrue2_Actions takes nothing returns nothing if ( ( udg_integer05 >= 30 ) ) then set udg_integer05=0 call DisableTrigger(GetTriggeringTrigger()) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units03[1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units03[1] ) , ( 0)) // INLINED!! endif endfunction @@ -50003,8 +50003,8 @@ function Trig_GaaraShukakuSpear1_Actions takes nothing returns nothing endif set udg_units07[1]=GetTriggerUnit() set udg_units07[3]=GetSpellTargetUnit() - call s__PauseUnitEx__Pause_setPauseCounter((udg_units07[1] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_units07[3] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units07[1] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units07[3] ) , ( 1)) // INLINED!! call SetUnitAnimation(GetTriggerUnit(), "spell two") set bj_forLoopAIndex=1 set bj_forLoopAIndexEnd=4 @@ -50052,8 +50052,8 @@ endfunction function Trig_GaaraShukakuSpear2_Actions takes nothing returns nothing if ( ( DistanceBetweenPoints(GetUnitLoc(udg_units07[2]), GetUnitLoc(udg_units07[3])) <= 60.00 ) ) then call DisableTrigger(GetTriggeringTrigger()) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units07[1] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_units07[3] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units07[1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units07[3] ) , ( 0)) // INLINED!! call KillUnit(udg_units07[2]) call SetUnitAnimation(udg_units07[3], "Death") set bj_forLoopAIndex=1 @@ -50189,7 +50189,7 @@ endfunction function s__GaaraUltimate_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! call SetUnitTimeScale(s__GaaraUltimate_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__GaaraUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__GaaraUltimate_caster[this] ) , ( 0)) // INLINED!! set s__GaaraUltimate_arrow[this]=CreateUnit(GetOwningPlayer(s__GaaraUltimate_caster[this]), 'h069', GetUnitX(s__GaaraUltimate_caster[this]), GetUnitY(s__GaaraUltimate_caster[this]), Rad2Deg(s__GaaraUltimate_angle[this])) set s__GaaraUltimate_cloud[this]=CreateUnit(GetOwningPlayer(s__GaaraUltimate_caster[this]), 'e07H', GetUnitX(s__GaaraUltimate_caster[this]), GetUnitY(s__GaaraUltimate_caster[this]), Rad2Deg(s__GaaraUltimate_angle[this])) call UnitAddAbility(s__GaaraUltimate_cloud[this], 'A0HD') @@ -50207,7 +50207,7 @@ endfunction set s__GaaraUltimate_angle[this]=Atan3(GetUnitX(s__GaaraUltimate_caster[this]) , GetUnitY(s__GaaraUltimate_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) set s__GaaraUltimate_count[this]=0 set s__GaaraUltimate_distance[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__GaaraUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__GaaraUltimate_caster[this] ) , ( 1)) // INLINED!! call SetUnitTimeScale(s__GaaraUltimate_caster[this], 2.0) call SetUnitAnimation(s__GaaraUltimate_caster[this], "spell one") call TimerStart(NewTimerEx(this), 0.3, false, function s__GaaraUltimate_delay) @@ -50449,47 +50449,47 @@ endfunction //Implemented from module Alloc: - function s__GaiOmoteRenge__Spell_allocate takes nothing returns integer + function s__GaiOmoteRenge___Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__GaiOmoteRenge__Spell_Alloc__recycle[(0)] == 0 ) then - set s__GaiOmoteRenge__Spell_Alloc__instanceCount=s__GaiOmoteRenge__Spell_Alloc__instanceCount + 1 - set this=s__GaiOmoteRenge__Spell_Alloc__instanceCount + if ( s__GaiOmoteRenge___Spell_Alloc__recycle[(0)] == 0 ) then + set s__GaiOmoteRenge___Spell_Alloc__instanceCount=s__GaiOmoteRenge___Spell_Alloc__instanceCount + 1 + set this=s__GaiOmoteRenge___Spell_Alloc__instanceCount else - set this=s__GaiOmoteRenge__Spell_Alloc__recycle[(0)] - set s__GaiOmoteRenge__Spell_Alloc__recycle[(0)]=s__GaiOmoteRenge__Spell_Alloc__recycle[s__GaiOmoteRenge__Spell_Alloc__recycle[(0)]] + set this=s__GaiOmoteRenge___Spell_Alloc__recycle[(0)] + set s__GaiOmoteRenge___Spell_Alloc__recycle[(0)]=s__GaiOmoteRenge___Spell_Alloc__recycle[s__GaiOmoteRenge___Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__GaiOmoteRenge__Spell_deallocate takes integer this returns nothing - set s__GaiOmoteRenge__Spell_Alloc__recycle[this]=s__GaiOmoteRenge__Spell_Alloc__recycle[(0)] - set s__GaiOmoteRenge__Spell_Alloc__recycle[(0)]=this + function s__GaiOmoteRenge___Spell_deallocate takes integer this returns nothing + set s__GaiOmoteRenge___Spell_Alloc__recycle[this]=s__GaiOmoteRenge___Spell_Alloc__recycle[(0)] + set s__GaiOmoteRenge___Spell_Alloc__recycle[(0)]=this endfunction //private unit target - function s__GaiOmoteRenge__Spell_dealDamage takes nothing returns boolean - if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__GaiOmoteRenge__Spell_caster[s__GaiOmoteRenge__Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 and IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false then + function s__GaiOmoteRenge___Spell_dealDamage takes nothing returns boolean + if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__GaiOmoteRenge___Spell_caster[s__GaiOmoteRenge___Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 and IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false then //call StunUnitTimed(instance.caster, GetFilterUnit(), 2.0) - call UnitDamageTarget(s__GaiOmoteRenge__Spell_caster[s__GaiOmoteRenge__Spell_instance], GetFilterUnit(), GetHeroStr(s__GaiOmoteRenge__Spell_caster[s__GaiOmoteRenge__Spell_instance], true) * GetUnitAbilityLevel(s__GaiOmoteRenge__Spell_caster[s__GaiOmoteRenge__Spell_instance], s__GaiOmoteRenge__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__GaiOmoteRenge___Spell_caster[s__GaiOmoteRenge___Spell_instance], GetFilterUnit(), GetHeroStr(s__GaiOmoteRenge___Spell_caster[s__GaiOmoteRenge___Spell_instance], true) * GetUnitAbilityLevel(s__GaiOmoteRenge___Spell_caster[s__GaiOmoteRenge___Spell_instance], s__GaiOmoteRenge___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) endif return false endfunction - function s__GaiOmoteRenge__Spell_actions3 takes nothing returns nothing + function s__GaiOmoteRenge___Spell_actions3 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real target_x= GetUnitX(s__GaiOmoteRenge__Spell_caster[this]) - local real target_y= GetUnitY(s__GaiOmoteRenge__Spell_caster[this]) + local real target_x= GetUnitX(s__GaiOmoteRenge___Spell_caster[this]) + local real target_y= GetUnitY(s__GaiOmoteRenge___Spell_caster[this]) local real new_x local real new_y local integer i= 0 local integer i_2= 0 local location l - set l=Location(GetUnitX(s__GaiOmoteRenge__Spell_caster[this]), GetUnitY(s__GaiOmoteRenge__Spell_caster[this])) + set l=Location(GetUnitX(s__GaiOmoteRenge___Spell_caster[this]), GetUnitY(s__GaiOmoteRenge___Spell_caster[this])) call TerrainDeformationRippleBJ(1.50, false, l, 100.00, 300.00, 128, 0.25, 50.00) call RemoveLocation(l) set l=null @@ -50498,45 +50498,45 @@ endfunction call DestroyEffect(AddSpecialEffect(("war3mapImported\\bwaxec.mdx" ), (( target_x )*1.0), (( target_y)*1.0))) // INLINED!! set bj_lastCreatedGroup=CreateGroup() - set s__GaiOmoteRenge__Spell_instance=this - call GroupEnumUnitsInRange(bj_lastCreatedGroup, target_x, target_y, 300.0, Filter(function s__GaiOmoteRenge__Spell_dealDamage)) + set s__GaiOmoteRenge___Spell_instance=this + call GroupEnumUnitsInRange(bj_lastCreatedGroup, target_x, target_y, 300.0, Filter(function s__GaiOmoteRenge___Spell_dealDamage)) call DestroyGroup(bj_lastCreatedGroup) - call SlowArea(s__GaiOmoteRenge__Spell_caster[this] , target_x , target_y , 300.0) - call SetUnitTimeScale(s__GaiOmoteRenge__Spell_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__GaiOmoteRenge__Spell_caster[this] ) , ( 0)) // INLINED!! + call SlowArea(s__GaiOmoteRenge___Spell_caster[this] , target_x , target_y , 300.0) + call SetUnitTimeScale(s__GaiOmoteRenge___Spell_caster[this], 1.0) + call s__PauseUnitEx___Pause_setPauseCounter((s__GaiOmoteRenge___Spell_caster[this] ) , ( 0)) // INLINED!! //call PauseUnit(this.target, false) - set s__GaiOmoteRenge__Spell_caster[this]=null + set s__GaiOmoteRenge___Spell_caster[this]=null //set this.target = null - call s__GaiOmoteRenge__Spell_deallocate(this) + call s__GaiOmoteRenge___Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__GaiOmoteRenge__Spell_actions2 takes nothing returns nothing + function s__GaiOmoteRenge___Spell_actions2 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real caster_x= GetUnitX(s__GaiOmoteRenge__Spell_caster[this]) - local real caster_y= GetUnitY(s__GaiOmoteRenge__Spell_caster[this]) - call SetUnitTimeScale(s__GaiOmoteRenge__Spell_caster[this], 1.0) + local real caster_x= GetUnitX(s__GaiOmoteRenge___Spell_caster[this]) + local real caster_y= GetUnitY(s__GaiOmoteRenge___Spell_caster[this]) + call SetUnitTimeScale(s__GaiOmoteRenge___Spell_caster[this], 1.0) //call AddSpecialEffectEx("blackblink.mdx", caster_x, caster_y) - call TimerStart(NewTimerEx(this), 0.1, false, function s__GaiOmoteRenge__Spell_actions3) + call TimerStart(NewTimerEx(this), 0.1, false, function s__GaiOmoteRenge___Spell_actions3) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__GaiOmoteRenge__Spell_periodic takes nothing returns nothing + function s__GaiOmoteRenge___Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real caster_x= GetUnitX(s__GaiOmoteRenge__Spell_caster[this]) - local real caster_y= GetUnitY(s__GaiOmoteRenge__Spell_caster[this]) - local real target_x= s__GaiOmoteRenge__Spell_target_x[this] - local real target_y= s__GaiOmoteRenge__Spell_target_y[this] + local real caster_x= GetUnitX(s__GaiOmoteRenge___Spell_caster[this]) + local real caster_y= GetUnitY(s__GaiOmoteRenge___Spell_caster[this]) + local real target_x= s__GaiOmoteRenge___Spell_target_x[this] + local real target_y= s__GaiOmoteRenge___Spell_target_y[this] local real angle= Atan2(( target_y - caster_y ), ( target_x - caster_x )) local real new_x= caster_x + Cos(angle) * 35 local real new_y= caster_y + Sin(angle) * 35 local real distance_x= target_x - new_x local real distance_y= target_y - new_y local real distance= SquareRoot(distance_x * distance_x + distance_y * distance_y) - call SetUnitX(s__GaiOmoteRenge__Spell_caster[this], new_x) - call SetUnitY(s__GaiOmoteRenge__Spell_caster[this], new_y) - call SetUnitFacing(s__GaiOmoteRenge__Spell_caster[this], Rad2Deg(angle)) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__GaiOmoteRenge__Spell_caster[this]), s__GaiOmoteRenge__Spell_DUMMY_ID, caster_x, caster_y, GetUnitFacing(s__GaiOmoteRenge__Spell_caster[this])) + call SetUnitX(s__GaiOmoteRenge___Spell_caster[this], new_x) + call SetUnitY(s__GaiOmoteRenge___Spell_caster[this], new_y) + call SetUnitFacing(s__GaiOmoteRenge___Spell_caster[this], Rad2Deg(angle)) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__GaiOmoteRenge___Spell_caster[this]), s__GaiOmoteRenge___Spell_DUMMY_ID, caster_x, caster_y, GetUnitFacing(s__GaiOmoteRenge___Spell_caster[this])) call SetUnitX(bj_lastCreatedUnit, caster_x) call SetUnitY(bj_lastCreatedUnit, caster_y) call SetUnitVertexColor((bj_lastCreatedUnit ), ( 200 ), ( 200 ), ( 200 ), ( 200)) // INLINED!! @@ -50544,41 +50544,41 @@ endfunction call SetUnitAnimationByIndex(bj_lastCreatedUnit, 31) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 0.15) call DestroyEffect(AddSpecialEffect(("Effects\\s_Earth_Smash.mdl" ), (( caster_x )*1.0), (( caster_y)*1.0))) // INLINED!! - call SetUnitAnimationByIndex(s__GaiOmoteRenge__Spell_caster[this], 31) + call SetUnitAnimationByIndex(s__GaiOmoteRenge___Spell_caster[this], 31) if distance <= 50 then - call SetUnitTimeScale(s__GaiOmoteRenge__Spell_caster[this], 3.0) - call SetUnitAnimation(s__GaiOmoteRenge__Spell_caster[this], "spell five") - call SetUnitFlyHeight(s__GaiOmoteRenge__Spell_caster[this], 500, 0) - call SetUnitFlyHeight(s__GaiOmoteRenge__Spell_caster[this], 0, 3000) - call SetUnitTimeScale(s__GaiOmoteRenge__Spell_caster[this], 1.0) + call SetUnitTimeScale(s__GaiOmoteRenge___Spell_caster[this], 3.0) + call SetUnitAnimation(s__GaiOmoteRenge___Spell_caster[this], "spell five") + call SetUnitFlyHeight(s__GaiOmoteRenge___Spell_caster[this], 500, 0) + call SetUnitFlyHeight(s__GaiOmoteRenge___Spell_caster[this], 0, 3000) + call SetUnitTimeScale(s__GaiOmoteRenge___Spell_caster[this], 1.0) //call PauseUnit(this.target, false) //call ShowUnit(this.target, false) - call TimerStart(NewTimerEx(this), 0.1, false, function s__GaiOmoteRenge__Spell_actions2) + call TimerStart(NewTimerEx(this), 0.1, false, function s__GaiOmoteRenge___Spell_actions2) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__GaiOmoteRenge__Spell_actions takes nothing returns nothing - local integer this= s__GaiOmoteRenge__Spell_allocate() - set s__GaiOmoteRenge__Spell_caster[this]=GetTriggerUnit() + function s__GaiOmoteRenge___Spell_actions takes nothing returns nothing + local integer this= s__GaiOmoteRenge___Spell_allocate() + set s__GaiOmoteRenge___Spell_caster[this]=GetTriggerUnit() //set this.target = GetSpellTargetUnit() - set s__GaiOmoteRenge__Spell_target_x[this]=GetSpellTargetX() - set s__GaiOmoteRenge__Spell_target_y[this]=GetSpellTargetY() - call s__PauseUnitEx__Pause_setPauseCounter((s__GaiOmoteRenge__Spell_caster[this] ) , ( 1)) // INLINED!! + set s__GaiOmoteRenge___Spell_target_x[this]=GetSpellTargetX() + set s__GaiOmoteRenge___Spell_target_y[this]=GetSpellTargetY() + call s__PauseUnitEx___Pause_setPauseCounter((s__GaiOmoteRenge___Spell_caster[this] ) , ( 1)) // INLINED!! //call PauseUnit(this.target, true) - call SetUnitAnimationByIndex(s__GaiOmoteRenge__Spell_caster[this], 31) - call TimerStart(NewTimerEx(this), 0.03, true, function s__GaiOmoteRenge__Spell_periodic) + call SetUnitAnimationByIndex(s__GaiOmoteRenge___Spell_caster[this], 31) + call TimerStart(NewTimerEx(this), 0.03, true, function s__GaiOmoteRenge___Spell_periodic) endfunction - function s__GaiOmoteRenge__Spell_dies takes nothing returns nothing - if GetUnitTypeId(GetTriggerUnit()) == s__GaiOmoteRenge__Spell_DUMMY_ID then + function s__GaiOmoteRenge___Spell_dies takes nothing returns nothing + if GetUnitTypeId(GetTriggerUnit()) == s__GaiOmoteRenge___Spell_DUMMY_ID then call ShowUnit(GetTriggerUnit(), false) endif endfunction - function s__GaiOmoteRenge__Spell_onInit takes nothing returns nothing - call RegisterPlayerUnitEventForId(29 , EVENT_PLAYER_UNIT_DEATH , function s__GaiOmoteRenge__Spell_dies) - call RegisterSpellEffectEventForId(29 , s__GaiOmoteRenge__Spell_SPELL_ID , function s__GaiOmoteRenge__Spell_actions) + function s__GaiOmoteRenge___Spell_onInit takes nothing returns nothing + call RegisterPlayerUnitEventForId(29 , EVENT_PLAYER_UNIT_DEATH , function s__GaiOmoteRenge___Spell_dies) + call RegisterSpellEffectEventForId(29 , s__GaiOmoteRenge___Spell_SPELL_ID , function s__GaiOmoteRenge___Spell_actions) endfunction @@ -50596,9 +50596,9 @@ function Trig_GaiYouth_Actions takes nothing returns nothing set udg_units14[2]=GetTriggerUnit() //call TriggerSleepAction(0.05) call SetUnitTimeScale(udg_units14[2], 2.50) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units14[2] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units14[2] ) , ( 1)) // INLINED!! call SetUnitPathing(udg_units14[2], false) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units13[2] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units13[2] ) , ( 1)) // INLINED!! call SetUnitTimeScalePercent(udg_units14[2], 300.00) call EnableTrigger(udg_trigger386) set udg_integers02[662]=1 @@ -50633,11 +50633,11 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 2.0)*1.0)) // INLINED!! call RemoveLocation(udg_locations03[16]) set udg_real05=GetUnitFacing(GetTriggerUnit()) set udg_booleans01[114]=true - call s__PauseUnitEx__Pause_setPauseCounter((udg_units14[2] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units14[2] ) , ( 0)) // INLINED!! call SetUnitTimeScale(udg_units14[2], 1.00) call SetUnitPathing(udg_units14[2], true) call TriggerSleepAction(0.15) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units13[2] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units13[2] ) , ( 0)) // INLINED!! call DisableTrigger(udg_trigger386) set udg_booleans01[114]=false endfunction @@ -50814,9 +50814,9 @@ function Trig_GaiAsaKujaku_Actions takes nothing returns nothing set udg_units14[1]=GetTriggerUnit() //call TriggerSleepAction(0.10) //call SetCameraFieldForPlayer(GetOwningPlayer(GetTriggerUnit()),CAMERA_FIELD_FIELD_OF_VIEW,2000.00,0) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units13[1] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units13[1] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_units14[1] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units14[1] ) , ( 1)) // INLINED!! call SetUnitFlyHeight(udg_units14[1], 400.00, 2000.00) call SetUnitPositionLocFacingLocBJ(udg_units14[1], PolarProjectionBJ(GetUnitLoc(udg_units13[1]), 60.00, ( GetUnitFacing(udg_units14[1]) - 180.00 )), GetUnitLoc(udg_units13[1])) @@ -50842,8 +50842,8 @@ function Trig_GaiAsaKujaku_Actions takes nothing returns nothing call SetUnitTimeScalePercent(udg_units14[1], 100.00) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units13[1] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_units14[1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units13[1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units14[1] ) , ( 0)) // INLINED!! call UnitDamageTarget(udg_units14[1], udg_units13[1], ( ( I2R(GetHeroStatBJ(0, udg_units14[1], true)) + 450 ) * ( GetUnitAbilityLevel(udg_units14[1], 'A0WP') ) ), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) set bj_forLoopAIndex=1 set bj_forLoopAIndexEnd=10 @@ -51111,10 +51111,10 @@ endfunction function Trig_Yagai_Actions takes nothing returns nothing call PlaySoundOnUnitBJ(gg_snd_Gai_Q_Yagai, 100.0, GetTriggerUnit()) set udg_units14[3]=GetTriggerUnit() - set GaiYagai__angle=Rad2Deg(Atan3(GetUnitX(GetTriggerUnit()) , GetUnitY(GetTriggerUnit()) , GetSpellTargetX() , GetSpellTargetY())) + set GaiYagai___angle=Rad2Deg(Atan3(GetUnitX(GetTriggerUnit()) , GetUnitY(GetTriggerUnit()) , GetSpellTargetX() , GetSpellTargetY())) call TriggerSleepAction(0.06) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units14[3] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units14[3] ) , ( 1)) // INLINED!! call SetUnitTimeScale(GetTriggerUnit(), 3.0) call SetUnitAnimation(GetTriggerUnit(), "spell three") @@ -51124,22 +51124,22 @@ function Trig_Yagai_Actions takes nothing returns nothing call AddSpecialEffectTargetUnitBJ(("foot right" ), ( udg_units14[3] ), ( "Abilities\\Spells\\Other\\ImmolationRed\\ImmolationRedTarget.mdl")) // INLINED!! set udg_effects02[1213]=bj_lastCreatedEffect - set GaiYagai__dragon=CreateUnit(GetTriggerPlayer(), 'n01X', GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), GaiYagai__angle) - call SetUnitTimeScale(GaiYagai__dragon, 3.0) - call SetUnitAnimation(GaiYagai__dragon, "birth") + set GaiYagai___dragon=CreateUnit(GetTriggerPlayer(), 'n01X', GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), GaiYagai___angle) + call SetUnitTimeScale(GaiYagai___dragon, 3.0) + call SetUnitAnimation(GaiYagai___dragon, "birth") call TriggerSleepAction(0.3) - call SetUnitTimeScale(GaiYagai__dragon, 1.0) - call SetUnitAnimation(GaiYagai__dragon, "stand") - call EnableTrigger(GaiYagai__t2) + call SetUnitTimeScale(GaiYagai___dragon, 1.0) + call SetUnitAnimation(GaiYagai___dragon, "stand") + call EnableTrigger(GaiYagai___t2) call TriggerSleepAction(0.60) - call DisableTrigger(GaiYagai__t2) + call DisableTrigger(GaiYagai___t2) call SetUnitFlyHeight(GetTriggerUnit(), 0.00, 500.00) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units14[3] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units14[3] ) , ( 0)) // INLINED!! call SetUnitPathing(udg_units14[3], true) call SetUnitTimeScale(GetTriggerUnit(), 1.0) call DestroyEffect(udg_effects02[1213]) call SetUnitTimeScalePercent(GetTriggerUnit(), 100.00) - call KillUnit(GaiYagai__dragon) + call KillUnit(GaiYagai___dragon) call GroupClear(udg_groups03[0]) endfunction @@ -51204,18 +51204,18 @@ function Trig_Yagai2_Actions takes nothing returns nothing local real x local real y local integer i - set GaiYagai__count=GaiYagai__count + 1 + set GaiYagai___count=GaiYagai___count + 1 if ( ( IsTerrainPathableBJ(PolarProjectionBJ(GetUnitLoc(udg_units14[3]), 50.00, GetUnitFacing(udg_units14[3])), PATHING_TYPE_WALKABILITY) ) ) then else - set udg_locations03[126]=PolarProjectionBJ(GetUnitLoc(udg_units14[3]), 50.00, GaiYagai__angle) + set udg_locations03[126]=PolarProjectionBJ(GetUnitLoc(udg_units14[3]), 50.00, GaiYagai___angle) //call SetUnitPositionLocFacingBJ(udg_units14[3],udg_locations03[126],GetUnitFacing(udg_units14[3])) call SetUnitX(udg_units14[3], GetLocationX(udg_locations03[126])) call SetUnitY(udg_units14[3], GetLocationY(udg_locations03[126])) - call SetUnitFacing(udg_units14[3], GaiYagai__angle) - call SetUnitX(GaiYagai__dragon, GetUnitX(udg_units14[3])) - call SetUnitY(GaiYagai__dragon, GetUnitY(udg_units14[3])) - call SetUnitFacing(GaiYagai__dragon, GaiYagai__angle) - if ModuloInteger(GaiYagai__count, 3) == 0 then + call SetUnitFacing(udg_units14[3], GaiYagai___angle) + call SetUnitX(GaiYagai___dragon, GetUnitX(udg_units14[3])) + call SetUnitY(GaiYagai___dragon, GetUnitY(udg_units14[3])) + call SetUnitFacing(GaiYagai___dragon, GaiYagai___angle) + if ModuloInteger(GaiYagai___count, 3) == 0 then //call TerrainDeformationRippleBJ( 1.0, true, udg_locations03[126], 300.00, 300.00, 300.00, 0.2, 50.00 ) set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(udg_units14[3]), 'n01D', GetLocationX(udg_locations03[126]), GetLocationY(udg_locations03[126]), GetUnitFacing(udg_units14[3])) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) @@ -51235,16 +51235,16 @@ call AddSpecialEffectTargetUnitBJ(("foot right" ), ( udg_units14[3] ), ( "Abilit call RemoveLocation(udg_locations03[126]) endfunction -function GaiYagai__init takes nothing returns nothing - set GaiYagai__t1=CreateTrigger() - call TriggerRegisterAnyUnitEventBJ(GaiYagai__t1, EVENT_PLAYER_UNIT_SPELL_EFFECT) - call TriggerAddCondition(GaiYagai__t1, Condition(function Trig_Yagai_Conditions)) - call TriggerAddAction(GaiYagai__t1, function Trig_Yagai_Actions) - call EnableTriggerForId(29 , GaiYagai__t1) - set GaiYagai__t2=CreateTrigger() - call DisableTrigger(GaiYagai__t2) - call TriggerRegisterTimerEventPeriodic(GaiYagai__t2, 0.03) - call TriggerAddAction(GaiYagai__t2, function Trig_Yagai2_Actions) +function GaiYagai___init takes nothing returns nothing + set GaiYagai___t1=CreateTrigger() + call TriggerRegisterAnyUnitEventBJ(GaiYagai___t1, EVENT_PLAYER_UNIT_SPELL_EFFECT) + call TriggerAddCondition(GaiYagai___t1, Condition(function Trig_Yagai_Conditions)) + call TriggerAddAction(GaiYagai___t1, function Trig_Yagai_Actions) + call EnableTriggerForId(29 , GaiYagai___t1) + set GaiYagai___t2=CreateTrigger() + call DisableTrigger(GaiYagai___t2) + call TriggerRegisterTimerEventPeriodic(GaiYagai___t2, 0.03) + call TriggerAddAction(GaiYagai___t2, function Trig_Yagai2_Actions) endfunction // scope GaiYagai ends @@ -51655,7 +51655,7 @@ endfunction call DestroyEffect(AddSpecialEffect(("Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! if distance <= 50 or s__NidaimeMizukageSuikaNoJutsu___Spell_count[this] >= 35 then call DestroyEffect(AddSpecialEffect(("Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl" ), (( GetUnitX(s__NidaimeMizukageSuikaNoJutsu___Spell_caster[this]) )*1.0), (( GetUnitY(s__NidaimeMizukageSuikaNoJutsu___Spell_caster[this]))*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__NidaimeMizukageSuikaNoJutsu___Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NidaimeMizukageSuikaNoJutsu___Spell_caster[this] ) , ( 0)) // INLINED!! call ShowUnit(s__NidaimeMizukageSuikaNoJutsu___Spell_caster[this], true) call SetUnitAnimation(s__NidaimeMizukageSuikaNoJutsu___Spell_caster[this], "stand") call SelectUnitForPlayerSingle(s__NidaimeMizukageSuikaNoJutsu___Spell_caster[this], GetOwningPlayer(s__NidaimeMizukageSuikaNoJutsu___Spell_caster[this])) @@ -51683,7 +51683,7 @@ endfunction set s__NidaimeMizukageSuikaNoJutsu___Spell_count[this]=0 set s__NidaimeMizukageSuikaNoJutsu___Spell_mirage[this]=CreateUnit(GetTriggerPlayer(), 'e05N', GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), GetUnitFacing(GetTriggerUnit())) call UnitApplyTimedLife(s__NidaimeMizukageSuikaNoJutsu___Spell_mirage[this], 'BTLF', 6.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__NidaimeMizukageSuikaNoJutsu___Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NidaimeMizukageSuikaNoJutsu___Spell_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__NidaimeMizukageSuikaNoJutsu___Spell_caster[this], "morph") call DestroyEffect(AddSpecialEffect(("Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl" ), (( GetUnitX(s__NidaimeMizukageSuikaNoJutsu___Spell_caster[this]) )*1.0), (( GetUnitY(s__NidaimeMizukageSuikaNoJutsu___Spell_caster[this]))*1.0))) // INLINED!! call UnitAddAbility(s__NidaimeMizukageSuikaNoJutsu___Spell_caster[this], 'A177') @@ -52163,7 +52163,7 @@ endfunction call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - call s__PauseUnitEx__Pause_setPauseCounter((s__NidaimeMizukageJokiBoi___Spell_jokiBoi[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NidaimeMizukageJokiBoi___Spell_jokiBoi[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__NidaimeMizukageJokiBoi___Spell_jokiBoi[this], "stand") set s__NidaimeMizukageJokiBoi___Spell_size[this]=0.7 call ReleaseTimer(GetExpiredTimer()) @@ -52193,8 +52193,8 @@ endfunction if s__NidaimeMizukageJokiBoi___Spell_size[this] < 3.0 then set s__NidaimeMizukageJokiBoi___Spell_size[this]=s__NidaimeMizukageJokiBoi___Spell_size[this] + 0.03 call SetUnitScale(s__NidaimeMizukageJokiBoi___Spell_jokiBoi[this], s__NidaimeMizukageJokiBoi___Spell_size[this], s__NidaimeMizukageJokiBoi___Spell_size[this], s__NidaimeMizukageJokiBoi___Spell_size[this]) - elseif (s__PauseUnitEx__Pause_getPauseCounter((s__NidaimeMizukageJokiBoi___Spell_jokiBoi[this]))) == 0 then // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__NidaimeMizukageJokiBoi___Spell_jokiBoi[this] ) , ( 1)) // INLINED!! + elseif (s__PauseUnitEx___Pause_getPauseCounter((s__NidaimeMizukageJokiBoi___Spell_jokiBoi[this]))) == 0 then // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NidaimeMizukageJokiBoi___Spell_jokiBoi[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__NidaimeMizukageJokiBoi___Spell_jokiBoi[this], "spell one") call SetUnitTimeScale(s__NidaimeMizukageJokiBoi___Spell_jokiBoi[this], 2.0) call TimerStart(NewTimerEx(this), 0.5, false, function s__NidaimeMizukageJokiBoi___Spell_explosion) @@ -52221,7 +52221,7 @@ endfunction function s__NidaimeMizukageJokiBoi___Spell_explode takes nothing returns nothing set s__s__NidaimeMizukageJokiBoi___Spell_suicide[(GetUnitUserData((GetTriggerUnit())))]= true // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! endfunction function s__NidaimeMizukageJokiBoi___Spell_onInit takes nothing returns nothing @@ -52265,7 +52265,7 @@ endfunction call UnitDamageTarget(s__GureNewQ_caster[s__GureNewQ_instance], GetFilterUnit(), GetUnitAbilityLevel(s__GureNewQ_caster[s__GureNewQ_instance], s__GureNewQ_SPELL_ID) * GetHeroInt(s__GureNewQ_caster[s__GureNewQ_instance], true), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, null) elseif GetUnitAbilityLevel(GetFilterUnit(), 'B02O') > 0 then call SetUnitInvulnerable(GetFilterUnit(), true) - call s__PauseUnitEx__Pause_setPauseCounter((GetFilterUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetFilterUnit() ) , ( 1)) // INLINED!! call GroupAddUnit(s__GureNewQ_allies[s__GureNewQ_instance], GetFilterUnit()) endif endif @@ -52277,7 +52277,7 @@ endfunction loop set bj_lastCreatedUnit=FirstOfGroup(s__GureNewQ_allies[this]) exitwhen bj_lastCreatedUnit == null - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call SetUnitInvulnerable(bj_lastCreatedUnit, false) call GroupRemoveUnit(s__GureNewQ_allies[this], bj_lastCreatedUnit) endloop @@ -52473,7 +52473,7 @@ endfunction set s__GurenNewSemi_count[this]=s__GurenNewSemi_count[this] + 1 if s__GurenNewSemi_count[this] > 24 then //call SetUnitInvulnerable(this.caster, false) - call s__PauseUnitEx__Pause_setPauseCounter((s__GurenNewSemi_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__GurenNewSemi_caster[this] ) , ( 0)) // INLINED!! call SetUnitFlyHeight(s__GurenNewSemi_caster[this], 0, 2000) call KillUnit(s__GurenNewSemi_crystal[this]) call ShowUnit(s__GurenNewSemi_crystal[this], false) @@ -52520,7 +52520,7 @@ endfunction if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Guren_R, 80.0, GetTriggerUnit()) endif - call s__PauseUnitEx__Pause_setPauseCounter((s__GurenNewSemi_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__GurenNewSemi_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__GurenNewSemi_caster[this], "stand") call UnitAddAbility(s__GurenNewSemi_caster[this], 'Arav') call UnitRemoveAbility(s__GurenNewSemi_caster[this], 'Arav') @@ -52562,7 +52562,7 @@ function Trig_GurenHasho_Actions takes nothing returns nothing set udg_Guren_T_Bool=false call CreateNUnitsAtLoc(1, 'e007', GetTriggerPlayer(), udg_Guren_T_Point[1], udg_Guren_T_Angle) set udg_Guren_T_Dummy=GetLastCreatedUnit() - call s__PauseUnitEx__Pause_setPauseCounter((udg_Guren_T_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Guren_T_Caster ) , ( 1)) // INLINED!! call SetUnitFlyHeightBJ(udg_Guren_T_Caster, 200.00, 220.00) //call SetUnitAnimation( udg_Guren_T_Caster, "morph" ) call AddUnitAnimationProperties(udg_Guren_T_Caster, "alternate", true) @@ -52664,7 +52664,7 @@ function Trig_GurenHashoLOOP_Actions takes nothing returns nothing call DestroyEffect(AddSpecialEffect(("war3mapImported\\Purple Explosion.mdx" ), (( GetLocationX(udg_Guren_T_Point[4]) )*1.0), (( GetLocationY(udg_Guren_T_Point[4]))*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_Guren_T_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Guren_T_Caster ) , ( 0)) // INLINED!! call SetUnitAnimation(udg_Guren_T_Caster, "morph") call AddUnitAnimationProperties(udg_Guren_T_Caster, "alternate", false) call SetUnitFlyHeightBJ(udg_Guren_T_Caster, 0.00, 2000.00) @@ -52785,7 +52785,7 @@ endfunction //if IsUnitAlly(bj_lastCreatedUnit, GetOwningPlayer(this.caster)) then call SetUnitInvulnerable(bj_lastCreatedUnit, false) //endif - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call GroupRemoveUnit(s__GurenCrystalLabyrinth_units[this], bj_lastCreatedUnit) endloop call DestroyGroup(s__GurenCrystalLabyrinth_units[this]) @@ -52806,7 +52806,7 @@ endfunction exitwhen bj_lastCreatedUnit == null if GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false and bj_lastCreatedUnit != s__GurenCrystalLabyrinth_caster[this] then //if GetUnitAbilityLevel(bj_lastCreatedUnit, 'B02O') == 0 then - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! //endif //if IsUnitAlly(bj_lastCreatedUnit, GetOwningPlayer(this.caster)) then call SetUnitInvulnerable(bj_lastCreatedUnit, true) @@ -53028,7 +53028,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__HakuNewBackslash_target_x[this], s__HakuNewBackslash_target_y[this], 300.0, Filter(function s__HakuNewBackslash_dealDamage)) set u=null call DestroyGroup(bj_lastCreatedGroup) - call s__PauseUnitEx__Pause_setPauseCounter((s__HakuNewBackslash_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HakuNewBackslash_caster[this] ) , ( 0)) // INLINED!! call ShowUnit(s__HakuNewBackslash_caster[this], true) call SelectUnitForPlayerSingle(s__HakuNewBackslash_caster[this], GetOwningPlayer(s__HakuNewBackslash_caster[this])) call RecycleUnit(s__HakuNewBackslash_light[this]) @@ -53050,7 +53050,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! call SetUnitFlyHeight(s__HakuNewBackslash_light[this], 60, 0) set s__HakuNewBackslash_target_x[this]=GetSpellTargetX() set s__HakuNewBackslash_target_y[this]=GetSpellTargetY() - call s__PauseUnitEx__Pause_setPauseCounter((s__HakuNewBackslash_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HakuNewBackslash_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__HakuNewBackslash_caster[this], false) call TimerStart(NewTimerEx(this), 0.03, true, function s__HakuNewBackslash_periodic) endfunction @@ -53363,7 +53363,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! set s__HakuNewSemi_waveCount[this]=0 set s__HakuNewSemi_waveMax[this]=10 set s__HakuNewSemi_waveDamage[this]=150 - call s__PauseUnitEx__Pause_setPauseCounter((s__HakuNewSemi_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HakuNewSemi_caster[this] ) , ( 0)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__HakuNewSemi_wave) call ReleaseTimer(GetExpiredTimer()) endif @@ -53402,7 +53402,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! endloop set j=j + 1 endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__HakuNewSemi_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HakuNewSemi_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__HakuNewSemi_caster[this], "spell two") call TimerStart(NewTimerEx(this), 0.03, true, function s__HakuNewSemi_backoff) endfunction @@ -53454,7 +53454,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! exitwhen bj_lastCreatedUnit == null if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__HakuNewUltimate_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false and not IsUnitInGroup(bj_lastCreatedUnit, s__HakuNewUltimate_damaged[this]) then call GroupAddUnit(s__HakuNewUltimate_damaged[this], bj_lastCreatedUnit) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop @@ -53498,11 +53498,11 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! loop set bj_lastCreatedUnit=FirstOfGroup(s__HakuNewUltimate_damaged[this]) exitwhen bj_lastCreatedUnit == null - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call GroupRemoveUnit(s__HakuNewUltimate_damaged[this], bj_lastCreatedUnit) endloop call DestroyGroup(s__HakuNewUltimate_damaged[this]) - call s__PauseUnitEx__Pause_setPauseCounter((s__HakuNewUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HakuNewUltimate_caster[this] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(s__HakuNewUltimate_caster[this], false) call ShowUnit(s__HakuNewUltimate_caster[this], true) call SelectUnitForPlayerSingle(s__HakuNewUltimate_caster[this], GetOwningPlayer(s__HakuNewUltimate_caster[this])) @@ -53661,7 +53661,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__HakuNewUltimate_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! call GroupAddUnit(s__HakuNewUltimate_damaged[this], bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) @@ -53680,7 +53680,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! set s__HakuNewUltimate_alpha[this]=s__HakuNewUltimate_alpha[this] + 1 call SetUnitVertexColor(s__HakuNewUltimate_caster[this], 255, 255, 255, 255 - 7 * s__HakuNewUltimate_alpha[this]) if s__HakuNewUltimate_alpha[this] > 35 then - call s__PauseUnitEx__Pause_setPauseCounter((s__HakuNewUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HakuNewUltimate_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__HakuNewUltimate_caster[this], false) call ReleaseTimer(GetExpiredTimer()) endif @@ -53740,7 +53740,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! endfunction function s__HanFugokyaku_destroy takes integer this returns nothing - call PauseUnit(s__HanFugokyaku_caster[this], false) + call s__PauseUnitEx___Pause_setPauseCounter((s__HanFugokyaku_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__HanFugokyaku_caster[this], "stand") call DestroyGroup(s__HanFugokyaku_damaged[this]) set s__HanFugokyaku_caster[this]=null @@ -53858,7 +53858,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! endif set s__HanFugokyaku_damaged[this]=CreateGroup() set s__HanFugokyaku_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__HanFugokyaku_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HanFugokyaku_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__HanFugokyaku_caster[this], "spell channel") call TimerStart(NewTimerEx(this), 0.03, true, function s__HanFugokyaku_periodic) endfunction @@ -53899,7 +53899,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! function s__HanFunseiken___Spell_destroy takes integer this returns nothing - call s__PauseUnitEx__Pause_setPauseCounter((s__HanFunseiken___Spell_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HanFunseiken___Spell_target[this] ) , ( 0)) // INLINED!! call DestroyGroup(s__HanFunseiken___Spell_damaged[this]) set s__HanFunseiken___Spell_damaged[this]=null set s__HanFunseiken___Spell_caster[this]=null @@ -53947,7 +53947,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! function s__HanFunseiken___Spell_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__HanFunseiken___Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HanFunseiken___Spell_caster[this] ) , ( 0)) // INLINED!! call DestroyEffect(AddSpecialEffect(("war3mapImported\\Ground Crack.mdx" ), (( GetUnitX(s__HanFunseiken___Spell_target[this]) )*1.0), (( GetUnitY(s__HanFunseiken___Spell_target[this]))*1.0))) // INLINED!! set bj_lastCreatedEffect=AddSpecialEffect("Hit.mdx", GetUnitX(s__HanFunseiken___Spell_target[this]), GetUnitY(s__HanFunseiken___Spell_target[this])) call BlzSetSpecialEffectHeight(bj_lastCreatedEffect, 60 + GetPointZ(GetUnitX(s__HanFunseiken___Spell_target[this]) , GetUnitY(s__HanFunseiken___Spell_target[this]))) @@ -53998,7 +53998,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! set s__HanFunseiken___Spell_caster[this]=GetTriggerUnit() set s__HanFunseiken___Spell_target[this]=GetSpellTargetUnit() set s__HanFunseiken___Spell_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__HanFunseiken___Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HanFunseiken___Spell_caster[this] ) , ( 1)) // INLINED!! //call PauseUnit(this.target, true) call SetUnitAnimationByIndex(s__HanFunseiken___Spell_caster[this], 1) call TimerStart(NewTimerEx(this), 0.015, true, function s__HanFunseiken___Spell_periodic) @@ -54182,7 +54182,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! call SelectUnitForPlayerSingle(s__HanSemi_target[this], GetOwningPlayer(s__HanSemi_target[this])) call SetUnitFlyHeight(s__HanSemi_target[this], 0, 2000.0) call SetUnitAnimation(s__HanSemi_target[this], "death") - call s__PauseUnitEx__Pause_setPauseCounter((s__HanSemi_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HanSemi_target[this] ) , ( 0)) // INLINED!! call StunUnitTimed(s__HanSemi_caster[this] , s__HanSemi_target[this] , 1.0) call TimerStart(NewTimerEx(this), 0.5, false, function s__HanSemi_damage) call ReleaseTimer(GetExpiredTimer()) @@ -54192,7 +54192,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! set s__HanSemi_count[this]=s__HanSemi_count[this] + 1 call SetUnitFlyHeight(s__HanSemi_target[this], 50 * s__HanSemi_count[this], 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__HanSemi_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HanSemi_target[this] ) , ( 1)) // INLINED!! if ModuloInteger(s__HanSemi_count[this], 3) == 0 then set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__HanSemi_caster[this]), 'z004', GetUnitX(s__HanSemi_target[this]), GetUnitY(s__HanSemi_target[this]), 270.0) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) @@ -54315,7 +54315,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! call BlzSetSpecialEffectScale(bj_lastCreatedEffect, 3.0) call DestroyEffect(bj_lastCreatedEffect) call DestroyEffect(AddSpecialEffect(("war3mapImported\\WarStompCaster.mdx" ), (( s__HanNewUltimate_target_x[this] )*1.0), (( s__HanNewUltimate_target_y[this])*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__HanNewUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HanNewUltimate_caster[this] ) , ( 0)) // INLINED!! call ShowUnit(s__HanNewUltimate_caster[this], true) call SelectUnitForPlayerSingle(s__HanNewUltimate_caster[this], GetOwningPlayer(s__HanNewUltimate_caster[this])) call KillUnit(s__HanNewUltimate_dummy[this]) @@ -54335,7 +54335,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0VO')) // INLINED!! set s__HanNewUltimate_target_x[this]=GetSpellTargetX() set s__HanNewUltimate_target_y[this]=GetSpellTargetY() set s__HanNewUltimate_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__HanNewUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HanNewUltimate_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__HanNewUltimate_caster[this], false) set s__HanNewUltimate_dummy[this]=CreateUnit(GetOwningPlayer(s__HanNewUltimate_caster[this]), 'e054', GetUnitX(s__HanNewUltimate_caster[this]), GetUnitY(s__HanNewUltimate_caster[this]), Rad2Deg(Atan3(GetUnitX(s__HanNewUltimate_caster[this]) , GetUnitY(s__HanNewUltimate_caster[this]) , s__HanNewUltimate_target_x[this] , s__HanNewUltimate_target_y[this]))) call SetUnitTimeScale(s__HanNewUltimate_dummy[this], 3.0) @@ -54838,11 +54838,11 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0DO')) // INLINED!! call SetUnitFlyHeight(s__HanzoUppercut_target[this], height, 0) set s__HanzoUppercut_count[this]=s__HanzoUppercut_count[this] + 1 if s__HanzoUppercut_count[this] == 6 then - call s__PauseUnitEx__Pause_setPauseCounter((s__HanzoUppercut_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HanzoUppercut_caster[this] ) , ( 0)) // INLINED!! endif if s__HanzoUppercut_count[this] >= 15 then call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl" ), (( GetUnitX(s__HanzoUppercut_target[this]) )*1.0), (( GetUnitY(s__HanzoUppercut_target[this]))*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__HanzoUppercut_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HanzoUppercut_target[this] ) , ( 0)) // INLINED!! if ( GetUnitAbilityLevel(s__HanzoUppercut_target[this], 'Bapl') > 0 or GetUnitAbilityLevel(s__HanzoUppercut_target[this], 'B06W') > 0 ) then @@ -54875,7 +54875,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0DO')) // INLINED!! call UnitRemoveAbility(s__HanzoUppercut_caster[this], 'Arav') call SetUnitFlyHeight(s__HanzoUppercut_caster[this], 500, 2500) set s__HanzoUppercut_angle[this]=angle - call s__PauseUnitEx__Pause_setPauseCounter((s__HanzoUppercut_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HanzoUppercut_target[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__HanzoUppercut_target[this], "death") call UnitDamageTarget(s__HanzoUppercut_caster[this], s__HanzoUppercut_target[this], GetHeroStr(s__HanzoUppercut_caster[this], true) * GetUnitAbilityLevel(s__HanzoUppercut_caster[this], s__HanzoUppercut_SPELL_ID), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, null) @@ -54931,7 +54931,7 @@ call UnitAddAbility((bj_lastCreatedUnit ), ( 'A0DO')) // INLINED!! set s__HanzoUppercut_count[this]=0 call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( GetUnitX(s__HanzoUppercut_caster[this]) )*1.0), (( GetUnitY(s__HanzoUppercut_caster[this]))*1.0))) // INLINED!! call ShowUnit(s__HanzoUppercut_caster[this], false) - call s__PauseUnitEx__Pause_setPauseCounter((s__HanzoUppercut_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HanzoUppercut_caster[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.2, false, function s__HanzoUppercut_punch) else call IssueImmediateOrder(GetTriggerUnit(), "stop") @@ -55753,7 +55753,7 @@ function Trig_Adamantine_Punch_INIT_Actions takes nothing returns nothing set udg_SU10_Caster=GetTriggerUnit() set udg_SU10_Point[1]=GetSpellTargetLoc() call SetUnitPositionLoc(udg_SU10_Caster, udg_SU10_Point[1]) - call s__PauseUnitEx__Pause_setPauseCounter((udg_SU10_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_SU10_Caster ) , ( 1)) // INLINED!! call SetUnitAnimation(udg_SU10_Caster, "spell one") call SetUnitTimeScale(udg_SU10_Caster, 0.5) call EnableTrigger(gg_trg_HashiramaAdamantinePunchLOOP1) @@ -55824,7 +55824,7 @@ call AddSpecialEffectLocBJ(((udg_SU10_Point[3] ) ), ( ( "Abilities\\Spells\\Orc\ call RemoveLocation(udg_SU10_Point[3]) set bj_forLoopAIndex=bj_forLoopAIndex + 1 endloop - call s__PauseUnitEx__Pause_setPauseCounter((udg_SU10_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_SU10_Caster ) , ( 0)) // INLINED!! call SetUnitFlyHeightBJ(udg_SU10_Caster, 0.00, 0.00) call EnableTrigger(gg_trg_HashiramaAdamantinePunchACTIONS) call DisableTrigger(GetTriggeringTrigger()) @@ -55910,8 +55910,8 @@ function Trig_Jukai_Koutan_INIT_Actions takes nothing returns nothing set udg_SUS35_Integer_Dummy[GetForLoopIndexA()]=0 set bj_forLoopAIndex=bj_forLoopAIndex + 1 endloop - call s__PauseUnitEx__Pause_setPauseCounter((udg_SU35_Caster ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_SU35_Target ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_SU35_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_SU35_Target ) , ( 1)) // INLINED!! //call SetCameraFieldForPlayer( GetOwningPlayer(udg_SU35_Caster), CAMERA_FIELD_ZOFFSET, ( GetCameraField(CAMERA_FIELD_ZOFFSET) + 1000.00 ), 0 ) call SetUnitAnimation(udg_SU35_Caster, "spell channel one") set bj_forLoopAIndex=1 @@ -55971,7 +55971,7 @@ endfunction function Trig_HashiramaJukaiKoutanLOOP_Actions takes nothing returns nothing set udg_SU35_Integer=( udg_SU35_Integer + 1 ) if ( Trig_HashiramaJukaiKoutanLOOP_Func002C() ) then - call s__PauseUnitEx__Pause_setPauseCounter((udg_SU35_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_SU35_Caster ) , ( 0)) // INLINED!! call TriggerSleepAction(0.50) set udg_SU35_Group=GetUnitsInRangeOfLocMatching(1000.00, udg_SU35_Point[1], Condition(function Trig_HashiramaJukaiKoutanLOOP_Func002Func004002003)) call ForGroupBJ(udg_SU35_Group, function Trig_HashiramaJukaiKoutanLOOP_Func002Func005A) @@ -56050,7 +56050,7 @@ endfunction function s__HashiramaNewInvu___Spell_finish takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! call SetUnitTimeScale(s__HashiramaNewInvu___Spell_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__HashiramaNewInvu___Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HashiramaNewInvu___Spell_caster[this] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(s__HashiramaNewInvu___Spell_caster[this], false) set s__HashiramaNewInvu___Spell_caster[this]=null call s__HashiramaNewInvu___Spell_deallocate(this) @@ -56102,7 +56102,7 @@ endfunction set j=j + 1 endloop call DestroyEffect(AddSpecialEffect(("s_Kuchiyose.mdx" ), (( caster_x )*1.0), (( caster_y)*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__HashiramaNewInvu___Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HashiramaNewInvu___Spell_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__HashiramaNewInvu___Spell_caster[this], "spell") call SetUnitInvulnerable(s__HashiramaNewInvu___Spell_caster[this], true) call TimerStartEx(NewTimerEx(this) , 2.0 , false , function s__HashiramaNewInvu___Spell_finish , "HashiramaNewInvu_finish") @@ -56736,7 +56736,7 @@ function Trig_universe_Actions takes nothing returns nothing local integer str= GetHeroStatBJ(bj_HEROSTAT_STR, caster, true) local real damage= 10 * I2R(str) set udg_Universe_DamageValue=damage - call s__PauseUnitEx__Pause_setPauseCounter((caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((caster ) , ( 1)) // INLINED!! call SetUnitPathing(caster, false) call RemoveLocation(loc) @@ -56808,8 +56808,8 @@ function Trig_universe_loop_Actions takes nothing returns nothing //call DestroyEffect(udg_Universe_Effects[1]) call DestroyEffect(udg_Universe_Effects[2]) call SetUnitPathing(caster, true) - call s__PauseUnitEx__Pause_setPauseCounter((target ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((target ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((caster ) , ( 0)) // INLINED!! //call SetUnitPathing(target, false) set udg_Universe_Integer=udg_Universe_Integer + 1 endif @@ -56852,7 +56852,7 @@ function Trig_universe_loop_Actions takes nothing returns nothing call SetUnitTimeScale(caster, 1.0) // call PauseUnit(caster, false) call GroupClear(udg_Universe_Damaged) - call s__PauseUnitEx__Pause_setPauseCounter((target ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((target ) , ( 0)) // INLINED!! call SetUnitPathing(target, true) call DisableTrigger(GetTriggeringTrigger()) endif @@ -57176,115 +57176,115 @@ endfunction //Implemented from module Alloc: - function s__EdoTenseiHashiramaStatue___Spell_allocate takes nothing returns integer + function s__EdoTenseiHashiramaStatue__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__EdoTenseiHashiramaStatue___Spell_Alloc__recycle[(0)] == 0 ) then - set s__EdoTenseiHashiramaStatue___Spell_Alloc__instanceCount=s__EdoTenseiHashiramaStatue___Spell_Alloc__instanceCount + 1 - set this=s__EdoTenseiHashiramaStatue___Spell_Alloc__instanceCount + if ( s__EdoTenseiHashiramaStatue__Spell_Alloc__recycle[(0)] == 0 ) then + set s__EdoTenseiHashiramaStatue__Spell_Alloc__instanceCount=s__EdoTenseiHashiramaStatue__Spell_Alloc__instanceCount + 1 + set this=s__EdoTenseiHashiramaStatue__Spell_Alloc__instanceCount else - set this=s__EdoTenseiHashiramaStatue___Spell_Alloc__recycle[(0)] - set s__EdoTenseiHashiramaStatue___Spell_Alloc__recycle[(0)]=s__EdoTenseiHashiramaStatue___Spell_Alloc__recycle[s__EdoTenseiHashiramaStatue___Spell_Alloc__recycle[(0)]] + set this=s__EdoTenseiHashiramaStatue__Spell_Alloc__recycle[(0)] + set s__EdoTenseiHashiramaStatue__Spell_Alloc__recycle[(0)]=s__EdoTenseiHashiramaStatue__Spell_Alloc__recycle[s__EdoTenseiHashiramaStatue__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__EdoTenseiHashiramaStatue___Spell_deallocate takes integer this returns nothing - set s__EdoTenseiHashiramaStatue___Spell_Alloc__recycle[this]=s__EdoTenseiHashiramaStatue___Spell_Alloc__recycle[(0)] - set s__EdoTenseiHashiramaStatue___Spell_Alloc__recycle[(0)]=this + function s__EdoTenseiHashiramaStatue__Spell_deallocate takes integer this returns nothing + set s__EdoTenseiHashiramaStatue__Spell_Alloc__recycle[this]=s__EdoTenseiHashiramaStatue__Spell_Alloc__recycle[(0)] + set s__EdoTenseiHashiramaStatue__Spell_Alloc__recycle[(0)]=this endfunction - function s__EdoTenseiHashiramaStatue___Spell_finish takes nothing returns nothing + function s__EdoTenseiHashiramaStatue__Spell_finish takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call KillUnit(s__EdoTenseiHashiramaStatue___Spell_statue[this]) - call KillUnit(s__EdoTenseiHashiramaStatue___Spell_statue_hands[this]) - call KillUnit(s__EdoTenseiHashiramaStatue___Spell_statue_hands_dmg[this]) - call SetUnitAnimation(s__EdoTenseiHashiramaStatue___Spell_statue[this], "death") - call SetUnitAnimation(s__EdoTenseiHashiramaStatue___Spell_statue_hands[this], "death") + call KillUnit(s__EdoTenseiHashiramaStatue__Spell_statue[this]) + call KillUnit(s__EdoTenseiHashiramaStatue__Spell_statue_hands[this]) + call KillUnit(s__EdoTenseiHashiramaStatue__Spell_statue_hands_dmg[this]) + call SetUnitAnimation(s__EdoTenseiHashiramaStatue__Spell_statue[this], "death") + call SetUnitAnimation(s__EdoTenseiHashiramaStatue__Spell_statue_hands[this], "death") //call SetUnitAnimation(this.statue_hands_dmg, "death") - call ShowUnit(s__EdoTenseiHashiramaStatue___Spell_statue_hands_dmg[this], false) - set s__EdoTenseiHashiramaStatue___Spell_caster[this]=null - set s__EdoTenseiHashiramaStatue___Spell_statue[this]=null - set s__EdoTenseiHashiramaStatue___Spell_statue_hands[this]=null - set s__EdoTenseiHashiramaStatue___Spell_statue_hands_dmg[this]=null - call s__EdoTenseiHashiramaStatue___Spell_deallocate(this) + call ShowUnit(s__EdoTenseiHashiramaStatue__Spell_statue_hands_dmg[this], false) + set s__EdoTenseiHashiramaStatue__Spell_caster[this]=null + set s__EdoTenseiHashiramaStatue__Spell_statue[this]=null + set s__EdoTenseiHashiramaStatue__Spell_statue_hands[this]=null + set s__EdoTenseiHashiramaStatue__Spell_statue_hands_dmg[this]=null + call s__EdoTenseiHashiramaStatue__Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__EdoTenseiHashiramaStatue___Spell_cast takes nothing returns nothing + function s__EdoTenseiHashiramaStatue__Spell_cast takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - set s__EdoTenseiHashiramaStatue___Spell_count[this]=s__EdoTenseiHashiramaStatue___Spell_count[this] + 1 - if ModuloInteger(s__EdoTenseiHashiramaStatue___Spell_count[this], 5) == 0 then - call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl" ), (( s__EdoTenseiHashiramaStatue___Spell_target_x[this] )*1.0), (( s__EdoTenseiHashiramaStatue___Spell_target_y[this])*1.0))) // INLINED!! + set s__EdoTenseiHashiramaStatue__Spell_count[this]=s__EdoTenseiHashiramaStatue__Spell_count[this] + 1 + if ModuloInteger(s__EdoTenseiHashiramaStatue__Spell_count[this], 5) == 0 then + call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl" ), (( s__EdoTenseiHashiramaStatue__Spell_target_x[this] )*1.0), (( s__EdoTenseiHashiramaStatue__Spell_target_y[this])*1.0))) // INLINED!! endif set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__EdoTenseiHashiramaStatue___Spell_target_x[this], s__EdoTenseiHashiramaStatue___Spell_target_y[this], 400.0, null) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__EdoTenseiHashiramaStatue__Spell_target_x[this], s__EdoTenseiHashiramaStatue__Spell_target_y[this], 400.0, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__EdoTenseiHashiramaStatue___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then - call UnitDamageTarget(s__EdoTenseiHashiramaStatue___Spell_caster[this], bj_lastCreatedUnit, ( GetHeroStr(s__EdoTenseiHashiramaStatue___Spell_caster[this], true) * 6 + 1000 ) / 66.0, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__EdoTenseiHashiramaStatue__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then + call UnitDamageTarget(s__EdoTenseiHashiramaStatue__Spell_caster[this], bj_lastCreatedUnit, ( GetHeroStr(s__EdoTenseiHashiramaStatue__Spell_caster[this], true) * 6 + 1000 ) / 66.0, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) call IssueTargetOrder(bj_lastCreatedUnit, "attack", bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - if s__EdoTenseiHashiramaStatue___Spell_count[this] > 66 then - call TimerStart(NewTimerEx(this), 0.1, false, function s__EdoTenseiHashiramaStatue___Spell_finish) + if s__EdoTenseiHashiramaStatue__Spell_count[this] > 66 then + call TimerStart(NewTimerEx(this), 0.1, false, function s__EdoTenseiHashiramaStatue__Spell_finish) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__EdoTenseiHashiramaStatue___Spell_delay takes nothing returns nothing + function s__EdoTenseiHashiramaStatue__Spell_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! //set this.target_x = GetPolarX(GetUnitX(this.statue), Deg2Rad(GetUnitFacing(this.statue)), 100)//GetUnitX(this.statue) + Cos(GetUnitFacing(this.statue) * bj_DEGTORAD) * 100 //set this.target_y = GetPolarY(GetUnitY(this.statue), Deg2Rad(GetUnitFacing(this.statue)), 100)//GetUnitY(this.statue) + Sin(GetUnitFacing(this.statue) * bj_DEGTORAD) * 100 //call UnitAddAbility(this.statue, 'A0M0') - call SetUnitAnimation(s__EdoTenseiHashiramaStatue___Spell_statue[this], "spell") - call SetUnitTimeScale(s__EdoTenseiHashiramaStatue___Spell_statue[this], 1.0) - call SetUnitAnimation(s__EdoTenseiHashiramaStatue___Spell_statue_hands[this], "spell") - call SetUnitTimeScale(s__EdoTenseiHashiramaStatue___Spell_statue_hands[this], 1.0) - call SetUnitAnimation(s__EdoTenseiHashiramaStatue___Spell_statue_hands_dmg[this], "spell") - call SetUnitTimeScale(s__EdoTenseiHashiramaStatue___Spell_statue_hands_dmg[this], 1.0) - set s__EdoTenseiHashiramaStatue___Spell_count[this]=0 - call SlowArea(s__EdoTenseiHashiramaStatue___Spell_caster[this] , s__EdoTenseiHashiramaStatue___Spell_target_x[this] , s__EdoTenseiHashiramaStatue___Spell_target_y[this] , 400) - call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__EdoTenseiHashiramaStatue___Spell_cast , "EdoTenseiHashiramaStatue_cast") + call SetUnitAnimation(s__EdoTenseiHashiramaStatue__Spell_statue[this], "spell") + call SetUnitTimeScale(s__EdoTenseiHashiramaStatue__Spell_statue[this], 1.0) + call SetUnitAnimation(s__EdoTenseiHashiramaStatue__Spell_statue_hands[this], "spell") + call SetUnitTimeScale(s__EdoTenseiHashiramaStatue__Spell_statue_hands[this], 1.0) + call SetUnitAnimation(s__EdoTenseiHashiramaStatue__Spell_statue_hands_dmg[this], "spell") + call SetUnitTimeScale(s__EdoTenseiHashiramaStatue__Spell_statue_hands_dmg[this], 1.0) + set s__EdoTenseiHashiramaStatue__Spell_count[this]=0 + call SlowArea(s__EdoTenseiHashiramaStatue__Spell_caster[this] , s__EdoTenseiHashiramaStatue__Spell_target_x[this] , s__EdoTenseiHashiramaStatue__Spell_target_y[this] , 400) + call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__EdoTenseiHashiramaStatue__Spell_cast , "EdoTenseiHashiramaStatue_cast") call ReleaseTimer(GetExpiredTimer()) endfunction - function s__EdoTenseiHashiramaStatue___Spell_actions takes nothing returns nothing + function s__EdoTenseiHashiramaStatue__Spell_actions takes nothing returns nothing local real caster_x= GetUnitX(GetTriggerUnit()) local real caster_y= GetUnitY(GetTriggerUnit()) local real angle - local integer this= s__EdoTenseiHashiramaStatue___Spell_allocate() + local integer this= s__EdoTenseiHashiramaStatue__Spell_allocate() if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Hashirama_T_Senpou, 100.0, GetTriggerUnit()) call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Hashirama: I must protect the will of fire!|r") endif - set s__EdoTenseiHashiramaStatue___Spell_caster[this]=GetTriggerUnit() - set angle=GetUnitFacing(s__EdoTenseiHashiramaStatue___Spell_caster[this]) - set s__EdoTenseiHashiramaStatue___Spell_target_x[this]=GetSpellTargetX() //GetPolarX(caster_x, Deg2Rad(angle), 500.0) - set s__EdoTenseiHashiramaStatue___Spell_target_y[this]=GetSpellTargetY() //GetPolarY(caster_y, Deg2Rad(angle), 500.0) - set angle=Rad2Deg(Atan3(caster_x , caster_y , s__EdoTenseiHashiramaStatue___Spell_target_x[this] , s__EdoTenseiHashiramaStatue___Spell_target_y[this])) + set s__EdoTenseiHashiramaStatue__Spell_caster[this]=GetTriggerUnit() + set angle=GetUnitFacing(s__EdoTenseiHashiramaStatue__Spell_caster[this]) + set s__EdoTenseiHashiramaStatue__Spell_target_x[this]=GetSpellTargetX() //GetPolarX(caster_x, Deg2Rad(angle), 500.0) + set s__EdoTenseiHashiramaStatue__Spell_target_y[this]=GetSpellTargetY() //GetPolarY(caster_y, Deg2Rad(angle), 500.0) + set angle=Rad2Deg(Atan3(caster_x , caster_y , s__EdoTenseiHashiramaStatue__Spell_target_x[this] , s__EdoTenseiHashiramaStatue__Spell_target_y[this])) call DestroyEffect(AddSpecialEffect(("s_Kuchiyose.mdx" ), (( caster_x )*1.0), (( caster_y)*1.0))) // INLINED!! - set s__EdoTenseiHashiramaStatue___Spell_statue[this]=CreateUnit(GetTriggerPlayer(), 'e02H', caster_x, caster_y, angle) - set s__EdoTenseiHashiramaStatue___Spell_statue_hands[this]=CreateUnit(GetTriggerPlayer(), 'e03D', caster_x, caster_y, angle) - set s__EdoTenseiHashiramaStatue___Spell_statue_hands_dmg[this]=CreateUnit(GetTriggerPlayer(), 'e03E', caster_x, caster_y, angle) - call SetUnitAnimation(s__EdoTenseiHashiramaStatue___Spell_statue[this], "birth") - call SetUnitTimeScale(s__EdoTenseiHashiramaStatue___Spell_statue[this], 1.33) - call SetUnitAnimation(s__EdoTenseiHashiramaStatue___Spell_statue_hands[this], "birth") - call SetUnitTimeScale(s__EdoTenseiHashiramaStatue___Spell_statue_hands[this], 1.33) - call SetUnitAnimation(s__EdoTenseiHashiramaStatue___Spell_statue_hands_dmg[this], "birth") - call SetUnitTimeScale(s__EdoTenseiHashiramaStatue___Spell_statue_hands_dmg[this], 1.33) - call TimerStartEx(NewTimerEx(this) , 1.0 , false , function s__EdoTenseiHashiramaStatue___Spell_delay , "EdoTenseiHashiramaStatue_delay") + set s__EdoTenseiHashiramaStatue__Spell_statue[this]=CreateUnit(GetTriggerPlayer(), 'e02H', caster_x, caster_y, angle) + set s__EdoTenseiHashiramaStatue__Spell_statue_hands[this]=CreateUnit(GetTriggerPlayer(), 'e03D', caster_x, caster_y, angle) + set s__EdoTenseiHashiramaStatue__Spell_statue_hands_dmg[this]=CreateUnit(GetTriggerPlayer(), 'e03E', caster_x, caster_y, angle) + call SetUnitAnimation(s__EdoTenseiHashiramaStatue__Spell_statue[this], "birth") + call SetUnitTimeScale(s__EdoTenseiHashiramaStatue__Spell_statue[this], 1.33) + call SetUnitAnimation(s__EdoTenseiHashiramaStatue__Spell_statue_hands[this], "birth") + call SetUnitTimeScale(s__EdoTenseiHashiramaStatue__Spell_statue_hands[this], 1.33) + call SetUnitAnimation(s__EdoTenseiHashiramaStatue__Spell_statue_hands_dmg[this], "birth") + call SetUnitTimeScale(s__EdoTenseiHashiramaStatue__Spell_statue_hands_dmg[this], 1.33) + call TimerStartEx(NewTimerEx(this) , 1.0 , false , function s__EdoTenseiHashiramaStatue__Spell_delay , "EdoTenseiHashiramaStatue_delay") endfunction - function s__EdoTenseiHashiramaStatue___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEvent2((s__EdoTenseiHashiramaStatue___Spell_SPELL_ID ) , Filter(( function s__EdoTenseiHashiramaStatue___Spell_actions))) // INLINED!! + function s__EdoTenseiHashiramaStatue__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEvent2((s__EdoTenseiHashiramaStatue__Spell_SPELL_ID ) , Filter(( function s__EdoTenseiHashiramaStatue__Spell_actions))) // INLINED!! endfunction @@ -57297,106 +57297,106 @@ endfunction //Implemented from module Alloc: - function s__HayateSwordStrike___Spell_allocate takes nothing returns integer + function s__HayateSwordStrike__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__HayateSwordStrike___Spell_Alloc__recycle[(0)] == 0 ) then - set s__HayateSwordStrike___Spell_Alloc__instanceCount=s__HayateSwordStrike___Spell_Alloc__instanceCount + 1 - set this=s__HayateSwordStrike___Spell_Alloc__instanceCount + if ( s__HayateSwordStrike__Spell_Alloc__recycle[(0)] == 0 ) then + set s__HayateSwordStrike__Spell_Alloc__instanceCount=s__HayateSwordStrike__Spell_Alloc__instanceCount + 1 + set this=s__HayateSwordStrike__Spell_Alloc__instanceCount else - set this=s__HayateSwordStrike___Spell_Alloc__recycle[(0)] - set s__HayateSwordStrike___Spell_Alloc__recycle[(0)]=s__HayateSwordStrike___Spell_Alloc__recycle[s__HayateSwordStrike___Spell_Alloc__recycle[(0)]] + set this=s__HayateSwordStrike__Spell_Alloc__recycle[(0)] + set s__HayateSwordStrike__Spell_Alloc__recycle[(0)]=s__HayateSwordStrike__Spell_Alloc__recycle[s__HayateSwordStrike__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__HayateSwordStrike___Spell_deallocate takes integer this returns nothing - set s__HayateSwordStrike___Spell_Alloc__recycle[this]=s__HayateSwordStrike___Spell_Alloc__recycle[(0)] - set s__HayateSwordStrike___Spell_Alloc__recycle[(0)]=this + function s__HayateSwordStrike__Spell_deallocate takes integer this returns nothing + set s__HayateSwordStrike__Spell_Alloc__recycle[this]=s__HayateSwordStrike__Spell_Alloc__recycle[(0)] + set s__HayateSwordStrike__Spell_Alloc__recycle[(0)]=this endfunction - function s__HayateSwordStrike___Spell_knockback takes nothing returns nothing + function s__HayateSwordStrike__Spell_knockback takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real target_x= GetUnitX(s__HayateSwordStrike___Spell_target[this]) - local real target_y= GetUnitY(s__HayateSwordStrike___Spell_target[this]) - local real new_x= target_x + Cos(s__HayateSwordStrike___Spell_angle[this]) * 50 - local real new_y= target_y + Sin(s__HayateSwordStrike___Spell_angle[this]) * 50 + local real target_x= GetUnitX(s__HayateSwordStrike__Spell_target[this]) + local real target_y= GetUnitY(s__HayateSwordStrike__Spell_target[this]) + local real new_x= target_x + Cos(s__HayateSwordStrike__Spell_angle[this]) * 50 + local real new_y= target_y + Sin(s__HayateSwordStrike__Spell_angle[this]) * 50 local real distance_x local real distance_y - set s__HayateSwordStrike___Spell_count[this]=s__HayateSwordStrike___Spell_count[this] + 1 + set s__HayateSwordStrike__Spell_count[this]=s__HayateSwordStrike__Spell_count[this] + 1 if not IsTerrainPathable(new_x, new_y, PATHING_TYPE_WALKABILITY) then - call SetUnitX(s__HayateSwordStrike___Spell_target[this], new_x) - call SetUnitY(s__HayateSwordStrike___Spell_target[this], new_y) + call SetUnitX(s__HayateSwordStrike__Spell_target[this], new_x) + call SetUnitY(s__HayateSwordStrike__Spell_target[this], new_y) //call AddSpecialEffectEx("Effects\\s_Earth_Smash.mdx", new_x, new_y) else - set s__HayateSwordStrike___Spell_count[this]=6 + set s__HayateSwordStrike__Spell_count[this]=6 endif - if s__HayateSwordStrike___Spell_count[this] > 5 then - set distance_x=GetUnitX(s__HayateSwordStrike___Spell_caster[this]) - new_x - set distance_y=GetUnitY(s__HayateSwordStrike___Spell_caster[this]) - new_y - set s__HayateSwordStrike___Spell_distance[this]=SquareRoot(distance_x * distance_x + distance_y * distance_y) + if s__HayateSwordStrike__Spell_count[this] > 5 then + set distance_x=GetUnitX(s__HayateSwordStrike__Spell_caster[this]) - new_x + set distance_y=GetUnitY(s__HayateSwordStrike__Spell_caster[this]) - new_y + set s__HayateSwordStrike__Spell_distance[this]=SquareRoot(distance_x * distance_x + distance_y * distance_y) //call StunUnitTimed(this.caster, this.target, 0.5) - call SetUnitTimeScale(s__HayateSwordStrike___Spell_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__HayateSwordStrike___Spell_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__HayateSwordStrike___Spell_target[this] ) , ( 0)) // INLINED!! - call UnitDamageTarget(s__HayateSwordStrike___Spell_caster[this], s__HayateSwordStrike___Spell_target[this], GetHeroAgi(s__HayateSwordStrike___Spell_caster[this], true) * GetUnitAbilityLevel(s__HayateSwordStrike___Spell_caster[this], s__HayateSwordStrike___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) - call EsnareUnitTimed(s__HayateSwordStrike___Spell_caster[this] , s__HayateSwordStrike___Spell_target[this] , 2.0) - set s__HayateSwordStrike___Spell_caster[this]=null - set s__HayateSwordStrike___Spell_target[this]=null - call s__HayateSwordStrike___Spell_deallocate(this) + call SetUnitTimeScale(s__HayateSwordStrike__Spell_caster[this], 1.0) + call s__PauseUnitEx___Pause_setPauseCounter((s__HayateSwordStrike__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HayateSwordStrike__Spell_target[this] ) , ( 0)) // INLINED!! + call UnitDamageTarget(s__HayateSwordStrike__Spell_caster[this], s__HayateSwordStrike__Spell_target[this], GetHeroAgi(s__HayateSwordStrike__Spell_caster[this], true) * GetUnitAbilityLevel(s__HayateSwordStrike__Spell_caster[this], s__HayateSwordStrike__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + call EsnareUnitTimed(s__HayateSwordStrike__Spell_caster[this] , s__HayateSwordStrike__Spell_target[this] , 2.0) + set s__HayateSwordStrike__Spell_caster[this]=null + set s__HayateSwordStrike__Spell_target[this]=null + call s__HayateSwordStrike__Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__HayateSwordStrike___Spell_periodic takes nothing returns nothing + function s__HayateSwordStrike__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call DestroyEffect(AddSpecialEffect(("Objects\\Spawnmodels\\Human\\HumanBlood\\HumanBloodKnight.mdl" ), (( GetUnitX(s__HayateSwordStrike___Spell_target[this]) )*1.0), (( GetUnitY(s__HayateSwordStrike___Spell_target[this]))*1.0))) // INLINED!! + call DestroyEffect(AddSpecialEffect(("Objects\\Spawnmodels\\Human\\HumanBlood\\HumanBloodKnight.mdl" ), (( GetUnitX(s__HayateSwordStrike__Spell_target[this]) )*1.0), (( GetUnitY(s__HayateSwordStrike__Spell_target[this]))*1.0))) // INLINED!! - set bj_lastCreatedEffect=AddSpecialEffect("GoodDashWave.mdl", GetUnitX(s__HayateSwordStrike___Spell_target[this]), GetUnitY(s__HayateSwordStrike___Spell_target[this])) - call BlzSetSpecialEffectYaw(bj_lastCreatedEffect, s__HayateSwordStrike___Spell_angle[this]) + set bj_lastCreatedEffect=AddSpecialEffect("GoodDashWave.mdl", GetUnitX(s__HayateSwordStrike__Spell_target[this]), GetUnitY(s__HayateSwordStrike__Spell_target[this])) + call BlzSetSpecialEffectYaw(bj_lastCreatedEffect, s__HayateSwordStrike__Spell_angle[this]) call DestroyEffect(bj_lastCreatedEffect) - call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__HayateSwordStrike___Spell_knockback , "HayateQ_knockback") + call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__HayateSwordStrike__Spell_knockback , "HayateQ_knockback") call ReleaseTimer(GetExpiredTimer()) endfunction - function s__HayateSwordStrike___Spell_actions takes nothing returns nothing - local integer this= s__HayateSwordStrike___Spell_allocate() + function s__HayateSwordStrike__Spell_actions takes nothing returns nothing + local integer this= s__HayateSwordStrike__Spell_allocate() local real angle local real x local real y local real new_x local real new_y - set s__HayateSwordStrike___Spell_caster[this]=GetTriggerUnit() - set s__HayateSwordStrike___Spell_target[this]=GetSpellTargetUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__HayateSwordStrike___Spell_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__HayateSwordStrike___Spell_target[this] ) , ( 1)) // INLINED!! - set s__HayateSwordStrike___Spell_count[this]=0 - call SetUnitAnimation(s__HayateSwordStrike___Spell_caster[this], "spell three") - call SetUnitTimeScale(s__HayateSwordStrike___Spell_caster[this], 0.5) - call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( GetUnitX(s__HayateSwordStrike___Spell_caster[this]) )*1.0), (( GetUnitY(s__HayateSwordStrike___Spell_caster[this]))*1.0))) // INLINED!! - - set angle=Atan3(GetUnitX(s__HayateSwordStrike___Spell_caster[this]) , GetUnitY(s__HayateSwordStrike___Spell_caster[this]) , GetUnitX(s__HayateSwordStrike___Spell_target[this]) , GetUnitY(s__HayateSwordStrike___Spell_target[this])) - set x=GetUnitX(s__HayateSwordStrike___Spell_target[this]) - set y=GetUnitY(s__HayateSwordStrike___Spell_target[this]) + set s__HayateSwordStrike__Spell_caster[this]=GetTriggerUnit() + set s__HayateSwordStrike__Spell_target[this]=GetSpellTargetUnit() + call s__PauseUnitEx___Pause_setPauseCounter((s__HayateSwordStrike__Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HayateSwordStrike__Spell_target[this] ) , ( 1)) // INLINED!! + set s__HayateSwordStrike__Spell_count[this]=0 + call SetUnitAnimation(s__HayateSwordStrike__Spell_caster[this], "spell three") + call SetUnitTimeScale(s__HayateSwordStrike__Spell_caster[this], 0.5) + call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( GetUnitX(s__HayateSwordStrike__Spell_caster[this]) )*1.0), (( GetUnitY(s__HayateSwordStrike__Spell_caster[this]))*1.0))) // INLINED!! + + set angle=Atan3(GetUnitX(s__HayateSwordStrike__Spell_caster[this]) , GetUnitY(s__HayateSwordStrike__Spell_caster[this]) , GetUnitX(s__HayateSwordStrike__Spell_target[this]) , GetUnitY(s__HayateSwordStrike__Spell_target[this])) + set x=GetUnitX(s__HayateSwordStrike__Spell_target[this]) + set y=GetUnitY(s__HayateSwordStrike__Spell_target[this]) set new_x=(((x )*1.0) + Cos((( angle + bj_PI )*1.0)) * (( 100)*1.0)) // INLINED!! set new_y=(((y )*1.0) + Sin((( angle + bj_PI )*1.0)) * (( 100)*1.0)) // INLINED!! - call SetUnitX(s__HayateSwordStrike___Spell_caster[this], new_x) - call SetUnitY(s__HayateSwordStrike___Spell_caster[this], new_y) + call SetUnitX(s__HayateSwordStrike__Spell_caster[this], new_x) + call SetUnitY(s__HayateSwordStrike__Spell_caster[this], new_y) - set s__HayateSwordStrike___Spell_angle[this]=angle + set s__HayateSwordStrike__Spell_angle[this]=angle - call TimerStartEx(NewTimerEx(this) , 0.5 , true , function s__HayateSwordStrike___Spell_periodic , "HayateQ_periodic") + call TimerStartEx(NewTimerEx(this) , 0.5 , true , function s__HayateSwordStrike__Spell_periodic , "HayateQ_periodic") endfunction - function s__HayateSwordStrike___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(82 , s__HayateSwordStrike___Spell_SPELL_ID , function s__HayateSwordStrike___Spell_actions) + function s__HayateSwordStrike__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(82 , s__HayateSwordStrike__Spell_SPELL_ID , function s__HayateSwordStrike__Spell_actions) endfunction @@ -57618,7 +57618,7 @@ endfunction set s__HayateNewSemi_waves[this]=s__HayateNewSemi_waves[this] + 1 else - call s__PauseUnitEx__Pause_setPauseCounter((s__HayateNewSemi_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HayateNewSemi_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__HayateNewSemi_caster[this], 1.0) call SetUnitAnimation(s__HayateNewSemi_caster[this], "spell two") @@ -57666,7 +57666,7 @@ endfunction set s__HayateNewSemi_damaged[this]=CreateGroup() - call s__PauseUnitEx__Pause_setPauseCounter((s__HayateNewSemi_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HayateNewSemi_caster[this] ) , ( 1)) // INLINED!! //call UnitAddAbility(this.caster, 'A091') if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Hayate_R, 100.0, GetTriggerUnit()) @@ -57762,7 +57762,7 @@ endfunction endloop call DestroyGroup(bj_lastCreatedGroup) if GetDistance(new_x , new_y , s__HayateUltimate_target_x[this] , s__HayateUltimate_target_y[this]) < 100 then - call s__PauseUnitEx__Pause_setPauseCounter((s__HayateUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HayateUltimate_caster[this] ) , ( 0)) // INLINED!! set s__HayateUltimate_caster_freed[this]=true endif // clone 1 @@ -57821,7 +57821,7 @@ endfunction endif endloop call DestroyGroup(bj_lastCreatedGroup) - call s__PauseUnitEx__Pause_setPauseCounter((s__HayateUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HayateUltimate_caster[this] ) , ( 0)) // INLINED!! call DestroyEffect(AddSpecialEffect(("s_Shadow_Smoke.mdx" ), (( GetUnitX(s__HayateUltimate_clone1[this]) )*1.0), (( GetUnitY(s__HayateUltimate_clone1[this]))*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("s_Shadow_Smoke.mdx" ), (( GetUnitX(s__HayateUltimate_clone2[this]) )*1.0), (( GetUnitY(s__HayateUltimate_clone2[this]))*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("war3mapImported\\Ground Crack.mdx" ), (( s__HayateUltimate_target_x[this] )*1.0), (( s__HayateUltimate_target_y[this])*1.0))) // INLINED!! @@ -57870,7 +57870,7 @@ endfunction set s__HayateUltimate_damaged_clone2[this]=CreateGroup() set s__HayateUltimate_target_x[this]=GetSpellTargetX() set s__HayateUltimate_target_y[this]=GetSpellTargetY() - call s__PauseUnitEx__Pause_setPauseCounter((s__HayateUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HayateUltimate_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__HayateUltimate_caster[this], "spell channel one") set s__HayateUltimate_clone1[this]=CreateUnit(GetOwningPlayer(s__HayateUltimate_caster[this]), 'e044', x1, y1, GetUnitFacing(s__HayateUltimate_caster[this])) set s__HayateUltimate_clone2[this]=CreateUnit(GetOwningPlayer(s__HayateUltimate_caster[this]), 'e044', x2, y2, GetUnitFacing(s__HayateUltimate_caster[this])) @@ -58112,7 +58112,7 @@ endfunction call ReleaseTimer(GetExpiredTimer()) elseif s__HidanNewQ_count[this] > 20 then call ResetUnitAnimation(s__HidanNewQ_caster[this]) - call s__PauseUnitEx__Pause_setPauseCounter((s__HidanNewQ_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HidanNewQ_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__HidanNewQ_caster[this], 1.0) call SetUnitVertexColor((s__HidanNewQ_caster[this] ), ( 255 ), ( 255 ), ( 255 ), ( 255)) // INLINED!! call s__HidanNewQ_deallocate(this) @@ -58132,7 +58132,7 @@ endfunction set s__HidanNewQ_angle[this]=Atan3(GetUnitX(s__HidanNewQ_caster[this]) , GetUnitY(s__HidanNewQ_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) set s__HidanNewQ_count[this]=0 call EnableTrigger(gg_trg_HidanPassive) - call s__PauseUnitEx__Pause_setPauseCounter((s__HidanNewQ_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HidanNewQ_caster[this] ) , ( 1)) // INLINED!! call SetUnitTimeScale(s__HidanNewQ_caster[this], 2.0) call SetUnitVertexColor((s__HidanNewQ_caster[this] ), ( 100 ), ( 100 ), ( 100 ), ( 255)) // INLINED!! if GetUnitTypeId(s__HidanNewQ_caster[this]) == 'U004' then @@ -58230,10 +58230,10 @@ endfunction call DestroyEffect(AddSpecialEffect(("Abilities\\Weapons\\AncientProtectorMissile\\AncientProtectorMissile.mdl" ), (( new_crow_x )*1.0), (( new_crow_y)*1.0))) // INLINED!! if s__HidanFlyingScythe_count[this] > 20 then call SetUnitTimeScale(s__HidanFlyingScythe_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__HidanFlyingScythe_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__HidanFlyingScythe_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HidanFlyingScythe_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HidanFlyingScythe_target[this] ) , ( 0)) // INLINED!! call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl" ), (( new_target_x )*1.0), (( new_target_y)*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__HidanFlyingScythe_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HidanFlyingScythe_target[this] ) , ( 0)) // INLINED!! call StunUnitTimed(s__HidanFlyingScythe_caster[this] , s__HidanFlyingScythe_target[this] , 2.0) call SetUnitAnimation(s__HidanFlyingScythe_target[this], "death") call UnitDamageTarget(s__HidanFlyingScythe_caster[this], s__HidanFlyingScythe_target[this], GetUnitAbilityLevel(s__HidanFlyingScythe_caster[this], s__HidanFlyingScythe_SPELL_ID) * GetHeroStr(s__HidanFlyingScythe_caster[this], true), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) @@ -58262,7 +58262,7 @@ endfunction call SetUnitFacing(s__HidanFlyingScythe_caster[this], Rad2Deg(angle)) if distance <= 50 then call SetUnitVertexColor((s__HidanFlyingScythe_caster[this] ), ( 255 ), ( 255 ), ( 255 ), ( 255)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__HidanFlyingScythe_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HidanFlyingScythe_target[this] ) , ( 1)) // INLINED!! set s__HidanFlyingScythe_count[this]=0 call TimerStart(NewTimerEx(this), 0.03, true, function s__HidanFlyingScythe_knockback) call ReleaseTimer(GetExpiredTimer()) @@ -58276,8 +58276,8 @@ endfunction local real angle set s__HidanFlyingScythe_caster[this]=caster set s__HidanFlyingScythe_target[this]=target - call s__PauseUnitEx__Pause_setPauseCounter((s__HidanFlyingScythe_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__HidanFlyingScythe_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HidanFlyingScythe_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HidanFlyingScythe_target[this] ) , ( 1)) // INLINED!! call SetUnitVertexColor((s__HidanFlyingScythe_caster[this] ), ( 100 ), ( 100 ), ( 100 ), ( 255)) // INLINED!! if GetUnitTypeId(s__HidanFlyingScythe_caster[this]) == 'U004' then call SetUnitAnimationByIndex(s__HidanFlyingScythe_caster[this], 1) @@ -58348,7 +58348,7 @@ endfunction call BlzSetSpecialEffectScale(bj_lastCreatedEffect, 0.5) call DestroyEffect(bj_lastCreatedEffect) call SetUnitAnimation(s__HidanNewW_caster[this], "attack slam") - call s__PauseUnitEx__Pause_setPauseCounter((s__HidanNewW_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HidanNewW_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__HidanNewW_caster[this], 1.0) loop set bj_lastCreatedUnit=FirstOfGroup(s__HidanNewW_tornadoes[this]) @@ -58430,7 +58430,7 @@ endfunction local integer i= 0 set s__HidanNewW_caster[this]=GetTriggerUnit() set s__HidanNewW_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__HidanNewW_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HidanNewW_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__HidanNewW_caster[this], "spell channel") call SetUnitTimeScale(s__HidanNewW_caster[this], 1.0) set s__HidanNewW_tornadoes[this]=CreateGroup() @@ -58705,8 +58705,8 @@ function Trig_HinataShotei_Actions takes nothing returns nothing if GetUnitAbilityLevel(GetTriggerUnit(), 'B00F') > 0 then call SetUnitManaBJ(GetSpellTargetUnit(), GetUnitStateSwap(UNIT_STATE_MANA, GetSpellTargetUnit()) - GetUnitStateSwap(UNIT_STATE_MANA, GetSpellTargetUnit()) * 0.1) endif - call s__PauseUnitEx__Pause_setPauseCounter((udg_units14[900] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_units14[901] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units14[900] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units14[901] ) , ( 1)) // INLINED!! call UnitAddAbility(udg_units14[900], 'A02Q') //set bj_lastCreatedEffect = AddSpecialEffect("Hit.mdx", GetUnitX(udg_units14[901]), GetUnitY(udg_units14[901])) @@ -58732,8 +58732,8 @@ call AddSpecialEffectTargetUnitBJ(("righthand" ), ( GetTriggerUnit() ), ( "Abili //call DestroyEffect(bj_lastCreatedEffect) call AddSpecialEffectLocBJ((GetUnitLoc(udg_units14[901]) ), ( "Units\\NightElf\\Wisp\\WispExplode.mdl")) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_units14[900] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_units14[901] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units14[900] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units14[901] ) , ( 0)) // INLINED!! if ( GetUnitAbilityLevel(udg_units14[900], 'B03U') > 0 or GetUnitAbilityLevel(udg_units14[900], 'B04Q') > 0 ) then call UnitDamageTarget(udg_units14[900], udg_units14[901], ( I2R(GetHeroStatBJ(1, udg_units14[900], true)) * ( I2R(GetUnitAbilityLevel(udg_units14[900], 'A010')) / 1.00 ) ) * 0.8, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) else @@ -58804,7 +58804,7 @@ function Trig_HinataFarm_Actions takes nothing returns nothing set bj_lastCreatedUnit=CreateAbilityDummy(GetTriggerUnit() , 'A02A') call IssueTargetOrder(bj_lastCreatedUnit, "innerfire", GetTriggerUnit()) call SetUnitTimeScalePercent(GetTriggerUnit(), 300.0) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! if GetUnitTypeId(GetTriggerUnit()) == 'E07T' then call SetUnitAnimation(GetTriggerUnit(), "Spell") else @@ -58857,7 +58857,7 @@ call AddSpecialEffectLocBJ((udg_locations03[5] ), ( "Abilities\\Spells\\Human\\T endloop //call RemoveLocation(udg_locations03[517]) call SetUnitTimeScalePercent(GetTriggerUnit(), 100) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! call ResetUnitAnimation(GetTriggerUnit()) endfunction @@ -58936,8 +58936,8 @@ endfunction endif if s__HinataNewSemi_count[this] > 60 then call DestroyEffect(AddSpecialEffect(("war3mapImported\\Blood.mdl" ), (( GetUnitX(s__HinataNewSemi_target[this]) )*1.0), (( GetUnitY(s__HinataNewSemi_target[this]))*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__HinataNewSemi_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__HinataNewSemi_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HinataNewSemi_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HinataNewSemi_target[this] ) , ( 0)) // INLINED!! call UnitDamageTarget(s__HinataNewSemi_caster[this], s__HinataNewSemi_target[this], 850 * GetUnitAbilityLevel(s__HinataNewSemi_caster[this], s__HinataNewSemi_SPELL_ID) + GetHeroAgi(s__HinataNewSemi_caster[this], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) if GetUnitAbilityLevel(s__HinataNewSemi_caster[this], 'B00F') > 0 then call SetUnitManaBJ(s__HinataNewSemi_target[this], GetUnitState(s__HinataNewSemi_target[this], UNIT_STATE_MANA) - 300 * GetUnitAbilityLevel(s__HinataNewSemi_caster[this], s__HinataNewSemi_SPELL_ID)) @@ -58963,8 +58963,8 @@ endfunction set s__HinataNewSemi_caster[this]=GetTriggerUnit() set s__HinataNewSemi_target[this]=GetSpellTargetUnit() set s__HinataNewSemi_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__HinataNewSemi_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__HinataNewSemi_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HinataNewSemi_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HinataNewSemi_target[this] ) , ( 1)) // INLINED!! if GetUnitTypeId(s__HinataNewSemi_caster[this]) == 'E07T' then call SetUnitAnimation(s__HinataNewSemi_caster[this], "Attack Slam") else @@ -59020,7 +59020,7 @@ endfunction endif set s__HinataNewShoshiken_count[this]=s__HinataNewShoshiken_count[this] + 1 if s__HinataNewShoshiken_count[this] >= 10 then - call s__PauseUnitEx__Pause_setPauseCounter((s__HinataNewShoshiken_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HinataNewShoshiken_target[this] ) , ( 0)) // INLINED!! set s__HinataNewShoshiken_target[this]=null call SelectUnitForPlayerSingle(s__HinataNewShoshiken_caster[this], GetOwningPlayer(s__HinataNewShoshiken_caster[this])) call s__HinataNewShoshiken_deallocate(this) @@ -59045,7 +59045,7 @@ endfunction call BlzSetSpecialEffectHeight(bj_lastCreatedEffect, 60) call DestroyEffect(bj_lastCreatedEffect) call UnitDamageTarget(s__HinataNewShoshiken_caster[this], s__HinataNewShoshiken_target[this], 1000 + 18 * GetHeroAgi(s__HinataNewShoshiken_caster[this], true), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) - call s__PauseUnitEx__Pause_setPauseCounter((s__HinataNewShoshiken_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HinataNewShoshiken_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__HinataNewShoshiken_caster[this], "spell one") call SetUnitTimeScale(s__HinataNewShoshiken_caster[this], 1.0) call SetUnitAnimation(s__HinataNewShoshiken_target[this], "death") @@ -59065,7 +59065,7 @@ endfunction endloop set s__HinataNewShoshiken_angle[this]=angle set s__HinataNewShoshiken_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__HinataNewShoshiken_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HinataNewShoshiken_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__HinataNewShoshiken_knockback) call ReleaseTimer(GetExpiredTimer()) endif @@ -59083,7 +59083,7 @@ endfunction call IssueTargetOrder(bj_lastCreatedUnit, "innerfire", GetTriggerUnit()) call SetUnitTimeScale(s__HinataNewShoshiken_caster[this], 3.0) call SetUnitAnimationByIndex(s__HinataNewShoshiken_caster[this], 6) - call s__PauseUnitEx__Pause_setPauseCounter((s__HinataNewShoshiken_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HinataNewShoshiken_caster[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__HinataNewShoshiken_periodic) endfunction @@ -59159,7 +59159,7 @@ endfunction call SetUnitTimeScale(s__HinataKuutenNew_caster[this], 1.00) call ResetUnitAnimation(s__HinataKuutenNew_caster[this]) call SetUnitFlyHeight(s__HinataKuutenNew_caster[this], 0.00, 6000.00) - call s__PauseUnitEx__Pause_setPauseCounter((s__HinataKuutenNew_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HinataKuutenNew_caster[this] ) , ( 0)) // INLINED!! call KillUnit(s__HinataKuutenNew_kaiten[this]) call ShowUnit(s__HinataKuutenNew_kaiten[this], false) call SetUnitVertexColor((s__HinataKuutenNew_caster[this] ), ( 255 ), ( 255 ), ( 255 ), ( 255)) // INLINED!! @@ -59180,7 +59180,7 @@ endfunction set s__HinataKuutenNew_caster[this]=GetTriggerUnit() set s__HinataKuutenNew_kaiten[this]=CreateUnit(GetTriggerPlayer(), 'ovlj', GetUnitX(s__HinataKuutenNew_caster[this]), GetUnitY(s__HinataKuutenNew_caster[this]), 270) call SetUnitTimeScale(s__HinataKuutenNew_kaiten[this], 0.25) - call s__PauseUnitEx__Pause_setPauseCounter((s__HinataKuutenNew_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HinataKuutenNew_caster[this] ) , ( 1)) // INLINED!! set s__HinataKuutenNew_count[this]=0 set s__HinataKuutenNew_damaged[this]=CreateGroup() call SetUnitInvulnerable(s__HinataKuutenNew_caster[this], true) @@ -59493,8 +59493,8 @@ function Trig_Sandaime_Shiki_Fuujin_INIT_Actions takes nothing returns nothing set udg_San_Shiki_Count=0 set udg_San_Shiki_Caster=GetTriggerUnit() set udg_San_Shiki_Target=GetSpellTargetUnit() - call s__PauseUnitEx__Pause_setPauseCounter((udg_San_Shiki_Caster ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_San_Shiki_Target ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_San_Shiki_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_San_Shiki_Target ) , ( 1)) // INLINED!! set udg_San_Shiki_Point[1]=GetUnitLoc(GetTriggerUnit()) set udg_San_Shiki_Point[2]=GetUnitLoc(GetSpellTargetUnit()) call AddLightningLoc("DRAM", udg_San_Shiki_Point[1], udg_San_Shiki_Point[2]) @@ -59524,8 +59524,8 @@ call AddSpecialEffectTargetUnitBJ(("origin" ), ( GetLastCreatedUnit() ), ( "")) call KillUnit(udg_San_Shiki_Dummy) call DestroyEffect(udg_San_Shiki_Effect) call DestroyLightning(udg_San_Shiki_Lightning) - call s__PauseUnitEx__Pause_setPauseCounter((udg_San_Shiki_Caster ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_San_Shiki_Target ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_San_Shiki_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_San_Shiki_Target ) , ( 0)) // INLINED!! if GetUnitTypeId(udg_San_Shiki_Caster) == 'H086' or GetUnitTypeId(udg_San_Shiki_Caster) == 'H072' then call UnitDamageTargetBJ(udg_San_Shiki_Caster, udg_San_Shiki_Target, ( ( 10.00 * I2R(GetHeroStatBJ(bj_HEROSTAT_INT, udg_San_Shiki_Caster, true)) ) + 600 ), ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC) call UnitDamageTargetBJ(udg_San_Shiki_Caster, udg_San_Shiki_Caster, ( GetUnitStateSwap(UNIT_STATE_MAX_LIFE, udg_San_Shiki_Caster) * 0.20 ), ATTACK_TYPE_CHAOS, DAMAGE_TYPE_UNIVERSAL) @@ -59995,7 +59995,7 @@ endfunction call KillUnit(s__HiruzenNewUltimate_clone4[this]) call ShowUnit(s__HiruzenNewUltimate_clone4[this], false) set s__HiruzenNewUltimate_clone4[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__HiruzenNewUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HiruzenNewUltimate_caster[this] ) , ( 0)) // INLINED!! set i=0 loop set i=i + 1 @@ -60078,7 +60078,7 @@ endfunction if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Hiruzen_T_Goton, 100.0, GetTriggerUnit()) endif - call s__PauseUnitEx__Pause_setPauseCounter((s__HiruzenNewUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__HiruzenNewUltimate_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__HiruzenNewUltimate_caster[this], false) call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( GetUnitX(s__HiruzenNewUltimate_caster[this]) )*1.0), (( GetUnitY(s__HiruzenNewUltimate_caster[this]))*1.0))) // INLINED!! call TimerStart(NewTimerEx(this), 0.1, false, function s__HiruzenNewUltimate_delay) @@ -60474,101 +60474,101 @@ endfunction //Implemented from module Alloc: - function s__HiruzenCageNew___Spell_allocate takes nothing returns integer + function s__HiruzenCageNew__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__HiruzenCageNew___Spell_Alloc__recycle[(0)] == 0 ) then - set s__HiruzenCageNew___Spell_Alloc__instanceCount=s__HiruzenCageNew___Spell_Alloc__instanceCount + 1 - set this=s__HiruzenCageNew___Spell_Alloc__instanceCount + if ( s__HiruzenCageNew__Spell_Alloc__recycle[(0)] == 0 ) then + set s__HiruzenCageNew__Spell_Alloc__instanceCount=s__HiruzenCageNew__Spell_Alloc__instanceCount + 1 + set this=s__HiruzenCageNew__Spell_Alloc__instanceCount else - set this=s__HiruzenCageNew___Spell_Alloc__recycle[(0)] - set s__HiruzenCageNew___Spell_Alloc__recycle[(0)]=s__HiruzenCageNew___Spell_Alloc__recycle[s__HiruzenCageNew___Spell_Alloc__recycle[(0)]] + set this=s__HiruzenCageNew__Spell_Alloc__recycle[(0)] + set s__HiruzenCageNew__Spell_Alloc__recycle[(0)]=s__HiruzenCageNew__Spell_Alloc__recycle[s__HiruzenCageNew__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__HiruzenCageNew___Spell_deallocate takes integer this returns nothing - set s__HiruzenCageNew___Spell_Alloc__recycle[this]=s__HiruzenCageNew___Spell_Alloc__recycle[(0)] - set s__HiruzenCageNew___Spell_Alloc__recycle[(0)]=this + function s__HiruzenCageNew__Spell_deallocate takes integer this returns nothing + set s__HiruzenCageNew__Spell_Alloc__recycle[this]=s__HiruzenCageNew__Spell_Alloc__recycle[(0)] + set s__HiruzenCageNew__Spell_Alloc__recycle[(0)]=this endfunction - function s__HiruzenCageNew___Spell_destroy takes integer this returns nothing - set s__HiruzenCageNew___Spell_caster[this]=null - set s__HiruzenCageNew___Spell_box[this]=null - call s__HiruzenCageNew___Spell_deallocate(this) + function s__HiruzenCageNew__Spell_destroy takes integer this returns nothing + set s__HiruzenCageNew__Spell_caster[this]=null + set s__HiruzenCageNew__Spell_box[this]=null + call s__HiruzenCageNew__Spell_deallocate(this) endfunction - function s__HiruzenCageNew___Spell_delay2 takes nothing returns nothing + function s__HiruzenCageNew__Spell_delay2 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local integer i set i=1 loop exitwhen i > 18 - call RemoveDestructable(s__HiruzenCageNew___blocks[(this)*(1)+i]) - set s__HiruzenCageNew___blocks[(this)*(1)+i]= null + call RemoveDestructable(s__HiruzenCageNew__blocks[(this)*(1)+i]) + set s__HiruzenCageNew__blocks[(this)*(1)+i]= null set i=i + 1 endloop - call KillUnit(s__HiruzenCageNew___Spell_box[this]) - call ShowUnit(s__HiruzenCageNew___Spell_caster[this], true) - if IsUnitEnemy(s__HiruzenCageNew___Spell_target[this], GetOwningPlayer(s__HiruzenCageNew___Spell_caster[this])) then + call KillUnit(s__HiruzenCageNew__Spell_box[this]) + call ShowUnit(s__HiruzenCageNew__Spell_caster[this], true) + if IsUnitEnemy(s__HiruzenCageNew__Spell_target[this], GetOwningPlayer(s__HiruzenCageNew__Spell_caster[this])) then else - call s__PauseUnitEx__Pause_setPauseCounter((s__HiruzenCageNew___Spell_target[this] ) , ( 0)) // INLINED!! - call SetUnitInvulnerable(s__HiruzenCageNew___Spell_target[this], false) + call s__PauseUnitEx___Pause_setPauseCounter((s__HiruzenCageNew__Spell_target[this] ) , ( 0)) // INLINED!! + call SetUnitInvulnerable(s__HiruzenCageNew__Spell_target[this], false) endif - call SelectUnitForPlayerSingle(s__HiruzenCageNew___Spell_caster[this], GetOwningPlayer(s__HiruzenCageNew___Spell_caster[this])) + call SelectUnitForPlayerSingle(s__HiruzenCageNew__Spell_caster[this], GetOwningPlayer(s__HiruzenCageNew__Spell_caster[this])) - set s__HiruzenCageNew___Spell_target[this]=null - call s__HiruzenCageNew___Spell_destroy(this) + set s__HiruzenCageNew__Spell_target[this]=null + call s__HiruzenCageNew__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__HiruzenCageNew___Spell_delay1 takes nothing returns nothing + function s__HiruzenCageNew__Spell_delay1 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real new_x local real new_y local integer i - set s__HiruzenCageNew___Spell_box[this]=CreateUnit(GetOwningPlayer(s__HiruzenCageNew___Spell_caster[this]), 'h03M', s__HiruzenCageNew___Spell_target_x[this], s__HiruzenCageNew___Spell_target_y[this], 270) - call SetUnitTimeScale(s__HiruzenCageNew___Spell_box[this], 100000000.00) - call SetUnitScale(s__HiruzenCageNew___Spell_box[this], 3.00, 0, 0) - call SetUnitX(s__HiruzenCageNew___Spell_box[this], s__HiruzenCageNew___Spell_target_x[this]) - call SetUnitY(s__HiruzenCageNew___Spell_box[this], s__HiruzenCageNew___Spell_target_y[this]) + set s__HiruzenCageNew__Spell_box[this]=CreateUnit(GetOwningPlayer(s__HiruzenCageNew__Spell_caster[this]), 'h03M', s__HiruzenCageNew__Spell_target_x[this], s__HiruzenCageNew__Spell_target_y[this], 270) + call SetUnitTimeScale(s__HiruzenCageNew__Spell_box[this], 100000000.00) + call SetUnitScale(s__HiruzenCageNew__Spell_box[this], 3.00, 0, 0) + call SetUnitX(s__HiruzenCageNew__Spell_box[this], s__HiruzenCageNew__Spell_target_x[this]) + call SetUnitY(s__HiruzenCageNew__Spell_box[this], s__HiruzenCageNew__Spell_target_y[this]) set i=1 loop exitwhen i > 18 - set new_x=s__HiruzenCageNew___Spell_target_x[this] + Cos(i * 20 * bj_DEGTORAD) * 200 - set new_y=s__HiruzenCageNew___Spell_target_y[this] + Sin(i * 20 * bj_DEGTORAD) * 200 - set s__HiruzenCageNew___blocks[(this)*(1)+i]= CreateDestructable('YTfc', new_x, new_y, 20 * i, 1.0, 0) + set new_x=s__HiruzenCageNew__Spell_target_x[this] + Cos(i * 20 * bj_DEGTORAD) * 200 + set new_y=s__HiruzenCageNew__Spell_target_y[this] + Sin(i * 20 * bj_DEGTORAD) * 200 + set s__HiruzenCageNew__blocks[(this)*(1)+i]= CreateDestructable('YTfc', new_x, new_y, 20 * i, 1.0, 0) set i=i + 1 endloop - call TimerStartEx(NewTimerEx(this) , 2.0 , false , function s__HiruzenCageNew___Spell_delay2 , "AdamantineStaff_delay2") + call TimerStartEx(NewTimerEx(this) , 2.0 , false , function s__HiruzenCageNew__Spell_delay2 , "AdamantineStaff_delay2") call ReleaseTimer(GetExpiredTimer()) endfunction - function s__HiruzenCageNew___Spell_actions takes nothing returns nothing - local integer this= s__HiruzenCageNew___Spell_allocate() + function s__HiruzenCageNew__Spell_actions takes nothing returns nothing + local integer this= s__HiruzenCageNew__Spell_allocate() local real caster_x local real caster_y - set s__HiruzenCageNew___Spell_caster[this]=GetTriggerUnit() - set s__HiruzenCageNew___Spell_target[this]=GetSpellTargetUnit() - set s__HiruzenCageNew___Spell_target_x[this]=GetUnitX(GetSpellTargetUnit()) - set s__HiruzenCageNew___Spell_target_y[this]=GetUnitY(GetSpellTargetUnit()) - set caster_x=GetUnitX(s__HiruzenCageNew___Spell_caster[this]) - set caster_y=GetUnitY(s__HiruzenCageNew___Spell_caster[this]) - if IsUnitEnemy(s__HiruzenCageNew___Spell_target[this], GetOwningPlayer(s__HiruzenCageNew___Spell_caster[this])) then + set s__HiruzenCageNew__Spell_caster[this]=GetTriggerUnit() + set s__HiruzenCageNew__Spell_target[this]=GetSpellTargetUnit() + set s__HiruzenCageNew__Spell_target_x[this]=GetUnitX(GetSpellTargetUnit()) + set s__HiruzenCageNew__Spell_target_y[this]=GetUnitY(GetSpellTargetUnit()) + set caster_x=GetUnitX(s__HiruzenCageNew__Spell_caster[this]) + set caster_y=GetUnitY(s__HiruzenCageNew__Spell_caster[this]) + if IsUnitEnemy(s__HiruzenCageNew__Spell_target[this], GetOwningPlayer(s__HiruzenCageNew__Spell_caster[this])) then else - call SetUnitInvulnerable(s__HiruzenCageNew___Spell_target[this], true) + call SetUnitInvulnerable(s__HiruzenCageNew__Spell_target[this], true) endif - call ShowUnit(s__HiruzenCageNew___Spell_caster[this], false) - call TimerStartEx(NewTimerEx(this) , 0.05 , false , function s__HiruzenCageNew___Spell_delay1 , "AdamantineStaff_delay1") + call ShowUnit(s__HiruzenCageNew__Spell_caster[this], false) + call TimerStartEx(NewTimerEx(this) , 0.05 , false , function s__HiruzenCageNew__Spell_delay1 , "AdamantineStaff_delay1") endfunction - function s__HiruzenCageNew___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEvent2((s__HiruzenCageNew___Spell_SPELL_ID ) , Filter(( function s__HiruzenCageNew___Spell_actions))) // INLINED!! + function s__HiruzenCageNew__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEvent2((s__HiruzenCageNew__Spell_SPELL_ID ) , Filter(( function s__HiruzenCageNew__Spell_actions))) // INLINED!! endfunction @@ -60608,7 +60608,7 @@ function Trig_Mind_Distraction_INIT_Actions takes nothing returns nothing call RemoveLocation(udg_MD_Point[2]) call IssueImmediateOrder(udg_MD_Caster, "stop") call SetUnitAnimation(udg_MD_Caster, "Spell Channel") - call s__PauseUnitEx__Pause_setPauseCounter((udg_MD_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_MD_Caster ) , ( 1)) // INLINED!! call EnableTrigger(gg_trg_Mind_Distraction_Loop) call TriggerSleepAction(0.35) //call CreateNUnitsAtLoc( 1, 'h007', GetOwningPlayer(udg_MD_Caster), udg_MD_Point[1], bj_UNIT_FACING ) @@ -60629,8 +60629,8 @@ function Trig_Mind_Distraction_INIT_Actions takes nothing returns nothing set udg_MD_Group=GetUnitsInRectMatching(udg_MD_Rect, Condition(function Trig_Mind_Distraction_INIT_Func027002002)) call ForGroupBJ(udg_MD_Group, function Trig_Mind_Distraction_INIT_Func028A) call RemoveRect(udg_MD_Rect) - call s__PauseUnitEx__Pause_setPauseCounter((udg_MD_Caster ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_MD_Target ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_MD_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_MD_Target ) , ( 0)) // INLINED!! call ResetUnitAnimation(udg_MD_Caster) call ResetUnitAnimation(udg_MD_Target) call TriggerSleepAction(0.50) @@ -61498,7 +61498,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 8.0)*1.0)) // INLINED!! call DestroyEffect(s__IrukaChakraJump_e[this]) set s__IrukaChakraJump_e[this]=null call SetUnitTimeScale(s__IrukaChakraJump_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__IrukaChakraJump_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__IrukaChakraJump_caster[this] ) , ( 0)) // INLINED!! //call SetUnitInvulnerable(this.caster, false) set s__IrukaChakraJump_count[this]=0 //set bj_lastCreatedEffect = AddSpecialEffect("DustWave.mdx", this.target_x, this.target_y) @@ -61523,7 +61523,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 8.0)*1.0)) // INLINED!! set s__IrukaChakraJump_caster_y[this]=GetUnitY(s__IrukaChakraJump_caster[this]) set s__IrukaChakraJump_count[this]=0 set s__IrukaChakraJump_damaged[this]=CreateGroup() - call s__PauseUnitEx__Pause_setPauseCounter((s__IrukaChakraJump_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__IrukaChakraJump_caster[this] ) , ( 1)) // INLINED!! //call SetUnitInvulnerable(this.caster, true) call SetUnitAnimation(s__IrukaChakraJump_caster[this], "walk") //call SetUnitTimeScale(this.caster, 1.5) @@ -61840,7 +61840,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 8.0)*1.0)) // INLINED!! exitwhen FOG == null call SetUnitVertexColor(FOG, 255, 255, 255, 255) - call s__PauseUnitEx__Pause_setPauseCounter((FOG ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((FOG ) , ( 0)) // INLINED!! call GroupRemoveUnit(s__IrukaTrap_damaged[this], FOG) endloop @@ -61867,7 +61867,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 8.0)*1.0)) // INLINED!! if IsUnitEnemy(FOG, GetOwningPlayer(s__IrukaTrap_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_HERO) == true then - call s__PauseUnitEx__Pause_setPauseCounter((FOG ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((FOG ) , ( 1)) // INLINED!! call SetUnitVertexColor(bj_lastCreatedUnit, 100, 100, 100, 255) call GroupAddUnit(s__IrukaTrap_damaged[this], FOG) set count=count + 1 @@ -62226,7 +62226,7 @@ function Trig_Itachi_Amaterasu_INIT_Actions takes nothing returns nothing endif set udg_ITA_AMATE_Caster=GetTriggerUnit() set udg_ITA_AMATE_Point[1]=GetUnitLoc(udg_ITA_AMATE_Caster) - call s__PauseUnitEx__Pause_setPauseCounter((udg_ITA_AMATE_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_ITA_AMATE_Caster ) , ( 1)) // INLINED!! //call UnitDamageTargetBJ( udg_ITA_AMATE_Caster, udg_ITA_AMATE_Caster, ( GetUnitStateSwap(UNIT_STATE_MAX_LIFE, udg_ITA_AMATE_Caster) * 0.20 ), ATTACK_TYPE_CHAOS, DAMAGE_TYPE_UNIVERSAL ) set bj_forLoopAIndex=1 set bj_forLoopAIndexEnd=48 @@ -62243,7 +62243,7 @@ function Trig_Itachi_Amaterasu_INIT_Actions takes nothing returns nothing set bj_forLoopAIndex=bj_forLoopAIndex + 1 endloop call DestroyEffect(AddSpecialEffect(("NSAW SFX Itachi_SharinganAmaterasu.mdx" ), (( GetUnitX(udg_ITA_AMATE_Caster) )*1.0), (( GetUnitY(udg_ITA_AMATE_Caster))*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_ITA_AMATE_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_ITA_AMATE_Caster ) , ( 0)) // INLINED!! set bj_forLoopAIndex=1 set bj_forLoopAIndexEnd=12 loop @@ -62863,7 +62863,7 @@ function Trig_ItachiCrow_Actions takes nothing returns nothing set udg_units28[2]=CreateUnit(GetTriggerPlayer(), 'e007', GetSpellTargetX(), GetSpellTargetY(), 270) endif call TriggerSleepAction(0.05) - call GroupClear(ItachiCrow___ItachiCrowDamage) + call GroupClear(ItachiCrow__ItachiCrowDamage) set udg_ItachiDummy=CreateUnit(GetTriggerPlayer(), 'e00A', GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), GetUnitFacing(GetTriggerUnit())) call SetUnitState(udg_ItachiDummy, UNIT_STATE_MAX_LIFE, GetUnitState(GetTriggerUnit(), UNIT_STATE_MAX_LIFE)) call SetUnitState(udg_ItachiDummy, UNIT_STATE_MAX_MANA, GetUnitState(GetTriggerUnit(), UNIT_STATE_MAX_MANA)) @@ -62956,9 +62956,9 @@ call AddSpecialEffectLocBJ((GetUnitLoc(udg_units28[1]) ), ( "Abilities\\Spells\\ loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(udg_units28[1])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitInGroup(bj_lastCreatedUnit, ItachiCrow___ItachiCrowDamage) then + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(udg_units28[1])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitInGroup(bj_lastCreatedUnit, ItachiCrow__ItachiCrowDamage) then call UnitDamageTargetBJ(udg_units28[1], bj_lastCreatedUnit, I2R(( 100 * GetUnitAbilityLevel(udg_units28[1], 'A003') )), ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC) - call GroupAddUnit(ItachiCrow___ItachiCrowDamage, bj_lastCreatedUnit) + call GroupAddUnit(ItachiCrow__ItachiCrowDamage, bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop @@ -63277,7 +63277,7 @@ call AddSpecialEffectLocBJ((udg_locations18[1] ), ( "FireCrack.mdx")) // INLINED call TriggerSleepAction(0.10) set udg_unit24=CreateUnitAtLoc(GetOwningPlayer(GetTriggerUnit()), 'ndtp', udg_locations18[0], GetUnitFacing(GetTriggerUnit())) call SetUnitAnimation(udg_unit24, "birth") - call s__PauseUnitEx__Pause_setPauseCounter((udg_unit24 ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_unit24 ) , ( 1)) // INLINED!! set udg_unit30=CreateUnitAtLoc(GetOwningPlayer(GetTriggerUnit()), 'n00E', udg_locations18[0], GetUnitFacing(GetTriggerUnit())) call TimerStart((NewTimerEx(0)), 0.05, true, function Trig_ItachiSusanoo_2_Actions) // INLINED!! //call SetUnitVertexColorBJEx(udg_unit24,100,70.00,70.00,50.00) @@ -63610,7 +63610,7 @@ endfunction function s__ItachiRevanSlashNew_delay2 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__ItachiRevanSlashNew_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ItachiRevanSlashNew_caster[this] ) , ( 0)) // INLINED!! //call PauseUnit(this.target, false) call SetUnitAnimation(s__ItachiRevanSlashNew_target[this], "death") call UnitRemoveAbility(s__ItachiRevanSlashNew_caster[this], 'A02Q') @@ -63824,7 +63824,7 @@ endfunction set s__ItachiRevanCrow_crows[this]=null call DestroyGroup(s__ItachiRevanCrow_damaged[this]) set s__ItachiRevanCrow_damaged[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__ItachiRevanCrow_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ItachiRevanCrow_caster[this] ) , ( 0)) // INLINED!! call ShowUnit(s__ItachiRevanCrow_caster[this], true) call SetUnitInvulnerable(s__ItachiRevanCrow_caster[this], false) call SelectUnitForPlayerSingle(s__ItachiRevanCrow_caster[this], GetOwningPlayer(s__ItachiRevanCrow_caster[this])) @@ -63857,7 +63857,7 @@ endfunction call GroupAddUnit(s__ItachiRevanCrow_crows[this], bj_lastCreatedUnit) set i=i + 1 endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__ItachiRevanCrow_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ItachiRevanCrow_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__ItachiRevanCrow_caster[this], false) call SetUnitInvulnerable(s__ItachiRevanCrow_caster[this], true) call TimerStart(NewTimerEx(this), 0.03, true, function s__ItachiRevanCrow_periodic) @@ -63875,50 +63875,50 @@ endfunction //Implemented from module Alloc: - function s__RevanCrowRNew___Spell_allocate takes nothing returns integer + function s__RevanCrowRNew__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__RevanCrowRNew___Spell_Alloc__recycle[(0)] == 0 ) then - set s__RevanCrowRNew___Spell_Alloc__instanceCount=s__RevanCrowRNew___Spell_Alloc__instanceCount + 1 - set this=s__RevanCrowRNew___Spell_Alloc__instanceCount + if ( s__RevanCrowRNew__Spell_Alloc__recycle[(0)] == 0 ) then + set s__RevanCrowRNew__Spell_Alloc__instanceCount=s__RevanCrowRNew__Spell_Alloc__instanceCount + 1 + set this=s__RevanCrowRNew__Spell_Alloc__instanceCount else - set this=s__RevanCrowRNew___Spell_Alloc__recycle[(0)] - set s__RevanCrowRNew___Spell_Alloc__recycle[(0)]=s__RevanCrowRNew___Spell_Alloc__recycle[s__RevanCrowRNew___Spell_Alloc__recycle[(0)]] + set this=s__RevanCrowRNew__Spell_Alloc__recycle[(0)] + set s__RevanCrowRNew__Spell_Alloc__recycle[(0)]=s__RevanCrowRNew__Spell_Alloc__recycle[s__RevanCrowRNew__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__RevanCrowRNew___Spell_deallocate takes integer this returns nothing - set s__RevanCrowRNew___Spell_Alloc__recycle[this]=s__RevanCrowRNew___Spell_Alloc__recycle[(0)] - set s__RevanCrowRNew___Spell_Alloc__recycle[(0)]=this + function s__RevanCrowRNew__Spell_deallocate takes integer this returns nothing + set s__RevanCrowRNew__Spell_Alloc__recycle[this]=s__RevanCrowRNew__Spell_Alloc__recycle[(0)] + set s__RevanCrowRNew__Spell_Alloc__recycle[(0)]=this endfunction - function s__RevanCrowRNew___Spell_dealDamage takes nothing returns boolean + function s__RevanCrowRNew__Spell_dealDamage takes nothing returns boolean local real unit_x local real unit_y - if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__RevanCrowRNew___Spell_caster[s__RevanCrowRNew___Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 then + if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__RevanCrowRNew__Spell_caster[s__RevanCrowRNew__Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 then set unit_x=GetUnitX(GetFilterUnit()) set unit_y=GetUnitY(GetFilterUnit()) - if UnitHasItemOfTypeBJ(s__RevanCrowRNew___Spell_caster[s__RevanCrowRNew___Spell_instance], 'I032') or UnitHasItemOfTypeBJ(s__RevanCrowRNew___Spell_caster[s__RevanCrowRNew___Spell_instance], 'I02Y') or UnitHasItemOfTypeBJ(s__RevanCrowRNew___Spell_caster[s__RevanCrowRNew___Spell_instance], 'I02W') or UnitHasItemOfTypeBJ(s__RevanCrowRNew___Spell_caster[s__RevanCrowRNew___Spell_instance], 'I058') or UnitHasItemOfTypeBJ(s__RevanCrowRNew___Spell_caster[s__RevanCrowRNew___Spell_instance], 'I00L') then - call UnitDamageTarget(s__RevanCrowRNew___Spell_caster[s__RevanCrowRNew___Spell_instance], GetFilterUnit(), 3 * GetHeroInt(s__RevanCrowRNew___Spell_caster[s__RevanCrowRNew___Spell_instance], true) + 800 * GetUnitAbilityLevel(s__RevanCrowRNew___Spell_caster[s__RevanCrowRNew___Spell_instance], s__RevanCrowRNew___Spell_SPELL_ID), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + if UnitHasItemOfTypeBJ(s__RevanCrowRNew__Spell_caster[s__RevanCrowRNew__Spell_instance], 'I032') or UnitHasItemOfTypeBJ(s__RevanCrowRNew__Spell_caster[s__RevanCrowRNew__Spell_instance], 'I02Y') or UnitHasItemOfTypeBJ(s__RevanCrowRNew__Spell_caster[s__RevanCrowRNew__Spell_instance], 'I02W') or UnitHasItemOfTypeBJ(s__RevanCrowRNew__Spell_caster[s__RevanCrowRNew__Spell_instance], 'I058') or UnitHasItemOfTypeBJ(s__RevanCrowRNew__Spell_caster[s__RevanCrowRNew__Spell_instance], 'I00L') then + call UnitDamageTarget(s__RevanCrowRNew__Spell_caster[s__RevanCrowRNew__Spell_instance], GetFilterUnit(), 3 * GetHeroInt(s__RevanCrowRNew__Spell_caster[s__RevanCrowRNew__Spell_instance], true) + 800 * GetUnitAbilityLevel(s__RevanCrowRNew__Spell_caster[s__RevanCrowRNew__Spell_instance], s__RevanCrowRNew__Spell_SPELL_ID), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) else - call UnitDamageTarget(s__RevanCrowRNew___Spell_caster[s__RevanCrowRNew___Spell_instance], GetFilterUnit(), 800 * GetUnitAbilityLevel(s__RevanCrowRNew___Spell_caster[s__RevanCrowRNew___Spell_instance], s__RevanCrowRNew___Spell_SPELL_ID), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__RevanCrowRNew__Spell_caster[s__RevanCrowRNew__Spell_instance], GetFilterUnit(), 800 * GetUnitAbilityLevel(s__RevanCrowRNew__Spell_caster[s__RevanCrowRNew__Spell_instance], s__RevanCrowRNew__Spell_SPELL_ID), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) endif endif return false endfunction - function s__RevanCrowRNew___Spell_destroy takes integer this returns nothing - set s__RevanCrowRNew___Spell_caster[this]=null - set s__RevanCrowRNew___Spell_meteor[this]=null - call s__RevanCrowRNew___Spell_deallocate(this) + function s__RevanCrowRNew__Spell_destroy takes integer this returns nothing + set s__RevanCrowRNew__Spell_caster[this]=null + set s__RevanCrowRNew__Spell_meteor[this]=null + call s__RevanCrowRNew__Spell_deallocate(this) endfunction - function s__RevanCrowRNew___Spell_shake takes nothing returns nothing + function s__RevanCrowRNew__Spell_shake takes nothing returns nothing local integer i= 0 loop exitwhen i > 11 @@ -63928,7 +63928,7 @@ endfunction call ReleaseTimer(GetExpiredTimer()) endfunction - function s__RevanCrowRNew___Spell_damage takes nothing returns nothing + function s__RevanCrowRNew__Spell_damage takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real new_x local real new_y @@ -63938,57 +63938,57 @@ endfunction local real unit_y local unit u set bj_lastCreatedGroup=CreateGroup() - set s__RevanCrowRNew___Spell_instance=this - call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__RevanCrowRNew___Spell_target_x[this], s__RevanCrowRNew___Spell_target_y[this], 350.0, Filter(function s__RevanCrowRNew___Spell_dealDamage)) + set s__RevanCrowRNew__Spell_instance=this + call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__RevanCrowRNew__Spell_target_x[this], s__RevanCrowRNew__Spell_target_y[this], 350.0, Filter(function s__RevanCrowRNew__Spell_dealDamage)) call DestroyGroup(bj_lastCreatedGroup) - call DestroyEffect(AddSpecialEffect(("war3mapImported\\Ground Crack Big.mdx" ), (( s__RevanCrowRNew___Spell_target_x[this] )*1.0), (( s__RevanCrowRNew___Spell_target_y[this])*1.0))) // INLINED!! - call DestroyEffect(AddSpecialEffect(("FireAnimation.mdx" ), (( s__RevanCrowRNew___Spell_target_x[this] )*1.0), (( s__RevanCrowRNew___Spell_target_y[this])*1.0))) // INLINED!! + call DestroyEffect(AddSpecialEffect(("war3mapImported\\Ground Crack Big.mdx" ), (( s__RevanCrowRNew__Spell_target_x[this] )*1.0), (( s__RevanCrowRNew__Spell_target_y[this])*1.0))) // INLINED!! + call DestroyEffect(AddSpecialEffect(("FireAnimation.mdx" ), (( s__RevanCrowRNew__Spell_target_x[this] )*1.0), (( s__RevanCrowRNew__Spell_target_y[this])*1.0))) // INLINED!! set i=0 loop exitwhen i > 11 call CameraSetEQNoiseForPlayer(Player(i), 4.00) set i=i + 1 endloop - call SlowArea(s__RevanCrowRNew___Spell_caster[this] , s__RevanCrowRNew___Spell_target_x[this] , s__RevanCrowRNew___Spell_target_y[this] , 350.0) - call UnitApplyTimedLife(s__RevanCrowRNew___Spell_meteor[this], 'BTLF', 1.0) - call TimerStart(CreateTimer(), 1.0, false, function s__RevanCrowRNew___Spell_shake) - call s__RevanCrowRNew___Spell_destroy(this) + call SlowArea(s__RevanCrowRNew__Spell_caster[this] , s__RevanCrowRNew__Spell_target_x[this] , s__RevanCrowRNew__Spell_target_y[this] , 350.0) + call UnitApplyTimedLife(s__RevanCrowRNew__Spell_meteor[this], 'BTLF', 1.0) + call TimerStart(CreateTimer(), 1.0, false, function s__RevanCrowRNew__Spell_shake) + call s__RevanCrowRNew__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) set u=null endfunction - function s__RevanCrowRNew___Spell_create_meteor takes nothing returns nothing + function s__RevanCrowRNew__Spell_create_meteor takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - set s__RevanCrowRNew___Spell_meteor[this]=CreateUnit(GetOwningPlayer(s__RevanCrowRNew___Spell_caster[this]), 'h0AL', s__RevanCrowRNew___Spell_target_x[this], s__RevanCrowRNew___Spell_target_y[this], s__RevanCrowRNew___Spell_angle[this]) - call SetUnitX(s__RevanCrowRNew___Spell_meteor[this], s__RevanCrowRNew___Spell_target_x[this]) - call SetUnitY(s__RevanCrowRNew___Spell_meteor[this], s__RevanCrowRNew___Spell_target_y[this]) - call UnitAddAbility(s__RevanCrowRNew___Spell_meteor[this], 'Arav') - call UnitRemoveAbility(s__RevanCrowRNew___Spell_meteor[this], 'Arav') - call SetUnitFlyHeight(s__RevanCrowRNew___Spell_meteor[this], 1000, 0) - call SetUnitFlyHeight(s__RevanCrowRNew___Spell_meteor[this], 300, 1400) - call SetUnitAnimation(s__RevanCrowRNew___Spell_meteor[this], "walk") - call TimerStart(NewTimerEx(this), 0.5, false, function s__RevanCrowRNew___Spell_damage) + set s__RevanCrowRNew__Spell_meteor[this]=CreateUnit(GetOwningPlayer(s__RevanCrowRNew__Spell_caster[this]), 'h0AL', s__RevanCrowRNew__Spell_target_x[this], s__RevanCrowRNew__Spell_target_y[this], s__RevanCrowRNew__Spell_angle[this]) + call SetUnitX(s__RevanCrowRNew__Spell_meteor[this], s__RevanCrowRNew__Spell_target_x[this]) + call SetUnitY(s__RevanCrowRNew__Spell_meteor[this], s__RevanCrowRNew__Spell_target_y[this]) + call UnitAddAbility(s__RevanCrowRNew__Spell_meteor[this], 'Arav') + call UnitRemoveAbility(s__RevanCrowRNew__Spell_meteor[this], 'Arav') + call SetUnitFlyHeight(s__RevanCrowRNew__Spell_meteor[this], 1000, 0) + call SetUnitFlyHeight(s__RevanCrowRNew__Spell_meteor[this], 300, 1400) + call SetUnitAnimation(s__RevanCrowRNew__Spell_meteor[this], "walk") + call TimerStart(NewTimerEx(this), 0.5, false, function s__RevanCrowRNew__Spell_damage) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__RevanCrowRNew___Spell_actions takes nothing returns nothing - local integer this= s__RevanCrowRNew___Spell_allocate() - set s__RevanCrowRNew___Spell_caster[this]=GetTriggerUnit() - set s__RevanCrowRNew___Spell_target_x[this]=GetSpellTargetX() - set s__RevanCrowRNew___Spell_target_y[this]=GetSpellTargetY() - set s__RevanCrowRNew___Spell_angle[this]=GetUnitFacing(s__RevanCrowRNew___Spell_caster[this]) - call SetUnitAnimation(s__RevanCrowRNew___Spell_caster[this], "spell") + function s__RevanCrowRNew__Spell_actions takes nothing returns nothing + local integer this= s__RevanCrowRNew__Spell_allocate() + set s__RevanCrowRNew__Spell_caster[this]=GetTriggerUnit() + set s__RevanCrowRNew__Spell_target_x[this]=GetSpellTargetX() + set s__RevanCrowRNew__Spell_target_y[this]=GetSpellTargetY() + set s__RevanCrowRNew__Spell_angle[this]=GetUnitFacing(s__RevanCrowRNew__Spell_caster[this]) + call SetUnitAnimation(s__RevanCrowRNew__Spell_caster[this], "spell") if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Itachi_R, 100.0, GetTriggerUnit()) endif - set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), 'h05O', s__RevanCrowRNew___Spell_target_x[this], s__RevanCrowRNew___Spell_target_y[this], 270) + set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), 'h05O', s__RevanCrowRNew__Spell_target_x[this], s__RevanCrowRNew__Spell_target_y[this], 270) call SetUnitAnimation(bj_lastCreatedUnit, "birth") call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 1.75) - call TimerStart(NewTimerEx(this), 0.5, true, function s__RevanCrowRNew___Spell_create_meteor) + call TimerStart(NewTimerEx(this), 0.5, true, function s__RevanCrowRNew__Spell_create_meteor) endfunction - function s__RevanCrowRNew___Spell_death takes nothing returns nothing + function s__RevanCrowRNew__Spell_death takes nothing returns nothing local real new_x local real new_y local integer i= 0 @@ -64011,8 +64011,8 @@ endfunction endfunction - function s__RevanCrowRNew___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(69 , s__RevanCrowRNew___Spell_SPELL_ID , function s__RevanCrowRNew___Spell_actions) + function s__RevanCrowRNew__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(69 , s__RevanCrowRNew__Spell_SPELL_ID , function s__RevanCrowRNew__Spell_actions) //call RegisterPlayerUnitEvent(EVENT_PLAYER_UNIT_DEATH, function thistype.death) endfunction @@ -64077,7 +64077,7 @@ endfunction call SetUnitX(s__ItachiRevanCrowClone_itachi, x2) call SetUnitY(s__ItachiRevanCrowClone_itachi, y2) set id=(GetUnitUserData((s__ItachiRevanCrowClone_itachi))) // INLINED!! - call IssuePointOrder(u, "move", s__ItachiRevanCrowCloneScope___order_x[id], s__ItachiRevanCrowCloneScope___order_y[id]) + call IssuePointOrder(u, "move", s__ItachiRevanCrowCloneScope__order_x[id], s__ItachiRevanCrowCloneScope__order_y[id]) //call IssueImmediateOrder(itachi, "stop") endif set u=null @@ -64151,8 +64151,8 @@ endfunction local integer id if IsUnitType(GetTriggerUnit(), UNIT_TYPE_HERO) == true then set id=(GetUnitUserData((GetTriggerUnit()))) // INLINED!! - set s__ItachiRevanCrowCloneScope___order_x[id]= GetOrderPointX() - set s__ItachiRevanCrowCloneScope___order_y[id]= GetOrderPointY() + set s__ItachiRevanCrowCloneScope__order_x[id]= GetOrderPointX() + set s__ItachiRevanCrowCloneScope__order_y[id]= GetOrderPointY() endif endfunction @@ -64234,7 +64234,7 @@ function Trig_JiraiyaHariJizo_Actions takes nothing returns nothing set udg_units31[172]=GetTriggerUnit() call SetUnitAnimation(GetTriggerUnit(), "attack slam") call TriggerSleepAction(0.10) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! call SetUnitInvulnerable(GetTriggerUnit(), true) set udg_locations06[35]=GetUnitLoc(GetTriggerUnit()) set bj_forLoopAIndex=1 @@ -64249,7 +64249,7 @@ function Trig_JiraiyaHariJizo_Actions takes nothing returns nothing call EnableTrigger(udg_trigger287) call TriggerSleepAction(2.00) call DisableTrigger(udg_trigger287) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! call SetUnitInvulnerable(GetTriggerUnit(), false) call RemoveLocation(udg_locations03[35]) endfunction @@ -64466,7 +64466,7 @@ endfunction if s__JirayaNewW_count[this] > 10 then call DestroyEffect(AddSpecialEffect(("war3mapImported\\bwaxec.mdx" ), (( x )*1.0), (( y)*1.0))) // INLINED!! call StunUnitTimed(s__JirayaNewW_caster[this] , s__JirayaNewW_target[this] , 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__JirayaNewW_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JirayaNewW_target[this] ) , ( 0)) // INLINED!! set s__JirayaNewW_target[this]=null call s__JirayaNewW_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -64511,11 +64511,11 @@ endfunction endloop call DestroyGroup(bj_lastCreatedGroup) set s__JirayaNewW_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__JirayaNewW_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JirayaNewW_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__JirayaNewW_caster[this], 1.0) call DestroyEffect(s__JirayaNewW_rasengan[this]) set s__JirayaNewW_rasengan[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__JirayaNewW_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JirayaNewW_target[this] ) , ( 1)) // INLINED!! set s__JirayaNewW_angle[this]=angle call TimerStart(NewTimerEx(this), 0.03, true, function s__JirayaNewW_knockback) call ReleaseTimer(GetExpiredTimer()) @@ -64528,7 +64528,7 @@ endfunction set s__JirayaNewW_target[this]=GetSpellTargetUnit() set s__JirayaNewW_count[this]=0 call SetUnitTimeScale(s__JirayaNewW_caster[this], 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__JirayaNewW_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JirayaNewW_caster[this] ) , ( 1)) // INLINED!! set s__JirayaNewW_rasengan[this]=AddSpecialEffectTarget("war3mapImported\\lxw jhxcom_2000.mdx", s__JirayaNewW_caster[this], "right,hand") call TimerStart(NewTimerEx(this), 0.03, true, function s__JirayaNewW_periodic) endfunction @@ -64545,50 +64545,50 @@ endfunction //Implemented from module Alloc: - function s__JirayaFrogCart___Spell_allocate takes nothing returns integer + function s__JirayaFrogCart__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__JirayaFrogCart___Spell_Alloc__recycle[(0)] == 0 ) then - set s__JirayaFrogCart___Spell_Alloc__instanceCount=s__JirayaFrogCart___Spell_Alloc__instanceCount + 1 - set this=s__JirayaFrogCart___Spell_Alloc__instanceCount + if ( s__JirayaFrogCart__Spell_Alloc__recycle[(0)] == 0 ) then + set s__JirayaFrogCart__Spell_Alloc__instanceCount=s__JirayaFrogCart__Spell_Alloc__instanceCount + 1 + set this=s__JirayaFrogCart__Spell_Alloc__instanceCount else - set this=s__JirayaFrogCart___Spell_Alloc__recycle[(0)] - set s__JirayaFrogCart___Spell_Alloc__recycle[(0)]=s__JirayaFrogCart___Spell_Alloc__recycle[s__JirayaFrogCart___Spell_Alloc__recycle[(0)]] + set this=s__JirayaFrogCart__Spell_Alloc__recycle[(0)] + set s__JirayaFrogCart__Spell_Alloc__recycle[(0)]=s__JirayaFrogCart__Spell_Alloc__recycle[s__JirayaFrogCart__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__JirayaFrogCart___Spell_deallocate takes integer this returns nothing - set s__JirayaFrogCart___Spell_Alloc__recycle[this]=s__JirayaFrogCart___Spell_Alloc__recycle[(0)] - set s__JirayaFrogCart___Spell_Alloc__recycle[(0)]=this + function s__JirayaFrogCart__Spell_deallocate takes integer this returns nothing + set s__JirayaFrogCart__Spell_Alloc__recycle[this]=s__JirayaFrogCart__Spell_Alloc__recycle[(0)] + set s__JirayaFrogCart__Spell_Alloc__recycle[(0)]=this endfunction - function s__JirayaFrogCart___Spell_dealDamage takes nothing returns boolean + function s__JirayaFrogCart__Spell_dealDamage takes nothing returns boolean local real unit_x local real unit_y set unit_x=GetUnitX(GetFilterUnit()) set unit_y=GetUnitY(GetFilterUnit()) - if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__JirayaFrogCart___Spell_caster[s__JirayaFrogCart___Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 then - if GetUnitAbilityLevel(s__JirayaFrogCart___Spell_caster[s__JirayaFrogCart___Spell_instance], 'A0B4') > 0 then - call UnitDamageTarget(s__JirayaFrogCart___Spell_caster[s__JirayaFrogCart___Spell_instance], GetFilterUnit(), GetHeroStr(s__JirayaFrogCart___Spell_caster[s__JirayaFrogCart___Spell_instance], true) * GetUnitAbilityLevel(s__JirayaFrogCart___Spell_caster[s__JirayaFrogCart___Spell_instance], s__JirayaFrogCart___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__JirayaFrogCart__Spell_caster[s__JirayaFrogCart__Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 then + if GetUnitAbilityLevel(s__JirayaFrogCart__Spell_caster[s__JirayaFrogCart__Spell_instance], 'A0B4') > 0 then + call UnitDamageTarget(s__JirayaFrogCart__Spell_caster[s__JirayaFrogCart__Spell_instance], GetFilterUnit(), GetHeroStr(s__JirayaFrogCart__Spell_caster[s__JirayaFrogCart__Spell_instance], true) * GetUnitAbilityLevel(s__JirayaFrogCart__Spell_caster[s__JirayaFrogCart__Spell_instance], s__JirayaFrogCart__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) else - call UnitDamageTarget(s__JirayaFrogCart___Spell_caster[s__JirayaFrogCart___Spell_instance], GetFilterUnit(), ( 50 + GetHeroStr(s__JirayaFrogCart___Spell_caster[s__JirayaFrogCart___Spell_instance], true) / 2 ) * GetUnitAbilityLevel(s__JirayaFrogCart___Spell_caster[s__JirayaFrogCart___Spell_instance], s__JirayaFrogCart___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__JirayaFrogCart__Spell_caster[s__JirayaFrogCart__Spell_instance], GetFilterUnit(), ( 50 + GetHeroStr(s__JirayaFrogCart__Spell_caster[s__JirayaFrogCart__Spell_instance], true) / 2 ) * GetUnitAbilityLevel(s__JirayaFrogCart__Spell_caster[s__JirayaFrogCart__Spell_instance], s__JirayaFrogCart__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) endif endif return false endfunction - function s__JirayaFrogCart___Spell_destroy takes integer this returns nothing - set s__JirayaFrogCart___Spell_caster[this]=null - set s__JirayaFrogCart___Spell_gamahiro[this]=null - call s__JirayaFrogCart___Spell_deallocate(this) + function s__JirayaFrogCart__Spell_destroy takes integer this returns nothing + set s__JirayaFrogCart__Spell_caster[this]=null + set s__JirayaFrogCart__Spell_gamahiro[this]=null + call s__JirayaFrogCart__Spell_deallocate(this) endfunction - function s__JirayaFrogCart___Spell_shake takes nothing returns nothing + function s__JirayaFrogCart__Spell_shake takes nothing returns nothing local integer i= 0 loop exitwhen i > 11 @@ -64598,7 +64598,7 @@ endfunction call ReleaseTimer(GetExpiredTimer()) endfunction - function s__JirayaFrogCart___Spell_damage takes nothing returns nothing + function s__JirayaFrogCart__Spell_damage takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real new_x local real new_y @@ -64609,32 +64609,32 @@ endfunction local unit u set bj_lastCreatedGroup=CreateGroup() - set s__JirayaFrogCart___Spell_instance=this - call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__JirayaFrogCart___Spell_target_x[this], s__JirayaFrogCart___Spell_target_y[this], 350.0, Filter(function s__JirayaFrogCart___Spell_dealDamage)) + set s__JirayaFrogCart__Spell_instance=this + call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__JirayaFrogCart__Spell_target_x[this], s__JirayaFrogCart__Spell_target_y[this], 350.0, Filter(function s__JirayaFrogCart__Spell_dealDamage)) call DestroyGroup(bj_lastCreatedGroup) - call DestroyEffect(AddSpecialEffect(("war3mapImported\\Ground Crack Big.mdx" ), (( s__JirayaFrogCart___Spell_target_x[this] )*1.0), (( s__JirayaFrogCart___Spell_target_y[this])*1.0))) // INLINED!! + call DestroyEffect(AddSpecialEffect(("war3mapImported\\Ground Crack Big.mdx" ), (( s__JirayaFrogCart__Spell_target_x[this] )*1.0), (( s__JirayaFrogCart__Spell_target_y[this])*1.0))) // INLINED!! - if s__JirayaFrogCart___Spell_type[this] == 2 then - set bj_lastCreatedEffect=AddSpecialEffect("WaterSplash.mdx", s__JirayaFrogCart___Spell_target_x[this], s__JirayaFrogCart___Spell_target_y[this]) + if s__JirayaFrogCart__Spell_type[this] == 2 then + set bj_lastCreatedEffect=AddSpecialEffect("WaterSplash.mdx", s__JirayaFrogCart__Spell_target_x[this], s__JirayaFrogCart__Spell_target_y[this]) call BlzSetSpecialEffectScale(bj_lastCreatedEffect, 2.5) call DestroyEffect(bj_lastCreatedEffect) - elseif s__JirayaFrogCart___Spell_type[this] == 1 then + elseif s__JirayaFrogCart__Spell_type[this] == 1 then set i=0 loop exitwhen i == 10 - set new_x=(((s__JirayaFrogCart___Spell_target_x[this] )*1.0) + Cos((( Deg2Rad(30 * i) )*1.0)) * (( 150)*1.0)) // INLINED!! - set new_y=(((s__JirayaFrogCart___Spell_target_y[this] )*1.0) + Sin((( Deg2Rad(30 * i) )*1.0)) * (( 150)*1.0)) // INLINED!! + set new_x=(((s__JirayaFrogCart__Spell_target_x[this] )*1.0) + Cos((( Deg2Rad(30 * i) )*1.0)) * (( 150)*1.0)) // INLINED!! + set new_y=(((s__JirayaFrogCart__Spell_target_y[this] )*1.0) + Sin((( Deg2Rad(30 * i) )*1.0)) * (( 150)*1.0)) // INLINED!! set bj_lastCreatedEffect=AddSpecialEffect("Boom.mdx", new_x, new_y) call DestroyEffect(bj_lastCreatedEffect) set i=i + 1 endloop else - set bj_lastCreatedEffect=AddSpecialEffect("DustWave.mdx", s__JirayaFrogCart___Spell_target_x[this], s__JirayaFrogCart___Spell_target_y[this]) + set bj_lastCreatedEffect=AddSpecialEffect("DustWave.mdx", s__JirayaFrogCart__Spell_target_x[this], s__JirayaFrogCart__Spell_target_y[this]) call BlzSetSpecialEffectScale(bj_lastCreatedEffect, 4.0) call DestroyEffect(bj_lastCreatedEffect) - set bj_lastCreatedEffect=AddSpecialEffect("CircularWind.mdl", s__JirayaFrogCart___Spell_target_x[this], s__JirayaFrogCart___Spell_target_y[this]) + set bj_lastCreatedEffect=AddSpecialEffect("CircularWind.mdl", s__JirayaFrogCart__Spell_target_x[this], s__JirayaFrogCart__Spell_target_y[this]) call BlzSetSpecialEffectScale(bj_lastCreatedEffect, 3.0) - call BlzSetSpecialEffectHeight(bj_lastCreatedEffect, 150 + GetPointZ(s__JirayaFrogCart___Spell_target_x[this] , s__JirayaFrogCart___Spell_target_y[this])) + call BlzSetSpecialEffectHeight(bj_lastCreatedEffect, 150 + GetPointZ(s__JirayaFrogCart__Spell_target_x[this] , s__JirayaFrogCart__Spell_target_y[this])) call DestroyEffect(bj_lastCreatedEffect) endif @@ -64644,52 +64644,52 @@ endfunction call CameraSetEQNoiseForPlayer(Player(i), 4.00) set i=i + 1 endloop - call SlowArea(s__JirayaFrogCart___Spell_caster[this] , s__JirayaFrogCart___Spell_target_x[this] , s__JirayaFrogCart___Spell_target_y[this] , 350.0) - call UnitApplyTimedLife(s__JirayaFrogCart___Spell_gamahiro[this], 'BTLF', 1.0) - call TimerStart(CreateTimer(), 1.0, false, function s__JirayaFrogCart___Spell_shake) - call s__JirayaFrogCart___Spell_destroy(this) + call SlowArea(s__JirayaFrogCart__Spell_caster[this] , s__JirayaFrogCart__Spell_target_x[this] , s__JirayaFrogCart__Spell_target_y[this] , 350.0) + call UnitApplyTimedLife(s__JirayaFrogCart__Spell_gamahiro[this], 'BTLF', 1.0) + call TimerStart(CreateTimer(), 1.0, false, function s__JirayaFrogCart__Spell_shake) + call s__JirayaFrogCart__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) set u=null endfunction - function s__JirayaFrogCart___Spell_create_frog takes nothing returns nothing + function s__JirayaFrogCart__Spell_create_frog takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local integer i= GetRandomInt(1, 3) local integer j - set s__JirayaFrogCart___Spell_type[this]=GetRandomInt(1, 3) - if s__JirayaFrogCart___Spell_type[this] == 1 then - set s__JirayaFrogCart___Spell_gamahiro[this]=CreateUnit(GetOwningPlayer(s__JirayaFrogCart___Spell_caster[this]), 'h066', s__JirayaFrogCart___Spell_target_x[this], s__JirayaFrogCart___Spell_target_y[this], s__JirayaFrogCart___Spell_angle[this]) - elseif s__JirayaFrogCart___Spell_type[this] == 2 then - set s__JirayaFrogCart___Spell_gamahiro[this]=CreateUnit(GetOwningPlayer(s__JirayaFrogCart___Spell_caster[this]), 'h080', s__JirayaFrogCart___Spell_target_x[this], s__JirayaFrogCart___Spell_target_y[this], s__JirayaFrogCart___Spell_angle[this]) - else - set s__JirayaFrogCart___Spell_gamahiro[this]=CreateUnit(GetOwningPlayer(s__JirayaFrogCart___Spell_caster[this]), 'h065', s__JirayaFrogCart___Spell_target_x[this], s__JirayaFrogCart___Spell_target_y[this], s__JirayaFrogCart___Spell_angle[this]) - endif - call SetUnitX(s__JirayaFrogCart___Spell_gamahiro[this], s__JirayaFrogCart___Spell_target_x[this]) - call SetUnitY(s__JirayaFrogCart___Spell_gamahiro[this], s__JirayaFrogCart___Spell_target_y[this]) - call UnitAddAbility(s__JirayaFrogCart___Spell_gamahiro[this], 'Arav') - call UnitRemoveAbility(s__JirayaFrogCart___Spell_gamahiro[this], 'Arav') - call SetUnitFlyHeight(s__JirayaFrogCart___Spell_gamahiro[this], 700, 0) - call SetUnitFlyHeight(s__JirayaFrogCart___Spell_gamahiro[this], 0, 1400) - call SetUnitAnimation(s__JirayaFrogCart___Spell_gamahiro[this], "walk") - call TimerStart(NewTimerEx(this), 0.5, false, function s__JirayaFrogCart___Spell_damage) + set s__JirayaFrogCart__Spell_type[this]=GetRandomInt(1, 3) + if s__JirayaFrogCart__Spell_type[this] == 1 then + set s__JirayaFrogCart__Spell_gamahiro[this]=CreateUnit(GetOwningPlayer(s__JirayaFrogCart__Spell_caster[this]), 'h066', s__JirayaFrogCart__Spell_target_x[this], s__JirayaFrogCart__Spell_target_y[this], s__JirayaFrogCart__Spell_angle[this]) + elseif s__JirayaFrogCart__Spell_type[this] == 2 then + set s__JirayaFrogCart__Spell_gamahiro[this]=CreateUnit(GetOwningPlayer(s__JirayaFrogCart__Spell_caster[this]), 'h080', s__JirayaFrogCart__Spell_target_x[this], s__JirayaFrogCart__Spell_target_y[this], s__JirayaFrogCart__Spell_angle[this]) + else + set s__JirayaFrogCart__Spell_gamahiro[this]=CreateUnit(GetOwningPlayer(s__JirayaFrogCart__Spell_caster[this]), 'h065', s__JirayaFrogCart__Spell_target_x[this], s__JirayaFrogCart__Spell_target_y[this], s__JirayaFrogCart__Spell_angle[this]) + endif + call SetUnitX(s__JirayaFrogCart__Spell_gamahiro[this], s__JirayaFrogCart__Spell_target_x[this]) + call SetUnitY(s__JirayaFrogCart__Spell_gamahiro[this], s__JirayaFrogCart__Spell_target_y[this]) + call UnitAddAbility(s__JirayaFrogCart__Spell_gamahiro[this], 'Arav') + call UnitRemoveAbility(s__JirayaFrogCart__Spell_gamahiro[this], 'Arav') + call SetUnitFlyHeight(s__JirayaFrogCart__Spell_gamahiro[this], 700, 0) + call SetUnitFlyHeight(s__JirayaFrogCart__Spell_gamahiro[this], 0, 1400) + call SetUnitAnimation(s__JirayaFrogCart__Spell_gamahiro[this], "walk") + call TimerStart(NewTimerEx(this), 0.5, false, function s__JirayaFrogCart__Spell_damage) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__JirayaFrogCart___Spell_actions takes nothing returns nothing - local integer this= s__JirayaFrogCart___Spell_allocate() - set s__JirayaFrogCart___Spell_caster[this]=GetTriggerUnit() - set s__JirayaFrogCart___Spell_target_x[this]=GetSpellTargetX() - set s__JirayaFrogCart___Spell_target_y[this]=GetSpellTargetY() - set s__JirayaFrogCart___Spell_angle[this]=GetUnitFacing(s__JirayaFrogCart___Spell_caster[this]) - call SetUnitAnimation(s__JirayaFrogCart___Spell_caster[this], "spell slam") + function s__JirayaFrogCart__Spell_actions takes nothing returns nothing + local integer this= s__JirayaFrogCart__Spell_allocate() + set s__JirayaFrogCart__Spell_caster[this]=GetTriggerUnit() + set s__JirayaFrogCart__Spell_target_x[this]=GetSpellTargetX() + set s__JirayaFrogCart__Spell_target_y[this]=GetSpellTargetY() + set s__JirayaFrogCart__Spell_angle[this]=GetUnitFacing(s__JirayaFrogCart__Spell_caster[this]) + call SetUnitAnimation(s__JirayaFrogCart__Spell_caster[this], "spell slam") set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), 'h01V', GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), 270) call SetUnitAnimation(bj_lastCreatedUnit, "birth") call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 3.0) //call AddSpecialEffectEx("Effects\\s_Summoning.mdx", GetUnitX(this.caster), GetUnitY(this.caster)) - call TimerStart(NewTimerEx(this), 0.5, true, function s__JirayaFrogCart___Spell_create_frog) + call TimerStart(NewTimerEx(this), 0.5, true, function s__JirayaFrogCart__Spell_create_frog) endfunction - function s__JirayaFrogCart___Spell_death takes nothing returns nothing + function s__JirayaFrogCart__Spell_death takes nothing returns nothing local real new_x local real new_y local integer i= 0 @@ -64711,9 +64711,9 @@ endfunction endif endfunction - function s__JirayaFrogCart___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(24 , s__JirayaFrogCart___Spell_SPELL_ID , function s__JirayaFrogCart___Spell_actions) - call RegisterPlayerUnitEvent2((EVENT_PLAYER_UNIT_DEATH ) , Filter(( function s__JirayaFrogCart___Spell_death))) // INLINED!! + function s__JirayaFrogCart__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(24 , s__JirayaFrogCart__Spell_SPELL_ID , function s__JirayaFrogCart__Spell_actions) + call RegisterPlayerUnitEvent2((EVENT_PLAYER_UNIT_DEATH ) , Filter(( function s__JirayaFrogCart__Spell_death))) // INLINED!! endfunction @@ -64744,14 +64744,14 @@ function Trig_JiraiyaGamayu_Actions takes nothing returns nothing call SetUnitX(bj_lastCreatedUnit, GetUnitX(GetTriggerUnit())) call SetUnitY(bj_lastCreatedUnit, GetUnitY(GetTriggerUnit())) call SetUnitFacing(bj_lastCreatedUnit, angle) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! set u=udg_GamaBunta else set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), 'h01V', GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), 270) call SetUnitAnimation(bj_lastCreatedUnit, "birth") call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 3.0) set u=CreateUnit(GetTriggerPlayer(), 'h080', GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), angle) - call s__PauseUnitEx__Pause_setPauseCounter((u ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((u ) , ( 1)) // INLINED!! set bj_forLoopAIndex=0 loop exitwhen bj_forLoopAIndex > 10 @@ -64759,14 +64759,14 @@ function Trig_JiraiyaGamayu_Actions takes nothing returns nothing set bj_forLoopAIndex=bj_forLoopAIndex + 1 endloop endif - call s__PauseUnitEx__Pause_setPauseCounter((udg_units30[200] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units30[200] ) , ( 1)) // INLINED!! call SetUnitFlyHeight(udg_units30[200], 250, 3000) call SetUnitTimeScale(udg_units30[200], 2.0) call SetUnitAnimation(udg_units30[200], "spell throw") call SetUnitTimeScale(u, 3.0) call SetUnitAnimation(u, "spell two") call TriggerSleepAction(0.07) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units30[200] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units30[200] ) , ( 0)) // INLINED!! set bj_forLoopAIndex=1 set bj_forLoopAIndexEnd=8 loop @@ -64785,7 +64785,7 @@ function Trig_JiraiyaGamayu_Actions takes nothing returns nothing call SetUnitTimeScale(udg_units30[200], 1.0) call SetUnitFlyHeight(udg_units30[200], 0, 1500) if u == udg_GamaBunta then - call s__PauseUnitEx__Pause_setPauseCounter((u ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((u ) , ( 0)) // INLINED!! else call KillUnit(u) endif @@ -65050,103 +65050,103 @@ endfunction //Implemented from module Alloc: - function s__JirayaOodamaRasengan___Spell_allocate takes nothing returns integer + function s__JirayaOodamaRasengan__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__JirayaOodamaRasengan___Spell_Alloc__recycle[(0)] == 0 ) then - set s__JirayaOodamaRasengan___Spell_Alloc__instanceCount=s__JirayaOodamaRasengan___Spell_Alloc__instanceCount + 1 - set this=s__JirayaOodamaRasengan___Spell_Alloc__instanceCount + if ( s__JirayaOodamaRasengan__Spell_Alloc__recycle[(0)] == 0 ) then + set s__JirayaOodamaRasengan__Spell_Alloc__instanceCount=s__JirayaOodamaRasengan__Spell_Alloc__instanceCount + 1 + set this=s__JirayaOodamaRasengan__Spell_Alloc__instanceCount else - set this=s__JirayaOodamaRasengan___Spell_Alloc__recycle[(0)] - set s__JirayaOodamaRasengan___Spell_Alloc__recycle[(0)]=s__JirayaOodamaRasengan___Spell_Alloc__recycle[s__JirayaOodamaRasengan___Spell_Alloc__recycle[(0)]] + set this=s__JirayaOodamaRasengan__Spell_Alloc__recycle[(0)] + set s__JirayaOodamaRasengan__Spell_Alloc__recycle[(0)]=s__JirayaOodamaRasengan__Spell_Alloc__recycle[s__JirayaOodamaRasengan__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__JirayaOodamaRasengan___Spell_deallocate takes integer this returns nothing - set s__JirayaOodamaRasengan___Spell_Alloc__recycle[this]=s__JirayaOodamaRasengan___Spell_Alloc__recycle[(0)] - set s__JirayaOodamaRasengan___Spell_Alloc__recycle[(0)]=this + function s__JirayaOodamaRasengan__Spell_deallocate takes integer this returns nothing + set s__JirayaOodamaRasengan__Spell_Alloc__recycle[this]=s__JirayaOodamaRasengan__Spell_Alloc__recycle[(0)] + set s__JirayaOodamaRasengan__Spell_Alloc__recycle[(0)]=this endfunction - function s__JirayaOodamaRasengan___Spell_dealDamage takes nothing returns boolean - if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__JirayaOodamaRasengan___Spell_caster[s__JirayaOodamaRasengan___Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 then - call UnitDamageTarget(s__JirayaOodamaRasengan___Spell_caster[s__JirayaOodamaRasengan___Spell_instance], GetFilterUnit(), 12.0 * GetHeroStr(s__JirayaOodamaRasengan___Spell_caster[s__JirayaOodamaRasengan___Spell_instance], true), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) + function s__JirayaOodamaRasengan__Spell_dealDamage takes nothing returns boolean + if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__JirayaOodamaRasengan__Spell_caster[s__JirayaOodamaRasengan__Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 then + call UnitDamageTarget(s__JirayaOodamaRasengan__Spell_caster[s__JirayaOodamaRasengan__Spell_instance], GetFilterUnit(), 12.0 * GetHeroStr(s__JirayaOodamaRasengan__Spell_caster[s__JirayaOodamaRasengan__Spell_instance], true), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) endif return false endfunction - function s__JirayaOodamaRasengan___Spell_destroy takes integer this returns nothing - call DestroyEffect(s__JirayaOodamaRasengan___Spell_rasengan[this]) - call s__PauseUnitEx__Pause_setPauseCounter((s__JirayaOodamaRasengan___Spell_caster[this] ) , ( 0)) // INLINED!! - call SetUnitAnimation(s__JirayaOodamaRasengan___Spell_caster[this], "stand") - call SetUnitFlyHeight(s__JirayaOodamaRasengan___Spell_caster[this], 0, 0) - set s__JirayaOodamaRasengan___Spell_caster[this]=null - set s__JirayaOodamaRasengan___Spell_rasengan[this]=null - call s__JirayaOodamaRasengan___Spell_deallocate(this) + function s__JirayaOodamaRasengan__Spell_destroy takes integer this returns nothing + call DestroyEffect(s__JirayaOodamaRasengan__Spell_rasengan[this]) + call s__PauseUnitEx___Pause_setPauseCounter((s__JirayaOodamaRasengan__Spell_caster[this] ) , ( 0)) // INLINED!! + call SetUnitAnimation(s__JirayaOodamaRasengan__Spell_caster[this], "stand") + call SetUnitFlyHeight(s__JirayaOodamaRasengan__Spell_caster[this], 0, 0) + set s__JirayaOodamaRasengan__Spell_caster[this]=null + set s__JirayaOodamaRasengan__Spell_rasengan[this]=null + call s__JirayaOodamaRasengan__Spell_deallocate(this) endfunction - function s__JirayaOodamaRasengan___Spell_periodic takes nothing returns nothing + function s__JirayaOodamaRasengan__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real caster_x= GetUnitX(s__JirayaOodamaRasengan___Spell_caster[this]) - local real caster_y= GetUnitY(s__JirayaOodamaRasengan___Spell_caster[this]) - local real angle= Atan2(( s__JirayaOodamaRasengan___Spell_target_y[this] - GetUnitY(s__JirayaOodamaRasengan___Spell_caster[this]) ), ( s__JirayaOodamaRasengan___Spell_target_x[this] - GetUnitX(s__JirayaOodamaRasengan___Spell_caster[this]) )) + local real caster_x= GetUnitX(s__JirayaOodamaRasengan__Spell_caster[this]) + local real caster_y= GetUnitY(s__JirayaOodamaRasengan__Spell_caster[this]) + local real angle= Atan2(( s__JirayaOodamaRasengan__Spell_target_y[this] - GetUnitY(s__JirayaOodamaRasengan__Spell_caster[this]) ), ( s__JirayaOodamaRasengan__Spell_target_x[this] - GetUnitX(s__JirayaOodamaRasengan__Spell_caster[this]) )) local real new_x= caster_x + Cos(angle) * 30 local real new_y= caster_y + Sin(angle) * 30 - local real distance_x= s__JirayaOodamaRasengan___Spell_target_x[this] - new_x - local real distance_y= s__JirayaOodamaRasengan___Spell_target_y[this] - new_y + local real distance_x= s__JirayaOodamaRasengan__Spell_target_x[this] - new_x + local real distance_y= s__JirayaOodamaRasengan__Spell_target_y[this] - new_y local real distance= SquareRoot(distance_x * distance_x + distance_y * distance_y) local integer i= 0 - set s__JirayaOodamaRasengan___Spell_count[this]=s__JirayaOodamaRasengan___Spell_count[this] + 1 - call SetUnitX(s__JirayaOodamaRasengan___Spell_caster[this], new_x) - call SetUnitY(s__JirayaOodamaRasengan___Spell_caster[this], new_y) - call SetUnitFacing(s__JirayaOodamaRasengan___Spell_caster[this], Rad2Deg(angle)) - call UnitAddAbility(s__JirayaOodamaRasengan___Spell_caster[this], 'Arav') - call SetUnitFlyHeight(s__JirayaOodamaRasengan___Spell_caster[this], Parabola(0 , 0 , 300 , s__JirayaOodamaRasengan___Spell_distance[this] , s__JirayaOodamaRasengan___Spell_distance[this] - distance), 0) - call UnitRemoveAbility(s__JirayaOodamaRasengan___Spell_caster[this], 'Arav') - if distance <= 50 or s__JirayaOodamaRasengan___Spell_count[this] >= 30 then + set s__JirayaOodamaRasengan__Spell_count[this]=s__JirayaOodamaRasengan__Spell_count[this] + 1 + call SetUnitX(s__JirayaOodamaRasengan__Spell_caster[this], new_x) + call SetUnitY(s__JirayaOodamaRasengan__Spell_caster[this], new_y) + call SetUnitFacing(s__JirayaOodamaRasengan__Spell_caster[this], Rad2Deg(angle)) + call UnitAddAbility(s__JirayaOodamaRasengan__Spell_caster[this], 'Arav') + call SetUnitFlyHeight(s__JirayaOodamaRasengan__Spell_caster[this], Parabola(0 , 0 , 300 , s__JirayaOodamaRasengan__Spell_distance[this] , s__JirayaOodamaRasengan__Spell_distance[this] - distance), 0) + call UnitRemoveAbility(s__JirayaOodamaRasengan__Spell_caster[this], 'Arav') + if distance <= 50 or s__JirayaOodamaRasengan__Spell_count[this] >= 30 then loop set i=i + 1 exitwhen i > 10 - set new_x=s__JirayaOodamaRasengan___Spell_target_x[this] + Cos(Deg2Rad(36 * i)) * 150 - set new_y=s__JirayaOodamaRasengan___Spell_target_y[this] + Sin(Deg2Rad(36 * i)) * 150 + set new_x=s__JirayaOodamaRasengan__Spell_target_x[this] + Cos(Deg2Rad(36 * i)) * 150 + set new_y=s__JirayaOodamaRasengan__Spell_target_y[this] + Sin(Deg2Rad(36 * i)) * 150 call DestroyEffect(AddSpecialEffect(("Energy Release.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("war3mapImported\\Ground Crack.mdx" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("Effects\\s_Earth_Smash.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! endloop set bj_lastCreatedGroup=CreateGroup() - set s__JirayaOodamaRasengan___Spell_instance=this - call GroupEnumUnitsInRange(bj_lastCreatedGroup, GetUnitX(s__JirayaOodamaRasengan___Spell_caster[this]), GetUnitY(s__JirayaOodamaRasengan___Spell_caster[this]), 300.0, Filter(function s__JirayaOodamaRasengan___Spell_dealDamage)) + set s__JirayaOodamaRasengan__Spell_instance=this + call GroupEnumUnitsInRange(bj_lastCreatedGroup, GetUnitX(s__JirayaOodamaRasengan__Spell_caster[this]), GetUnitY(s__JirayaOodamaRasengan__Spell_caster[this]), 300.0, Filter(function s__JirayaOodamaRasengan__Spell_dealDamage)) call DestroyGroup(bj_lastCreatedGroup) - call s__JirayaOodamaRasengan___Spell_destroy(this) + call s__JirayaOodamaRasengan__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__JirayaOodamaRasengan___Spell_actions takes nothing returns nothing - local integer this= s__JirayaOodamaRasengan___Spell_allocate() + function s__JirayaOodamaRasengan__Spell_actions takes nothing returns nothing + local integer this= s__JirayaOodamaRasengan__Spell_allocate() local real distance_x local real distance_y - set s__JirayaOodamaRasengan___Spell_caster[this]=GetTriggerUnit() - set s__JirayaOodamaRasengan___Spell_target_x[this]=GetSpellTargetX() - set s__JirayaOodamaRasengan___Spell_target_y[this]=GetSpellTargetY() - set s__JirayaOodamaRasengan___Spell_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__JirayaOodamaRasengan___Spell_caster[this] ) , ( 1)) // INLINED!! - call UnitAddAbility(s__JirayaOodamaRasengan___Spell_caster[this], 'Arav') - call UnitRemoveAbility(s__JirayaOodamaRasengan___Spell_caster[this], 'Arav') - call SetUnitAnimation(s__JirayaOodamaRasengan___Spell_caster[this], "spell two") - set s__JirayaOodamaRasengan___Spell_rasengan[this]=AddSpecialEffectTarget("Effects\\s_Odama Rasengan.mdx", s__JirayaOodamaRasengan___Spell_caster[this], "right hand") - set distance_x=s__JirayaOodamaRasengan___Spell_target_x[this] - GetUnitX(s__JirayaOodamaRasengan___Spell_caster[this]) - set distance_y=s__JirayaOodamaRasengan___Spell_target_y[this] - GetUnitY(s__JirayaOodamaRasengan___Spell_caster[this]) - set s__JirayaOodamaRasengan___Spell_distance[this]=SquareRoot(distance_x * distance_x + distance_y * distance_y) - call TimerStart(NewTimerEx(this), 0.03, true, function s__JirayaOodamaRasengan___Spell_periodic) + set s__JirayaOodamaRasengan__Spell_caster[this]=GetTriggerUnit() + set s__JirayaOodamaRasengan__Spell_target_x[this]=GetSpellTargetX() + set s__JirayaOodamaRasengan__Spell_target_y[this]=GetSpellTargetY() + set s__JirayaOodamaRasengan__Spell_count[this]=0 + call s__PauseUnitEx___Pause_setPauseCounter((s__JirayaOodamaRasengan__Spell_caster[this] ) , ( 1)) // INLINED!! + call UnitAddAbility(s__JirayaOodamaRasengan__Spell_caster[this], 'Arav') + call UnitRemoveAbility(s__JirayaOodamaRasengan__Spell_caster[this], 'Arav') + call SetUnitAnimation(s__JirayaOodamaRasengan__Spell_caster[this], "spell two") + set s__JirayaOodamaRasengan__Spell_rasengan[this]=AddSpecialEffectTarget("Effects\\s_Odama Rasengan.mdx", s__JirayaOodamaRasengan__Spell_caster[this], "right hand") + set distance_x=s__JirayaOodamaRasengan__Spell_target_x[this] - GetUnitX(s__JirayaOodamaRasengan__Spell_caster[this]) + set distance_y=s__JirayaOodamaRasengan__Spell_target_y[this] - GetUnitY(s__JirayaOodamaRasengan__Spell_caster[this]) + set s__JirayaOodamaRasengan__Spell_distance[this]=SquareRoot(distance_x * distance_x + distance_y * distance_y) + call TimerStart(NewTimerEx(this), 0.03, true, function s__JirayaOodamaRasengan__Spell_periodic) endfunction - function s__JirayaOodamaRasengan___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(24 , s__JirayaOodamaRasengan___Spell_SPELL_ID , function s__JirayaOodamaRasengan___Spell_actions) + function s__JirayaOodamaRasengan__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(24 , s__JirayaOodamaRasengan__Spell_SPELL_ID , function s__JirayaOodamaRasengan__Spell_actions) endfunction @@ -65305,7 +65305,7 @@ endfunction function Trig_JiraiyaGamaRinsho_Func011A takes nothing returns nothing set udg_locations07[36]=GetRandomLocInRect(RectFromCenterSizeBJ(udg_locations07[35], 200.00, 200.00)) call SetUnitPathing(GetEnumUnit(), false) - call s__PauseUnitEx__Pause_setPauseCounter((GetEnumUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetEnumUnit() ) , ( 1)) // INLINED!! call UnitDamageTarget(udg_units30[200], GetEnumUnit(), 6 * GetHeroInt(udg_units30[200], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) call SetUnitX(GetEnumUnit(), GetLocationX(udg_locations07[36])) call SetUnitY(GetEnumUnit(), GetLocationY(udg_locations07[36])) @@ -65330,7 +65330,7 @@ function Trig_JiraiyaGamaRinsho_Func016A takes nothing returns nothing //call SetUnitX(GetEnumUnit(),GetLocationX(udg_locations07[36])) //call SetUnitY(GetEnumUnit(),GetLocationY(udg_locations07[36])) call SetUnitPathing(GetEnumUnit(), true) - call s__PauseUnitEx__Pause_setPauseCounter((GetEnumUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetEnumUnit() ) , ( 0)) // INLINED!! call RemoveLocation(udg_locations07[36]) endfunction @@ -65617,7 +65617,7 @@ endfunction set s__JirobuEarthquake_count[this]=s__JirobuEarthquake_count[this] + 1 if s__JirobuEarthquake_count[this] == 10 then call SetUnitFlyHeight(s__JirobuEarthquake_caster[this], 0, 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__JirobuEarthquake_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JirobuEarthquake_caster[this] ) , ( 0)) // INLINED!! call s__JirobuEarthquake_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endif @@ -65649,7 +65649,7 @@ endfunction if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__JirobuEarthquake_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false and not IsUnitInGroup(bj_lastCreatedUnit, s__JirobuEarthquake_damaged[this]) then call UnitDamageTarget(s__JirobuEarthquake_caster[this], bj_lastCreatedUnit, 90 * GetUnitAbilityLevel(s__JirobuEarthquake_caster[this], s__JirobuEarthquake_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) call StunUnitTimed(s__JirobuEarthquake_caster[this] , bj_lastCreatedUnit , 2.0) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! set this2=s__JirobuEarthquake_allocate() set s__JirobuEarthquake_caster[this2]=bj_lastCreatedUnit set s__JirobuEarthquake_count[this2]=0 @@ -65744,7 +65744,7 @@ endfunction set s__JiroboHeadbutt_count[this]=s__JiroboHeadbutt_count[this] + 1 if s__JiroboHeadbutt_count[this] == 10 then call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl" ), (( GetUnitX(s__JiroboHeadbutt_target[this]) )*1.0), (( GetUnitY(s__JiroboHeadbutt_target[this]))*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__JiroboHeadbutt_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JiroboHeadbutt_target[this] ) , ( 0)) // INLINED!! call SetUnitFlyHeight(s__JiroboHeadbutt_target[this], 0, 0) call s__JiroboHeadbutt_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -65787,8 +65787,8 @@ endfunction call TimerStart(NewTimerEx(this), 0.03, true, function s__JiroboHeadbutt_knockback) set s__JiroboHeadbutt_target[this]=bj_lastCreatedUnit set s__JiroboHeadbutt_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__JiroboHeadbutt_target[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__JiroboHeadbutt_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JiroboHeadbutt_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JiroboHeadbutt_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__JiroboHeadbutt_caster[this], "stand") call SetUnitTimeScale(s__JiroboHeadbutt_caster[this], 1.0) @@ -65805,7 +65805,7 @@ endfunction endloop call DestroyGroup(bj_lastCreatedGroup) if s__JiroboHeadbutt_count[this] > 800 / 35.0 then - call s__PauseUnitEx__Pause_setPauseCounter((s__JiroboHeadbutt_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JiroboHeadbutt_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__JiroboHeadbutt_caster[this], "stand") call SetUnitTimeScale(s__JiroboHeadbutt_caster[this], 1.0) call s__JiroboHeadbutt_deallocate(this) @@ -65824,7 +65824,7 @@ endfunction else call SetUnitAnimationByIndex(s__JiroboHeadbutt_caster[this], 10) endif - call s__PauseUnitEx__Pause_setPauseCounter((s__JiroboHeadbutt_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JiroboHeadbutt_caster[this] ) , ( 1)) // INLINED!! call DestroyEffect(AddSpecialEffect(("Effects\\s_Earth_Smash.mdx" ), (( GetUnitX(s__JiroboHeadbutt_caster[this]) )*1.0), (( GetUnitY(s__JiroboHeadbutt_caster[this]))*1.0))) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__JiroboHeadbutt_periodic) endfunction @@ -66189,90 +66189,90 @@ endfunction //Implemented from module Alloc: - function s__JuugoChains___JuugoSpell_allocate takes nothing returns integer + function s__JuugoChains__JuugoSpell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__JuugoChains___JuugoSpell_Alloc__recycle[(0)] == 0 ) then - set s__JuugoChains___JuugoSpell_Alloc__instanceCount=s__JuugoChains___JuugoSpell_Alloc__instanceCount + 1 - set this=s__JuugoChains___JuugoSpell_Alloc__instanceCount + if ( s__JuugoChains__JuugoSpell_Alloc__recycle[(0)] == 0 ) then + set s__JuugoChains__JuugoSpell_Alloc__instanceCount=s__JuugoChains__JuugoSpell_Alloc__instanceCount + 1 + set this=s__JuugoChains__JuugoSpell_Alloc__instanceCount else - set this=s__JuugoChains___JuugoSpell_Alloc__recycle[(0)] - set s__JuugoChains___JuugoSpell_Alloc__recycle[(0)]=s__JuugoChains___JuugoSpell_Alloc__recycle[s__JuugoChains___JuugoSpell_Alloc__recycle[(0)]] + set this=s__JuugoChains__JuugoSpell_Alloc__recycle[(0)] + set s__JuugoChains__JuugoSpell_Alloc__recycle[(0)]=s__JuugoChains__JuugoSpell_Alloc__recycle[s__JuugoChains__JuugoSpell_Alloc__recycle[(0)]] endif return this endfunction - function s__JuugoChains___JuugoSpell_deallocate takes integer this returns nothing - set s__JuugoChains___JuugoSpell_Alloc__recycle[this]=s__JuugoChains___JuugoSpell_Alloc__recycle[(0)] - set s__JuugoChains___JuugoSpell_Alloc__recycle[(0)]=this + function s__JuugoChains__JuugoSpell_deallocate takes integer this returns nothing + set s__JuugoChains__JuugoSpell_Alloc__recycle[this]=s__JuugoChains__JuugoSpell_Alloc__recycle[(0)] + set s__JuugoChains__JuugoSpell_Alloc__recycle[(0)]=this endfunction - function s__JuugoChains___JuugoSpell_grab takes nothing returns nothing + function s__JuugoChains__JuugoSpell_grab takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - set s__JuugoChains___JuugoSpell_count[this]=s__JuugoChains___JuugoSpell_count[this] - 1 - call SetUnitPosition(s__JuugoChains___JuugoSpell_target[this], GetUnitX(s__JuugoChains___chains[(this)*(500)+s__JuugoChains___JuugoSpell_count[this]]), GetUnitY(s__JuugoChains___chains[(this)*(500)+s__JuugoChains___JuugoSpell_count[this]])) - call SetUnitFacing(s__JuugoChains___JuugoSpell_target[this], GetUnitFacing(s__JuugoChains___chains[(this)*(500)+s__JuugoChains___JuugoSpell_count[this]]) + 180) - call KillUnit(s__JuugoChains___chains[(this)*(500)+s__JuugoChains___JuugoSpell_count[this]]) - call ShowUnit(s__JuugoChains___chains[(this)*(500)+s__JuugoChains___JuugoSpell_count[this]], false) - set s__JuugoChains___chains[(this)*(500)+s__JuugoChains___JuugoSpell_count[this]]= null - if s__JuugoChains___JuugoSpell_count[this] == 0 then - if IsUnitAlly(s__JuugoChains___JuugoSpell_target[this], GetOwningPlayer(s__JuugoChains___JuugoSpell_caster[this])) then - set bj_lastCreatedUnit=CreateAbilityDummy(s__JuugoChains___JuugoSpell_caster[this] , 'A00H') - call IssueTargetOrder(bj_lastCreatedUnit, "innerfire", s__JuugoChains___JuugoSpell_caster[this]) - set bj_lastCreatedUnit=CreateAbilityDummy(s__JuugoChains___JuugoSpell_caster[this] , 'A00H') - call IssueTargetOrder(bj_lastCreatedUnit, "innerfire", s__JuugoChains___JuugoSpell_target[this]) - endif - call SetUnitPropWindow(s__JuugoChains___JuugoSpell_caster[this], s__JuugoChains___JuugoSpell_window[this]) - call s__JuugoChains___JuugoSpell_deallocate(this) + set s__JuugoChains__JuugoSpell_count[this]=s__JuugoChains__JuugoSpell_count[this] - 1 + call SetUnitPosition(s__JuugoChains__JuugoSpell_target[this], GetUnitX(s__JuugoChains__chains[(this)*(500)+s__JuugoChains__JuugoSpell_count[this]]), GetUnitY(s__JuugoChains__chains[(this)*(500)+s__JuugoChains__JuugoSpell_count[this]])) + call SetUnitFacing(s__JuugoChains__JuugoSpell_target[this], GetUnitFacing(s__JuugoChains__chains[(this)*(500)+s__JuugoChains__JuugoSpell_count[this]]) + 180) + call KillUnit(s__JuugoChains__chains[(this)*(500)+s__JuugoChains__JuugoSpell_count[this]]) + call ShowUnit(s__JuugoChains__chains[(this)*(500)+s__JuugoChains__JuugoSpell_count[this]], false) + set s__JuugoChains__chains[(this)*(500)+s__JuugoChains__JuugoSpell_count[this]]= null + if s__JuugoChains__JuugoSpell_count[this] == 0 then + if IsUnitAlly(s__JuugoChains__JuugoSpell_target[this], GetOwningPlayer(s__JuugoChains__JuugoSpell_caster[this])) then + set bj_lastCreatedUnit=CreateAbilityDummy(s__JuugoChains__JuugoSpell_caster[this] , 'A00H') + call IssueTargetOrder(bj_lastCreatedUnit, "innerfire", s__JuugoChains__JuugoSpell_caster[this]) + set bj_lastCreatedUnit=CreateAbilityDummy(s__JuugoChains__JuugoSpell_caster[this] , 'A00H') + call IssueTargetOrder(bj_lastCreatedUnit, "innerfire", s__JuugoChains__JuugoSpell_target[this]) + endif + call SetUnitPropWindow(s__JuugoChains__JuugoSpell_caster[this], s__JuugoChains__JuugoSpell_window[this]) + call s__JuugoChains__JuugoSpell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__JuugoChains___JuugoSpell_periodic takes nothing returns nothing + function s__JuugoChains__JuugoSpell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real angle= Atan3(GetUnitX(s__JuugoChains___JuugoSpell_dummy[this]) , GetUnitY(s__JuugoChains___JuugoSpell_dummy[this]) , GetUnitX(s__JuugoChains___JuugoSpell_target[this]) , GetUnitY(s__JuugoChains___JuugoSpell_target[this])) - local real new_x= (((GetUnitX(s__JuugoChains___JuugoSpell_dummy[this]) )*1.0) + Cos((( angle )*1.0)) * (( 30)*1.0)) // INLINED!! - local real new_y= (((GetUnitY(s__JuugoChains___JuugoSpell_dummy[this]) )*1.0) + Sin((( angle )*1.0)) * (( 30)*1.0)) // INLINED!! - call SetUnitX(s__JuugoChains___JuugoSpell_dummy[this], new_x) - call SetUnitY(s__JuugoChains___JuugoSpell_dummy[this], new_y) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__JuugoChains___JuugoSpell_caster[this]), 'h09F', new_x, new_y, Rad2Deg(angle)) + local real angle= Atan3(GetUnitX(s__JuugoChains__JuugoSpell_dummy[this]) , GetUnitY(s__JuugoChains__JuugoSpell_dummy[this]) , GetUnitX(s__JuugoChains__JuugoSpell_target[this]) , GetUnitY(s__JuugoChains__JuugoSpell_target[this])) + local real new_x= (((GetUnitX(s__JuugoChains__JuugoSpell_dummy[this]) )*1.0) + Cos((( angle )*1.0)) * (( 30)*1.0)) // INLINED!! + local real new_y= (((GetUnitY(s__JuugoChains__JuugoSpell_dummy[this]) )*1.0) + Sin((( angle )*1.0)) * (( 30)*1.0)) // INLINED!! + call SetUnitX(s__JuugoChains__JuugoSpell_dummy[this], new_x) + call SetUnitY(s__JuugoChains__JuugoSpell_dummy[this], new_y) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__JuugoChains__JuugoSpell_caster[this]), 'h09F', new_x, new_y, Rad2Deg(angle)) call SetUnitTimeScale(bj_lastCreatedUnit, 0.05) call SetUnitX(bj_lastCreatedUnit, new_x) call SetUnitY(bj_lastCreatedUnit, new_y) - set s__JuugoChains___chains[(this)*(500)+s__JuugoChains___JuugoSpell_count[this]]= bj_lastCreatedUnit - call SetUnitFacing(s__JuugoChains___JuugoSpell_caster[this], Rad2Deg(angle)) - set s__JuugoChains___JuugoSpell_count[this]=s__JuugoChains___JuugoSpell_count[this] + 1 - if GetDistance(new_x , new_y , GetUnitX(s__JuugoChains___JuugoSpell_target[this]) , GetUnitY(s__JuugoChains___JuugoSpell_target[this])) <= 100 or s__JuugoChains___JuugoSpell_count[this] > 400 then - call KillUnit(s__JuugoChains___JuugoSpell_dummy[this]) - set s__JuugoChains___JuugoSpell_dummy[this]=null - call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__JuugoChains___JuugoSpell_grab , "JuugoChain_grab") + set s__JuugoChains__chains[(this)*(500)+s__JuugoChains__JuugoSpell_count[this]]= bj_lastCreatedUnit + call SetUnitFacing(s__JuugoChains__JuugoSpell_caster[this], Rad2Deg(angle)) + set s__JuugoChains__JuugoSpell_count[this]=s__JuugoChains__JuugoSpell_count[this] + 1 + if GetDistance(new_x , new_y , GetUnitX(s__JuugoChains__JuugoSpell_target[this]) , GetUnitY(s__JuugoChains__JuugoSpell_target[this])) <= 100 or s__JuugoChains__JuugoSpell_count[this] > 400 then + call KillUnit(s__JuugoChains__JuugoSpell_dummy[this]) + set s__JuugoChains__JuugoSpell_dummy[this]=null + call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__JuugoChains__JuugoSpell_grab , "JuugoChain_grab") call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__JuugoChains___JuugoSpell_actions takes nothing returns nothing - local integer this= s__JuugoChains___JuugoSpell_allocate() + function s__JuugoChains__JuugoSpell_actions takes nothing returns nothing + local integer this= s__JuugoChains__JuugoSpell_allocate() local real angle local real x local real y - set s__JuugoChains___JuugoSpell_caster[this]=GetTriggerUnit() - set s__JuugoChains___JuugoSpell_target[this]=GetSpellTargetUnit() - set angle=Atan3(GetUnitX(s__JuugoChains___JuugoSpell_caster[this]) , GetUnitY(s__JuugoChains___JuugoSpell_caster[this]) , GetUnitX(s__JuugoChains___JuugoSpell_target[this]) , GetUnitY(s__JuugoChains___JuugoSpell_target[this])) - set x=(((GetUnitX(s__JuugoChains___JuugoSpell_caster[this]) )*1.0) + Cos((( angle )*1.0)) * (( 100)*1.0)) // INLINED!! - set y=(((GetUnitY(s__JuugoChains___JuugoSpell_caster[this]) )*1.0) + Sin((( angle )*1.0)) * (( 100)*1.0)) // INLINED!! - set s__JuugoChains___JuugoSpell_dummy[this]=CreateUnit(GetTriggerPlayer(), 'e007', x, y, 0) - set s__JuugoChains___JuugoSpell_count[this]=0 - set s__JuugoChains___JuugoSpell_window[this]=GetUnitPropWindow(s__JuugoChains___JuugoSpell_caster[this]) - call SetUnitAnimation(s__JuugoChains___JuugoSpell_caster[this], "attack") - call SetUnitPropWindow(s__JuugoChains___JuugoSpell_caster[this], 0) - call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__JuugoChains___JuugoSpell_periodic , "JuugoChain_periodic") + set s__JuugoChains__JuugoSpell_caster[this]=GetTriggerUnit() + set s__JuugoChains__JuugoSpell_target[this]=GetSpellTargetUnit() + set angle=Atan3(GetUnitX(s__JuugoChains__JuugoSpell_caster[this]) , GetUnitY(s__JuugoChains__JuugoSpell_caster[this]) , GetUnitX(s__JuugoChains__JuugoSpell_target[this]) , GetUnitY(s__JuugoChains__JuugoSpell_target[this])) + set x=(((GetUnitX(s__JuugoChains__JuugoSpell_caster[this]) )*1.0) + Cos((( angle )*1.0)) * (( 100)*1.0)) // INLINED!! + set y=(((GetUnitY(s__JuugoChains__JuugoSpell_caster[this]) )*1.0) + Sin((( angle )*1.0)) * (( 100)*1.0)) // INLINED!! + set s__JuugoChains__JuugoSpell_dummy[this]=CreateUnit(GetTriggerPlayer(), 'e007', x, y, 0) + set s__JuugoChains__JuugoSpell_count[this]=0 + set s__JuugoChains__JuugoSpell_window[this]=GetUnitPropWindow(s__JuugoChains__JuugoSpell_caster[this]) + call SetUnitAnimation(s__JuugoChains__JuugoSpell_caster[this], "attack") + call SetUnitPropWindow(s__JuugoChains__JuugoSpell_caster[this], 0) + call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__JuugoChains__JuugoSpell_periodic , "JuugoChain_periodic") endfunction - function s__JuugoChains___JuugoSpell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(61 , s__JuugoChains___JuugoSpell_SPELL_ID , function s__JuugoChains___JuugoSpell_actions) + function s__JuugoChains__JuugoSpell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(61 , s__JuugoChains__JuugoSpell_SPELL_ID , function s__JuugoChains__JuugoSpell_actions) endfunction @@ -66424,7 +66424,7 @@ endfunction loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - set scale=s__JuugoUltimateee___scales[(this)*(100)+i] / 45.0 * s__JuugoNewUltimate_count[this] + set scale=s__JuugoUltimateee__scales[(this)*(100)+i] / 45.0 * s__JuugoNewUltimate_count[this] call SetUnitScale(bj_lastCreatedUnit, scale, scale, scale) set i=i + 1 call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) @@ -66438,7 +66438,7 @@ endfunction set bj_lastCreatedEffect=AddSpecialEffect("Effects\\s_Lightning_Strike.mdl", GetUnitX(bj_lastCreatedUnit), GetUnitY(bj_lastCreatedUnit)) call BlzSetSpecialEffectYaw(bj_lastCreatedEffect, s__JuugoNewUltimate_angle[this] + bj_PI) call BlzSetSpecialEffectPitch(bj_lastCreatedEffect, - 1.57) - call BlzSetSpecialEffectScale(bj_lastCreatedEffect, s__JuugoUltimateee___scales[(this)*(100)+i] / 2) + call BlzSetSpecialEffectScale(bj_lastCreatedEffect, s__JuugoUltimateee__scales[(this)*(100)+i] / 2) call BlzSetSpecialEffectHeight(bj_lastCreatedEffect, GetUnitFlyHeight(bj_lastCreatedUnit)) call BlzSetSpecialEffectColor(bj_lastCreatedEffect, 255, 100, 0) call DestroyEffect(bj_lastCreatedEffect) @@ -66451,7 +66451,7 @@ endfunction endloop call DestroyGroup(s__JuugoNewUltimate_cannons[this]) set s__JuugoNewUltimate_cannons[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__JuugoNewUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JuugoNewUltimate_caster[this] ) , ( 0)) // INLINED!! set i=0 loop exitwhen i > 8 @@ -66524,11 +66524,11 @@ endfunction call SetUnitScale(bj_lastCreatedUnit, 0.0, 0.0, 0.0) call SetUnitFlyHeight(bj_lastCreatedUnit, z, 0) call GroupAddUnit(s__JuugoNewUltimate_cannons[this], bj_lastCreatedUnit) - set s__JuugoUltimateee___scales[(this)*(100)+i]= scale + set s__JuugoUltimateee__scales[(this)*(100)+i]= scale set i=i + 1 endloop set udg_JuugoDamages[(GetUnitUserData((s__JuugoNewUltimate_caster[this])))]=udg_JuugoDamages[(GetUnitUserData((s__JuugoNewUltimate_caster[this])))] * 2 // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__JuugoNewUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JuugoNewUltimate_caster[this] ) , ( 1)) // INLINED!! call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__JuugoNewUltimate_grow , "JuugoNewUltimate_grow") endfunction @@ -66592,7 +66592,7 @@ endfunction if s__JuugoNewJump_count[this] > 25 then call UnitRemoveAbility(s__JuugoNewJump_caster[this], 'A01J') call UnitRemoveAbility(s__JuugoNewJump_caster[this], 'A0YZ') - call s__PauseUnitEx__Pause_setPauseCounter((s__JuugoNewJump_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JuugoNewJump_caster[this] ) , ( 0)) // INLINED!! call SetUnitFlyHeight(s__JuugoNewJump_caster[this], 0, 0) call s__JuugoNewJump_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -66639,7 +66639,7 @@ endfunction call UnitRemoveAbility(s__JuugoNewJump_caster[this], 'Arav') call UnitAddAbility(s__JuugoNewJump_caster[this], 'A01J') call UnitAddAbility(s__JuugoNewJump_caster[this], 'A0YZ') - call s__PauseUnitEx__Pause_setPauseCounter((s__JuugoNewJump_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JuugoNewJump_caster[this] ) , ( 1)) // INLINED!! call SlowArea(s__JuugoNewJump_caster[this] , GetUnitX(s__JuugoNewJump_caster[this]) , GetUnitY(s__JuugoNewJump_caster[this]) , 400.0) call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__JuugoNewJump_periodic , "JuugoNewJump_periodic") endfunction @@ -66759,7 +66759,7 @@ endfunction call UnitRemoveAbility(s__JuugoAxeFist_caster[this], 'A01J') call UnitRemoveAbility(s__JuugoAxeFist_caster[this], 'A0YZ') call UnitAddAbility(s__JuugoAxeFist_caster[this], 'A0TA') - call s__PauseUnitEx__Pause_setPauseCounter((s__JuugoAxeFist_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JuugoAxeFist_caster[this] ) , ( 0)) // INLINED!! call SetPlayerAbilityAvailable(GetOwningPlayer(s__JuugoAxeFist_caster[this]), s__JuugoAxeFist_SPELL_ID, false) call TimerStartEx(NewTimerEx(this) , 4.0 , false , function s__JuugoAxeFist_finish , "JuugoAxeFist_finish") call ReleaseTimer(GetExpiredTimer()) @@ -66778,7 +66778,7 @@ endfunction call UnitAddAbility(s__JuugoAxeFist_caster[this], 'A0YZ') call UnitAddAbility(s__JuugoAxeFist_caster[this], 'Arav') call UnitRemoveAbility(s__JuugoAxeFist_caster[this], 'Arav') - call s__PauseUnitEx__Pause_setPauseCounter((s__JuugoAxeFist_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JuugoAxeFist_caster[this] ) , ( 1)) // INLINED!! call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__JuugoAxeFist_periodic , "JuugoAxeFist_periodic") endfunction @@ -66886,7 +66886,7 @@ endfunction call SetUnitFlyHeight(s__JuugoNewPistolFist_caster[this], 0, 0) call KillUnit(s__JuugoNewPistolFist_missile[this]) set s__JuugoNewPistolFist_missile[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__JuugoNewPistolFist_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JuugoNewPistolFist_caster[this] ) , ( 0)) // INLINED!! call DestroyGroup(s__JuugoNewPistolFist_damaged[this]) set s__JuugoNewPistolFist_damaged[this]=null call s__JuugoNewPistolFist_deallocate(this) @@ -66916,7 +66916,7 @@ endfunction call UnitAddAbility(s__JuugoNewPistolFist_caster[this], 'A01J') call UnitAddAbility(s__JuugoNewPistolFist_caster[this], 'A0YZ') set s__JuugoNewPistolFist_missile[this]=CreateUnit(GetTriggerPlayer(), 'h003', s__JuugoNewPistolFist_caster_x[this], s__JuugoNewPistolFist_caster_y[this], 270) - call s__PauseUnitEx__Pause_setPauseCounter((s__JuugoNewPistolFist_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__JuugoNewPistolFist_caster[this] ) , ( 0)) // INLINED!! call SetUnitFacing(s__JuugoNewPistolFist_caster[this], Rad2Deg(s__JuugoNewPistolFist_angle[this])) set s__JuugoNewPistolFist_countHero[this]=0 call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__JuugoNewPistolFist_periodic , "JuugoNewPistolFist_periodic") @@ -66971,37 +66971,37 @@ endfunction //Implemented from module Alloc: - function s__KabutoSpells___KabutoPoison_allocate takes nothing returns integer + function s__KabutoSpells__KabutoPoison_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__KabutoSpells___KabutoPoison_Alloc__recycle[(0)] == 0 ) then - set s__KabutoSpells___KabutoPoison_Alloc__instanceCount=s__KabutoSpells___KabutoPoison_Alloc__instanceCount + 1 - set this=s__KabutoSpells___KabutoPoison_Alloc__instanceCount + if ( s__KabutoSpells__KabutoPoison_Alloc__recycle[(0)] == 0 ) then + set s__KabutoSpells__KabutoPoison_Alloc__instanceCount=s__KabutoSpells__KabutoPoison_Alloc__instanceCount + 1 + set this=s__KabutoSpells__KabutoPoison_Alloc__instanceCount else - set this=s__KabutoSpells___KabutoPoison_Alloc__recycle[(0)] - set s__KabutoSpells___KabutoPoison_Alloc__recycle[(0)]=s__KabutoSpells___KabutoPoison_Alloc__recycle[s__KabutoSpells___KabutoPoison_Alloc__recycle[(0)]] + set this=s__KabutoSpells__KabutoPoison_Alloc__recycle[(0)] + set s__KabutoSpells__KabutoPoison_Alloc__recycle[(0)]=s__KabutoSpells__KabutoPoison_Alloc__recycle[s__KabutoSpells__KabutoPoison_Alloc__recycle[(0)]] endif return this endfunction - function s__KabutoSpells___KabutoPoison_deallocate takes integer this returns nothing - set s__KabutoSpells___KabutoPoison_Alloc__recycle[this]=s__KabutoSpells___KabutoPoison_Alloc__recycle[(0)] - set s__KabutoSpells___KabutoPoison_Alloc__recycle[(0)]=this + function s__KabutoSpells__KabutoPoison_deallocate takes integer this returns nothing + set s__KabutoSpells__KabutoPoison_Alloc__recycle[this]=s__KabutoSpells__KabutoPoison_Alloc__recycle[(0)] + set s__KabutoSpells__KabutoPoison_Alloc__recycle[(0)]=this endfunction - function s__KabutoSpells___KabutoPoison_periodic takes nothing returns nothing + function s__KabutoSpells__KabutoPoison_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real cloud_x local real cloud_y local group g local unit u - set s__KabutoSpells___KabutoPoison_count[this]=s__KabutoSpells___KabutoPoison_count[this] + 1 + set s__KabutoSpells__KabutoPoison_count[this]=s__KabutoSpells__KabutoPoison_count[this] + 1 set bj_lastCreatedGroup=CreateGroup() - call GroupAddGroup(s__KabutoSpells___KabutoPoison_clouds[this], bj_lastCreatedGroup) + call GroupAddGroup(s__KabutoSpells__KabutoPoison_clouds[this], bj_lastCreatedGroup) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null @@ -67012,13 +67012,13 @@ endfunction loop set u=FirstOfGroup(g) exitwhen u == null - if IsUnitEnemy(u, GetOwningPlayer(s__KabutoSpells___KabutoPoison_caster[this])) and GetWidgetLife(u) > 0.405 and IsUnitType(u, UNIT_TYPE_STRUCTURE) == false and not IsUnitInGroup(u, s__KabutoSpells___KabutoPoison_damaged[this]) then + if IsUnitEnemy(u, GetOwningPlayer(s__KabutoSpells__KabutoPoison_caster[this])) and GetWidgetLife(u) > 0.405 and IsUnitType(u, UNIT_TYPE_STRUCTURE) == false and not IsUnitInGroup(u, s__KabutoSpells__KabutoPoison_damaged[this]) then //if this.target == null and GetUnitAbilityLevel(u, 'BO3I') > 0 then // call UnitDamageTarget(this.caster, u, 0.4 * GetUnitAbilityLevel(this.caster, SPELL_ID) * GetHeroInt(this.caster, true), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) // set this.target = u //endif - call UnitDamageTarget(s__KabutoSpells___KabutoPoison_caster[this], u, 100.0 * GetUnitAbilityLevel(s__KabutoSpells___KabutoPoison_caster[this], s__KabutoSpells___KabutoPoison_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) - call GroupAddUnit(s__KabutoSpells___KabutoPoison_damaged[this], u) + call UnitDamageTarget(s__KabutoSpells__KabutoPoison_caster[this], u, 100.0 * GetUnitAbilityLevel(s__KabutoSpells__KabutoPoison_caster[this], s__KabutoSpells__KabutoPoison_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + call GroupAddUnit(s__KabutoSpells__KabutoPoison_damaged[this], u) endif call GroupRemoveUnit(g, u) endloop @@ -67026,7 +67026,7 @@ endfunction call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call GroupClear(bj_lastCreatedGroup) - call GroupAddGroup(s__KabutoSpells___KabutoPoison_damaged[this], bj_lastCreatedGroup) + call GroupAddGroup(s__KabutoSpells__KabutoPoison_damaged[this], bj_lastCreatedGroup) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null @@ -67037,20 +67037,20 @@ endfunction call DestroyGroup(bj_lastCreatedGroup) set g=null set u=null - if s__KabutoSpells___KabutoPoison_count[this] >= 33 * 4 then - call DestroyGroup(s__KabutoSpells___KabutoPoison_clouds[this]) - call DestroyGroup(s__KabutoSpells___KabutoPoison_damaged[this]) - set s__KabutoSpells___KabutoPoison_caster[this]=null - set s__KabutoSpells___KabutoPoison_target[this]=null - set s__KabutoSpells___KabutoPoison_clouds[this]=null - set s__KabutoSpells___KabutoPoison_damaged[this]=null - call s__KabutoSpells___KabutoPoison_deallocate(this) + if s__KabutoSpells__KabutoPoison_count[this] >= 33 * 4 then + call DestroyGroup(s__KabutoSpells__KabutoPoison_clouds[this]) + call DestroyGroup(s__KabutoSpells__KabutoPoison_damaged[this]) + set s__KabutoSpells__KabutoPoison_caster[this]=null + set s__KabutoSpells__KabutoPoison_target[this]=null + set s__KabutoSpells__KabutoPoison_clouds[this]=null + set s__KabutoSpells__KabutoPoison_damaged[this]=null + call s__KabutoSpells__KabutoPoison_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__KabutoSpells___KabutoPoison_actions takes nothing returns nothing - local integer this= s__KabutoSpells___KabutoPoison_allocate() + function s__KabutoSpells__KabutoPoison_actions takes nothing returns nothing + local integer this= s__KabutoSpells__KabutoPoison_allocate() local unit caster= GetTriggerUnit() local real caster_x= GetUnitX(caster) local real caster_y= GetUnitY(caster) @@ -67060,7 +67060,7 @@ endfunction local real new_y_2 local real angle local integer i= 0 - set s__KabutoSpells___KabutoPoison_clouds[this]=CreateGroup() + set s__KabutoSpells__KabutoPoison_clouds[this]=CreateGroup() loop set i=i + 1 exitwhen i > 6 @@ -67076,18 +67076,18 @@ endfunction //call SetUnitAbilityLevel(bj_lastCreatedUnit, 'A0L7', GetUnitAbilityLevel(caster, SPELL_ID)) call IssuePointOrder(bj_lastCreatedUnit, "move", new_x_2, new_y_2) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 4.0) - call GroupAddUnit(s__KabutoSpells___KabutoPoison_clouds[this], bj_lastCreatedUnit) + call GroupAddUnit(s__KabutoSpells__KabutoPoison_clouds[this], bj_lastCreatedUnit) endloop - set s__KabutoSpells___KabutoPoison_caster[this]=caster - set s__KabutoSpells___KabutoPoison_target[this]=null - set s__KabutoSpells___KabutoPoison_damaged[this]=CreateGroup() - set s__KabutoSpells___KabutoPoison_count[this]=0 - call TimerStart(NewTimerEx(this), 0.03, true, function s__KabutoSpells___KabutoPoison_periodic) + set s__KabutoSpells__KabutoPoison_caster[this]=caster + set s__KabutoSpells__KabutoPoison_target[this]=null + set s__KabutoSpells__KabutoPoison_damaged[this]=CreateGroup() + set s__KabutoSpells__KabutoPoison_count[this]=0 + call TimerStart(NewTimerEx(this), 0.03, true, function s__KabutoSpells__KabutoPoison_periodic) set caster=null endfunction - function s__KabutoSpells___KabutoPoison_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(45 , s__KabutoSpells___KabutoPoison_SPELL_ID , function s__KabutoSpells___KabutoPoison_actions) + function s__KabutoSpells__KabutoPoison_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(45 , s__KabutoSpells__KabutoPoison_SPELL_ID , function s__KabutoSpells__KabutoPoison_actions) endfunction @@ -67100,63 +67100,63 @@ endfunction //Implemented from module Alloc: - function s__KabutoEdoTensei___Spell_allocate takes nothing returns integer + function s__KabutoEdoTensei__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__KabutoEdoTensei___Spell_Alloc__recycle[(0)] == 0 ) then - set s__KabutoEdoTensei___Spell_Alloc__instanceCount=s__KabutoEdoTensei___Spell_Alloc__instanceCount + 1 - set this=s__KabutoEdoTensei___Spell_Alloc__instanceCount + if ( s__KabutoEdoTensei__Spell_Alloc__recycle[(0)] == 0 ) then + set s__KabutoEdoTensei__Spell_Alloc__instanceCount=s__KabutoEdoTensei__Spell_Alloc__instanceCount + 1 + set this=s__KabutoEdoTensei__Spell_Alloc__instanceCount else - set this=s__KabutoEdoTensei___Spell_Alloc__recycle[(0)] - set s__KabutoEdoTensei___Spell_Alloc__recycle[(0)]=s__KabutoEdoTensei___Spell_Alloc__recycle[s__KabutoEdoTensei___Spell_Alloc__recycle[(0)]] + set this=s__KabutoEdoTensei__Spell_Alloc__recycle[(0)] + set s__KabutoEdoTensei__Spell_Alloc__recycle[(0)]=s__KabutoEdoTensei__Spell_Alloc__recycle[s__KabutoEdoTensei__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__KabutoEdoTensei___Spell_deallocate takes integer this returns nothing - set s__KabutoEdoTensei___Spell_Alloc__recycle[this]=s__KabutoEdoTensei___Spell_Alloc__recycle[(0)] - set s__KabutoEdoTensei___Spell_Alloc__recycle[(0)]=this + function s__KabutoEdoTensei__Spell_deallocate takes integer this returns nothing + set s__KabutoEdoTensei__Spell_Alloc__recycle[this]=s__KabutoEdoTensei__Spell_Alloc__recycle[(0)] + set s__KabutoEdoTensei__Spell_Alloc__recycle[(0)]=this endfunction - function s__KabutoEdoTensei___Spell_destroy takes integer this returns nothing - call DestroyGroup(s__KabutoEdoTensei___Spell_katon[this]) - call KillUnit(s__KabutoEdoTensei___Spell_bird[this]) - call KillUnit(s__KabutoEdoTensei___Spell_itachi[this]) - call ShowUnit(s__KabutoEdoTensei___Spell_itachi[this], false) - call KillUnit(s__KabutoEdoTensei___Spell_deidara[this]) - call ShowUnit(s__KabutoEdoTensei___Spell_deidara[this], false) - call KillUnit(s__KabutoEdoTensei___Spell_kakuzu[this]) - call ShowUnit(s__KabutoEdoTensei___Spell_kakuzu[this], false) - call KillUnit(s__KabutoEdoTensei___Spell_coffin_1[this]) - call KillUnit(s__KabutoEdoTensei___Spell_coffin_2[this]) - call KillUnit(s__KabutoEdoTensei___Spell_coffin_3[this]) - call KillUnit(s__KabutoEdoTensei___Spell_grudge[this]) - call ShowUnit(s__KabutoEdoTensei___Spell_grudge[this], false) - call KillUnit(s__KabutoEdoTensei___Spell_dummy_1[this]) - call KillUnit(s__KabutoEdoTensei___Spell_dummy_2[this]) - call KillUnit(s__KabutoEdoTensei___Spell_dummy_3[this]) - set s__KabutoEdoTensei___Spell_katon[this]=null - set s__KabutoEdoTensei___Spell_caster[this]=null - set s__KabutoEdoTensei___Spell_coffin_1[this]=null - set s__KabutoEdoTensei___Spell_coffin_2[this]=null - set s__KabutoEdoTensei___Spell_coffin_3[this]=null - set s__KabutoEdoTensei___Spell_itachi[this]=null - set s__KabutoEdoTensei___Spell_deidara[this]=null - set s__KabutoEdoTensei___Spell_kakuzu[this]=null - set s__KabutoEdoTensei___Spell_grudge[this]=null - set s__KabutoEdoTensei___Spell_bird[this]=null - set s__KabutoEdoTensei___Spell_dummy_1[this]=null - set s__KabutoEdoTensei___Spell_dummy_2[this]=null - set s__KabutoEdoTensei___Spell_dummy_3[this]=null - set s__KabutoEdoTensei___Spell_light[this]=null - call s__KabutoEdoTensei___Spell_deallocate(this) + function s__KabutoEdoTensei__Spell_destroy takes integer this returns nothing + call DestroyGroup(s__KabutoEdoTensei__Spell_katon[this]) + call KillUnit(s__KabutoEdoTensei__Spell_bird[this]) + call KillUnit(s__KabutoEdoTensei__Spell_itachi[this]) + call ShowUnit(s__KabutoEdoTensei__Spell_itachi[this], false) + call KillUnit(s__KabutoEdoTensei__Spell_deidara[this]) + call ShowUnit(s__KabutoEdoTensei__Spell_deidara[this], false) + call KillUnit(s__KabutoEdoTensei__Spell_kakuzu[this]) + call ShowUnit(s__KabutoEdoTensei__Spell_kakuzu[this], false) + call KillUnit(s__KabutoEdoTensei__Spell_coffin_1[this]) + call KillUnit(s__KabutoEdoTensei__Spell_coffin_2[this]) + call KillUnit(s__KabutoEdoTensei__Spell_coffin_3[this]) + call KillUnit(s__KabutoEdoTensei__Spell_grudge[this]) + call ShowUnit(s__KabutoEdoTensei__Spell_grudge[this], false) + call KillUnit(s__KabutoEdoTensei__Spell_dummy_1[this]) + call KillUnit(s__KabutoEdoTensei__Spell_dummy_2[this]) + call KillUnit(s__KabutoEdoTensei__Spell_dummy_3[this]) + set s__KabutoEdoTensei__Spell_katon[this]=null + set s__KabutoEdoTensei__Spell_caster[this]=null + set s__KabutoEdoTensei__Spell_coffin_1[this]=null + set s__KabutoEdoTensei__Spell_coffin_2[this]=null + set s__KabutoEdoTensei__Spell_coffin_3[this]=null + set s__KabutoEdoTensei__Spell_itachi[this]=null + set s__KabutoEdoTensei__Spell_deidara[this]=null + set s__KabutoEdoTensei__Spell_kakuzu[this]=null + set s__KabutoEdoTensei__Spell_grudge[this]=null + set s__KabutoEdoTensei__Spell_bird[this]=null + set s__KabutoEdoTensei__Spell_dummy_1[this]=null + set s__KabutoEdoTensei__Spell_dummy_2[this]=null + set s__KabutoEdoTensei__Spell_dummy_3[this]=null + set s__KabutoEdoTensei__Spell_light[this]=null + call s__KabutoEdoTensei__Spell_deallocate(this) endfunction - function s__KabutoEdoTensei___Spell_shake takes nothing returns nothing + function s__KabutoEdoTensei__Spell_shake takes nothing returns nothing local integer i= 0 loop exitwhen i > 11 @@ -67166,19 +67166,19 @@ endfunction call ReleaseTimer(GetExpiredTimer()) endfunction - function s__KabutoEdoTensei___Spell_dealDamage takes nothing returns boolean + function s__KabutoEdoTensei__Spell_dealDamage takes nothing returns boolean local real unit_x local real unit_y - if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__KabutoEdoTensei___Spell_caster[s__KabutoEdoTensei___Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 then + if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__KabutoEdoTensei__Spell_caster[s__KabutoEdoTensei__Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 then set unit_x=GetUnitX(GetFilterUnit()) set unit_y=GetUnitY(GetFilterUnit()) call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Other\\Incinerate\\FireLordDeathExplode.mdl" ), (( unit_x )*1.0), (( unit_y)*1.0))) // INLINED!! - call UnitDamageTarget(s__KabutoEdoTensei___Spell_caster[s__KabutoEdoTensei___Spell_instance], GetFilterUnit(), 800 * GetUnitAbilityLevel(s__KabutoEdoTensei___Spell_caster[s__KabutoEdoTensei___Spell_instance], s__KabutoEdoTensei___Spell_SPELL_ID) + GetHeroInt(s__KabutoEdoTensei___Spell_caster[s__KabutoEdoTensei___Spell_instance], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__KabutoEdoTensei__Spell_caster[s__KabutoEdoTensei__Spell_instance], GetFilterUnit(), 800 * GetUnitAbilityLevel(s__KabutoEdoTensei__Spell_caster[s__KabutoEdoTensei__Spell_instance], s__KabutoEdoTensei__Spell_SPELL_ID) + GetHeroInt(s__KabutoEdoTensei__Spell_caster[s__KabutoEdoTensei__Spell_instance], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) endif return false endfunction - function s__KabutoEdoTensei___Spell_periodic takes nothing returns nothing + function s__KabutoEdoTensei__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real dummy_1_x local real dummy_1_y @@ -67212,17 +67212,17 @@ endfunction local real unit_x local real unit_y local integer i= 0 - set s__KabutoEdoTensei___Spell_count[this]=s__KabutoEdoTensei___Spell_count[this] + 1 - set s__KabutoEdoTensei___Spell_count_2[this]=s__KabutoEdoTensei___Spell_count[this] + 1 - set dummy_1_x=GetUnitX(s__KabutoEdoTensei___Spell_dummy_1[this]) - set dummy_1_y=GetUnitY(s__KabutoEdoTensei___Spell_dummy_1[this]) - set dummy_2_x=GetUnitX(s__KabutoEdoTensei___Spell_dummy_2[this]) - set dummy_2_y=GetUnitY(s__KabutoEdoTensei___Spell_dummy_2[this]) - set dummy_3_x=GetUnitX(s__KabutoEdoTensei___Spell_dummy_3[this]) - set dummy_3_y=GetUnitY(s__KabutoEdoTensei___Spell_dummy_3[this]) - set angle_1=Atan2(( s__KabutoEdoTensei___Spell_target_y[this] - dummy_1_y ), ( s__KabutoEdoTensei___Spell_target_x[this] - dummy_1_x )) - set angle_2=Atan2(( s__KabutoEdoTensei___Spell_target_y[this] - dummy_2_y ), ( s__KabutoEdoTensei___Spell_target_x[this] - dummy_2_x )) - set angle_3=Atan2(( s__KabutoEdoTensei___Spell_target_y[this] - dummy_3_y ), ( s__KabutoEdoTensei___Spell_target_x[this] - dummy_3_x )) + set s__KabutoEdoTensei__Spell_count[this]=s__KabutoEdoTensei__Spell_count[this] + 1 + set s__KabutoEdoTensei__Spell_count_2[this]=s__KabutoEdoTensei__Spell_count[this] + 1 + set dummy_1_x=GetUnitX(s__KabutoEdoTensei__Spell_dummy_1[this]) + set dummy_1_y=GetUnitY(s__KabutoEdoTensei__Spell_dummy_1[this]) + set dummy_2_x=GetUnitX(s__KabutoEdoTensei__Spell_dummy_2[this]) + set dummy_2_y=GetUnitY(s__KabutoEdoTensei__Spell_dummy_2[this]) + set dummy_3_x=GetUnitX(s__KabutoEdoTensei__Spell_dummy_3[this]) + set dummy_3_y=GetUnitY(s__KabutoEdoTensei__Spell_dummy_3[this]) + set angle_1=Atan2(( s__KabutoEdoTensei__Spell_target_y[this] - dummy_1_y ), ( s__KabutoEdoTensei__Spell_target_x[this] - dummy_1_x )) + set angle_2=Atan2(( s__KabutoEdoTensei__Spell_target_y[this] - dummy_2_y ), ( s__KabutoEdoTensei__Spell_target_x[this] - dummy_2_x )) + set angle_3=Atan2(( s__KabutoEdoTensei__Spell_target_y[this] - dummy_3_y ), ( s__KabutoEdoTensei__Spell_target_x[this] - dummy_3_x )) set new_dummy_1_x=dummy_1_x + Cos(angle_1) * 20 set new_dummy_1_y=dummy_1_y + Sin(angle_1) * 20 set new_dummy_2_x=dummy_2_x + Cos(angle_2) * 20 @@ -67233,30 +67233,30 @@ endfunction set new_parabola_dummy_2_y=new_dummy_2_y + Sin(angle_2 + bj_PI / 2) * 20 set new_parabola_dummy_3_x=new_dummy_3_x + Cos(angle_3 - bj_PI / 2) * 20 set new_parabola_dummy_3_y=new_dummy_3_y + Sin(angle_3 - bj_PI / 2) * 20 - call SetUnitX(s__KabutoEdoTensei___Spell_dummy_1[this], new_dummy_1_x) - call SetUnitY(s__KabutoEdoTensei___Spell_dummy_1[this], new_dummy_1_y) - set size=1.0 + s__KabutoEdoTensei___Spell_count[this] * 0.03 - call SetUnitScale(s__KabutoEdoTensei___Spell_dummy_1[this], size, size, size) - call SetUnitX(s__KabutoEdoTensei___Spell_dummy_2[this], new_parabola_dummy_2_x) - call SetUnitY(s__KabutoEdoTensei___Spell_dummy_2[this], new_parabola_dummy_2_y) - call SetUnitX(s__KabutoEdoTensei___Spell_dummy_3[this], new_parabola_dummy_3_x) - call SetUnitY(s__KabutoEdoTensei___Spell_dummy_3[this], new_parabola_dummy_3_y) - call SetUnitX(s__KabutoEdoTensei___Spell_bird[this], new_parabola_dummy_3_x) - call SetUnitY(s__KabutoEdoTensei___Spell_bird[this], new_parabola_dummy_3_y) - set distance_x=s__KabutoEdoTensei___Spell_target_x[this] - new_parabola_dummy_3_x - set distance_y=s__KabutoEdoTensei___Spell_target_y[this] - new_parabola_dummy_3_y + call SetUnitX(s__KabutoEdoTensei__Spell_dummy_1[this], new_dummy_1_x) + call SetUnitY(s__KabutoEdoTensei__Spell_dummy_1[this], new_dummy_1_y) + set size=1.0 + s__KabutoEdoTensei__Spell_count[this] * 0.03 + call SetUnitScale(s__KabutoEdoTensei__Spell_dummy_1[this], size, size, size) + call SetUnitX(s__KabutoEdoTensei__Spell_dummy_2[this], new_parabola_dummy_2_x) + call SetUnitY(s__KabutoEdoTensei__Spell_dummy_2[this], new_parabola_dummy_2_y) + call SetUnitX(s__KabutoEdoTensei__Spell_dummy_3[this], new_parabola_dummy_3_x) + call SetUnitY(s__KabutoEdoTensei__Spell_dummy_3[this], new_parabola_dummy_3_y) + call SetUnitX(s__KabutoEdoTensei__Spell_bird[this], new_parabola_dummy_3_x) + call SetUnitY(s__KabutoEdoTensei__Spell_bird[this], new_parabola_dummy_3_y) + set distance_x=s__KabutoEdoTensei__Spell_target_x[this] - new_parabola_dummy_3_x + set distance_y=s__KabutoEdoTensei__Spell_target_y[this] - new_parabola_dummy_3_y set distance=SquareRoot(distance_x * distance_x + distance_y * distance_y) - call SetUnitFlyHeight(s__KabutoEdoTensei___Spell_bird[this], Parabola(300 , 0 , 150 , s__KabutoEdoTensei___Spell_distance[this] , 20 * s__KabutoEdoTensei___Spell_count[this]), 0) - set grudge_x=GetUnitX(s__KabutoEdoTensei___Spell_grudge[this]) - set grudge_y=GetUnitY(s__KabutoEdoTensei___Spell_grudge[this]) - call MoveLightningEx(s__KabutoEdoTensei___Spell_light[this], true, grudge_x, grudge_y, 160, new_parabola_dummy_2_x, new_parabola_dummy_2_y, 60) + call SetUnitFlyHeight(s__KabutoEdoTensei__Spell_bird[this], Parabola(300 , 0 , 150 , s__KabutoEdoTensei__Spell_distance[this] , 20 * s__KabutoEdoTensei__Spell_count[this]), 0) + set grudge_x=GetUnitX(s__KabutoEdoTensei__Spell_grudge[this]) + set grudge_y=GetUnitY(s__KabutoEdoTensei__Spell_grudge[this]) + call MoveLightningEx(s__KabutoEdoTensei__Spell_light[this], true, grudge_x, grudge_y, 160, new_parabola_dummy_2_x, new_parabola_dummy_2_y, 60) call DestroyEffect(AddSpecialEffect(("Abilities\\Weapons\\Bolt\\BoltImpact.mdl" ), (( new_parabola_dummy_2_x )*1.0), (( new_parabola_dummy_2_y)*1.0))) // INLINED!! - if distance <= 50 or s__KabutoEdoTensei___Spell_count_2[this] > 500 then + if distance <= 50 or s__KabutoEdoTensei__Spell_count_2[this] > 500 then loop - set bj_lastCreatedUnit=FirstOfGroup(s__KabutoEdoTensei___Spell_katon[this]) + set bj_lastCreatedUnit=FirstOfGroup(s__KabutoEdoTensei__Spell_katon[this]) exitwhen bj_lastCreatedUnit == null call KillUnit(bj_lastCreatedUnit) - call GroupRemoveUnit(s__KabutoEdoTensei___Spell_katon[this], bj_lastCreatedUnit) + call GroupRemoveUnit(s__KabutoEdoTensei__Spell_katon[this], bj_lastCreatedUnit) endloop set bj_lastCreatedEffect=AddSpecialEffect("war3mapImported\\PrettyExplosion.mdx", dummy_1_x, dummy_1_y) @@ -67265,30 +67265,30 @@ endfunction call DestroyEffect(bj_lastCreatedEffect) //loop // exitwhen i > 11 - if IsUnitVisible(s__KabutoEdoTensei___Spell_caster[this], GetLocalPlayer()) then + if IsUnitVisible(s__KabutoEdoTensei__Spell_caster[this], GetLocalPlayer()) then call CameraSetEQNoiseForPlayer(GetLocalPlayer(), 10.00) endif // set i = i + 1 //endloop - call TimerStart(CreateTimer(), 1.5, false, function s__KabutoEdoTensei___Spell_shake) + call TimerStart(CreateTimer(), 1.5, false, function s__KabutoEdoTensei__Spell_shake) set bj_lastCreatedGroup=CreateGroup() - set s__KabutoEdoTensei___Spell_instance=this - call GroupEnumUnitsInRange(bj_lastCreatedGroup, dummy_1_x, dummy_1_y, 400, Filter(function s__KabutoEdoTensei___Spell_dealDamage)) + set s__KabutoEdoTensei__Spell_instance=this + call GroupEnumUnitsInRange(bj_lastCreatedGroup, dummy_1_x, dummy_1_y, 400, Filter(function s__KabutoEdoTensei__Spell_dealDamage)) call DestroyGroup(bj_lastCreatedGroup) - call DestroyLightning(s__KabutoEdoTensei___Spell_light[this]) - call ShowUnit(s__KabutoEdoTensei___Spell_bird[this], false) - call s__KabutoEdoTensei___Spell_destroy(this) + call DestroyLightning(s__KabutoEdoTensei__Spell_light[this]) + call ShowUnit(s__KabutoEdoTensei__Spell_bird[this], false) + call s__KabutoEdoTensei__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__KabutoEdoTensei___Spell_delay2 takes nothing returns nothing + function s__KabutoEdoTensei__Spell_delay2 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call TimerStart(NewTimerEx(this), 0.03, true, function s__KabutoEdoTensei___Spell_periodic) + call TimerStart(NewTimerEx(this), 0.03, true, function s__KabutoEdoTensei__Spell_periodic) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__KabutoEdoTensei___Spell_delay1 takes nothing returns nothing + function s__KabutoEdoTensei__Spell_delay1 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real kakuzu_x local real kakuzu_y @@ -67300,46 +67300,46 @@ endfunction local real new_y local real new_x_2 local real new_y_2 - call SetUnitTimeScale(s__KabutoEdoTensei___Spell_itachi[this], 2.0) - call SetUnitAnimation(s__KabutoEdoTensei___Spell_itachi[this], "spell two") - call SetUnitAnimation(s__KabutoEdoTensei___Spell_deidara[this], "spell three") - call SetUnitAnimation(s__KabutoEdoTensei___Spell_kakuzu[this], "spell") - set kakuzu_x=GetUnitX(s__KabutoEdoTensei___Spell_kakuzu[this]) - set kakuzu_y=GetUnitY(s__KabutoEdoTensei___Spell_kakuzu[this]) - set new_x=kakuzu_x + Cos(Deg2Rad(GetUnitFacing(s__KabutoEdoTensei___Spell_kakuzu[this]))) * 100 - set new_y=kakuzu_y + Sin(Deg2Rad(GetUnitFacing(s__KabutoEdoTensei___Spell_kakuzu[this]))) * 100 - set s__KabutoEdoTensei___Spell_grudge[this]=CreateUnit(GetOwningPlayer(s__KabutoEdoTensei___Spell_caster[this]), 'e007', new_x, new_y, GetUnitFacing(s__KabutoEdoTensei___Spell_kakuzu[this])) - call SetUnitX(s__KabutoEdoTensei___Spell_grudge[this], new_x) - call SetUnitY(s__KabutoEdoTensei___Spell_grudge[this], new_y) - call SetUnitAnimation(s__KabutoEdoTensei___Spell_grudge[this], "attack") - set deidara_x=GetUnitX(s__KabutoEdoTensei___Spell_deidara[this]) - set deidara_y=GetUnitY(s__KabutoEdoTensei___Spell_deidara[this]) - set s__KabutoEdoTensei___Spell_bird[this]=CreateUnit(GetOwningPlayer(s__KabutoEdoTensei___Spell_caster[this]), 'nvdw', deidara_x, deidara_y, GetUnitFacing(s__KabutoEdoTensei___Spell_deidara[this])) - call SetUnitVertexColor(s__KabutoEdoTensei___Spell_bird[this], 255, 255, 255, 255) - call SetUnitX(s__KabutoEdoTensei___Spell_bird[this], deidara_x) - call SetUnitY(s__KabutoEdoTensei___Spell_bird[this], deidara_y) - call SetUnitFlyHeight(s__KabutoEdoTensei___Spell_bird[this], 300, 600) - set itachi_x=GetUnitX(s__KabutoEdoTensei___Spell_itachi[this]) - set itachi_y=GetUnitY(s__KabutoEdoTensei___Spell_itachi[this]) - set new_x_2=itachi_x + Cos(Deg2Rad(GetUnitFacing(s__KabutoEdoTensei___Spell_itachi[this]))) * 100 - set new_y_2=itachi_y + Sin(Deg2Rad(GetUnitFacing(s__KabutoEdoTensei___Spell_itachi[this]))) * 100 - set s__KabutoEdoTensei___Spell_dummy_1[this]=CreateUnit(GetOwningPlayer(s__KabutoEdoTensei___Spell_caster[this]), 'e026', new_x_2, new_y_2, GetUnitFacing(s__KabutoEdoTensei___Spell_itachi[this])) - call SetUnitX(s__KabutoEdoTensei___Spell_dummy_1[this], new_x_2) - call SetUnitY(s__KabutoEdoTensei___Spell_dummy_1[this], new_y_2) - call SetUnitTimeScale(s__KabutoEdoTensei___Spell_dummy_1[this], 5.0) - set s__KabutoEdoTensei___Spell_dummy_2[this]=CreateUnit(GetOwningPlayer(s__KabutoEdoTensei___Spell_caster[this]), 'e007', kakuzu_x, kakuzu_y, GetUnitFacing(s__KabutoEdoTensei___Spell_kakuzu[this])) - call SetUnitX(s__KabutoEdoTensei___Spell_dummy_2[this], kakuzu_x) - call SetUnitY(s__KabutoEdoTensei___Spell_dummy_2[this], kakuzu_y) - set s__KabutoEdoTensei___Spell_dummy_3[this]=CreateUnit(GetOwningPlayer(s__KabutoEdoTensei___Spell_caster[this]), 'e007', deidara_x, deidara_y, GetUnitFacing(s__KabutoEdoTensei___Spell_deidara[this])) - call SetUnitX(s__KabutoEdoTensei___Spell_dummy_3[this], deidara_x) - call SetUnitY(s__KabutoEdoTensei___Spell_dummy_3[this], deidara_y) - set s__KabutoEdoTensei___Spell_light[this]=AddLightningEx("CLPB", true, new_x, new_y, 60, new_x, new_y, 60) - call TimerStart(NewTimerEx(this), 0.5, false, function s__KabutoEdoTensei___Spell_delay2) + call SetUnitTimeScale(s__KabutoEdoTensei__Spell_itachi[this], 2.0) + call SetUnitAnimation(s__KabutoEdoTensei__Spell_itachi[this], "spell two") + call SetUnitAnimation(s__KabutoEdoTensei__Spell_deidara[this], "spell three") + call SetUnitAnimation(s__KabutoEdoTensei__Spell_kakuzu[this], "spell") + set kakuzu_x=GetUnitX(s__KabutoEdoTensei__Spell_kakuzu[this]) + set kakuzu_y=GetUnitY(s__KabutoEdoTensei__Spell_kakuzu[this]) + set new_x=kakuzu_x + Cos(Deg2Rad(GetUnitFacing(s__KabutoEdoTensei__Spell_kakuzu[this]))) * 100 + set new_y=kakuzu_y + Sin(Deg2Rad(GetUnitFacing(s__KabutoEdoTensei__Spell_kakuzu[this]))) * 100 + set s__KabutoEdoTensei__Spell_grudge[this]=CreateUnit(GetOwningPlayer(s__KabutoEdoTensei__Spell_caster[this]), 'e007', new_x, new_y, GetUnitFacing(s__KabutoEdoTensei__Spell_kakuzu[this])) + call SetUnitX(s__KabutoEdoTensei__Spell_grudge[this], new_x) + call SetUnitY(s__KabutoEdoTensei__Spell_grudge[this], new_y) + call SetUnitAnimation(s__KabutoEdoTensei__Spell_grudge[this], "attack") + set deidara_x=GetUnitX(s__KabutoEdoTensei__Spell_deidara[this]) + set deidara_y=GetUnitY(s__KabutoEdoTensei__Spell_deidara[this]) + set s__KabutoEdoTensei__Spell_bird[this]=CreateUnit(GetOwningPlayer(s__KabutoEdoTensei__Spell_caster[this]), 'nvdw', deidara_x, deidara_y, GetUnitFacing(s__KabutoEdoTensei__Spell_deidara[this])) + call SetUnitVertexColor(s__KabutoEdoTensei__Spell_bird[this], 255, 255, 255, 255) + call SetUnitX(s__KabutoEdoTensei__Spell_bird[this], deidara_x) + call SetUnitY(s__KabutoEdoTensei__Spell_bird[this], deidara_y) + call SetUnitFlyHeight(s__KabutoEdoTensei__Spell_bird[this], 300, 600) + set itachi_x=GetUnitX(s__KabutoEdoTensei__Spell_itachi[this]) + set itachi_y=GetUnitY(s__KabutoEdoTensei__Spell_itachi[this]) + set new_x_2=itachi_x + Cos(Deg2Rad(GetUnitFacing(s__KabutoEdoTensei__Spell_itachi[this]))) * 100 + set new_y_2=itachi_y + Sin(Deg2Rad(GetUnitFacing(s__KabutoEdoTensei__Spell_itachi[this]))) * 100 + set s__KabutoEdoTensei__Spell_dummy_1[this]=CreateUnit(GetOwningPlayer(s__KabutoEdoTensei__Spell_caster[this]), 'e026', new_x_2, new_y_2, GetUnitFacing(s__KabutoEdoTensei__Spell_itachi[this])) + call SetUnitX(s__KabutoEdoTensei__Spell_dummy_1[this], new_x_2) + call SetUnitY(s__KabutoEdoTensei__Spell_dummy_1[this], new_y_2) + call SetUnitTimeScale(s__KabutoEdoTensei__Spell_dummy_1[this], 5.0) + set s__KabutoEdoTensei__Spell_dummy_2[this]=CreateUnit(GetOwningPlayer(s__KabutoEdoTensei__Spell_caster[this]), 'e007', kakuzu_x, kakuzu_y, GetUnitFacing(s__KabutoEdoTensei__Spell_kakuzu[this])) + call SetUnitX(s__KabutoEdoTensei__Spell_dummy_2[this], kakuzu_x) + call SetUnitY(s__KabutoEdoTensei__Spell_dummy_2[this], kakuzu_y) + set s__KabutoEdoTensei__Spell_dummy_3[this]=CreateUnit(GetOwningPlayer(s__KabutoEdoTensei__Spell_caster[this]), 'e007', deidara_x, deidara_y, GetUnitFacing(s__KabutoEdoTensei__Spell_deidara[this])) + call SetUnitX(s__KabutoEdoTensei__Spell_dummy_3[this], deidara_x) + call SetUnitY(s__KabutoEdoTensei__Spell_dummy_3[this], deidara_y) + set s__KabutoEdoTensei__Spell_light[this]=AddLightningEx("CLPB", true, new_x, new_y, 60, new_x, new_y, 60) + call TimerStart(NewTimerEx(this), 0.5, false, function s__KabutoEdoTensei__Spell_delay2) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__KabutoEdoTensei___Spell_actions takes nothing returns nothing - local integer this= s__KabutoEdoTensei___Spell_allocate() + function s__KabutoEdoTensei__Spell_actions takes nothing returns nothing + local integer this= s__KabutoEdoTensei__Spell_allocate() local real caster_x local real caster_y local real new_x_1 @@ -67354,54 +67354,54 @@ endfunction if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Kabuto_R, 100.0, GetTriggerUnit()) endif - set s__KabutoEdoTensei___Spell_katon[this]=CreateGroup() - set s__KabutoEdoTensei___Spell_caster[this]=GetTriggerUnit() - set s__KabutoEdoTensei___Spell_target_x[this]=GetSpellTargetX() - set s__KabutoEdoTensei___Spell_target_y[this]=GetSpellTargetY() - set caster_x=GetUnitX(s__KabutoEdoTensei___Spell_caster[this]) - set caster_y=GetUnitY(s__KabutoEdoTensei___Spell_caster[this]) - set angle=Atan2(( s__KabutoEdoTensei___Spell_target_y[this] - caster_y ), ( s__KabutoEdoTensei___Spell_target_x[this] - caster_x )) + set s__KabutoEdoTensei__Spell_katon[this]=CreateGroup() + set s__KabutoEdoTensei__Spell_caster[this]=GetTriggerUnit() + set s__KabutoEdoTensei__Spell_target_x[this]=GetSpellTargetX() + set s__KabutoEdoTensei__Spell_target_y[this]=GetSpellTargetY() + set caster_x=GetUnitX(s__KabutoEdoTensei__Spell_caster[this]) + set caster_y=GetUnitY(s__KabutoEdoTensei__Spell_caster[this]) + set angle=Atan2(( s__KabutoEdoTensei__Spell_target_y[this] - caster_y ), ( s__KabutoEdoTensei__Spell_target_x[this] - caster_x )) set new_x_1=caster_x + Cos(angle) * 100 set new_y_1=caster_y + Sin(angle) * 100 set new_x_2=new_x_1 + Cos(angle + bj_PI / 2) * 100 set new_y_2=new_y_1 + Sin(angle + bj_PI / 2) * 100 set new_x_3=new_x_1 + Cos(angle - bj_PI / 2) * 100 set new_y_3=new_y_1 + Sin(angle - bj_PI / 2) * 100 - set distance_x=s__KabutoEdoTensei___Spell_target_x[this] - new_x_3 - set distance_y=s__KabutoEdoTensei___Spell_target_y[this] - new_y_3 - set s__KabutoEdoTensei___Spell_distance[this]=SquareRoot(distance_x * distance_x + distance_y * distance_y) - set s__KabutoEdoTensei___Spell_coffin_1[this]=CreateUnit(GetTriggerPlayer(), 'e025', new_x_1, new_y_1, Rad2Deg(angle)) - call SetUnitX(s__KabutoEdoTensei___Spell_coffin_1[this], new_x_1) - call SetUnitY(s__KabutoEdoTensei___Spell_coffin_1[this], new_y_1) - call SetUnitTimeScale(s__KabutoEdoTensei___Spell_coffin_1[this], 2.0) - set s__KabutoEdoTensei___Spell_coffin_2[this]=CreateUnit(GetTriggerPlayer(), 'e025', new_x_2, new_y_2, Rad2Deg(angle)) - call SetUnitX(s__KabutoEdoTensei___Spell_coffin_2[this], new_x_2) - call SetUnitY(s__KabutoEdoTensei___Spell_coffin_2[this], new_y_2) - call SetUnitTimeScale(s__KabutoEdoTensei___Spell_coffin_2[this], 2.0) - set s__KabutoEdoTensei___Spell_coffin_3[this]=CreateUnit(GetTriggerPlayer(), 'e025', new_x_3, new_y_3, Rad2Deg(angle)) - call SetUnitX(s__KabutoEdoTensei___Spell_coffin_3[this], new_x_3) - call SetUnitY(s__KabutoEdoTensei___Spell_coffin_3[this], new_y_3) - call SetUnitTimeScale(s__KabutoEdoTensei___Spell_coffin_3[this], 2.0) - set s__KabutoEdoTensei___Spell_itachi[this]=CreateUnit(GetTriggerPlayer(), 'h03J', new_x_1, new_y_1, Rad2Deg(angle)) //ok - call SetUnitX(s__KabutoEdoTensei___Spell_itachi[this], new_x_1) - call SetUnitY(s__KabutoEdoTensei___Spell_itachi[this], new_y_1) - set s__KabutoEdoTensei___Spell_kakuzu[this]=CreateUnit(GetTriggerPlayer(), 'h077', new_x_2, new_y_2, Rad2Deg(angle)) //ok - call SetUnitX(s__KabutoEdoTensei___Spell_kakuzu[this], new_x_2) - call SetUnitY(s__KabutoEdoTensei___Spell_kakuzu[this], new_y_2) - set s__KabutoEdoTensei___Spell_deidara[this]=CreateUnit(GetTriggerPlayer(), 'h078', new_x_3, new_y_3, Rad2Deg(angle)) //ok - call SetUnitX(s__KabutoEdoTensei___Spell_deidara[this], new_x_3) - call SetUnitY(s__KabutoEdoTensei___Spell_deidara[this], new_y_3) - call SetUnitAnimation(s__KabutoEdoTensei___Spell_caster[this], "stand") - set s__KabutoEdoTensei___Spell_count[this]=0 - set s__KabutoEdoTensei___Spell_count_2[this]=0 - if IsUnitVisible(s__KabutoEdoTensei___Spell_caster[this], GetLocalPlayer()) then + set distance_x=s__KabutoEdoTensei__Spell_target_x[this] - new_x_3 + set distance_y=s__KabutoEdoTensei__Spell_target_y[this] - new_y_3 + set s__KabutoEdoTensei__Spell_distance[this]=SquareRoot(distance_x * distance_x + distance_y * distance_y) + set s__KabutoEdoTensei__Spell_coffin_1[this]=CreateUnit(GetTriggerPlayer(), 'e025', new_x_1, new_y_1, Rad2Deg(angle)) + call SetUnitX(s__KabutoEdoTensei__Spell_coffin_1[this], new_x_1) + call SetUnitY(s__KabutoEdoTensei__Spell_coffin_1[this], new_y_1) + call SetUnitTimeScale(s__KabutoEdoTensei__Spell_coffin_1[this], 2.0) + set s__KabutoEdoTensei__Spell_coffin_2[this]=CreateUnit(GetTriggerPlayer(), 'e025', new_x_2, new_y_2, Rad2Deg(angle)) + call SetUnitX(s__KabutoEdoTensei__Spell_coffin_2[this], new_x_2) + call SetUnitY(s__KabutoEdoTensei__Spell_coffin_2[this], new_y_2) + call SetUnitTimeScale(s__KabutoEdoTensei__Spell_coffin_2[this], 2.0) + set s__KabutoEdoTensei__Spell_coffin_3[this]=CreateUnit(GetTriggerPlayer(), 'e025', new_x_3, new_y_3, Rad2Deg(angle)) + call SetUnitX(s__KabutoEdoTensei__Spell_coffin_3[this], new_x_3) + call SetUnitY(s__KabutoEdoTensei__Spell_coffin_3[this], new_y_3) + call SetUnitTimeScale(s__KabutoEdoTensei__Spell_coffin_3[this], 2.0) + set s__KabutoEdoTensei__Spell_itachi[this]=CreateUnit(GetTriggerPlayer(), 'h03J', new_x_1, new_y_1, Rad2Deg(angle)) //ok + call SetUnitX(s__KabutoEdoTensei__Spell_itachi[this], new_x_1) + call SetUnitY(s__KabutoEdoTensei__Spell_itachi[this], new_y_1) + set s__KabutoEdoTensei__Spell_kakuzu[this]=CreateUnit(GetTriggerPlayer(), 'h077', new_x_2, new_y_2, Rad2Deg(angle)) //ok + call SetUnitX(s__KabutoEdoTensei__Spell_kakuzu[this], new_x_2) + call SetUnitY(s__KabutoEdoTensei__Spell_kakuzu[this], new_y_2) + set s__KabutoEdoTensei__Spell_deidara[this]=CreateUnit(GetTriggerPlayer(), 'h078', new_x_3, new_y_3, Rad2Deg(angle)) //ok + call SetUnitX(s__KabutoEdoTensei__Spell_deidara[this], new_x_3) + call SetUnitY(s__KabutoEdoTensei__Spell_deidara[this], new_y_3) + call SetUnitAnimation(s__KabutoEdoTensei__Spell_caster[this], "stand") + set s__KabutoEdoTensei__Spell_count[this]=0 + set s__KabutoEdoTensei__Spell_count_2[this]=0 + if IsUnitVisible(s__KabutoEdoTensei__Spell_caster[this], GetLocalPlayer()) then //call PlaySoundOnUnitBJ(gg_snd_Kabuto_R, 100.0, this.caster) endif - call TimerStart(NewTimerEx(this), 0.5, false, function s__KabutoEdoTensei___Spell_delay1) + call TimerStart(NewTimerEx(this), 0.5, false, function s__KabutoEdoTensei__Spell_delay1) endfunction - function s__KabutoEdoTensei___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(45 , s__KabutoEdoTensei___Spell_SPELL_ID , function s__KabutoEdoTensei___Spell_actions) + function s__KabutoEdoTensei__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(45 , s__KabutoEdoTensei__Spell_SPELL_ID , function s__KabutoEdoTensei__Spell_actions) endfunction @@ -67414,69 +67414,69 @@ endfunction //Implemented from module Alloc: - function s__KabutoSennin___Spell_allocate takes nothing returns integer + function s__KabutoSennin__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__KabutoSennin___Spell_Alloc__recycle[(0)] == 0 ) then - set s__KabutoSennin___Spell_Alloc__instanceCount=s__KabutoSennin___Spell_Alloc__instanceCount + 1 - set this=s__KabutoSennin___Spell_Alloc__instanceCount + if ( s__KabutoSennin__Spell_Alloc__recycle[(0)] == 0 ) then + set s__KabutoSennin__Spell_Alloc__instanceCount=s__KabutoSennin__Spell_Alloc__instanceCount + 1 + set this=s__KabutoSennin__Spell_Alloc__instanceCount else - set this=s__KabutoSennin___Spell_Alloc__recycle[(0)] - set s__KabutoSennin___Spell_Alloc__recycle[(0)]=s__KabutoSennin___Spell_Alloc__recycle[s__KabutoSennin___Spell_Alloc__recycle[(0)]] + set this=s__KabutoSennin__Spell_Alloc__recycle[(0)] + set s__KabutoSennin__Spell_Alloc__recycle[(0)]=s__KabutoSennin__Spell_Alloc__recycle[s__KabutoSennin__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__KabutoSennin___Spell_deallocate takes integer this returns nothing - set s__KabutoSennin___Spell_Alloc__recycle[this]=s__KabutoSennin___Spell_Alloc__recycle[(0)] - set s__KabutoSennin___Spell_Alloc__recycle[(0)]=this + function s__KabutoSennin__Spell_deallocate takes integer this returns nothing + set s__KabutoSennin__Spell_Alloc__recycle[this]=s__KabutoSennin__Spell_Alloc__recycle[(0)] + set s__KabutoSennin__Spell_Alloc__recycle[(0)]=this endfunction - function s__KabutoSennin___Spell_destroy takes integer this returns nothing - set s__KabutoSennin___Spell_caster[this]=null - call s__KabutoSennin___Spell_deallocate(this) + function s__KabutoSennin__Spell_destroy takes integer this returns nothing + set s__KabutoSennin__Spell_caster[this]=null + call s__KabutoSennin__Spell_deallocate(this) endfunction - function s__KabutoSennin___Spell_periodic takes nothing returns nothing + function s__KabutoSennin__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - if GetUnitTypeId(s__KabutoSennin___Spell_caster[this]) != 'N018' then - call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin___Spell_caster[this]), 'A0FZ', true) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin___Spell_caster[this]), 'A0L6', true) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin___Spell_caster[this]), 'A0L9', true) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin___Spell_caster[this]), 'A0LA', true) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin___Spell_caster[this]), 'A0UZ', true) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin___Spell_caster[this]), s__KabutoSennin___Spell_SPELL_ID, true) - call s__KabutoSennin___Spell_destroy(this) + if GetUnitTypeId(s__KabutoSennin__Spell_caster[this]) != 'N018' then + call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin__Spell_caster[this]), 'A0FZ', true) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin__Spell_caster[this]), 'A0L6', true) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin__Spell_caster[this]), 'A0L9', true) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin__Spell_caster[this]), 'A0LA', true) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin__Spell_caster[this]), 'A0UZ', true) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin__Spell_caster[this]), s__KabutoSennin__Spell_SPELL_ID, true) + call s__KabutoSennin__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__KabutoSennin___Spell_delay takes nothing returns nothing + function s__KabutoSennin__Spell_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin___Spell_caster[this]), 'A0FZ', false) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin___Spell_caster[this]), 'A0L6', false) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin___Spell_caster[this]), 'A0L9', false) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin___Spell_caster[this]), 'A0LA', false) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin___Spell_caster[this]), 'A0UZ', false) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin___Spell_caster[this]), s__KabutoSennin___Spell_SPELL_ID, false) - call TimerStart(NewTimerEx(this), 0.03, true, function s__KabutoSennin___Spell_periodic) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin__Spell_caster[this]), 'A0FZ', false) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin__Spell_caster[this]), 'A0L6', false) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin__Spell_caster[this]), 'A0L9', false) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin__Spell_caster[this]), 'A0LA', false) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin__Spell_caster[this]), 'A0UZ', false) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__KabutoSennin__Spell_caster[this]), s__KabutoSennin__Spell_SPELL_ID, false) + call TimerStart(NewTimerEx(this), 0.03, true, function s__KabutoSennin__Spell_periodic) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__KabutoSennin___Spell_actions takes nothing returns nothing - local integer this= s__KabutoSennin___Spell_allocate() + function s__KabutoSennin__Spell_actions takes nothing returns nothing + local integer this= s__KabutoSennin__Spell_allocate() local real caster_x local real caster_y local real new_x local real new_y local integer i= 0 - set s__KabutoSennin___Spell_caster[this]=GetTriggerUnit() - set caster_x=GetUnitX(s__KabutoSennin___Spell_caster[this]) - set caster_y=GetUnitY(s__KabutoSennin___Spell_caster[this]) + set s__KabutoSennin__Spell_caster[this]=GetTriggerUnit() + set caster_x=GetUnitX(s__KabutoSennin__Spell_caster[this]) + set caster_y=GetUnitY(s__KabutoSennin__Spell_caster[this]) loop set i=i + 1 exitwhen i > 15 @@ -67488,18 +67488,18 @@ endfunction call IssuePointOrder(bj_lastCreatedUnit, "move", new_x, new_y) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 1.0) endloop - if GetUnitTypeId(s__KabutoSennin___Spell_caster[this]) == 'N010' then + if GetUnitTypeId(s__KabutoSennin__Spell_caster[this]) == 'N010' then call AddLoadingBar(GetTriggerUnit() , 40.0) - if IsUnitVisible(s__KabutoSennin___Spell_caster[this], GetLocalPlayer()) then + if IsUnitVisible(s__KabutoSennin__Spell_caster[this], GetLocalPlayer()) then call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Kabuto: This is my newly awakened power!|r") call PlaySoundOnUnitBJ(gg_snd_Kabuto_T_Transform, 100, GetTriggerUnit()) endif - call TimerStart(NewTimerEx(this), 1.0, false, function s__KabutoSennin___Spell_delay) + call TimerStart(NewTimerEx(this), 1.0, false, function s__KabutoSennin__Spell_delay) endif endfunction - function s__KabutoSennin___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(45 , s__KabutoSennin___Spell_SPELL_ID , function s__KabutoSennin___Spell_actions) + function s__KabutoSennin__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(45 , s__KabutoSennin__Spell_SPELL_ID , function s__KabutoSennin__Spell_actions) endfunction @@ -67649,7 +67649,7 @@ endfunction if s__KabutoPull_count[this] == 10 then call SetUnitFlyHeight(s__KabutoPull_target[this], 0, 0) //call PauseUnit(this.caster, false) - call s__PauseUnitEx__Pause_setPauseCounter((s__KabutoPull_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KabutoPull_target[this] ) , ( 0)) // INLINED!! call s__KabutoPull_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif @@ -67679,7 +67679,7 @@ endfunction call UnitDamageTarget(s__KabutoPull_caster[this], s__KabutoPull_target[this], GetHeroInt(s__KabutoPull_caster[this], true) * GetUnitAbilityLevel(s__KabutoPull_caster[this], s__KabutoPull_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) call StunUnitTimed(s__KabutoPull_caster[this] , s__KabutoPull_target[this] , 1.5) //call PauseUnit(this.caster, true) - call s__PauseUnitEx__Pause_setPauseCounter((s__KabutoPull_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KabutoPull_target[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__KabutoPull_caster[this], "attack") call TimerStart(NewTimerEx(this), 0.03, true, function s__KabutoPull_move) call ReleaseTimer(GetExpiredTimer()) @@ -67762,54 +67762,54 @@ endfunction //Implemented from module Alloc: - function s__KabutoSawarabi___Spell_allocate takes nothing returns integer + function s__KabutoSawarabi__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__KabutoSawarabi___Spell_Alloc__recycle[(0)] == 0 ) then - set s__KabutoSawarabi___Spell_Alloc__instanceCount=s__KabutoSawarabi___Spell_Alloc__instanceCount + 1 - set this=s__KabutoSawarabi___Spell_Alloc__instanceCount + if ( s__KabutoSawarabi__Spell_Alloc__recycle[(0)] == 0 ) then + set s__KabutoSawarabi__Spell_Alloc__instanceCount=s__KabutoSawarabi__Spell_Alloc__instanceCount + 1 + set this=s__KabutoSawarabi__Spell_Alloc__instanceCount else - set this=s__KabutoSawarabi___Spell_Alloc__recycle[(0)] - set s__KabutoSawarabi___Spell_Alloc__recycle[(0)]=s__KabutoSawarabi___Spell_Alloc__recycle[s__KabutoSawarabi___Spell_Alloc__recycle[(0)]] + set this=s__KabutoSawarabi__Spell_Alloc__recycle[(0)] + set s__KabutoSawarabi__Spell_Alloc__recycle[(0)]=s__KabutoSawarabi__Spell_Alloc__recycle[s__KabutoSawarabi__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__KabutoSawarabi___Spell_deallocate takes integer this returns nothing - set s__KabutoSawarabi___Spell_Alloc__recycle[this]=s__KabutoSawarabi___Spell_Alloc__recycle[(0)] - set s__KabutoSawarabi___Spell_Alloc__recycle[(0)]=this + function s__KabutoSawarabi__Spell_deallocate takes integer this returns nothing + set s__KabutoSawarabi__Spell_Alloc__recycle[this]=s__KabutoSawarabi__Spell_Alloc__recycle[(0)] + set s__KabutoSawarabi__Spell_Alloc__recycle[(0)]=this endfunction - function s__KabutoSawarabi___Spell_destroy takes integer this returns nothing - call DestroyGroup(s__KabutoSawarabi___Spell_damaged[this]) - call KillUnit(s__KabutoSawarabi___Spell_kimimaro[this]) - call KillUnit(s__KabutoSawarabi___Spell_dummy[this]) - set s__KabutoSawarabi___Spell_damaged[this]=null - set s__KabutoSawarabi___Spell_caster[this]=null - set s__KabutoSawarabi___Spell_kimimaro[this]=null - set s__KabutoSawarabi___Spell_dummy[this]=null - call s__KabutoSawarabi___Spell_deallocate(this) + function s__KabutoSawarabi__Spell_destroy takes integer this returns nothing + call DestroyGroup(s__KabutoSawarabi__Spell_damaged[this]) + call KillUnit(s__KabutoSawarabi__Spell_kimimaro[this]) + call KillUnit(s__KabutoSawarabi__Spell_dummy[this]) + set s__KabutoSawarabi__Spell_damaged[this]=null + set s__KabutoSawarabi__Spell_caster[this]=null + set s__KabutoSawarabi__Spell_kimimaro[this]=null + set s__KabutoSawarabi__Spell_dummy[this]=null + call s__KabutoSawarabi__Spell_deallocate(this) endfunction - function s__KabutoSawarabi___Spell_periodic takes nothing returns nothing + function s__KabutoSawarabi__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real dummy_x local real dummy_y local real new_x local real new_y local real size - set s__KabutoSawarabi___Spell_count[this]=s__KabutoSawarabi___Spell_count[this] + 1 - set dummy_x=GetUnitX(s__KabutoSawarabi___Spell_dummy[this]) - set dummy_y=GetUnitY(s__KabutoSawarabi___Spell_dummy[this]) - set new_x=dummy_x + Cos(Deg2Rad(GetUnitFacing(s__KabutoSawarabi___Spell_dummy[this]))) * 30 - set new_y=dummy_y + Sin(Deg2Rad(GetUnitFacing(s__KabutoSawarabi___Spell_dummy[this]))) * 30 - call SetUnitX(s__KabutoSawarabi___Spell_dummy[this], new_x) - call SetUnitY(s__KabutoSawarabi___Spell_dummy[this], new_y) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__KabutoSawarabi___Spell_caster[this]), 'h04W', new_x, new_y, GetRandomReal(0, 360)) + set s__KabutoSawarabi__Spell_count[this]=s__KabutoSawarabi__Spell_count[this] + 1 + set dummy_x=GetUnitX(s__KabutoSawarabi__Spell_dummy[this]) + set dummy_y=GetUnitY(s__KabutoSawarabi__Spell_dummy[this]) + set new_x=dummy_x + Cos(Deg2Rad(GetUnitFacing(s__KabutoSawarabi__Spell_dummy[this]))) * 30 + set new_y=dummy_y + Sin(Deg2Rad(GetUnitFacing(s__KabutoSawarabi__Spell_dummy[this]))) * 30 + call SetUnitX(s__KabutoSawarabi__Spell_dummy[this], new_x) + call SetUnitY(s__KabutoSawarabi__Spell_dummy[this], new_y) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__KabutoSawarabi__Spell_caster[this]), 'h04W', new_x, new_y, GetRandomReal(0, 360)) call SetUnitX(bj_lastCreatedUnit, new_x) call SetUnitY(bj_lastCreatedUnit, new_y) set size=GetRandomReal(3, 5) @@ -67821,33 +67821,33 @@ endfunction loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__KabutoSawarabi___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitInGroup(bj_lastCreatedUnit, s__KabutoSawarabi___Spell_damaged[this]) then - call UnitDamageTarget(s__KabutoSawarabi___Spell_caster[this], bj_lastCreatedUnit, 12.0 * GetHeroInt(s__KabutoSawarabi___Spell_caster[this], true), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) - call GroupAddUnit(s__KabutoSawarabi___Spell_damaged[this], bj_lastCreatedUnit) + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__KabutoSawarabi__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitInGroup(bj_lastCreatedUnit, s__KabutoSawarabi__Spell_damaged[this]) then + call UnitDamageTarget(s__KabutoSawarabi__Spell_caster[this], bj_lastCreatedUnit, 12.0 * GetHeroInt(s__KabutoSawarabi__Spell_caster[this], true), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + call GroupAddUnit(s__KabutoSawarabi__Spell_damaged[this], bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - if s__KabutoSawarabi___Spell_count[this] > 25 then - call ShowUnit(s__KabutoSawarabi___Spell_kimimaro[this], false) - call s__KabutoSawarabi___Spell_destroy(this) + if s__KabutoSawarabi__Spell_count[this] > 25 then + call ShowUnit(s__KabutoSawarabi__Spell_kimimaro[this], false) + call s__KabutoSawarabi__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__KabutoSawarabi___Spell_delay1 takes nothing returns nothing + function s__KabutoSawarabi__Spell_delay1 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real kimimaro_x= GetUnitX(s__KabutoSawarabi___Spell_kimimaro[this]) - local real kimimaro_y= GetUnitY(s__KabutoSawarabi___Spell_kimimaro[this]) - set s__KabutoSawarabi___Spell_dummy[this]=CreateUnit(GetOwningPlayer(s__KabutoSawarabi___Spell_caster[this]), 'e007', kimimaro_x, kimimaro_y, GetUnitFacing(s__KabutoSawarabi___Spell_kimimaro[this])) - call SetUnitX(s__KabutoSawarabi___Spell_dummy[this], kimimaro_x) - call SetUnitY(s__KabutoSawarabi___Spell_dummy[this], kimimaro_y) - call TimerStart(NewTimerEx(this), 0.03, true, function s__KabutoSawarabi___Spell_periodic) + local real kimimaro_x= GetUnitX(s__KabutoSawarabi__Spell_kimimaro[this]) + local real kimimaro_y= GetUnitY(s__KabutoSawarabi__Spell_kimimaro[this]) + set s__KabutoSawarabi__Spell_dummy[this]=CreateUnit(GetOwningPlayer(s__KabutoSawarabi__Spell_caster[this]), 'e007', kimimaro_x, kimimaro_y, GetUnitFacing(s__KabutoSawarabi__Spell_kimimaro[this])) + call SetUnitX(s__KabutoSawarabi__Spell_dummy[this], kimimaro_x) + call SetUnitY(s__KabutoSawarabi__Spell_dummy[this], kimimaro_y) + call TimerStart(NewTimerEx(this), 0.03, true, function s__KabutoSawarabi__Spell_periodic) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__KabutoSawarabi___Spell_actions takes nothing returns nothing - local integer this= s__KabutoSawarabi___Spell_allocate() + function s__KabutoSawarabi__Spell_actions takes nothing returns nothing + local integer this= s__KabutoSawarabi__Spell_allocate() local real caster_x local real caster_y local real target_x= GetSpellTargetX() @@ -67855,24 +67855,24 @@ endfunction local real new_x local real new_y local real angle - set s__KabutoSawarabi___Spell_damaged[this]=CreateGroup() - set s__KabutoSawarabi___Spell_caster[this]=GetTriggerUnit() - set caster_x=GetUnitX(s__KabutoSawarabi___Spell_caster[this]) - set caster_y=GetUnitY(s__KabutoSawarabi___Spell_caster[this]) + set s__KabutoSawarabi__Spell_damaged[this]=CreateGroup() + set s__KabutoSawarabi__Spell_caster[this]=GetTriggerUnit() + set caster_x=GetUnitX(s__KabutoSawarabi__Spell_caster[this]) + set caster_y=GetUnitY(s__KabutoSawarabi__Spell_caster[this]) set angle=Atan2(( target_y - caster_y ), ( target_x - caster_x )) set new_x=caster_x + Cos(angle) * 100 set new_y=caster_y + Sin(angle) * 100 - set s__KabutoSawarabi___Spell_kimimaro[this]=CreateUnit(GetTriggerPlayer(), 'h079', new_x, new_y, Rad2Deg(angle)) - call SetUnitX(s__KabutoSawarabi___Spell_kimimaro[this], new_x) - call SetUnitY(s__KabutoSawarabi___Spell_kimimaro[this], new_y) - call SetUnitAnimation(s__KabutoSawarabi___Spell_kimimaro[this], "spell channel") + set s__KabutoSawarabi__Spell_kimimaro[this]=CreateUnit(GetTriggerPlayer(), 'h079', new_x, new_y, Rad2Deg(angle)) + call SetUnitX(s__KabutoSawarabi__Spell_kimimaro[this], new_x) + call SetUnitY(s__KabutoSawarabi__Spell_kimimaro[this], new_y) + call SetUnitAnimation(s__KabutoSawarabi__Spell_kimimaro[this], "spell channel") call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! - set s__KabutoSawarabi___Spell_count[this]=0 - call TimerStart(NewTimerEx(this), 0.5, false, function s__KabutoSawarabi___Spell_delay1) + set s__KabutoSawarabi__Spell_count[this]=0 + call TimerStart(NewTimerEx(this), 0.5, false, function s__KabutoSawarabi__Spell_delay1) endfunction - function s__KabutoSawarabi___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(45 , s__KabutoSawarabi___Spell_SPELL_ID , function s__KabutoSawarabi___Spell_actions) + function s__KabutoSawarabi__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(45 , s__KabutoSawarabi__Spell_SPELL_ID , function s__KabutoSawarabi__Spell_actions) endfunction @@ -67885,105 +67885,105 @@ endfunction //Implemented from module Alloc: - function s__KabutoMukiTensei___Spell_allocate takes nothing returns integer + function s__KabutoMukiTensei__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__KabutoMukiTensei___Spell_Alloc__recycle[(0)] == 0 ) then - set s__KabutoMukiTensei___Spell_Alloc__instanceCount=s__KabutoMukiTensei___Spell_Alloc__instanceCount + 1 - set this=s__KabutoMukiTensei___Spell_Alloc__instanceCount + if ( s__KabutoMukiTensei__Spell_Alloc__recycle[(0)] == 0 ) then + set s__KabutoMukiTensei__Spell_Alloc__instanceCount=s__KabutoMukiTensei__Spell_Alloc__instanceCount + 1 + set this=s__KabutoMukiTensei__Spell_Alloc__instanceCount else - set this=s__KabutoMukiTensei___Spell_Alloc__recycle[(0)] - set s__KabutoMukiTensei___Spell_Alloc__recycle[(0)]=s__KabutoMukiTensei___Spell_Alloc__recycle[s__KabutoMukiTensei___Spell_Alloc__recycle[(0)]] + set this=s__KabutoMukiTensei__Spell_Alloc__recycle[(0)] + set s__KabutoMukiTensei__Spell_Alloc__recycle[(0)]=s__KabutoMukiTensei__Spell_Alloc__recycle[s__KabutoMukiTensei__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__KabutoMukiTensei___Spell_deallocate takes integer this returns nothing - set s__KabutoMukiTensei___Spell_Alloc__recycle[this]=s__KabutoMukiTensei___Spell_Alloc__recycle[(0)] - set s__KabutoMukiTensei___Spell_Alloc__recycle[(0)]=this + function s__KabutoMukiTensei__Spell_deallocate takes integer this returns nothing + set s__KabutoMukiTensei__Spell_Alloc__recycle[this]=s__KabutoMukiTensei__Spell_Alloc__recycle[(0)] + set s__KabutoMukiTensei__Spell_Alloc__recycle[(0)]=this endfunction - function s__KabutoMukiTensei___Spell_dealDamage takes nothing returns boolean + function s__KabutoMukiTensei__Spell_dealDamage takes nothing returns boolean local unit u - if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__KabutoMukiTensei___Spell_caster[s__KabutoMukiTensei___Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 then - call UnitDamageTarget(s__KabutoMukiTensei___Spell_caster[s__KabutoMukiTensei___Spell_instance], GetFilterUnit(), 1200, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) - set u=CreateAbilityDummy(s__KabutoMukiTensei___Spell_caster[s__KabutoMukiTensei___Spell_instance] , 'A0YE') + if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__KabutoMukiTensei__Spell_caster[s__KabutoMukiTensei__Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 then + call UnitDamageTarget(s__KabutoMukiTensei__Spell_caster[s__KabutoMukiTensei__Spell_instance], GetFilterUnit(), 1200, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + set u=CreateAbilityDummy(s__KabutoMukiTensei__Spell_caster[s__KabutoMukiTensei__Spell_instance] , 'A0YE') call IssueTargetOrder(u, "slow", GetFilterUnit()) endif return false endfunction - function s__KabutoMukiTensei___Spell_destroy takes integer this returns nothing - call DestroyGroup(s__KabutoMukiTensei___Spell_spikes[this]) - set s__KabutoMukiTensei___Spell_spikes[this]=null - set s__KabutoMukiTensei___Spell_caster[this]=null - call s__KabutoMukiTensei___Spell_deallocate(this) + function s__KabutoMukiTensei__Spell_destroy takes integer this returns nothing + call DestroyGroup(s__KabutoMukiTensei__Spell_spikes[this]) + set s__KabutoMukiTensei__Spell_spikes[this]=null + set s__KabutoMukiTensei__Spell_caster[this]=null + call s__KabutoMukiTensei__Spell_deallocate(this) endfunction - function s__KabutoMukiTensei___Spell_periodic takes nothing returns nothing + function s__KabutoMukiTensei__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real new_x local real new_y local integer i= 0 local integer i_end local unit u - set s__KabutoMukiTensei___Spell_count[this]=s__KabutoMukiTensei___Spell_count[this] + 1 - set i_end=6 + ( s__KabutoMukiTensei___Spell_count[this] / 3 ) + set s__KabutoMukiTensei__Spell_count[this]=s__KabutoMukiTensei__Spell_count[this] + 1 + set i_end=6 + ( s__KabutoMukiTensei__Spell_count[this] / 3 ) //if ModuloInteger(this.count, 5) == 0 then loop set i=i + 1 exitwhen i > i_end - set new_x=s__KabutoMukiTensei___Spell_target_x[this] + Cos(Deg2Rad(( 360 / i_end ) * i)) * ( 36 * s__KabutoMukiTensei___Spell_count[this] ) - set new_y=s__KabutoMukiTensei___Spell_target_y[this] + Sin(Deg2Rad(( 360 / i_end ) * i)) * ( 36 * s__KabutoMukiTensei___Spell_count[this] ) + set new_x=s__KabutoMukiTensei__Spell_target_x[this] + Cos(Deg2Rad(( 360 / i_end ) * i)) * ( 36 * s__KabutoMukiTensei__Spell_count[this] ) + set new_y=s__KabutoMukiTensei__Spell_target_y[this] + Sin(Deg2Rad(( 360 / i_end ) * i)) * ( 36 * s__KabutoMukiTensei__Spell_count[this] ) call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Other\\Volcano\\VolcanoDeath.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! endloop //endif - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__KabutoMukiTensei___Spell_caster[this]), 'e027', s__KabutoMukiTensei___Spell_target_x[this], s__KabutoMukiTensei___Spell_target_y[this], GetRandomReal(0, 360)) - call SetUnitX(bj_lastCreatedUnit, s__KabutoMukiTensei___Spell_target_x[this]) - call SetUnitY(bj_lastCreatedUnit, s__KabutoMukiTensei___Spell_target_y[this]) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__KabutoMukiTensei__Spell_caster[this]), 'e027', s__KabutoMukiTensei__Spell_target_x[this], s__KabutoMukiTensei__Spell_target_y[this], GetRandomReal(0, 360)) + call SetUnitX(bj_lastCreatedUnit, s__KabutoMukiTensei__Spell_target_x[this]) + call SetUnitY(bj_lastCreatedUnit, s__KabutoMukiTensei__Spell_target_y[this]) call SetUnitAnimation(bj_lastCreatedUnit, "birth") - call SetUnitScale(bj_lastCreatedUnit, 0.54 * s__KabutoMukiTensei___Spell_count[this], 0.54 * s__KabutoMukiTensei___Spell_count[this], 0.54 * s__KabutoMukiTensei___Spell_count[this]) - call GroupAddUnit(s__KabutoMukiTensei___Spell_spikes[this], bj_lastCreatedUnit) - if s__KabutoMukiTensei___Spell_count[this] >= 11 then + call SetUnitScale(bj_lastCreatedUnit, 0.54 * s__KabutoMukiTensei__Spell_count[this], 0.54 * s__KabutoMukiTensei__Spell_count[this], 0.54 * s__KabutoMukiTensei__Spell_count[this]) + call GroupAddUnit(s__KabutoMukiTensei__Spell_spikes[this], bj_lastCreatedUnit) + if s__KabutoMukiTensei__Spell_count[this] >= 11 then set bj_lastCreatedGroup=CreateGroup() - set s__KabutoMukiTensei___Spell_instance=this - call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__KabutoMukiTensei___Spell_target_x[this], s__KabutoMukiTensei___Spell_target_y[this], 400, Filter(function s__KabutoMukiTensei___Spell_dealDamage)) + set s__KabutoMukiTensei__Spell_instance=this + call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__KabutoMukiTensei__Spell_target_x[this], s__KabutoMukiTensei__Spell_target_y[this], 400, Filter(function s__KabutoMukiTensei__Spell_dealDamage)) call DestroyGroup(bj_lastCreatedGroup) loop - set bj_lastCreatedUnit=FirstOfGroup(s__KabutoMukiTensei___Spell_spikes[this]) + set bj_lastCreatedUnit=FirstOfGroup(s__KabutoMukiTensei__Spell_spikes[this]) exitwhen bj_lastCreatedUnit == null call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 4.0) - call GroupRemoveUnit(s__KabutoMukiTensei___Spell_spikes[this], bj_lastCreatedUnit) + call GroupRemoveUnit(s__KabutoMukiTensei__Spell_spikes[this], bj_lastCreatedUnit) endloop - call s__KabutoMukiTensei___Spell_destroy(this) + call s__KabutoMukiTensei__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__KabutoMukiTensei___Spell_actions takes nothing returns nothing - local integer this= s__KabutoMukiTensei___Spell_allocate() + function s__KabutoMukiTensei__Spell_actions takes nothing returns nothing + local integer this= s__KabutoMukiTensei__Spell_allocate() local location loc if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Kabuto_Sage_W, 100, GetTriggerUnit()) endif - set s__KabutoMukiTensei___Spell_spikes[this]=CreateGroup() - set s__KabutoMukiTensei___Spell_caster[this]=GetTriggerUnit() - set s__KabutoMukiTensei___Spell_target_x[this]=GetSpellTargetX() - set s__KabutoMukiTensei___Spell_target_y[this]=GetSpellTargetY() - set loc=Location(s__KabutoMukiTensei___Spell_target_x[this], s__KabutoMukiTensei___Spell_target_y[this]) + set s__KabutoMukiTensei__Spell_spikes[this]=CreateGroup() + set s__KabutoMukiTensei__Spell_caster[this]=GetTriggerUnit() + set s__KabutoMukiTensei__Spell_target_x[this]=GetSpellTargetX() + set s__KabutoMukiTensei__Spell_target_y[this]=GetSpellTargetY() + set loc=Location(s__KabutoMukiTensei__Spell_target_x[this], s__KabutoMukiTensei__Spell_target_y[this]) call TerrainDeformationRippleBJ(2.00, false, loc, 0.00, 400.00, 200.00, 0.50, 200.00) call RemoveLocation(loc) set loc=null - set s__KabutoMukiTensei___Spell_count[this]=0 - call TimerStart(NewTimerEx(this), 0.03, true, function s__KabutoMukiTensei___Spell_periodic) + set s__KabutoMukiTensei__Spell_count[this]=0 + call TimerStart(NewTimerEx(this), 0.03, true, function s__KabutoMukiTensei__Spell_periodic) endfunction - function s__KabutoMukiTensei___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(45 , s__KabutoMukiTensei___Spell_SPELL_ID , function s__KabutoMukiTensei___Spell_actions) + function s__KabutoMukiTensei__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(45 , s__KabutoMukiTensei__Spell_SPELL_ID , function s__KabutoMukiTensei__Spell_actions) endfunction @@ -67997,136 +67997,136 @@ endfunction //Implemented from module Alloc: - function s__KabutoDoton___Spell_allocate takes nothing returns integer + function s__KabutoDoton__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__KabutoDoton___Spell_Alloc__recycle[(0)] == 0 ) then - set s__KabutoDoton___Spell_Alloc__instanceCount=s__KabutoDoton___Spell_Alloc__instanceCount + 1 - set this=s__KabutoDoton___Spell_Alloc__instanceCount + if ( s__KabutoDoton__Spell_Alloc__recycle[(0)] == 0 ) then + set s__KabutoDoton__Spell_Alloc__instanceCount=s__KabutoDoton__Spell_Alloc__instanceCount + 1 + set this=s__KabutoDoton__Spell_Alloc__instanceCount else - set this=s__KabutoDoton___Spell_Alloc__recycle[(0)] - set s__KabutoDoton___Spell_Alloc__recycle[(0)]=s__KabutoDoton___Spell_Alloc__recycle[s__KabutoDoton___Spell_Alloc__recycle[(0)]] + set this=s__KabutoDoton__Spell_Alloc__recycle[(0)] + set s__KabutoDoton__Spell_Alloc__recycle[(0)]=s__KabutoDoton__Spell_Alloc__recycle[s__KabutoDoton__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__KabutoDoton___Spell_deallocate takes integer this returns nothing - set s__KabutoDoton___Spell_Alloc__recycle[this]=s__KabutoDoton___Spell_Alloc__recycle[(0)] - set s__KabutoDoton___Spell_Alloc__recycle[(0)]=this + function s__KabutoDoton__Spell_deallocate takes integer this returns nothing + set s__KabutoDoton__Spell_Alloc__recycle[this]=s__KabutoDoton__Spell_Alloc__recycle[(0)] + set s__KabutoDoton__Spell_Alloc__recycle[(0)]=this endfunction - function s__KabutoDoton___Spell_dealDamage takes nothing returns boolean - if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__KabutoDoton___Spell_caster[s__KabutoDoton___Spell_instance])) then - call UnitDamageTarget(s__KabutoDoton___Spell_caster[s__KabutoDoton___Spell_instance], GetFilterUnit(), 5 * GetHeroInt(s__KabutoDoton___Spell_caster[s__KabutoDoton___Spell_instance], true) + 1000, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + function s__KabutoDoton__Spell_dealDamage takes nothing returns boolean + if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__KabutoDoton__Spell_caster[s__KabutoDoton__Spell_instance])) then + call UnitDamageTarget(s__KabutoDoton__Spell_caster[s__KabutoDoton__Spell_instance], GetFilterUnit(), 5 * GetHeroInt(s__KabutoDoton__Spell_caster[s__KabutoDoton__Spell_instance], true) + 1000, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) else if IsUnitType(GetFilterUnit(), UNIT_TYPE_HERO) == true then call SetUnitInvulnerable(GetFilterUnit(), true) endif - call s__PauseUnitEx__Pause_setPauseCounter((GetFilterUnit() ) , ( 1)) // INLINED!! - call GroupAddUnit(s__KabutoDoton___Spell_g[s__KabutoDoton___Spell_instance], GetFilterUnit()) + call s__PauseUnitEx___Pause_setPauseCounter((GetFilterUnit() ) , ( 1)) // INLINED!! + call GroupAddUnit(s__KabutoDoton__Spell_g[s__KabutoDoton__Spell_instance], GetFilterUnit()) endif return false endfunction - function s__KabutoDoton___Spell_destroy takes integer this returns nothing - call DestroyGroup(s__KabutoDoton___Spell_g[this]) - set s__KabutoDoton___Spell_g[this]=null - set s__KabutoDoton___Spell_caster[this]=null - set s__KabutoDoton___Spell_sphere[this]=null - set s__KabutoDoton___Spell_jirobo[this]=null - call s__KabutoDoton___Spell_deallocate(this) + function s__KabutoDoton__Spell_destroy takes integer this returns nothing + call DestroyGroup(s__KabutoDoton__Spell_g[this]) + set s__KabutoDoton__Spell_g[this]=null + set s__KabutoDoton__Spell_caster[this]=null + set s__KabutoDoton__Spell_sphere[this]=null + set s__KabutoDoton__Spell_jirobo[this]=null + call s__KabutoDoton__Spell_deallocate(this) endfunction - function s__KabutoDoton___Spell_delay2 takes nothing returns nothing + function s__KabutoDoton__Spell_delay2 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real new_x local real new_y local real angle local integer i= 0 - call DestroyEffect(AddSpecialEffect(("Effects\\s_Black_Blink.mdx" ), (( GetUnitX(s__KabutoDoton___Spell_jirobo[this]) )*1.0), (( GetUnitY(s__KabutoDoton___Spell_jirobo[this]))*1.0))) // INLINED!! - call KillUnit(s__KabutoDoton___Spell_sphere[this]) - call KillUnit(s__KabutoDoton___Spell_jirobo[this]) - call ShowUnit(s__KabutoDoton___Spell_jirobo[this], false) + call DestroyEffect(AddSpecialEffect(("Effects\\s_Black_Blink.mdx" ), (( GetUnitX(s__KabutoDoton__Spell_jirobo[this]) )*1.0), (( GetUnitY(s__KabutoDoton__Spell_jirobo[this]))*1.0))) // INLINED!! + call KillUnit(s__KabutoDoton__Spell_sphere[this]) + call KillUnit(s__KabutoDoton__Spell_jirobo[this]) + call ShowUnit(s__KabutoDoton__Spell_jirobo[this], false) loop set i=i + 1 exitwhen i > 60 set angle=6 * i - set new_x=s__KabutoDoton___Spell_target_x[this] + Cos(angle) * 350 - set new_y=s__KabutoDoton___Spell_target_y[this] + Sin(angle) * 350 + set new_x=s__KabutoDoton__Spell_target_x[this] + Cos(angle) * 350 + set new_y=s__KabutoDoton__Spell_target_y[this] + Sin(angle) * 350 call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Other\\Volcano\\VolcanoDeath.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! - call RemoveDestructable(s__KabutoDoton___blocks[(this)*(1)+i]) - set s__KabutoDoton___blocks[(this)*(1)+i]= null + call RemoveDestructable(s__KabutoDoton__blocks[(this)*(1)+i]) + set s__KabutoDoton__blocks[(this)*(1)+i]= null endloop loop - set bj_lastCreatedUnit=FirstOfGroup(s__KabutoDoton___Spell_g[this]) + set bj_lastCreatedUnit=FirstOfGroup(s__KabutoDoton__Spell_g[this]) exitwhen bj_lastCreatedUnit == null call SetUnitInvulnerable(bj_lastCreatedUnit, false) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! - call GroupRemoveUnit(s__KabutoDoton___Spell_g[this], bj_lastCreatedUnit) + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call GroupRemoveUnit(s__KabutoDoton__Spell_g[this], bj_lastCreatedUnit) endloop - call s__KabutoDoton___Spell_destroy(this) + call s__KabutoDoton__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__KabutoDoton___Spell_delay1 takes nothing returns nothing + function s__KabutoDoton__Spell_delay1 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real new_x local real new_y local real angle local integer i= 0 - set s__KabutoDoton___Spell_sphere[this]=CreateUnit(GetOwningPlayer(s__KabutoDoton___Spell_caster[this]), 'e028', s__KabutoDoton___Spell_target_x[this], s__KabutoDoton___Spell_target_y[this], 270) - call SetUnitX(s__KabutoDoton___Spell_sphere[this], s__KabutoDoton___Spell_target_x[this]) - call SetUnitY(s__KabutoDoton___Spell_sphere[this], s__KabutoDoton___Spell_target_y[this]) - call SetUnitAnimation(s__KabutoDoton___Spell_sphere[this], "birth") + set s__KabutoDoton__Spell_sphere[this]=CreateUnit(GetOwningPlayer(s__KabutoDoton__Spell_caster[this]), 'e028', s__KabutoDoton__Spell_target_x[this], s__KabutoDoton__Spell_target_y[this], 270) + call SetUnitX(s__KabutoDoton__Spell_sphere[this], s__KabutoDoton__Spell_target_x[this]) + call SetUnitY(s__KabutoDoton__Spell_sphere[this], s__KabutoDoton__Spell_target_y[this]) + call SetUnitAnimation(s__KabutoDoton__Spell_sphere[this], "birth") loop set i=i + 1 exitwhen i > 60 set angle=6 * i - set new_x=s__KabutoDoton___Spell_target_x[this] + Cos(angle) * 350 - set new_y=s__KabutoDoton___Spell_target_y[this] + Sin(angle) * 350 + set new_x=s__KabutoDoton__Spell_target_x[this] + Cos(angle) * 350 + set new_y=s__KabutoDoton__Spell_target_y[this] + Sin(angle) * 350 call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Other\\Volcano\\VolcanoDeath.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! - set s__KabutoDoton___blocks[(this)*(1)+i]= CreateDestructable('YTpb', new_x, new_y, 0, 1.0, 1) + set s__KabutoDoton__blocks[(this)*(1)+i]= CreateDestructable('YTpb', new_x, new_y, 0, 1.0, 1) endloop set bj_lastCreatedGroup=CreateGroup() - set s__KabutoDoton___Spell_instance=this - call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__KabutoDoton___Spell_target_x[this], s__KabutoDoton___Spell_target_y[this], 400, Filter(function s__KabutoDoton___Spell_dealDamage)) + set s__KabutoDoton__Spell_instance=this + call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__KabutoDoton__Spell_target_x[this], s__KabutoDoton__Spell_target_y[this], 400, Filter(function s__KabutoDoton__Spell_dealDamage)) call DestroyGroup(bj_lastCreatedGroup) - call TimerStart(NewTimerEx(this), 2.0, false, function s__KabutoDoton___Spell_delay2) + call TimerStart(NewTimerEx(this), 2.0, false, function s__KabutoDoton__Spell_delay2) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__KabutoDoton___Spell_actions takes nothing returns nothing - local integer this= s__KabutoDoton___Spell_allocate() + function s__KabutoDoton__Spell_actions takes nothing returns nothing + local integer this= s__KabutoDoton__Spell_allocate() local real caster_x local real caster_y local real new_x local real new_y local real angle local real angle_2 - set s__KabutoDoton___Spell_g[this]=CreateGroup() - set s__KabutoDoton___Spell_caster[this]=GetTriggerUnit() - set s__KabutoDoton___Spell_target_x[this]=GetSpellTargetX() - set s__KabutoDoton___Spell_target_y[this]=GetSpellTargetY() - set caster_x=GetUnitX(s__KabutoDoton___Spell_caster[this]) - set caster_y=GetUnitY(s__KabutoDoton___Spell_caster[this]) - set angle=Atan2(( s__KabutoDoton___Spell_target_y[this] - caster_y ), ( s__KabutoDoton___Spell_target_x[this] - caster_x )) + bj_PI - set new_x=s__KabutoDoton___Spell_target_x[this] + Cos(angle) * 520 - set new_y=s__KabutoDoton___Spell_target_y[this] + Sin(angle) * 520 - set angle_2=Atan2(( s__KabutoDoton___Spell_target_y[this] - new_y ), ( s__KabutoDoton___Spell_target_x[this] - new_x )) - set s__KabutoDoton___Spell_jirobo[this]=CreateUnit(GetTriggerPlayer(), 'h05W', new_x, new_y, Rad2Deg(angle_2)) - call SetUnitX(s__KabutoDoton___Spell_jirobo[this], new_x) - call SetUnitY(s__KabutoDoton___Spell_jirobo[this], new_y) - call SetUnitAnimation(s__KabutoDoton___Spell_jirobo[this], "spell two") + set s__KabutoDoton__Spell_g[this]=CreateGroup() + set s__KabutoDoton__Spell_caster[this]=GetTriggerUnit() + set s__KabutoDoton__Spell_target_x[this]=GetSpellTargetX() + set s__KabutoDoton__Spell_target_y[this]=GetSpellTargetY() + set caster_x=GetUnitX(s__KabutoDoton__Spell_caster[this]) + set caster_y=GetUnitY(s__KabutoDoton__Spell_caster[this]) + set angle=Atan2(( s__KabutoDoton__Spell_target_y[this] - caster_y ), ( s__KabutoDoton__Spell_target_x[this] - caster_x )) + bj_PI + set new_x=s__KabutoDoton__Spell_target_x[this] + Cos(angle) * 520 + set new_y=s__KabutoDoton__Spell_target_y[this] + Sin(angle) * 520 + set angle_2=Atan2(( s__KabutoDoton__Spell_target_y[this] - new_y ), ( s__KabutoDoton__Spell_target_x[this] - new_x )) + set s__KabutoDoton__Spell_jirobo[this]=CreateUnit(GetTriggerPlayer(), 'h05W', new_x, new_y, Rad2Deg(angle_2)) + call SetUnitX(s__KabutoDoton__Spell_jirobo[this], new_x) + call SetUnitY(s__KabutoDoton__Spell_jirobo[this], new_y) + call SetUnitAnimation(s__KabutoDoton__Spell_jirobo[this], "spell two") //call DestroyEffect(AddSpecialEffectEx("Effects\\s_Black_Blink.mdx", new_x, new_y)) - call TimerStart(NewTimerEx(this), 0.05, false, function s__KabutoDoton___Spell_delay1) + call TimerStart(NewTimerEx(this), 0.05, false, function s__KabutoDoton__Spell_delay1) endfunction - function s__KabutoDoton___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(45 , s__KabutoDoton___Spell_SPELL_ID , function s__KabutoDoton___Spell_actions) + function s__KabutoDoton__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(45 , s__KabutoDoton__Spell_SPELL_ID , function s__KabutoDoton__Spell_actions) endfunction @@ -68138,7 +68138,7 @@ endfunction - function s__KabutoHakugeki___Spell_rotate takes nothing returns nothing + function s__KabutoHakugeki__Spell_rotate takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real ball_x local real ball_y @@ -68147,13 +68147,13 @@ endfunction local real angle local real size local integer i= 0 - set s__KabutoHakugeki___Spell_count[this]=s__KabutoHakugeki___Spell_count[this] + 1 - set ball_x=GetUnitX(s__KabutoHakugeki___Spell_ball[this]) - set ball_y=GetUnitY(s__KabutoHakugeki___Spell_ball[this]) - if ModuloInteger(s__KabutoHakugeki___Spell_count[this], 5) == 0 then + set s__KabutoHakugeki__Spell_count[this]=s__KabutoHakugeki__Spell_count[this] + 1 + set ball_x=GetUnitX(s__KabutoHakugeki__Spell_ball[this]) + set ball_y=GetUnitY(s__KabutoHakugeki__Spell_ball[this]) + if ModuloInteger(s__KabutoHakugeki__Spell_count[this], 5) == 0 then set bj_lastCreatedEffect=AddSpecialEffect("SuperShinyThingy.mdl", ball_x, ball_y) call BlzSetSpecialEffectRoll(bj_lastCreatedEffect, GetRandomReal(0, 2 * bj_PI)) - set size=0.06 * s__KabutoHakugeki___Spell_count[this] + set size=0.06 * s__KabutoHakugeki__Spell_count[this] call BlzSetSpecialEffectScale(bj_lastCreatedEffect, size) call DestroyEffect(bj_lastCreatedEffect) endif @@ -68163,8 +68163,8 @@ endfunction loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__KabutoHakugeki___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then - call UnitDamageTarget(s__KabutoHakugeki___Spell_caster[this], bj_lastCreatedUnit, ( 8 * GetHeroInt(s__KabutoHakugeki___Spell_caster[this], true) + 1500 ) / 100, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__KabutoHakugeki__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then + call UnitDamageTarget(s__KabutoHakugeki__Spell_caster[this], bj_lastCreatedUnit, ( 8 * GetHeroInt(s__KabutoHakugeki__Spell_caster[this], true) + 1500 ) / 100, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop @@ -68172,32 +68172,32 @@ endfunction // if this.offset < 600 then // set this.offset = this.offset + 10 // endif - set angle=Deg2Rad(GetUnitFacing(s__KabutoHakugeki___Spell_white_dragon[this]) - 90) - set new_x=ball_x + Cos(angle) * s__KabutoHakugeki___Spell_offset[this] - set new_y=ball_y + Sin(angle) * s__KabutoHakugeki___Spell_offset[this] - call SetUnitX(s__KabutoHakugeki___Spell_white_dragon[this], new_x) - call SetUnitY(s__KabutoHakugeki___Spell_white_dragon[this], new_y) - call SetUnitFacingTimed(s__KabutoHakugeki___Spell_white_dragon[this], GetUnitFacing(s__KabutoHakugeki___Spell_white_dragon[this]) + 10, 0) - if s__KabutoHakugeki___Spell_count[this] > 100 then + set angle=Deg2Rad(GetUnitFacing(s__KabutoHakugeki__Spell_white_dragon[this]) - 90) + set new_x=ball_x + Cos(angle) * s__KabutoHakugeki__Spell_offset[this] + set new_y=ball_y + Sin(angle) * s__KabutoHakugeki__Spell_offset[this] + call SetUnitX(s__KabutoHakugeki__Spell_white_dragon[this], new_x) + call SetUnitY(s__KabutoHakugeki__Spell_white_dragon[this], new_y) + call SetUnitFacingTimed(s__KabutoHakugeki__Spell_white_dragon[this], GetUnitFacing(s__KabutoHakugeki__Spell_white_dragon[this]) + 10, 0) + if s__KabutoHakugeki__Spell_count[this] > 100 then set i=0 loop set i=i + 1 exitwhen i > 5 - call KillUnit(s__s__KabutoHakugeki___Spell_stun[i]) - set s__s__KabutoHakugeki___Spell_stun[i]= null + call KillUnit(s__s__KabutoHakugeki__Spell_stun[i]) + set s__s__KabutoHakugeki__Spell_stun[i]= null endloop - call KillUnit(s__KabutoHakugeki___Spell_white_dragon[this]) - call ShowUnit(s__KabutoHakugeki___Spell_ball[this], false) - call KillUnit(s__KabutoHakugeki___Spell_ball[this]) - set s__KabutoHakugeki___Spell_caster[this]=null - set s__KabutoHakugeki___Spell_white_dragon[this]=null - set s__KabutoHakugeki___Spell_ball[this]=null - call s__KabutoHakugeki___Spell_deallocate(this) + call KillUnit(s__KabutoHakugeki__Spell_white_dragon[this]) + call ShowUnit(s__KabutoHakugeki__Spell_ball[this], false) + call KillUnit(s__KabutoHakugeki__Spell_ball[this]) + set s__KabutoHakugeki__Spell_caster[this]=null + set s__KabutoHakugeki__Spell_white_dragon[this]=null + set s__KabutoHakugeki__Spell_ball[this]=null + call s__KabutoHakugeki__Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__KabutoHakugeki___Spell_move takes nothing returns nothing + function s__KabutoHakugeki__Spell_move takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real dragon_x local real dragon_y @@ -68211,87 +68211,87 @@ endfunction local real angle local real parabola_angle local integer i= 0 - set s__KabutoHakugeki___Spell_count[this]=s__KabutoHakugeki___Spell_count[this] + 1 - if ModuloInteger(s__KabutoHakugeki___Spell_count[this], 10) == 0 then - if s__KabutoHakugeki___Spell_parabola[this] then - set s__KabutoHakugeki___Spell_parabola[this]=false + set s__KabutoHakugeki__Spell_count[this]=s__KabutoHakugeki__Spell_count[this] + 1 + if ModuloInteger(s__KabutoHakugeki__Spell_count[this], 10) == 0 then + if s__KabutoHakugeki__Spell_parabola[this] then + set s__KabutoHakugeki__Spell_parabola[this]=false else - set s__KabutoHakugeki___Spell_parabola[this]=true + set s__KabutoHakugeki__Spell_parabola[this]=true endif endif - set dragon_x=GetUnitX(s__KabutoHakugeki___Spell_white_dragon[this]) - set dragon_y=GetUnitY(s__KabutoHakugeki___Spell_white_dragon[this]) - set angle=Atan2(( s__KabutoHakugeki___Spell_target_y[this] - dragon_y ), ( s__KabutoHakugeki___Spell_target_x[this] - dragon_x )) + set dragon_x=GetUnitX(s__KabutoHakugeki__Spell_white_dragon[this]) + set dragon_y=GetUnitY(s__KabutoHakugeki__Spell_white_dragon[this]) + set angle=Atan2(( s__KabutoHakugeki__Spell_target_y[this] - dragon_y ), ( s__KabutoHakugeki__Spell_target_x[this] - dragon_x )) set new_x=dragon_x + Cos(angle) * 30 set new_y=dragon_y + Sin(angle) * 30 - if s__KabutoHakugeki___Spell_parabola[this] then + if s__KabutoHakugeki__Spell_parabola[this] then set parabola_angle=angle + bj_PI / 2 else set parabola_angle=angle - bj_PI / 2 endif set parabola_x=new_x + Cos(parabola_angle) * 30 set parabola_y=new_y + Sin(parabola_angle) * 30 - call SetUnitX(s__KabutoHakugeki___Spell_white_dragon[this], parabola_x) - call SetUnitY(s__KabutoHakugeki___Spell_white_dragon[this], parabola_y) - call SetUnitFacing(s__KabutoHakugeki___Spell_white_dragon[this], Rad2Deg(angle)) - set distance_x=s__KabutoHakugeki___Spell_target_x[this] - parabola_x - set distance_y=s__KabutoHakugeki___Spell_target_y[this] - parabola_y + call SetUnitX(s__KabutoHakugeki__Spell_white_dragon[this], parabola_x) + call SetUnitY(s__KabutoHakugeki__Spell_white_dragon[this], parabola_y) + call SetUnitFacing(s__KabutoHakugeki__Spell_white_dragon[this], Rad2Deg(angle)) + set distance_x=s__KabutoHakugeki__Spell_target_x[this] - parabola_x + set distance_y=s__KabutoHakugeki__Spell_target_y[this] - parabola_y set distance=SquareRoot(distance_x * distance_x + distance_y * distance_y) - if distance <= 60 or s__KabutoHakugeki___Spell_count[this] > 100 then + if distance <= 60 or s__KabutoHakugeki__Spell_count[this] > 100 then loop set i=i + 1 exitwhen i > 5 - set s__s__KabutoHakugeki___Spell_stun[i]= CreateUnit(GetOwningPlayer(s__KabutoHakugeki___Spell_caster[this]), 'e007', parabola_x, parabola_y, 0) + set s__s__KabutoHakugeki__Spell_stun[i]= CreateUnit(GetOwningPlayer(s__KabutoHakugeki__Spell_caster[this]), 'e007', parabola_x, parabola_y, 0) //call UnitAddAbility(thistype.stun[i], 'A0LG') endloop set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__KabutoHakugeki___Spell_target_x[this], s__KabutoHakugeki___Spell_target_y[this], 400, null) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__KabutoHakugeki__Spell_target_x[this], s__KabutoHakugeki__Spell_target_y[this], 400, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__KabutoHakugeki___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then - call StunUnitTimed(s__KabutoHakugeki___Spell_caster[this] , bj_lastCreatedUnit , 3.0) + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__KabutoHakugeki__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then + call StunUnitTimed(s__KabutoHakugeki__Spell_caster[this] , bj_lastCreatedUnit , 3.0) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - set s__KabutoHakugeki___Spell_offset[this]=distance - set s__KabutoHakugeki___Spell_ball[this]=CreateUnit(GetOwningPlayer(s__KabutoHakugeki___Spell_caster[this]), 'e013', parabola_x, parabola_y, 270) - call SetUnitX(s__KabutoHakugeki___Spell_ball[this], parabola_x) - call SetUnitY(s__KabutoHakugeki___Spell_ball[this], parabola_y) - call SetUnitScale(s__KabutoHakugeki___Spell_ball[this], 0.10, 0.10, 0.10) - call SetUnitX(s__KabutoHakugeki___Spell_white_dragon[this], parabola_x) - call SetUnitY(s__KabutoHakugeki___Spell_white_dragon[this], parabola_y) - set s__KabutoHakugeki___Spell_count[this]=0 - call TimerStart(NewTimerEx(this), 0.03, true, function s__KabutoHakugeki___Spell_rotate) + set s__KabutoHakugeki__Spell_offset[this]=distance + set s__KabutoHakugeki__Spell_ball[this]=CreateUnit(GetOwningPlayer(s__KabutoHakugeki__Spell_caster[this]), 'e013', parabola_x, parabola_y, 270) + call SetUnitX(s__KabutoHakugeki__Spell_ball[this], parabola_x) + call SetUnitY(s__KabutoHakugeki__Spell_ball[this], parabola_y) + call SetUnitScale(s__KabutoHakugeki__Spell_ball[this], 0.10, 0.10, 0.10) + call SetUnitX(s__KabutoHakugeki__Spell_white_dragon[this], parabola_x) + call SetUnitY(s__KabutoHakugeki__Spell_white_dragon[this], parabola_y) + set s__KabutoHakugeki__Spell_count[this]=0 + call TimerStart(NewTimerEx(this), 0.03, true, function s__KabutoHakugeki__Spell_rotate) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__KabutoHakugeki___Spell_actions takes nothing returns nothing - local integer this= s__KabutoHakugeki___Spell__allocate() + function s__KabutoHakugeki__Spell_actions takes nothing returns nothing + local integer this= s__KabutoHakugeki__Spell__allocate() local real caster_x local real caster_y local real angle if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Kabuto_Sage_R, 75.0, GetTriggerUnit()) endif - set s__KabutoHakugeki___Spell_caster[this]=GetTriggerUnit() - set s__KabutoHakugeki___Spell_target_x[this]=GetSpellTargetX() - set s__KabutoHakugeki___Spell_target_y[this]=GetSpellTargetY() - set s__KabutoHakugeki___Spell_count[this]=0 - set s__KabutoHakugeki___Spell_parabola[this]=false - set caster_x=GetUnitX(s__KabutoHakugeki___Spell_caster[this]) - set caster_y=GetUnitY(s__KabutoHakugeki___Spell_caster[this]) - set angle=Atan2(( s__KabutoHakugeki___Spell_target_y[this] - caster_y ), ( s__KabutoHakugeki___Spell_target_x[this] - caster_x )) - set s__KabutoHakugeki___Spell_white_dragon[this]=CreateUnit(GetTriggerPlayer(), 'e029', caster_x, caster_y, Rad2Deg(angle)) - call SetUnitX(s__KabutoHakugeki___Spell_white_dragon[this], caster_x) - call SetUnitY(s__KabutoHakugeki___Spell_white_dragon[this], caster_y) - call TimerStart(NewTimerEx(this), 0.03, true, function s__KabutoHakugeki___Spell_move) + set s__KabutoHakugeki__Spell_caster[this]=GetTriggerUnit() + set s__KabutoHakugeki__Spell_target_x[this]=GetSpellTargetX() + set s__KabutoHakugeki__Spell_target_y[this]=GetSpellTargetY() + set s__KabutoHakugeki__Spell_count[this]=0 + set s__KabutoHakugeki__Spell_parabola[this]=false + set caster_x=GetUnitX(s__KabutoHakugeki__Spell_caster[this]) + set caster_y=GetUnitY(s__KabutoHakugeki__Spell_caster[this]) + set angle=Atan2(( s__KabutoHakugeki__Spell_target_y[this] - caster_y ), ( s__KabutoHakugeki__Spell_target_x[this] - caster_x )) + set s__KabutoHakugeki__Spell_white_dragon[this]=CreateUnit(GetTriggerPlayer(), 'e029', caster_x, caster_y, Rad2Deg(angle)) + call SetUnitX(s__KabutoHakugeki__Spell_white_dragon[this], caster_x) + call SetUnitY(s__KabutoHakugeki__Spell_white_dragon[this], caster_y) + call TimerStart(NewTimerEx(this), 0.03, true, function s__KabutoHakugeki__Spell_move) endfunction - function s__KabutoHakugeki___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(45 , s__KabutoHakugeki___Spell_SPELL_ID , function s__KabutoHakugeki___Spell_actions) + function s__KabutoHakugeki__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(45 , s__KabutoHakugeki__Spell_SPELL_ID , function s__KabutoHakugeki__Spell_actions) endfunction @@ -68762,54 +68762,54 @@ endfunction //Implemented from module Alloc: - function s__KaguyaLava___Spell_allocate takes nothing returns integer + function s__KaguyaLava__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__KaguyaLava___Spell_Alloc__recycle[(0)] == 0 ) then - set s__KaguyaLava___Spell_Alloc__instanceCount=s__KaguyaLava___Spell_Alloc__instanceCount + 1 - set this=s__KaguyaLava___Spell_Alloc__instanceCount + if ( s__KaguyaLava__Spell_Alloc__recycle[(0)] == 0 ) then + set s__KaguyaLava__Spell_Alloc__instanceCount=s__KaguyaLava__Spell_Alloc__instanceCount + 1 + set this=s__KaguyaLava__Spell_Alloc__instanceCount else - set this=s__KaguyaLava___Spell_Alloc__recycle[(0)] - set s__KaguyaLava___Spell_Alloc__recycle[(0)]=s__KaguyaLava___Spell_Alloc__recycle[s__KaguyaLava___Spell_Alloc__recycle[(0)]] + set this=s__KaguyaLava__Spell_Alloc__recycle[(0)] + set s__KaguyaLava__Spell_Alloc__recycle[(0)]=s__KaguyaLava__Spell_Alloc__recycle[s__KaguyaLava__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__KaguyaLava___Spell_deallocate takes integer this returns nothing - set s__KaguyaLava___Spell_Alloc__recycle[this]=s__KaguyaLava___Spell_Alloc__recycle[(0)] - set s__KaguyaLava___Spell_Alloc__recycle[(0)]=this + function s__KaguyaLava__Spell_deallocate takes integer this returns nothing + set s__KaguyaLava__Spell_Alloc__recycle[this]=s__KaguyaLava__Spell_Alloc__recycle[(0)] + set s__KaguyaLava__Spell_Alloc__recycle[(0)]=this endfunction - function s__KaguyaLava___Spell_destroy takes integer this returns nothing - set s__KaguyaLava___Spell_caster[this]=null - call s__KaguyaLava___Spell_deallocate(this) + function s__KaguyaLava__Spell_destroy takes integer this returns nothing + set s__KaguyaLava__Spell_caster[this]=null + call s__KaguyaLava__Spell_deallocate(this) endfunction - function s__KaguyaLava___Spell_damage takes nothing returns nothing + function s__KaguyaLava__Spell_damage takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! loop - set bj_lastCreatedUnit=FirstOfGroup(s__KaguyaLava___Spell_damaged[this]) + set bj_lastCreatedUnit=FirstOfGroup(s__KaguyaLava__Spell_damaged[this]) exitwhen bj_lastCreatedUnit == null call PauseUnit(bj_lastCreatedUnit, false) call UnitRemoveAbility(bj_lastCreatedUnit, 'A0IV') call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Other\\Incinerate\\FireLordDeathExplode.mdl" ), (( GetUnitX(bj_lastCreatedUnit) )*1.0), (( GetUnitY(bj_lastCreatedUnit))*1.0))) // INLINED!! - call UnitDamageTarget(s__KaguyaLava___Spell_caster[this], bj_lastCreatedUnit, GetHeroInt(s__KaguyaLava___Spell_caster[this], true) * GetUnitAbilityLevel(s__KaguyaLava___Spell_caster[this], s__KaguyaLava___Spell_SPELL_ID), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) - call GroupRemoveUnit(s__KaguyaLava___Spell_damaged[this], bj_lastCreatedUnit) + call UnitDamageTarget(s__KaguyaLava__Spell_caster[this], bj_lastCreatedUnit, GetHeroInt(s__KaguyaLava__Spell_caster[this], true) * GetUnitAbilityLevel(s__KaguyaLava__Spell_caster[this], s__KaguyaLava__Spell_SPELL_ID), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) + call GroupRemoveUnit(s__KaguyaLava__Spell_damaged[this], bj_lastCreatedUnit) endloop - call DestroyGroup(s__KaguyaLava___Spell_damaged[this]) - set s__KaguyaLava___Spell_damaged[this]=null + call DestroyGroup(s__KaguyaLava__Spell_damaged[this]) + set s__KaguyaLava__Spell_damaged[this]=null //call PauseUnit(this.caster, false) //call StunUnitTimed(this.caster, this.target, 1.0) - call s__KaguyaLava___Spell_destroy(this) + call s__KaguyaLava__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__KaguyaLava___Spell_actions takes nothing returns nothing - local integer this= s__KaguyaLava___Spell_allocate() + function s__KaguyaLava__Spell_actions takes nothing returns nothing + local integer this= s__KaguyaLava__Spell_allocate() local real x= GetSpellTargetX() local real y= GetSpellTargetY() local real new_x @@ -68818,45 +68818,45 @@ endfunction local integer i local location l local integer id= (GetUnitUserData((GetTriggerUnit()))) // INLINED!! - set s__KaguyaLava___Spell_caster[this]=GetTriggerUnit() + set s__KaguyaLava__Spell_caster[this]=GetTriggerUnit() if s__s__KaguyaTeleport_teleport1[id] != null and GetDistance(GetSpellTargetX() , GetSpellTargetY() , GetUnitX(s__s__KaguyaTeleport_teleport1[id]) , GetUnitY(s__s__KaguyaTeleport_teleport1[id])) < 200 then - set s__KaguyaLava___Spell_target_x[this]=GetUnitX(s__s__KaguyaTeleport_teleport2[id]) - set s__KaguyaLava___Spell_target_y[this]=GetUnitY(s__s__KaguyaTeleport_teleport2[id]) + set s__KaguyaLava__Spell_target_x[this]=GetUnitX(s__s__KaguyaTeleport_teleport2[id]) + set s__KaguyaLava__Spell_target_y[this]=GetUnitY(s__s__KaguyaTeleport_teleport2[id]) elseif s__s__KaguyaTeleport_teleport2[id] != null and GetDistance(GetSpellTargetX() , GetSpellTargetY() , GetUnitX(s__s__KaguyaTeleport_teleport2[id]) , GetUnitY(s__s__KaguyaTeleport_teleport2[id])) < 200 then - set s__KaguyaLava___Spell_target_x[this]=GetUnitX(s__s__KaguyaTeleport_teleport1[id]) - set s__KaguyaLava___Spell_target_y[this]=GetUnitY(s__s__KaguyaTeleport_teleport1[id]) + set s__KaguyaLava__Spell_target_x[this]=GetUnitX(s__s__KaguyaTeleport_teleport1[id]) + set s__KaguyaLava__Spell_target_y[this]=GetUnitY(s__s__KaguyaTeleport_teleport1[id]) else - set s__KaguyaLava___Spell_target_x[this]=GetSpellTargetX() - set s__KaguyaLava___Spell_target_y[this]=GetSpellTargetY() + set s__KaguyaLava__Spell_target_x[this]=GetSpellTargetX() + set s__KaguyaLava__Spell_target_y[this]=GetSpellTargetY() endif - set angle=Atan3(GetUnitX(s__KaguyaLava___Spell_caster[this]) , GetUnitY(s__KaguyaLava___Spell_caster[this]) , x , y) - set x=(((GetUnitX(s__KaguyaLava___Spell_caster[this]) )*1.0) + Cos((( angle )*1.0)) * (( 200.0)*1.0)) // INLINED!! - set y=(((GetUnitY(s__KaguyaLava___Spell_caster[this]) )*1.0) + Sin((( angle )*1.0)) * (( 200.0)*1.0)) // INLINED!! + set angle=Atan3(GetUnitX(s__KaguyaLava__Spell_caster[this]) , GetUnitY(s__KaguyaLava__Spell_caster[this]) , x , y) + set x=(((GetUnitX(s__KaguyaLava__Spell_caster[this]) )*1.0) + Cos((( angle )*1.0)) * (( 200.0)*1.0)) // INLINED!! + set y=(((GetUnitY(s__KaguyaLava__Spell_caster[this]) )*1.0) + Sin((( angle )*1.0)) * (( 200.0)*1.0)) // INLINED!! - set bj_lastCreatedEffect=AddSpecialEffect("Mr.War3_SKM.mdl", s__KaguyaLava___Spell_target_x[this], s__KaguyaLava___Spell_target_y[this]) + set bj_lastCreatedEffect=AddSpecialEffect("Mr.War3_SKM.mdl", s__KaguyaLava__Spell_target_x[this], s__KaguyaLava__Spell_target_y[this]) call BlzSetSpecialEffectScale(bj_lastCreatedEffect, 3.0) call BlzSetSpecialEffectTimeScale(bj_lastCreatedEffect, 3.0) call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.75)*1.0)) // INLINED!! //call PauseUnit(this.caster, true) - set s__KaguyaLava___Spell_damaged[this]=CreateGroup() + set s__KaguyaLava__Spell_damaged[this]=CreateGroup() set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__KaguyaLava___Spell_target_x[this], s__KaguyaLava___Spell_target_y[this], 200, null) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__KaguyaLava__Spell_target_x[this], s__KaguyaLava__Spell_target_y[this], 200, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__KaguyaLava___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__KaguyaLava__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then call SetUnitFlyHeight(bj_lastCreatedUnit, 700.0, 0) call SetUnitFlyHeight(bj_lastCreatedUnit, 0, 1400.0) call UnitAddAbility(bj_lastCreatedUnit, 'A0IV') - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! call SetUnitAnimation(bj_lastCreatedUnit, "death") call SetUnitPosition(bj_lastCreatedUnit, x, y) - call GroupAddUnit(s__KaguyaLava___Spell_damaged[this], bj_lastCreatedUnit) + call GroupAddUnit(s__KaguyaLava__Spell_damaged[this], bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop @@ -68883,11 +68883,11 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.5)*1.0)) // INLINED!! call RemoveLocation(l) set l=null - call TimerStart(NewTimerEx(this), 0.5, false, function s__KaguyaLava___Spell_damage) + call TimerStart(NewTimerEx(this), 0.5, false, function s__KaguyaLava__Spell_damage) endfunction - function s__KaguyaLava___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(48 , s__KaguyaLava___Spell_SPELL_ID , function s__KaguyaLava___Spell_actions) + function s__KaguyaLava__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(48 , s__KaguyaLava__Spell_SPELL_ID , function s__KaguyaLava__Spell_actions) endfunction @@ -68900,109 +68900,109 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.5)*1.0)) // INLINED!! //Implemented from module Alloc: - function s__KaguyaPunch___Spell_allocate takes nothing returns integer + function s__KaguyaPunch__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__KaguyaPunch___Spell_Alloc__recycle[(0)] == 0 ) then - set s__KaguyaPunch___Spell_Alloc__instanceCount=s__KaguyaPunch___Spell_Alloc__instanceCount + 1 - set this=s__KaguyaPunch___Spell_Alloc__instanceCount + if ( s__KaguyaPunch__Spell_Alloc__recycle[(0)] == 0 ) then + set s__KaguyaPunch__Spell_Alloc__instanceCount=s__KaguyaPunch__Spell_Alloc__instanceCount + 1 + set this=s__KaguyaPunch__Spell_Alloc__instanceCount else - set this=s__KaguyaPunch___Spell_Alloc__recycle[(0)] - set s__KaguyaPunch___Spell_Alloc__recycle[(0)]=s__KaguyaPunch___Spell_Alloc__recycle[s__KaguyaPunch___Spell_Alloc__recycle[(0)]] + set this=s__KaguyaPunch__Spell_Alloc__recycle[(0)] + set s__KaguyaPunch__Spell_Alloc__recycle[(0)]=s__KaguyaPunch__Spell_Alloc__recycle[s__KaguyaPunch__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__KaguyaPunch___Spell_deallocate takes integer this returns nothing - set s__KaguyaPunch___Spell_Alloc__recycle[this]=s__KaguyaPunch___Spell_Alloc__recycle[(0)] - set s__KaguyaPunch___Spell_Alloc__recycle[(0)]=this + function s__KaguyaPunch__Spell_deallocate takes integer this returns nothing + set s__KaguyaPunch__Spell_Alloc__recycle[this]=s__KaguyaPunch__Spell_Alloc__recycle[(0)] + set s__KaguyaPunch__Spell_Alloc__recycle[(0)]=this endfunction - function s__KaguyaPunch___Spell_destroy takes integer this returns nothing + function s__KaguyaPunch__Spell_destroy takes integer this returns nothing //if this.window > 0 then // call SetUnitPropWindow(this.caster, this.window) //endif - set s__KaguyaPunch___Spell_caster[this]=null - call s__KaguyaPunch___Spell_deallocate(this) + set s__KaguyaPunch__Spell_caster[this]=null + call s__KaguyaPunch__Spell_deallocate(this) endfunction - function s__KaguyaPunch___Spell_throw takes nothing returns nothing + function s__KaguyaPunch__Spell_throw takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real x= GetUnitX(s__KaguyaPunch___Spell_missile[this]) - local real y= GetUnitY(s__KaguyaPunch___Spell_missile[this]) - local real new_x= (((x )*1.0) + Cos((( s__KaguyaPunch___Spell_angle[this] )*1.0)) * (( 25)*1.0)) // INLINED!! - local real new_y= (((y )*1.0) + Sin((( s__KaguyaPunch___Spell_angle[this] )*1.0)) * (( 25)*1.0)) // INLINED!! - call SetUnitX(s__KaguyaPunch___Spell_missile[this], new_x) - call SetUnitY(s__KaguyaPunch___Spell_missile[this], new_y) + local real x= GetUnitX(s__KaguyaPunch__Spell_missile[this]) + local real y= GetUnitY(s__KaguyaPunch__Spell_missile[this]) + local real new_x= (((x )*1.0) + Cos((( s__KaguyaPunch__Spell_angle[this] )*1.0)) * (( 25)*1.0)) // INLINED!! + local real new_y= (((y )*1.0) + Sin((( s__KaguyaPunch__Spell_angle[this] )*1.0)) * (( 25)*1.0)) // INLINED!! + call SetUnitX(s__KaguyaPunch__Spell_missile[this], new_x) + call SetUnitY(s__KaguyaPunch__Spell_missile[this], new_y) set bj_lastCreatedGroup=CreateGroup() call GroupEnumUnitsInRange(bj_lastCreatedGroup, new_x, new_y, 200, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__KaguyaPunch___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitInGroup(bj_lastCreatedUnit, s__KaguyaPunch___Spell_damaged) then - call UnitDamageTarget(s__KaguyaPunch___Spell_caster[this], bj_lastCreatedUnit, 90 * GetUnitAbilityLevel(s__KaguyaPunch___Spell_caster[this], s__KaguyaPunch___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) - call StunUnitTimed(s__KaguyaPunch___Spell_caster[this] , bj_lastCreatedUnit , 1.5) - call GroupAddUnit(s__KaguyaPunch___Spell_damaged, bj_lastCreatedUnit) + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__KaguyaPunch__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitInGroup(bj_lastCreatedUnit, s__KaguyaPunch__Spell_damaged) then + call UnitDamageTarget(s__KaguyaPunch__Spell_caster[this], bj_lastCreatedUnit, 90 * GetUnitAbilityLevel(s__KaguyaPunch__Spell_caster[this], s__KaguyaPunch__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + call StunUnitTimed(s__KaguyaPunch__Spell_caster[this] , bj_lastCreatedUnit , 1.5) + call GroupAddUnit(s__KaguyaPunch__Spell_damaged, bj_lastCreatedUnit) endif endloop - set s__KaguyaPunch___Spell_count[this]=s__KaguyaPunch___Spell_count[this] + 1 - if s__KaguyaPunch___Spell_count[this] > 28 then - call KillUnit(s__KaguyaPunch___Spell_missile[this]) - set s__KaguyaPunch___Spell_missile[this]=null - call s__KaguyaPunch___Spell_deallocate(this) + set s__KaguyaPunch__Spell_count[this]=s__KaguyaPunch__Spell_count[this] + 1 + if s__KaguyaPunch__Spell_count[this] > 28 then + call KillUnit(s__KaguyaPunch__Spell_missile[this]) + set s__KaguyaPunch__Spell_missile[this]=null + call s__KaguyaPunch__Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__KaguyaPunch___Spell_periodic takes nothing returns nothing + function s__KaguyaPunch__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local integer this2 local real new_x local real new_y local real angle - set s__KaguyaPunch___Spell_count[this]=s__KaguyaPunch___Spell_count[this] + 1 - set angle=Deg2Rad(GetUnitFacing(s__KaguyaPunch___Spell_caster[this])) + GetRandomReal(Deg2Rad(- 30), Deg2Rad(30)) - set new_x=(((GetUnitX(s__KaguyaPunch___Spell_caster[this]) )*1.0) + Cos((( angle )*1.0)) * (( 200)*1.0)) // INLINED!! - set new_y=(((GetUnitY(s__KaguyaPunch___Spell_caster[this]) )*1.0) + Sin((( angle )*1.0)) * (( 200)*1.0)) // INLINED!! - set this2=s__KaguyaPunch___Spell_allocate() - set s__KaguyaPunch___Spell_caster[this2]=s__KaguyaPunch___Spell_caster[this] - set s__KaguyaPunch___Spell_count[this2]=0 - set s__KaguyaPunch___Spell_angle[this2]=angle - set s__KaguyaPunch___Spell_missile[this2]=CreateUnit(GetOwningPlayer(s__KaguyaPunch___Spell_caster[this]), 'e07B', new_x, new_y, Rad2Deg(angle)) - call TimerStart(NewTimerEx(this2), 0.03, true, function s__KaguyaPunch___Spell_throw) - if s__KaguyaPunch___Spell_count[this] > 3 then - call s__KaguyaPunch___Spell_destroy(this) + set s__KaguyaPunch__Spell_count[this]=s__KaguyaPunch__Spell_count[this] + 1 + set angle=Deg2Rad(GetUnitFacing(s__KaguyaPunch__Spell_caster[this])) + GetRandomReal(Deg2Rad(- 30), Deg2Rad(30)) + set new_x=(((GetUnitX(s__KaguyaPunch__Spell_caster[this]) )*1.0) + Cos((( angle )*1.0)) * (( 200)*1.0)) // INLINED!! + set new_y=(((GetUnitY(s__KaguyaPunch__Spell_caster[this]) )*1.0) + Sin((( angle )*1.0)) * (( 200)*1.0)) // INLINED!! + set this2=s__KaguyaPunch__Spell_allocate() + set s__KaguyaPunch__Spell_caster[this2]=s__KaguyaPunch__Spell_caster[this] + set s__KaguyaPunch__Spell_count[this2]=0 + set s__KaguyaPunch__Spell_angle[this2]=angle + set s__KaguyaPunch__Spell_missile[this2]=CreateUnit(GetOwningPlayer(s__KaguyaPunch__Spell_caster[this]), 'e07B', new_x, new_y, Rad2Deg(angle)) + call TimerStart(NewTimerEx(this2), 0.03, true, function s__KaguyaPunch__Spell_throw) + if s__KaguyaPunch__Spell_count[this] > 3 then + call s__KaguyaPunch__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__KaguyaPunch___Spell_actions takes nothing returns nothing - local integer this= s__KaguyaPunch___Spell_allocate() + function s__KaguyaPunch__Spell_actions takes nothing returns nothing + local integer this= s__KaguyaPunch__Spell_allocate() local real angle= Atan3(GetUnitX(GetTriggerUnit()) , GetUnitY(GetTriggerUnit()) , GetSpellTargetX() , GetSpellTargetY()) local real dist= GetDistance(GetUnitX(GetTriggerUnit()) , GetUnitY(GetTriggerUnit()) , GetSpellTargetX() , GetSpellTargetY()) local integer id= (GetUnitUserData((GetTriggerUnit()))) // INLINED!! - set s__KaguyaPunch___Spell_caster[this]=GetTriggerUnit() - set s__KaguyaPunch___Spell_caster_x[this]=GetUnitX(GetTriggerUnit()) - set s__KaguyaPunch___Spell_caster_y[this]=GetUnitY(GetTriggerUnit()) - set s__KaguyaPunch___Spell_x[this]=GetSpellTargetX() - set s__KaguyaPunch___Spell_y[this]=GetSpellTargetY() - set s__KaguyaPunch___Spell_count[this]=0 - set s__KaguyaPunch___Spell_window[this]=GetUnitPropWindow(s__KaguyaPunch___Spell_caster[this]) + set s__KaguyaPunch__Spell_caster[this]=GetTriggerUnit() + set s__KaguyaPunch__Spell_caster_x[this]=GetUnitX(GetTriggerUnit()) + set s__KaguyaPunch__Spell_caster_y[this]=GetUnitY(GetTriggerUnit()) + set s__KaguyaPunch__Spell_x[this]=GetSpellTargetX() + set s__KaguyaPunch__Spell_y[this]=GetSpellTargetY() + set s__KaguyaPunch__Spell_count[this]=0 + set s__KaguyaPunch__Spell_window[this]=GetUnitPropWindow(s__KaguyaPunch__Spell_caster[this]) //call SetUnitPropWindow(this.caster, 0) - call SetUnitAnimation(s__KaguyaPunch___Spell_caster[this], "spell two") - call AddLoadingBar(s__KaguyaPunch___Spell_caster[this] , 2.0) - call TimerStart(NewTimerEx(this), 0.2, true, function s__KaguyaPunch___Spell_periodic) - call GroupClear(s__KaguyaPunch___Spell_damaged) + call SetUnitAnimation(s__KaguyaPunch__Spell_caster[this], "spell two") + call AddLoadingBar(s__KaguyaPunch__Spell_caster[this] , 2.0) + call TimerStart(NewTimerEx(this), 0.2, true, function s__KaguyaPunch__Spell_periodic) + call GroupClear(s__KaguyaPunch__Spell_damaged) endfunction - function s__KaguyaPunch___Spell_onInit takes nothing returns nothing - set s__KaguyaPunch___Spell_damaged=CreateGroup() - call RegisterSpellEffectEventForId(48 , s__KaguyaPunch___Spell_SPELL_ID , function s__KaguyaPunch___Spell_actions) + function s__KaguyaPunch__Spell_onInit takes nothing returns nothing + set s__KaguyaPunch__Spell_damaged=CreateGroup() + call RegisterSpellEffectEventForId(48 , s__KaguyaPunch__Spell_SPELL_ID , function s__KaguyaPunch__Spell_actions) endfunction @@ -69086,8 +69086,8 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.5)*1.0)) // INLINED!! call ShowUnit(s__KaguyaSemi_dummy[this], false) set s__KaguyaSemi_dummy[this]=null call UnitRemoveAbility(s__KaguyaSemi_caster[this], 'A153') - call s__PauseUnitEx__Pause_setPauseCounter((s__KaguyaSemi_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__KaguyaSemi_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KaguyaSemi_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KaguyaSemi_target[this] ) , ( 0)) // INLINED!! call ShowUnit(s__KaguyaSemi_caster[this], true) call SelectUnitForPlayerSingle(s__KaguyaSemi_caster[this], GetOwningPlayer(s__KaguyaSemi_caster[this])) call SetUnitFlyHeight(s__KaguyaSemi_caster[this], 0, 0) @@ -69151,8 +69151,8 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.5)*1.0)) // INLINED!! set s__KaguyaSemi_count[this]=0 set s__KaguyaSemi_portal1[this]=null set s__KaguyaSemi_portal2[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__KaguyaSemi_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__KaguyaSemi_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KaguyaSemi_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KaguyaSemi_target[this] ) , ( 1)) // INLINED!! call ShowUnit(s__KaguyaSemi_caster[this], false) call SetUnitFlyHeight(s__KaguyaSemi_target[this], 300, 0) call AddUnitAnimationProperties(s__KaguyaSemi_caster[this], "alternate", true) @@ -69173,139 +69173,139 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.5)*1.0)) // INLINED!! //Implemented from module Alloc: - function s__KaguyaUltimate___Spell_allocate takes nothing returns integer + function s__KaguyaUltimate__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__KaguyaUltimate___Spell_Alloc__recycle[(0)] == 0 ) then - set s__KaguyaUltimate___Spell_Alloc__instanceCount=s__KaguyaUltimate___Spell_Alloc__instanceCount + 1 - set this=s__KaguyaUltimate___Spell_Alloc__instanceCount + if ( s__KaguyaUltimate__Spell_Alloc__recycle[(0)] == 0 ) then + set s__KaguyaUltimate__Spell_Alloc__instanceCount=s__KaguyaUltimate__Spell_Alloc__instanceCount + 1 + set this=s__KaguyaUltimate__Spell_Alloc__instanceCount else - set this=s__KaguyaUltimate___Spell_Alloc__recycle[(0)] - set s__KaguyaUltimate___Spell_Alloc__recycle[(0)]=s__KaguyaUltimate___Spell_Alloc__recycle[s__KaguyaUltimate___Spell_Alloc__recycle[(0)]] + set this=s__KaguyaUltimate__Spell_Alloc__recycle[(0)] + set s__KaguyaUltimate__Spell_Alloc__recycle[(0)]=s__KaguyaUltimate__Spell_Alloc__recycle[s__KaguyaUltimate__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__KaguyaUltimate___Spell_deallocate takes integer this returns nothing - set s__KaguyaUltimate___Spell_Alloc__recycle[this]=s__KaguyaUltimate___Spell_Alloc__recycle[(0)] - set s__KaguyaUltimate___Spell_Alloc__recycle[(0)]=this + function s__KaguyaUltimate__Spell_deallocate takes integer this returns nothing + set s__KaguyaUltimate__Spell_Alloc__recycle[this]=s__KaguyaUltimate__Spell_Alloc__recycle[(0)] + set s__KaguyaUltimate__Spell_Alloc__recycle[(0)]=this endfunction - function s__KaguyaUltimate___Spell_destroy takes integer this returns nothing + function s__KaguyaUltimate__Spell_destroy takes integer this returns nothing // set bj_lastCreatedUnit = CreateUnit(GetOwningPlayer(this.caster), 'h05K', GetUnitX(this.ball), GetUnitY(this.ball), 270.0) //call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 3.0) - set bj_lastCreatedEffect=AddSpecialEffect("DeidaraNewT.mdl", GetUnitX(s__KaguyaUltimate___Spell_ball[this]), GetUnitY(s__KaguyaUltimate___Spell_ball[this])) + set bj_lastCreatedEffect=AddSpecialEffect("DeidaraNewT.mdl", GetUnitX(s__KaguyaUltimate__Spell_ball[this]), GetUnitY(s__KaguyaUltimate__Spell_ball[this])) //call BlzSetSpecialEffectScale(bj_lastCreatedEffect, 0.7) call BlzSetSpecialEffectTimeScale(bj_lastCreatedEffect, 2.0) call DestroyEffect(bj_lastCreatedEffect) - call KillUnit(s__KaguyaUltimate___Spell_ball[this]) - set s__KaguyaUltimate___Spell_caster[this]=null - set s__KaguyaUltimate___Spell_ball[this]=null - call s__KaguyaUltimate___Spell_deallocate(this) + call KillUnit(s__KaguyaUltimate__Spell_ball[this]) + set s__KaguyaUltimate__Spell_caster[this]=null + set s__KaguyaUltimate__Spell_ball[this]=null + call s__KaguyaUltimate__Spell_deallocate(this) endfunction - function s__KaguyaUltimate___Spell_explode takes nothing returns nothing + function s__KaguyaUltimate__Spell_explode takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local integer i local real x local real y - set s__KaguyaUltimate___Spell_count[this]=s__KaguyaUltimate___Spell_count[this] + 1 - if ModuloInteger(s__KaguyaUltimate___Spell_count[this], 2) == 0 then + set s__KaguyaUltimate__Spell_count[this]=s__KaguyaUltimate__Spell_count[this] + 1 + if ModuloInteger(s__KaguyaUltimate__Spell_count[this], 2) == 0 then set i=1 loop exitwhen i > 10 - set x=(((GetUnitX(s__KaguyaUltimate___Spell_ball[this]) )*1.0) + Cos((( Deg2Rad(36 * i) )*1.0)) * (( 250.0)*1.0)) // INLINED!! - set y=(((GetUnitY(s__KaguyaUltimate___Spell_ball[this]) )*1.0) + Sin((( Deg2Rad(36 * i) )*1.0)) * (( 250.0)*1.0)) // INLINED!! + set x=(((GetUnitX(s__KaguyaUltimate__Spell_ball[this]) )*1.0) + Cos((( Deg2Rad(36 * i) )*1.0)) * (( 250.0)*1.0)) // INLINED!! + set y=(((GetUnitY(s__KaguyaUltimate__Spell_ball[this]) )*1.0) + Sin((( Deg2Rad(36 * i) )*1.0)) * (( 250.0)*1.0)) // INLINED!! call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl" ), (( x )*1.0), (( y)*1.0))) // INLINED!! set i=i + 1 endloop endif set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, GetUnitX(s__KaguyaUltimate___Spell_ball[this]), GetUnitY(s__KaguyaUltimate___Spell_ball[this]), 350.0, null) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, GetUnitX(s__KaguyaUltimate__Spell_ball[this]), GetUnitY(s__KaguyaUltimate__Spell_ball[this]), 350.0, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__KaguyaUltimate___Spell_caster[this])) then + if GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__KaguyaUltimate__Spell_caster[this])) then if IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == true then - call UnitDamageTarget(s__KaguyaUltimate___Spell_caster[this], bj_lastCreatedUnit, GetHeroInt(s__KaguyaUltimate___Spell_caster[this], true) * 20.0 / 33.0, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__KaguyaUltimate__Spell_caster[this], bj_lastCreatedUnit, GetHeroInt(s__KaguyaUltimate__Spell_caster[this], true) * 20.0 / 33.0, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) else - call UnitDamageTarget(s__KaguyaUltimate___Spell_caster[this], bj_lastCreatedUnit, GetHeroInt(s__KaguyaUltimate___Spell_caster[this], true) * 13.0 / 33.0, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__KaguyaUltimate__Spell_caster[this], bj_lastCreatedUnit, GetHeroInt(s__KaguyaUltimate__Spell_caster[this], true) * 13.0 / 33.0, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) endif endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - if s__KaguyaUltimate___Spell_count[this] > 33 then - call s__KaguyaUltimate___Spell_destroy(this) + if s__KaguyaUltimate__Spell_count[this] > 33 then + call s__KaguyaUltimate__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__KaguyaUltimate___Spell_move takes nothing returns nothing + function s__KaguyaUltimate__Spell_move takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real ball_x= GetUnitX(s__KaguyaUltimate___Spell_ball[this]) - local real ball_y= GetUnitY(s__KaguyaUltimate___Spell_ball[this]) - local real angle= Atan3(ball_x , ball_y , s__KaguyaUltimate___Spell_x[this] , s__KaguyaUltimate___Spell_y[this]) + local real ball_x= GetUnitX(s__KaguyaUltimate__Spell_ball[this]) + local real ball_y= GetUnitY(s__KaguyaUltimate__Spell_ball[this]) + local real angle= Atan3(ball_x , ball_y , s__KaguyaUltimate__Spell_x[this] , s__KaguyaUltimate__Spell_y[this]) local real new_x= (((ball_x )*1.0) + Cos((( angle )*1.0)) * (( 20.0)*1.0)) // INLINED!! local real new_y= (((ball_y )*1.0) + Sin((( angle )*1.0)) * (( 20.0)*1.0)) // INLINED!! - local real distance= GetDistance(new_x , new_y , s__KaguyaUltimate___Spell_x[this] , s__KaguyaUltimate___Spell_y[this]) - local integer id= (GetUnitUserData((s__KaguyaUltimate___Spell_caster[this]))) // INLINED!! - call SetUnitX(s__KaguyaUltimate___Spell_ball[this], new_x) - call SetUnitY(s__KaguyaUltimate___Spell_ball[this], new_y) + local real distance= GetDistance(new_x , new_y , s__KaguyaUltimate__Spell_x[this] , s__KaguyaUltimate__Spell_y[this]) + local integer id= (GetUnitUserData((s__KaguyaUltimate__Spell_caster[this]))) // INLINED!! + call SetUnitX(s__KaguyaUltimate__Spell_ball[this], new_x) + call SetUnitY(s__KaguyaUltimate__Spell_ball[this], new_y) call DestroyEffect(AddSpecialEffect(("Abilities\\Weapons\\AncientProtectorMissile\\AncientProtectorMissile.mdl" ), (( ball_x )*1.0), (( ball_y)*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" ), (( ball_x )*1.0), (( ball_y)*1.0))) // INLINED!! if distance <= 100 then - set s__KaguyaUltimate___Spell_count[this]=0 - call TimerStart(NewTimerEx(this), 0.07, true, function s__KaguyaUltimate___Spell_explode) + set s__KaguyaUltimate__Spell_count[this]=0 + call TimerStart(NewTimerEx(this), 0.07, true, function s__KaguyaUltimate__Spell_explode) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__KaguyaUltimate___Spell_periodic takes nothing returns nothing + function s__KaguyaUltimate__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real size - set s__KaguyaUltimate___Spell_count[this]=s__KaguyaUltimate___Spell_count[this] + 1 - set size=0.8 / 66.0 * s__KaguyaUltimate___Spell_count[this] - call SetUnitScale(s__KaguyaUltimate___Spell_ball[this], size, size, size) - if s__KaguyaUltimate___Spell_count[this] > 66 then + set s__KaguyaUltimate__Spell_count[this]=s__KaguyaUltimate__Spell_count[this] + 1 + set size=0.8 / 66.0 * s__KaguyaUltimate__Spell_count[this] + call SetUnitScale(s__KaguyaUltimate__Spell_ball[this], size, size, size) + if s__KaguyaUltimate__Spell_count[this] > 66 then //call PauseUnit(this.caster, false) - call TimerStart(NewTimerEx(this), 0.03, true, function s__KaguyaUltimate___Spell_move) + call TimerStart(NewTimerEx(this), 0.03, true, function s__KaguyaUltimate__Spell_move) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__KaguyaUltimate___Spell_actions takes nothing returns nothing - local integer this= s__KaguyaUltimate___Spell_allocate() + function s__KaguyaUltimate__Spell_actions takes nothing returns nothing + local integer this= s__KaguyaUltimate__Spell_allocate() local real new_x local real new_y local real angle if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Kaguya_T_Gudoudama, 80.0, GetTriggerUnit()) endif - set s__KaguyaUltimate___Spell_caster[this]=GetTriggerUnit() - set s__KaguyaUltimate___Spell_x[this]=GetSpellTargetX() - set s__KaguyaUltimate___Spell_y[this]=GetSpellTargetY() - set angle=Atan3(GetUnitX(s__KaguyaUltimate___Spell_caster[this]) , GetUnitY(s__KaguyaUltimate___Spell_caster[this]) , s__KaguyaUltimate___Spell_x[this] , s__KaguyaUltimate___Spell_y[this]) - set new_x=(((GetUnitX(s__KaguyaUltimate___Spell_caster[this]) )*1.0) + Cos((( angle )*1.0)) * (( 250.0)*1.0)) // INLINED!! - set new_y=(((GetUnitY(s__KaguyaUltimate___Spell_caster[this]) )*1.0) + Sin((( angle )*1.0)) * (( 250.0)*1.0)) // INLINED!! - set s__KaguyaUltimate___Spell_ball[this]=CreateUnit(GetOwningPlayer(s__KaguyaUltimate___Spell_caster[this]), 'h06V', new_x, new_y, 270.0) - call UnitApplyTimedLife(s__KaguyaUltimate___Spell_ball[this], 'BTLF', 10.0) - set s__KaguyaUltimate___Spell_count[this]=0 + set s__KaguyaUltimate__Spell_caster[this]=GetTriggerUnit() + set s__KaguyaUltimate__Spell_x[this]=GetSpellTargetX() + set s__KaguyaUltimate__Spell_y[this]=GetSpellTargetY() + set angle=Atan3(GetUnitX(s__KaguyaUltimate__Spell_caster[this]) , GetUnitY(s__KaguyaUltimate__Spell_caster[this]) , s__KaguyaUltimate__Spell_x[this] , s__KaguyaUltimate__Spell_y[this]) + set new_x=(((GetUnitX(s__KaguyaUltimate__Spell_caster[this]) )*1.0) + Cos((( angle )*1.0)) * (( 250.0)*1.0)) // INLINED!! + set new_y=(((GetUnitY(s__KaguyaUltimate__Spell_caster[this]) )*1.0) + Sin((( angle )*1.0)) * (( 250.0)*1.0)) // INLINED!! + set s__KaguyaUltimate__Spell_ball[this]=CreateUnit(GetOwningPlayer(s__KaguyaUltimate__Spell_caster[this]), 'h06V', new_x, new_y, 270.0) + call UnitApplyTimedLife(s__KaguyaUltimate__Spell_ball[this], 'BTLF', 10.0) + set s__KaguyaUltimate__Spell_count[this]=0 //call PauseUnit(this.caster, true) - call SetUnitAnimation(s__KaguyaUltimate___Spell_caster[this], "spell") + call SetUnitAnimation(s__KaguyaUltimate__Spell_caster[this], "spell") if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call DisplayTimedTextToPlayer(GetLocalPlayer(), 0, 0, 5.0, "|cffff0000Kaguya: All chakra belongs to me!|r") endif - call TimerStart(NewTimerEx(this), 0.01, true, function s__KaguyaUltimate___Spell_periodic) + call TimerStart(NewTimerEx(this), 0.01, true, function s__KaguyaUltimate__Spell_periodic) endfunction - function s__KaguyaUltimate___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(48 , s__KaguyaUltimate___Spell_SPELL_ID , function s__KaguyaUltimate___Spell_actions) + function s__KaguyaUltimate__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(48 , s__KaguyaUltimate__Spell_SPELL_ID , function s__KaguyaUltimate__Spell_actions) endfunction @@ -70238,7 +70238,7 @@ function Trig_Kamui_INIT_Actions takes nothing returns nothing set bj_forLoopAIndex=bj_forLoopAIndex + 1 endloop call RemoveLocation(udg_Kamui_Point[1]) - call s__PauseUnitEx__Pause_setPauseCounter((udg_Kamui_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Kamui_Caster ) , ( 0)) // INLINED!! endif endfunction @@ -70299,7 +70299,7 @@ function Trig_Kamui_LOOP_Func004A takes nothing returns nothing call SetUnitInvulnerable(GetEnumUnit(), true) set udg_Kamui_Point[4]=GetUnitLoc(GetEnumUnit()) set udg_Kamui_Point[5]=PolarProjectionBJ(udg_Kamui_Point[4], 7.00, ( 180.00 + AngleBetweenPoints(udg_Kamui_Point[3], udg_Kamui_Point[4]) )) - call s__PauseUnitEx__Pause_setPauseCounter((GetEnumUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetEnumUnit() ) , ( 1)) // INLINED!! if ( Trig_Kamui_LOOP_Func004Func005C() ) then call ShowUnitHide(GetEnumUnit()) else @@ -70347,7 +70347,7 @@ function Trig_Kamui_OFF_Func004A takes nothing returns nothing call ShowUnitShow(GetEnumUnit()) call UnitDamageTargetBJ(udg_Kamui_Caster, GetEnumUnit(), ( ( 10.00 * I2R(GetHeroStatBJ(bj_HEROSTAT_AGI, udg_Kamui_Caster, true)) ) + 300.00 ), ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC) call SelectUnitForPlayerSingle(GetEnumUnit(), GetOwningPlayer(GetEnumUnit())) - call s__PauseUnitEx__Pause_setPauseCounter((GetEnumUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetEnumUnit() ) , ( 0)) // INLINED!! endfunction function Trig_Kamui_OFF_Actions takes nothing returns nothing @@ -70572,7 +70572,7 @@ endfunction set bj_lastCreatedUnit=FirstOfGroup(s__KakashiDoton_damaged[this]) exitwhen bj_lastCreatedUnit == null call SetUnitFlyHeight(bj_lastCreatedUnit, 0, 600) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call IssueImmediateOrder(bj_lastCreatedUnit, "stop") call GroupRemoveUnit(s__KakashiDoton_damaged[this], bj_lastCreatedUnit) endloop @@ -70598,7 +70598,7 @@ endfunction set bj_lastCreatedUnit=FirstOfGroup(s__KakashiDoton_damaged[this]) exitwhen bj_lastCreatedUnit == null call SetUnitFlyHeight(bj_lastCreatedUnit, 0, 600) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call IssueImmediateOrder(bj_lastCreatedUnit, "stop") call GroupRemoveUnit(s__KakashiDoton_damaged[this], bj_lastCreatedUnit) endloop @@ -71509,7 +71509,7 @@ function Trig_KakashiDoryuheki_Func008A takes nothing returns nothing endfunction function Trig_KakashiDoryuheki_Func010A takes nothing returns nothing - call s__PauseUnitEx__Pause_setPauseCounter((GetEnumUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetEnumUnit() ) , ( 0)) // INLINED!! endfunction function Trig_KakashiDoryuheki_Func014A takes nothing returns nothing @@ -71830,7 +71830,7 @@ function Trig_KakashiDoubleRaikiri_Actions takes nothing returns nothing set udg_locations01[942]=GetUnitLoc(GetTriggerUnit()) set udg_units21[1]=GetSpellTargetUnit() call TriggerSleepAction(0.10) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units21[0] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units21[0] ) , ( 1)) // INLINED!! call SetUnitPathing(udg_units21[0], false) call EnableTrigger(udg_trigger102) call SetUnitTimeScale(udg_units21[0], 4.00) @@ -71925,7 +71925,7 @@ call AddSpecialEffectLocBJ((udg_locations03[137] ), ( "by_wood_effect_yubanmeiqi call RemoveLocation(udg_locations03[137]) call EnableTrigger(udg_trigger103) set udg_reals01[1002]=GetUnitFacing(udg_units21[0]) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units21[1] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units21[1] ) , ( 1)) // INLINED!! call SetUnitFlyHeight(udg_units21[1], 500.00, 450.00) @@ -71976,9 +71976,9 @@ call AddSpecialEffectLocBJ((udg_locations06[5] ), ( "Abilities\\Spells\\Orc\\War call DestroyEffect(bj_lastCreatedEffect) set bj_wantDestroyGroup=true call ForGroupBJ(GetUnitsInRangeOfLocMatching(300.00, udg_locations06[5], Condition(function Trig_KakashiDoubleRaikiri2_Func001Func046001003)), function Trig_KakashiDoubleRaikiri2_Func001Func046A) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units21[0] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units21[0] ) , ( 0)) // INLINED!! call SetUnitPathing(udg_units21[0], true) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units21[1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units21[1] ) , ( 0)) // INLINED!! call RemoveLocation(udg_locations06[5]) set udg_booleans01[689]=false else @@ -72316,7 +72316,7 @@ endfunction if s__KakuzuNewW_count[this] > 15 then call KillUnit(s__KakuzuNewW_dummy[this]) set s__KakuzuNewW_dummy[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__KakuzuNewW_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KakuzuNewW_target[this] ) , ( 0)) // INLINED!! set s__KakuzuNewW_target[this]=null call s__KakuzuNewW_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -72386,7 +72386,7 @@ endfunction // call UnitRemoveAbility(this.caster, 'B04X') //call SetUnitInvulnerable(this.caster, false) call SetUnitPropWindow(s__KakuzuNewW_caster[this], udg_Kakuzu_Window) - call s__PauseUnitEx__Pause_setPauseCounter((s__KakuzuNewW_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KakuzuNewW_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__KakuzuNewW_knockback) call ReleaseTimer(GetExpiredTimer()) elseif s__KakuzuNewW_count[this] > 20 then @@ -72659,8 +72659,8 @@ function Trig_KakuzuTakeHeart_Actions takes nothing returns nothing set udg_units31[556]=GetSpellTargetUnit() call TriggerSleepAction(0.10) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units31[555] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_units31[556] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units31[555] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units31[556] ) , ( 1)) // INLINED!! call SetUnitPathing(udg_units31[556], false) call SetUnitAnimationByIndex(udg_units31[555], 4) @@ -72732,8 +72732,8 @@ call AddSpecialEffectLocBJ((udg_locations03[616] ), ( "Objects\\Spawnmodels\\Und else call UnitDamageTarget(udg_units31[555], udg_units31[556], ( 700.00 + ( I2R(GetHeroStatBJ(0, udg_units31[555], true)) ) ) * I2R(GetUnitAbilityLevel(udg_units31[555], 'ANso')), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) endif - call s__PauseUnitEx__Pause_setPauseCounter((udg_units31[555] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_units31[556] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units31[555] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units31[556] ) , ( 0)) // INLINED!! call SetUnitPathing(udg_units31[556], true) if UnitHasItemOfTypeBJ(udg_units31[555], 'I05Y') then set rand=GetRandomInt(1, 3) @@ -73136,7 +73136,7 @@ endfunction if s__KakuzuCombinedAttack___PauseKakuza_c[this] > 16 then - call s__PauseUnitEx__Pause_setPauseCounter((s__KakuzuCombinedAttack___PauseKakuza_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KakuzuCombinedAttack___PauseKakuza_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__KakuzuCombinedAttack___PauseKakuza_caster[this], 1.0) endif @@ -73156,7 +73156,7 @@ endfunction set s__KakuzuCombinedAttack___PauseKakuza_caster[this]=u set s__KakuzuCombinedAttack___PauseKakuza_c[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__KakuzuCombinedAttack___PauseKakuza_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KakuzuCombinedAttack___PauseKakuza_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(u, "spell channel") call SetUnitTimeScale(u, 7.2) @@ -74906,7 +74906,7 @@ function Trig_KarinExplosiveNoteINIT_Actions takes nothing returns nothing call SetUnitAnimation(udg_DaBomb_Target, "death") call AddSpecialEffectTargetUnitBJ("head", udg_DaBomb_Target, "note.mdx") set udg_DaBomb_Special=GetLastCreatedEffectBJ() - call s__PauseUnitEx__Pause_setPauseCounter((udg_DaBomb_Target ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_DaBomb_Target ) , ( 1)) // INLINED!! set bj_lastCreatedEffect=AddSpecialEffect("Hit.mdx", GetUnitX(udg_DaBomb_Target), GetUnitY(udg_DaBomb_Target)) call BlzSetSpecialEffectHeight(bj_lastCreatedEffect, 60 + GetPointZ(GetUnitX(udg_DaBomb_Target) , GetUnitY(udg_DaBomb_Target))) call DestroyEffect(bj_lastCreatedEffect) @@ -75023,7 +75023,7 @@ function Trig_KarinExplosiveNoteLOOP_Actions takes nothing returns nothing else endif if ( Trig_KarinExplosiveNoteLOOP_Func007C() ) then - call s__PauseUnitEx__Pause_setPauseCounter((udg_DaBomb_Target ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_DaBomb_Target ) , ( 0)) // INLINED!! call ResetUnitAnimation(udg_DaBomb_Target) call DisableTrigger(GetTriggeringTrigger()) else @@ -75130,7 +75130,7 @@ endfunction set i=i + 1 endloop if s__KarinChakraChains_count[this] > 50 then - call s__PauseUnitEx__Pause_setPauseCounter((s__KarinChakraChains_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KarinChakraChains_caster[this] ) , ( 0)) // INLINED!! call TimerStart(NewTimerEx(this), 5.0, false, function s__KarinChakraChains_finish) call ReleaseTimer(GetExpiredTimer()) endif @@ -75155,7 +75155,7 @@ endfunction call SaveInteger(Table__ht, (s__KarinChakraChains_chains[this]), (i), ( l)) // INLINED!! set i=i + 1 endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__KarinChakraChains_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KarinChakraChains_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__KarinChakraChains_caster[this], "spell slam") set s__KarinChakraChains_damaged[this]=CreateGroup() call TimerStart(NewTimerEx(this), 0.02, true, function s__KarinChakraChains_periodic) @@ -75357,7 +75357,7 @@ function Trig_KibaTsuuga_Actions takes nothing returns nothing call BlzSetSpecialEffectYaw(bj_lastCreatedEffect, Deg2Rad(udg_Kiba_Real)) call DestroyEffect(bj_lastCreatedEffect) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! call SetUnitTimeScalePercent(GetTriggerUnit(), 300.00) //call SetUnitAnimation(GetTriggerUnit(),"Attack Walk Stand Spin Alternate") call SetUnitPathing(udg_units31[1], false) @@ -75367,7 +75367,7 @@ function Trig_KibaTsuuga_Actions takes nothing returns nothing call SetUnitPathing(udg_units31[1], true) call SetUnitTimeScalePercent(GetTriggerUnit(), 100.00) call ResetUnitAnimation(GetTriggerUnit()) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! call GroupClear(udg_groups04[65]) endfunction @@ -75460,8 +75460,8 @@ function Trig_KibaClawsCombo_Actions takes nothing returns nothing set udg_units31[2]=GetSpellTargetUnit() set udg_reals01[1418]=0.00 call TriggerSleepAction(0.03) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_units31[2] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units31[2] ) , ( 1)) // INLINED!! call SetUnitTimeScalePercent(GetTriggerUnit(), 300.00) call SetUnitPositionLocFacingLocBJ(udg_units31[1], PolarProjectionBJ(GetUnitLoc(udg_units31[2]), 120.00, AngleBetweenPoints(GetUnitLoc(udg_units31[2]), GetUnitLoc(udg_units31[1]))), GetUnitLoc(udg_units31[2])) set udg_integers02[121]=1 @@ -75488,10 +75488,10 @@ call AddSpecialEffectLocBJ((GetUnitLoc(udg_units31[2]) ), ( "Abilities\\Weapons\ call EnableTrigger(udg_trigger242) call TriggerSleepAction(0.10) call SetUnitTimeScalePercent(GetTriggerUnit(), 100.00) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! call UnitDamageTarget(udg_units31[1], udg_units31[2], I2R(GetHeroStatBJ(1, udg_units31[1], true)) * I2R(GetUnitAbilityLevel(udg_units31[1], 'A025')), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) call TriggerSleepAction(0.15) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units31[2] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units31[2] ) , ( 0)) // INLINED!! call DisableTrigger(udg_trigger242) endfunction @@ -75538,8 +75538,8 @@ if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then endif //call TriggerSleepAction(0.06) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units31[3] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units31[3] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! call SetUnitPathing(udg_units31[1], false) call SetUnitTimeScalePercent(GetTriggerUnit(), 500.00) call SetUnitAnimation(udg_units31[1], "walk") @@ -75637,14 +75637,14 @@ endfunction function Trig_KibaSemi3_Actions takes nothing returns nothing if ( ( ( ( DistanceBetweenPoints(GetUnitLoc(udg_units31[1]), udg_locations01[921]) >= 1000.00 ) ) or ( ( udg_integers01[921] == 65 ) ) ) ) then - call s__PauseUnitEx__Pause_setPauseCounter((udg_units31[3] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units31[3] ) , ( 0)) // INLINED!! call DisableTrigger(GetTriggeringTrigger()) set udg_integers01[921]=0 call SetUnitPositionLocFacingLocBJ(udg_units31[1], udg_locations01[921], udg_locations01[921]) call ShowUnit(udg_units31[1], true) call SetUnitTimeScalePercent(udg_units31[1], 100.00) call SetUnitPathing(udg_units31[1], true) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units31[1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units31[1] ) , ( 0)) // INLINED!! call ResetUnitAnimation(udg_units31[1]) call SelectUnitForPlayerSingle(udg_units31[1], GetOwningPlayer(udg_units31[1])) call RemoveLocation(udg_locations01[921]) @@ -75698,7 +75698,7 @@ function Trig_KibaGatsuuga_Actions takes nothing returns nothing set udg_units31[1]=GetTriggerUnit() set udg_locations03[275]=GetSpellTargetLoc() //call TriggerSleepAction(0.06) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! call SetUnitAnimation(GetTriggerUnit(), "Morph") call TriggerSleepAction(0.10) call SetUnitPositionLoc(GetTriggerUnit(), udg_locations03[275]) @@ -75728,7 +75728,7 @@ function Trig_KibaGatsuuga_Actions takes nothing returns nothing call TriggerSleepAction(0.50) call DisableTrigger(udg_trigger240) call ResetUnitAnimation(GetTriggerUnit()) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! call ShowUnit(GetTriggerUnit(), true) call SelectUnitForPlayerSingle(GetTriggerUnit(), GetOwningPlayer(GetTriggerUnit())) //call RemoveUnit(udg_units31[6]) @@ -76468,7 +76468,7 @@ endfunction function s__KidomaruUltimate_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! call SetUnitTimeScale(s__KidomaruUltimate_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__KidomaruUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KidomaruUltimate_caster[this] ) , ( 0)) // INLINED!! set s__KidomaruUltimate_arrow[this]=CreateUnit(GetOwningPlayer(s__KidomaruUltimate_caster[this]), 'h04O', GetUnitX(s__KidomaruUltimate_caster[this]), GetUnitY(s__KidomaruUltimate_caster[this]), Rad2Deg(s__KidomaruUltimate_angle[this])) call TimerStart(NewTimerEx(this), 0.03, true, function s__KidomaruUltimate_periodic) call ReleaseTimer(GetExpiredTimer()) @@ -76483,7 +76483,7 @@ endfunction set s__KidomaruUltimate_angle[this]=Atan3(GetUnitX(s__KidomaruUltimate_caster[this]) , GetUnitY(s__KidomaruUltimate_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) set s__KidomaruUltimate_count[this]=0 set s__KidomaruUltimate_distance[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__KidomaruUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KidomaruUltimate_caster[this] ) , ( 1)) // INLINED!! call SetUnitTimeScale(s__KidomaruUltimate_caster[this], 2.0) call SetUnitAnimation(s__KidomaruUltimate_caster[this], "spell five") call TimerStart(NewTimerEx(this), 0.3, false, function s__KidomaruUltimate_delay) @@ -76521,7 +76521,7 @@ endfunction endfunction function s__KillerBeeSevenSwordsDance_destroy takes integer this returns nothing - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeeSevenSwordsDance_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeeSevenSwordsDance_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__KillerBeeSevenSwordsDance_caster[this], 1.0) call DestroyGroup(s__KillerBeeSevenSwordsDance_damaged[this]) set s__KillerBeeSevenSwordsDance_damaged[this]=null @@ -76624,7 +76624,7 @@ endfunction set s__KillerBeeSevenSwordsDance_caster[this]=GetTriggerUnit() set s__KillerBeeSevenSwordsDance_damaged[this]=CreateGroup() set s__KillerBeeSevenSwordsDance_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeeSevenSwordsDance_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeeSevenSwordsDance_caster[this] ) , ( 1)) // INLINED!! set s__KillerBeeSevenSwordsDance_angle[this]=Atan3(GetUnitX(s__KillerBeeSevenSwordsDance_caster[this]) , GetUnitY(s__KillerBeeSevenSwordsDance_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) if GetUnitAbilityLevel(s__KillerBeeSevenSwordsDance_caster[this], 'B02E') == 0 then call SetUnitAnimationByIndex(s__KillerBeeSevenSwordsDance_caster[this], 15) @@ -76668,7 +76668,7 @@ endfunction endfunction function s__KillerBeeAcrobaticSwords_destroy takes integer this returns nothing - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeeAcrobaticSwords_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeeAcrobaticSwords_target[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__KillerBeeAcrobaticSwords_target[this], "death") set s__KillerBeeAcrobaticSwords_fire1[this]=null set s__KillerBeeAcrobaticSwords_fire2[this]=null @@ -76705,7 +76705,7 @@ endfunction function s__KillerBeeAcrobaticSwords_fire_pause2 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeeAcrobaticSwords_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeeAcrobaticSwords_caster[this] ) , ( 0)) // INLINED!! call DestroyEffect(s__KillerBeeAcrobaticSwords_fire1[this]) call DestroyEffect(s__KillerBeeAcrobaticSwords_fire2[this]) set s__KillerBeeAcrobaticSwords_count[this]=0 @@ -76722,8 +76722,8 @@ endfunction local real y= (((GetUnitY(s__KillerBeeAcrobaticSwords_target[this]) )*1.0) + Sin((( angle + bj_PI )*1.0)) * (( 100)*1.0)) // INLINED!! call SetUnitX(s__KillerBeeAcrobaticSwords_caster[this], x) call SetUnitY(s__KillerBeeAcrobaticSwords_caster[this], y) - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeeAcrobaticSwords_target[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeeAcrobaticSwords_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeeAcrobaticSwords_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeeAcrobaticSwords_caster[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.5, false, function s__KillerBeeAcrobaticSwords_fire_pause2) endfunction @@ -76805,7 +76805,7 @@ endfunction local real angle local integer i //call PauseUnit(this.caster, true) - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeeAcrobaticSwords_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeeAcrobaticSwords_target[this] ) , ( 1)) // INLINED!! call SetUnitTimeScale(s__KillerBeeAcrobaticSwords_caster[this], 3.0) set angle=GetAngleUnits(s__KillerBeeAcrobaticSwords_target[this] , s__KillerBeeAcrobaticSwords_caster[this]) set x=(((GetUnitX(s__KillerBeeAcrobaticSwords_target[this]) )*1.0) + Cos((( angle )*1.0)) * (( 120)*1.0)) // INLINED!! @@ -76888,7 +76888,7 @@ endfunction set s__KillerBeeNewR_count[this]=16 endif if s__KillerBeeNewR_count[this] > 15 then - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeeNewR_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeeNewR_target[this] ) , ( 0)) // INLINED!! call DestroyEffect(AddSpecialEffect(("war3mapImported\\bwaxec.mdx" ), (( GetUnitX(s__KillerBeeNewR_target[this]) )*1.0), (( GetUnitY(s__KillerBeeNewR_target[this]))*1.0))) // INLINED!! set s__KillerBeeNewR_target[this]=null @@ -76910,7 +76910,7 @@ endfunction call DestroyEffect(AddSpecialEffect(("war3mapImported\\slam.mdx" ), (( GetUnitX(s__KillerBeeNewR_target[this]) )*1.0), (( GetUnitY(s__KillerBeeNewR_target[this]))*1.0))) // INLINED!! call RecycleUnit(s__KillerBeeNewR_hachibi[this]) call SetUnitVertexColor((s__KillerBeeNewR_caster[this] ), ( 255 ), ( 255 ), ( 255 ), ( 255)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeeNewR_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeeNewR_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__KillerBeeNewR_target[this], "death") call UnitDamageTarget(s__KillerBeeNewR_caster[this], s__KillerBeeNewR_target[this], ( 800 + 2 * GetHeroStr(s__KillerBeeNewR_caster[this], true) ) * GetUnitAbilityLevel(s__KillerBeeNewR_caster[this], s__KillerBeeNewR_SPELL_ID), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) set s__KillerBeeNewR_angle[this]=Atan3(GetUnitX(s__KillerBeeNewR_caster[this]) , GetUnitY(s__KillerBeeNewR_caster[this]) , GetUnitX(s__KillerBeeNewR_target[this]) , GetUnitY(s__KillerBeeNewR_target[this])) @@ -76967,7 +76967,7 @@ endfunction call KillUnit(bj_lastCreatedUnit) set i=i + 1 endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeeNewR_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeeNewR_caster[this] ) , ( 1)) // INLINED!! //call PauseUnit(this.target, true) call TimerStart(NewTimerEx(this), 0.2, false, function s__KillerBeeNewR_delay) endfunction @@ -77222,7 +77222,7 @@ endfunction call DestroyGroup(bj_lastCreatedGroup) set s__KillerBeeHachimaki_count[this]=s__KillerBeeHachimaki_count[this] + 1 if s__KillerBeeHachimaki_count[this] > 66 then - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeeHachimaki_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeeHachimaki_caster[this] ) , ( 0)) // INLINED!! call s__KillerBeeHachimaki_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endif @@ -77235,7 +77235,7 @@ endfunction endif set s__KillerBeeHachimaki_caster[this]=GetTriggerUnit() set s__KillerBeeHachimaki_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeeHachimaki_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeeHachimaki_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__KillerBeeHachimaki_caster[this], "spell slam") call SetUnitTimeScale(s__KillerBeeHachimaki_caster[this], 2.0) call TimerStart(NewTimerEx(this), 0.03, true, function s__KillerBeeHachimaki_periodic) @@ -77354,7 +77354,7 @@ endfunction call DestroyGroup(bj_lastCreatedGroup) set s__KillerBeeLariat_count[this]=s__KillerBeeLariat_count[this] + 1 if s__KillerBeeLariat_count[this] > 36 then - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeeLariat_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeeLariat_caster[this] ) , ( 0)) // INLINED!! call DestroyGroup(s__KillerBeeLariat_damaged[this]) set s__KillerBeeLariat_damaged[this]=null call s__KillerBeeLariat_deallocate(this) @@ -77368,7 +77368,7 @@ endfunction set s__KillerBeeLariat_count[this]=0 set s__KillerBeeLariat_damaged[this]=CreateGroup() set s__KillerBeeLariat_angle[this]=Atan3(GetUnitX(s__KillerBeeLariat_caster[this]) , GetUnitY(s__KillerBeeLariat_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeeLariat_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeeLariat_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__KillerBeeLariat_caster[this], "spell throw") call SetUnitFacing(s__KillerBeeLariat_caster[this], Rad2Deg(s__KillerBeeLariat_angle[this])) call TimerStart(NewTimerEx(this), 0.03, true, function s__KillerBeeLariat_periodic) @@ -77508,7 +77508,7 @@ endfunction //call SetUnitVertexColor(bj_lastCreatedUnit, 255, 255, 0, 255) //call RecycleUnitDelayed(bj_lastCreatedUnit, 5.0) set s__KillerBeNewBijuuDama___Spell_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeNewBijuuDama___Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeNewBijuuDama___Spell_caster[this] ) , ( 0)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__KillerBeNewBijuuDama___Spell_throw) endfunction @@ -77603,7 +77603,7 @@ endfunction set s__KillerBeNewBijuuDama___chakra[(this)*(1)+i]= bj_lastCreatedUnit endloop set s__KillerBeNewBijuuDama___Spell_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__KillerBeNewBijuuDama___Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KillerBeNewBijuuDama___Spell_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__KillerBeNewBijuuDama___Spell_caster[this], "spell") call TimerStart(NewTimerEx(this), 0.1, false, function s__KillerBeNewBijuuDama___Spell_pause) endfunction @@ -77907,7 +77907,7 @@ endfunction local real new_x= (((s__GinkakuPot_target_x[this] )*1.0) + Cos((( angle )*1.0)) * (( 150)*1.0)) // INLINED!! local real new_y= (((s__GinkakuPot_target_y[this] )*1.0) + Sin((( angle )*1.0)) * (( 150)*1.0)) // INLINED!! local integer i - call s__PauseUnitEx__Pause_setPauseCounter((s__GinkakuPot_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__GinkakuPot_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__GinkakuPot_caster[this], 1.0) set s__GinkakuPot_count[this]=0 set s__GinkakuPot_pot[this]=(CreateUnit((GetOwningPlayer(s__GinkakuPot_caster[this]) ), ( 'h06T' ), (( new_x )*1.0), (( new_y )*1.0), (( Rad2Deg(angle + bj_PI))*1.0))) // INLINED!! @@ -78062,10 +78062,10 @@ endfunction call UnitDamageTarget(s__ShichiseikenSlash_caster[this], bj_lastCreatedUnit, 1, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) call DestroyEffect(AddSpecialEffect(("animeslashfinal.mdl" ), (( GetUnitX(bj_lastCreatedUnit) )*1.0), (( GetUnitY(bj_lastCreatedUnit))*1.0))) // INLINED!! call SetUnitAnimation(bj_lastCreatedUnit, "death") - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call GroupRemoveUnit(s__ShichiseikenSlash_damaged[this], bj_lastCreatedUnit) endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__ShichiseikenSlash_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShichiseikenSlash_caster[this] ) , ( 0)) // INLINED!! //call SlowArea(this.caster, GetUnitX(this.caster), GetUnitY(this.caster), 350) call DestroyGroup(s__ShichiseikenSlash_damaged[this]) set s__ShichiseikenSlash_damaged[this]=null @@ -78090,12 +78090,12 @@ endfunction exitwhen bj_lastCreatedUnit == null if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__ShichiseikenSlash_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then call GroupAddUnit(s__ShichiseikenSlash_damaged[this], bj_lastCreatedUnit) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - call s__PauseUnitEx__Pause_setPauseCounter((s__ShichiseikenSlash_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShichiseikenSlash_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__ShichiseikenSlash_caster[this], "Attack 1") call SetUnitTimeScale(s__ShichiseikenSlash_caster[this], 1.0) call TimerStart(NewTimerEx(this), 0.1, true, function s__ShichiseikenSlash_periodic) @@ -78525,7 +78525,7 @@ function Trig_KimimaroNewD_Periodic takes nothing returns nothing if GetWidgetLife(udg_KimimaroUnit) >= 0.405 then call UnitDamageTarget(udg_KimimaroKiller, udg_KimimaroUnit, 9999999.0, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_UNIVERSAL, null) else - call s__PauseUnitEx__Pause_setPauseCounter((udg_KimimaroUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_KimimaroUnit ) , ( 0)) // INLINED!! call SetUnitVertexColor((udg_KimimaroUnit ), ( 255 ), ( 255 ), ( 255 ), ( 255)) // INLINED!! call ReleaseTimer(GetExpiredTimer()) endif @@ -78540,18 +78540,18 @@ function Trig_KimimaroNewD_Actions takes nothing returns nothing call SetPlayerAbilityAvailable(GetOwningPlayer(udg_KimimaroUnit), 'Aakb', false) call SetPlayerAbilityAvailable(GetOwningPlayer(GetTriggerUnit()), 'A0NB', false) call SetUnitInvulnerable(GetTriggerUnit(), true) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! call SetUnitAnimation(GetTriggerUnit(), "death") if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Kimimaro: For lord Orochimaru, I can't afford to lose!|r") call PlaySoundOnUnitBJ(gg_snd_Kimimaro_D_Resurrect, 100, GetTriggerUnit()) endif call TriggerSleepAction(1.0) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! call SetUnitVertexColor((udg_KimimaroUnit ), ( 150 ), ( 150 ), ( 150 ), ( 255)) // INLINED!! call TriggerSleepAction(5.0) call SetUnitInvulnerable(GetTriggerUnit(), false) - call s__PauseUnitEx__Pause_setPauseCounter((udg_KimimaroUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_KimimaroUnit ) , ( 1)) // INLINED!! call SetPlayerAbilityAvailable(GetOwningPlayer(GetTriggerUnit()), 'A0NB', true) call TimerStart((NewTimerEx(0)), 0.03, true, function Trig_KimimaroNewD_Periodic) // INLINED!! call TriggerSleepAction(180.0) @@ -78589,7 +78589,7 @@ endfunction endfunction function s__KimimaroNewYanagi2_destroy takes integer this returns nothing - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroNewYanagi2_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroNewYanagi2_target[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__KimimaroNewYanagi2_caster[this], 1.0) call SetUnitAnimation(s__KimimaroNewYanagi2_target[this], "death") set s__KimimaroNewYanagi2_fire1[this]=null @@ -78619,7 +78619,7 @@ endfunction function s__KimimaroNewYanagi2_pause takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroNewYanagi2_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroNewYanagi2_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__KimimaroNewYanagi2_caster[this], 1.0) set s__KimimaroNewYanagi2_count[this]=0 set s__KimimaroNewYanagi2_angle[this]=GetAngleUnits(s__KimimaroNewYanagi2_caster[this] , s__KimimaroNewYanagi2_target[this]) @@ -78671,8 +78671,8 @@ endfunction local real y local real angle local integer i - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroNewYanagi2_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroNewYanagi2_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroNewYanagi2_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroNewYanagi2_target[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__KimimaroNewYanagi2_caster[this], "spell three") set angle=GetAngleUnits(s__KimimaroNewYanagi2_target[this] , s__KimimaroNewYanagi2_caster[this]) set x=(((GetUnitX(s__KimimaroNewYanagi2_target[this]) )*1.0) + Cos((( angle )*1.0)) * (( 120)*1.0)) // INLINED!! @@ -78783,7 +78783,7 @@ endfunction endloop call DestroyGroup(bj_lastCreatedGroup) call SetUnitFlyHeight(s__KimimaroKaramatsu_caster[this], 0, 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroKaramatsu_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroKaramatsu_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__KimimaroKaramatsu_caster[this], 1.0) call SetUnitInvulnerable(s__KimimaroKaramatsu_caster[this], false) call s__KimimaroKaramatsu_deallocate(this) @@ -78797,7 +78797,7 @@ endfunction set s__KimimaroKaramatsu_target_x[this]=GetSpellTargetX() set s__KimimaroKaramatsu_target_y[this]=GetSpellTargetY() set s__KimimaroKaramatsu_dist[this]=GetDistance(GetUnitX(s__KimimaroKaramatsu_caster[this]) , GetUnitY(s__KimimaroKaramatsu_caster[this]) , s__KimimaroKaramatsu_target_x[this] , s__KimimaroKaramatsu_target_y[this]) - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroKaramatsu_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroKaramatsu_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__KimimaroKaramatsu_caster[this], "spell one") call SetUnitTimeScale(s__KimimaroKaramatsu_caster[this], 2.5) call SetUnitInvulnerable(s__KimimaroKaramatsu_caster[this], true) @@ -78924,7 +78924,7 @@ endfunction function s__KimimaroTessenka_finish takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroTessenka_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroTessenka_caster[this] ) , ( 0)) // INLINED!! call s__KimimaroTessenka_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endfunction @@ -78971,7 +78971,7 @@ endfunction function s__KimimaroTessenka_actions takes nothing returns nothing local integer this= s__KimimaroTessenka_allocate() set s__KimimaroTessenka_caster[this]=GetTriggerUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroTessenka_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroTessenka_caster[this] ) , ( 1)) // INLINED!! call SetUnitTimeScale(s__KimimaroTessenka_caster[this], 2.0) call SetUnitAnimation(s__KimimaroTessenka_caster[this], "spell two") call TimerStart(NewTimerEx(this), 0.25, false, function s__KimimaroTessenka_delay) @@ -79032,7 +79032,7 @@ endfunction call DestroyEffect(AddSpecialEffect(("war3mapImported\\Ground Crack.mdx" ), (( GetUnitX(s__KimimaroTessenkaTsuru_target[this]) )*1.0), (( GetUnitY(s__KimimaroTessenkaTsuru_target[this]))*1.0))) // INLINED!! //call StunUnitTimed(this.caster, this.target, 1.0) call UnitDamageTarget(s__KimimaroTessenkaTsuru_caster[this], s__KimimaroTessenkaTsuru_target[this], 5 * GetHeroAgi(s__KimimaroTessenkaTsuru_caster[this], true) * GetUnitAbilityLevel(s__KimimaroTessenkaTsuru_caster[this], 'A0FJ'), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, null) - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroTessenkaTsuru_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroTessenkaTsuru_target[this] ) , ( 0)) // INLINED!! //call PauseUnit(this.caster, false) call SetUnitTimeScale(s__KimimaroTessenkaTsuru_caster[this], 1.0) call TimerStart(NewTimerEx(this), 0.03, true, function s__KimimaroTessenkaTsuru_knockback) @@ -79076,18 +79076,18 @@ endfunction call DestroyGroup(bj_lastCreatedGroup) if u != null then set s__KimimaroTessenkaTsuru_target[this]=u - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroTessenkaTsuru_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroTessenkaTsuru_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroTessenkaTsuru_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroTessenkaTsuru_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__KimimaroTessenkaTsuru_pull) call ReleaseTimer(GetExpiredTimer()) elseif s__KimimaroTessenkaTsuru_count[this] > 7 then if s__KimimaroTessenkaTsuru_target[this] != null then - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroTessenkaTsuru_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroTessenkaTsuru_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroTessenkaTsuru_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroTessenkaTsuru_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__KimimaroTessenkaTsuru_pull) call ReleaseTimer(GetExpiredTimer()) else - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroTessenkaTsuru_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroTessenkaTsuru_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__KimimaroTessenkaTsuru_caster[this], 1.0) loop call BlzSetSpecialEffectScale(s___KimimaroTessenkaTsuru_chains[s__KimimaroTessenkaTsuru_chains[this]+s__KimimaroTessenkaTsuru_count[this]], 0) @@ -79117,7 +79117,7 @@ endfunction set s__KimimaroTessenkaTsuru_dummy[this]=CreateUnit(GetTriggerPlayer(), 'e007', GetUnitX(s__KimimaroTessenkaTsuru_caster[this]), GetUnitY(s__KimimaroTessenkaTsuru_caster[this]), 270.0) call SetUnitX(s__KimimaroTessenkaTsuru_dummy[this], GetUnitX(s__KimimaroTessenkaTsuru_caster[this])) call SetUnitY(s__KimimaroTessenkaTsuru_dummy[this], GetUnitY(s__KimimaroTessenkaTsuru_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroTessenkaTsuru_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroTessenkaTsuru_caster[this] ) , ( 1)) // INLINED!! call SetUnitTimeScale(s__KimimaroTessenkaTsuru_caster[this], 1.5) call SetUnitAnimationByIndex(s__KimimaroTessenkaTsuru_caster[this], 14) set s__KimimaroTessenkaTsuru_target[this]=null @@ -79193,7 +79193,7 @@ endfunction endif set s__KimimaroTessenkaHana___Spell_count[this]=s__KimimaroTessenkaHana___Spell_count[this] + 1 if s__KimimaroTessenkaHana___Spell_count[this] > 20 then - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroTessenkaHana___Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroTessenkaHana___Spell_caster[this] ) , ( 0)) // INLINED!! call DestroyGroup(s__KimimaroTessenkaHana___Spell_damaged[this]) set s__KimimaroTessenkaHana___Spell_damaged[this]=null call s__KimimaroTessenkaHana___Spell_deallocate(this) @@ -79206,7 +79206,7 @@ endfunction set s__KimimaroTessenkaHana___Spell_caster[this]=GetTriggerUnit() set s__KimimaroTessenkaHana___Spell_angle[this]=Atan3(GetUnitX(s__KimimaroTessenkaHana___Spell_caster[this]) , GetUnitY(s__KimimaroTessenkaHana___Spell_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) call SetUnitTimeScale(s__KimimaroTessenkaHana___Spell_caster[this], 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__KimimaroTessenkaHana___Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KimimaroTessenkaHana___Spell_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__KimimaroTessenkaHana___Spell_caster[this], "spell four") set s__KimimaroTessenkaHana___Spell_count[this]=0 set s__KimimaroTessenkaHana___Spell_damaged[this]=CreateGroup() @@ -79477,7 +79477,7 @@ endfunction call DestroyEffect(AddSpecialEffect(("war3mapImported\\Blood.mdl" ), (( x )*1.0), (( y)*1.0))) // INLINED!! set i=i + 1 endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__KisameNewD_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KisameNewD_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__KisameNewD_caster[this], "death") set s__KisameNewD_damage[this]=GetUnitState(s__KisameNewD_caster[this], UNIT_STATE_MAX_LIFE) * 0.2 call UnitDamageTarget(s__KisameNewD_caster[this], s__KisameNewD_caster[this], s__KisameNewD_damage[this], true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) @@ -79555,7 +79555,7 @@ endfunction set s__KisameNewD_dome[this]=CreateUnit(GetOwningPlayer(s__KisameNewD_caster[this]), 'h0AX', GetUnitX(s__KisameNewD_caster[this]), GetUnitY(s__KisameNewD_caster[this]), 270) call SetUnitFlyHeight(s__KisameNewD_dome[this], 200, 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__KisameNewD_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KisameNewD_caster[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__KisameNewD_periodic) endfunction @@ -79736,7 +79736,7 @@ function Trig_KisameWaterPrison1_Actions takes nothing returns nothing set udg_locations06[61]=GetUnitLoc(udg_units45[0]) set udg_units45[1]=CreateUnitAtLoc(GetOwningPlayer(GetTriggerUnit()), 'npng', udg_locations06[61], 0) //call PauseUnit(udg_units45[0],true) - call s__PauseUnitEx__Pause_setPauseCounter((udg_unit20 ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_unit20 ) , ( 1)) // INLINED!! call EnableTrigger(udg_trigger316) endfunction @@ -79756,7 +79756,7 @@ function Trig_KisameWaterPrison2_Actions takes nothing returns nothing call UnitRemoveAbility(udg_units45[0], 'BPSE') call DisableTrigger(GetTriggeringTrigger()) //call PauseUnit(udg_units45[0],false) - call s__PauseUnitEx__Pause_setPauseCounter((udg_unit20 ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_unit20 ) , ( 0)) // INLINED!! call RemoveUnit(udg_units45[1]) set udg_units45[1]=null call RemoveLocation(udg_locations06[61]) @@ -79868,7 +79868,7 @@ endfunction set s__KisameNewFarm_count[this]=s__KisameNewFarm_count[this] + 1 if s__KisameNewFarm_count[this] > 30 then call SetUnitTimeScale(s__KisameNewFarm_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__KisameNewFarm_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KisameNewFarm_caster[this] ) , ( 0)) // INLINED!! call DestroyGroup(s__KisameNewFarm_damaged[this]) set s__KisameNewFarm_damaged[this]=null call KillUnit(s__KisameNewFarm_wave[this]) @@ -79887,7 +79887,7 @@ endfunction set s__KisameNewFarm_wave[this]=CreateUnit(GetTriggerPlayer(), 'e07X', GetUnitX(s__KisameNewFarm_caster[this]), GetUnitY(s__KisameNewFarm_caster[this]), Rad2Deg(s__KisameNewFarm_angle[this])) call SetUnitScale(s__KisameNewFarm_wave[this], 0.5, 0.5, 0.5) call SetUnitTimeScale(s__KisameNewFarm_wave[this], 2.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__KisameNewFarm_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KisameNewFarm_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__KisameNewFarm_caster[this], "spell five") call SetUnitTimeScale(s__KisameNewFarm_caster[this], 1.5) call TimerStart(NewTimerEx(this), 0.03, true, function s__KisameNewFarm_periodic) @@ -80275,7 +80275,7 @@ function Trig_KisameSemi_Actions takes nothing returns nothing set udg_integer07=0 call TriggerSleepAction(0.10) //if GetUnitAbilityLevel(GetTriggerUnit(), 'B04A') > 0 then - call s__PauseUnitEx__Pause_setPauseCounter((udg_units26[11] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units26[11] ) , ( 1)) // INLINED!! //endif // set bj_forLoopAIndex=1 @@ -80349,7 +80349,7 @@ function Trig_KisameSemi2_Actions takes nothing returns nothing call GroupClear(udg_groups02[3]) call SetUnitFlyHeight(udg_units26[11], GetUnitDefaultFlyHeight(udg_units26[11]), 999999.00) // - call s__PauseUnitEx__Pause_setPauseCounter((udg_units26[11] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units26[11] ) , ( 0)) // INLINED!! call RemoveLocation(udg_location05) call RemoveLocation(udg_locations14[1]) call RemoveLocation(udg_locations14[2]) @@ -80405,7 +80405,7 @@ function Trig_KisameMugensame_Actions takes nothing returns nothing if (UnitHasItemOfTypeBJ((udg_unit16 ), ( 'I03J'))) then // INLINED!! call BlzStartUnitAbilityCooldown(udg_unit16, 'A04X', BlzGetUnitAbilityCooldownRemaining(udg_unit16, 'A04X') - 15) endif - call s__PauseUnitEx__Pause_setPauseCounter((udg_unit16 ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_unit16 ) , ( 1)) // INLINED!! //call SetUnitAnimationByIndex(GetTriggerUnit(), 1) call SetUnitAnimation(GetTriggerUnit(), "spell five") @@ -80485,7 +80485,7 @@ function Trig_KisameMugensame_Actions takes nothing returns nothing call TriggerSleepAction(1.00) call ForGroupBJ(udg_groups03[31], function Trig_KisameMugensame_Func024A) call ForGroupBJ(udg_groups03[32], function Trig_KisameMugensame_Func025A) - call s__PauseUnitEx__Pause_setPauseCounter((udg_unit16 ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_unit16 ) , ( 0)) // INLINED!! call SetUnitTimeScale(udg_unit16, 1.0) call SetUnitFlyHeight(udg_unit16, 0.00, 2400.00) //call ResetToGameCameraForPlayerEx(GetOwningPlayer(udg_unit16),0) @@ -80774,7 +80774,7 @@ function Trig_KisameSharkDance_Actions takes nothing returns nothing set udg_SHADANCE_Angle=AngleBetweenPoints(udg_SHADANCE_Point[1], udg_SHADANCE_Point[2]) call RemoveLocation(udg_SHADANCE_Point[2]) set udg_SHADANCE_Count=0 - call s__PauseUnitEx__Pause_setPauseCounter((udg_SHADANCE_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_SHADANCE_Caster ) , ( 1)) // INLINED!! call SetUnitAnimation(udg_SHADANCE_Caster, "spell one") call SetUnitPathing(udg_SHADANCE_Caster, false) call EnableTrigger(gg_trg_KisameSharkDanceLOOP) @@ -80862,7 +80862,7 @@ call AddSpecialEffectLocBJ((udg_SHADANCE_Point[3] ), ( "Objects\\Spawnmodels\\Na call SetUnitPathing(udg_SHADANCE_Caster, true) call ForGroupBJ(udg_SHADANCE_Group2, function Trig_shark_dance_loop_Func011Func005A) call GroupClear(udg_SHADANCE_Group2) - call s__PauseUnitEx__Pause_setPauseCounter((udg_SHADANCE_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_SHADANCE_Caster ) , ( 0)) // INLINED!! call DisableTrigger(GetTriggeringTrigger()) else endif @@ -80895,7 +80895,7 @@ function Trig_KisameGreatSharkDance_Actions takes nothing returns nothing if ( Trig_KisameGreatSharkDance_Func001C() ) then set udg_GSD_Caster=GetTriggerUnit() call ShowUnitHide(GetTriggerUnit()) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! call SetUnitInvulnerable(GetTriggerUnit(), true) set udg_GSD_Count=0 set udg_GSD_Point[1]=GetUnitLoc(GetTriggerUnit()) @@ -80948,7 +80948,7 @@ function Trig_KisameGreatSharkDanceLOOP_Actions takes nothing returns nothing set udg_GSD_Count=( udg_GSD_Count + 1 ) if ( Trig_KisameGreatSharkDanceLOOP_Func002C() ) then call ShowUnitShow(udg_GSD_Caster) - call s__PauseUnitEx__Pause_setPauseCounter((udg_GSD_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_GSD_Caster ) , ( 0)) // INLINED!! call SetUnitInvulnerable(udg_GSD_Caster, false) call SelectUnitForPlayerSingle(udg_GSD_Caster, GetOwningPlayer(udg_GSD_Caster)) call RemoveLocation(udg_GSD_Point[1]) @@ -81313,7 +81313,7 @@ endfunction call SetUnitX(s__KonanTeleport_caster[this], s__KonanTeleport_target_x[this]) call SetUnitY(s__KonanTeleport_caster[this], s__KonanTeleport_target_y[this]) call ShowUnit(s__KonanTeleport_caster[this], true) - call s__PauseUnitEx__Pause_setPauseCounter((s__KonanTeleport_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KonanTeleport_caster[this] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(s__KonanTeleport_caster[this], false) call SelectUnitForPlayerSingle(s__KonanTeleport_caster[this], GetOwningPlayer(s__KonanTeleport_caster[this])) call s__KonanTeleport_deallocate(this) @@ -81333,7 +81333,7 @@ endfunction set s__KonanTeleport_target_x[this]=target_x set s__KonanTeleport_target_y[this]=target_y call ShowUnit(s__KonanTeleport_caster[this], false) - call s__PauseUnitEx__Pause_setPauseCounter((s__KonanTeleport_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KonanTeleport_caster[this] ) , ( 1)) // INLINED!! call SetUnitInvulnerable(s__KonanTeleport_caster[this], true) call TimerStart(NewTimerEx(this), 0.2, false, function s__KonanTeleport_delay) endfunction @@ -81564,7 +81564,7 @@ endfunction set s__KonanNewShuriken_damaged[this]=null call s__Table_destroy(s__KonanNewShuriken_parabolas[this]) call ShowUnit(s__KonanNewShuriken_caster[this], true) - call s__PauseUnitEx__Pause_setPauseCounter((s__KonanNewShuriken_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KonanNewShuriken_caster[this] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(s__KonanNewShuriken_caster[this], false) call SelectUnitForPlayerSingle(s__KonanNewShuriken_caster[this], GetOwningPlayer(s__KonanNewShuriken_caster[this])) call s__KonanNewShuriken_deallocate(this) @@ -81594,7 +81594,7 @@ endfunction set i=i + 1 endloop if ( GetUnitTypeId(s__KonanNewShuriken_target[this]) != 'N01Q' or GetUnitTypeId(s__KonanNewShuriken_target[this]) != 'U00S' or GetUnitTypeId(s__KonanNewShuriken_target[this]) != 'N01R' or GetUnitTypeId(s__KonanNewShuriken_target[this]) != 'U00Q' or GetUnitTypeId(s__KonanNewShuriken_target[this]) != 'H09A' or GetUnitTypeId(s__KonanNewShuriken_target[this]) != 'U00R' ) then - call s__PauseUnitEx__Pause_setPauseCounter((s__KonanNewShuriken_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KonanNewShuriken_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__KonanNewShuriken_caster[this], false) call SetUnitInvulnerable(s__KonanNewShuriken_caster[this], true) endif @@ -82124,7 +82124,7 @@ endfunction call SelectUnitForPlayerSingle(s__KonanNewUltimate_target[this], GetOwningPlayer(s__KonanNewUltimate_target[this])) //call StunUnitTimed(this.caster, this.target, 2.0) call UnitDamageTarget(s__KonanNewUltimate_caster[this], s__KonanNewUltimate_target[this], 10 * GetHeroInt(s__KonanNewUltimate_caster[this], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) - call s__PauseUnitEx__Pause_setPauseCounter((s__KonanNewUltimate_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KonanNewUltimate_target[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__KonanNewUltimate_target[this], "death") call KillUnit(s__KonanNewUltimate_lance[this]) call KillUnit(s__KonanNewUltimate_cage[this]) @@ -82139,7 +82139,7 @@ endfunction function s__KonanNewUltimate_throwLance takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! set s__KonanNewUltimate_dist[this]=GetDistance(GetUnitX(s__KonanNewUltimate_caster[this]) , GetUnitY(s__KonanNewUltimate_caster[this]) , GetUnitX(s__KonanNewUltimate_target[this]) , GetUnitY(s__KonanNewUltimate_target[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__KonanNewUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KonanNewUltimate_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__KonanNewUltimate_caster[this], 1.0) call SetUnitFlyHeight(s__KonanNewUltimate_caster[this], 0, 900) set udg_Shikigami=false @@ -82175,8 +82175,8 @@ endfunction call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Konan: Suffer God's judgmnet!|r") endif set udg_Shikigami=true - call s__PauseUnitEx__Pause_setPauseCounter((s__KonanNewUltimate_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__KonanNewUltimate_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KonanNewUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KonanNewUltimate_target[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__KonanNewUltimate_caster[this], "morph") call SetUnitTimeScale(s__KonanNewUltimate_caster[this], 4.0) call SetUnitFlyHeight(s__KonanNewUltimate_caster[this], 300, 600) @@ -82474,7 +82474,7 @@ function Trig_NarutoRasenganSelf_Actions takes nothing returns nothing if ( ( ( ( IsTerrainPathableBJ(udg_locations10[4], PATHING_TYPE_WALKABILITY) ) ) or ( ( udg_integers16[2] == 5 ) ) ) ) then call DisableTrigger(GetTriggeringTrigger()) call SetUnitPathing(udg_units40[3], true) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units40[3] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units40[3] ) , ( 0)) // INLINED!! call GroupClear(udg_groups08[1]) set bj_forLoopAIndex=1 set bj_forLoopAIndexEnd=15 @@ -82607,7 +82607,7 @@ endfunction loop set bj_lastCreatedUnit=FirstOfGroup(s__KonohamaruHarem_bunshins[this]) exitwhen bj_lastCreatedUnit == null - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! //call SetUnitInvulnerable(bj_lastCreatedUnit, false) //call SetUnitVertexColor(bj_lastCreatedUnit, 255, 255, 255, 255) call ShowUnit(bj_lastCreatedUnit, true) @@ -82646,7 +82646,7 @@ endfunction endloop call DestroyGroup(g) set g=null - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! //call SetUnitInvulnerable(bj_lastCreatedUnit, true) //call SetUnitVertexColor(bj_lastCreatedUnit, 255, 255, 255, 0) call ShowUnit(bj_lastCreatedUnit, false) @@ -82835,13 +82835,13 @@ function Trig_KonohamaruKatonHaisenkisho_Actions takes nothing returns nothing set bj_forLoopAIndex=bj_forLoopAIndex + 1 endloop call TriggerSleepAction(0.50) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! call SetUnitAnimation(GetTriggerUnit(), "spell") call TriggerSleepAction(0.20) call SetUnitAnimation(udg_KonohamaruFIre_Caster, "spell") call TriggerSleepAction(0.20) call ForForce(GetPlayersAll(), function Trig_KonohamaruKatonHaisenkisho_Func012A) - call s__PauseUnitEx__Pause_setPauseCounter((udg_KonohamaruFIre_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_KonohamaruFIre_Caster ) , ( 0)) // INLINED!! set udg_KonohamaruFire_Group=GetUnitsInRangeOfLocMatching(400.00, udg_KonohamaruFire_Point[1], Condition(function Trig_KonohamaruKatonHaisenkisho_Func014002003)) call ForGroupBJ(udg_KonohamaruFire_Group, function Trig_KonohamaruKatonHaisenkisho_Func015A) call DestroyGroup(udg_KonohamaruFire_Group) @@ -82916,7 +82916,7 @@ endfunction set s__KonohamaruOodamaRasengan___Spell_stunUnit[this]=null call DestroyEffect(s__KonohamaruOodamaRasengan___Spell_rasengan[this]) call SetUnitTimeScale(s__KonohamaruOodamaRasengan___Spell_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__KonohamaruOodamaRasengan___Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KonohamaruOodamaRasengan___Spell_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__KonohamaruOodamaRasengan___Spell_caster[this], "stand") call SetUnitFlyHeight(s__KonohamaruOodamaRasengan___Spell_caster[this], 0, 0) set s__KonohamaruOodamaRasengan___Spell_caster[this]=null @@ -83029,7 +83029,7 @@ endfunction if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Konohamaru_T, 80, GetTriggerUnit()) endif - call s__PauseUnitEx__Pause_setPauseCounter((s__KonohamaruOodamaRasengan___Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KonohamaruOodamaRasengan___Spell_caster[this] ) , ( 1)) // INLINED!! call UnitAddAbility(s__KonohamaruOodamaRasengan___Spell_caster[this], 'Arav') call UnitRemoveAbility(s__KonohamaruOodamaRasengan___Spell_caster[this], 'Arav') call SetUnitAnimation(s__KonohamaruOodamaRasengan___Spell_caster[this], "spell one") @@ -83286,7 +83286,7 @@ endfunction endfunction function s__KurenaiFlowerEscape_destroy takes integer this returns nothing - call s__PauseUnitEx__Pause_setPauseCounter((s__KurenaiFlowerEscape_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KurenaiFlowerEscape_caster[this] ) , ( 0)) // INLINED!! call ShowUnit(s__KurenaiFlowerEscape_caster[this], true) call SelectUnitForPlayerSingle(s__KurenaiFlowerEscape_caster[this], GetOwningPlayer(s__KurenaiFlowerEscape_caster[this])) call DestroyGroup(s__KurenaiFlowerEscape_damaged[this]) @@ -83338,7 +83338,7 @@ endfunction set s__KurenaiFlowerEscape_angle[this]=Atan3(GetUnitX(GetTriggerUnit()) , GetUnitY(GetTriggerUnit()) , GetSpellTargetX() , GetSpellTargetY()) set s__KurenaiFlowerEscape_dummy[this]=CreateUnit(GetTriggerPlayer(), 'h00K', GetUnitX(s__KurenaiFlowerEscape_caster[this]), GetUnitY(s__KurenaiFlowerEscape_caster[this]), Rad2Deg(s__KurenaiFlowerEscape_angle[this])) set s__KurenaiFlowerEscape_max_count[this]=R2I(GetDistance(GetUnitX(s__KurenaiFlowerEscape_caster[this]) , GetUnitY(s__KurenaiFlowerEscape_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) / 25) - call s__PauseUnitEx__Pause_setPauseCounter((s__KurenaiFlowerEscape_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KurenaiFlowerEscape_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__KurenaiFlowerEscape_caster[this], false) call TimerStart(NewTimerEx(this), 0.03, true, function s__KurenaiFlowerEscape_periodic) endfunction @@ -83588,7 +83588,7 @@ endfunction set FOG=FirstOfGroup(s__KurenaiSemi_damaged[this]) exitwhen FOG == null - call s__PauseUnitEx__Pause_setPauseCounter((FOG ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((FOG ) , ( 0)) // INLINED!! call SetUnitVertexColor((FOG ), ( 255 ), ( 255 ), ( 255 ), ( 255)) // INLINED!! call GroupRemoveUnit(s__KurenaiSemi_damaged[this], FOG) @@ -83625,7 +83625,7 @@ endfunction exitwhen FOG == null if IsUnitEnemy(FOG, GetOwningPlayer(s__KurenaiSemi_caster[this])) and GetWidgetLife(FOG) > 0.405 and not IsUnitInGroup(FOG, s__KurenaiSemi_damaged[this]) then - call s__PauseUnitEx__Pause_setPauseCounter((FOG ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((FOG ) , ( 1)) // INLINED!! call SetUnitVertexColor((FOG ), ( 100 ), ( 100 ), ( 100 ), ( 255)) // INLINED!! call GroupAddUnit(s__KurenaiSemi_damaged[this], FOG) endif @@ -83778,7 +83778,7 @@ endfunction call SetUnitFacing(s__KurenaiUltimate_caster[this], GetUnitFacing(s__KurenaiUltimate_tree[this])) call SetUnitVertexColor((s__KurenaiUltimate_caster[this] ), ( 255 ), ( 255 ), ( 255 ), ( 255)) // INLINED!! call SetUnitInvulnerable(s__KurenaiUltimate_caster[this], false) - call s__PauseUnitEx__Pause_setPauseCounter((s__KurenaiUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KurenaiUltimate_caster[this] ) , ( 0)) // INLINED!! call ShowUnit(s__KurenaiUltimate_caster[this], true) call SelectUnitForPlayerSingle(s__KurenaiUltimate_caster[this], GetOwningPlayer(s__KurenaiUltimate_caster[this])) set s__KurenaiUltimate_caster[this]=null @@ -83793,7 +83793,7 @@ endfunction function s__KurenaiUltimate_hit takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! call DestroyEffect(AddSpecialEffect(("war3mapImported\\Blood.mdl" ), (( GetUnitX(s__KurenaiUltimate_target[this]) )*1.0), (( GetUnitY(s__KurenaiUltimate_target[this]))*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__KurenaiUltimate_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KurenaiUltimate_target[this] ) , ( 0)) // INLINED!! //call StunUnitTimed(this.caster, this.target, 2.0) call UnitDamageTarget(s__KurenaiUltimate_caster[this], s__KurenaiUltimate_target[this], 10.0 * GetHeroInt(s__KurenaiUltimate_caster[this], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) call SetUnitAnimation(s__KurenaiUltimate_target[this], "death") @@ -83884,8 +83884,8 @@ endfunction endif set s__KurenaiUltimate_caster[this]=GetTriggerUnit() set s__KurenaiUltimate_target[this]=GetSpellTargetUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__KurenaiUltimate_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__KurenaiUltimate_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KurenaiUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__KurenaiUltimate_target[this] ) , ( 1)) // INLINED!! call SetUnitInvulnerable(s__KurenaiUltimate_caster[this], true) set s__KurenaiUltimate_count[this]=0 call TimerStart(NewTimerEx(this), 0.03, true, function s__KurenaiUltimate_disappear) @@ -84337,7 +84337,7 @@ endfunction local real offset local integer i call SetUnitFlyHeight(s__MadaraAnnihilation___Spell_caster[this], 0, 3000) - call s__PauseUnitEx__Pause_setPauseCounter((s__MadaraAnnihilation___Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MadaraAnnihilation___Spell_caster[this] ) , ( 0)) // INLINED!! set bj_lastCreatedGroup=CreateGroup() set s__MadaraAnnihilation___Spell_instance=this call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__MadaraAnnihilation___Spell_target_x[this], s__MadaraAnnihilation___Spell_target_y[this], 400, Filter(function s__MadaraAnnihilation___Spell_madaraenumunit)) @@ -84345,7 +84345,7 @@ endfunction loop set bj_lastCreatedUnit=FirstOfGroup(s__MadaraAnnihilation___Spell_paused[this]) exitwhen bj_lastCreatedUnit == null - call s__PauseUnitEx__Pause_setPauseCounter((s__MadaraAnnihilation___Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MadaraAnnihilation___Spell_caster[this] ) , ( 0)) // INLINED!! call GroupRemoveUnit(s__MadaraAnnihilation___Spell_paused[this], bj_lastCreatedUnit) endloop call DestroyGroup(s__MadaraAnnihilation___Spell_paused[this]) @@ -84447,7 +84447,7 @@ endfunction call UnitAddAbility(s__MadaraAnnihilation___Spell_caster[this], 'Arav') call UnitRemoveAbility(s__MadaraAnnihilation___Spell_caster[this], 'Arav') set s__MadaraAnnihilation___Spell_dummy[this]=CreateUnit(GetTriggerPlayer(), 'e007', caster_x, caster_y, 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__MadaraAnnihilation___Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MadaraAnnihilation___Spell_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__MadaraAnnihilation___Spell_caster[this], "spell slam") call TimerStart(NewTimerEx(this), 0.03, true, function s__MadaraAnnihilation___Spell_forest) endfunction @@ -84511,7 +84511,7 @@ endfunction call SetUnitFlyHeight(s__MadaraNewSusanoo___Spell_caster[this], 300, 0) call SetUnitX(s__MadaraNewSusanoo___Spell_susanoo[this], GetUnitX(s__MadaraNewSusanoo___Spell_caster[this])) call SetUnitY(s__MadaraNewSusanoo___Spell_susanoo[this], GetUnitY(s__MadaraNewSusanoo___Spell_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__MadaraNewSusanoo___Spell_susanoo[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MadaraNewSusanoo___Spell_susanoo[this] ) , ( 1)) // INLINED!! call SetUnitFacing(s__MadaraNewSusanoo___Spell_susanoo[this], GetUnitFacing(s__MadaraNewSusanoo___Spell_caster[this])) call SetUnitTimeScale(s__MadaraNewSusanoo___Spell_susanoo[this], 2.0) if IsUnitHidden(s__MadaraNewSusanoo___Spell_caster[this]) then @@ -85081,7 +85081,7 @@ endfunction set s___MadaraIntonRaiha_light[s__MadaraIntonRaiha_light[this]+(GetUnitUserData((bj_lastCreatedUnit)))]=null // INLINED!! call GroupRemoveUnit(s__MadaraIntonRaiha_damaged[this], bj_lastCreatedUnit) endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__MadaraIntonRaiha_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MadaraIntonRaiha_caster[this] ) , ( 0)) // INLINED!! call SetUnitFlyHeight(s__MadaraIntonRaiha_caster[this], 0, 2000) call SetUnitAnimation(s__MadaraIntonRaiha_caster[this], "stand") call DestroyGroup(s__MadaraIntonRaiha_damaged[this]) @@ -85143,7 +85143,7 @@ endfunction set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), 'e007', GetSpellTargetX(), GetSpellTargetY(), 270) call UnitAddAbility(bj_lastCreatedUnit, 'A0OX') call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__MadaraIntonRaiha_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MadaraIntonRaiha_caster[this] ) , ( 1)) // INLINED!! call SetUnitFlyHeight(s__MadaraIntonRaiha_caster[this], 300, 1500) call TimerStart(NewTimerEx(this), 0.25, false, function s__MadaraIntonRaiha_shoot) endfunction @@ -85718,7 +85718,7 @@ call s__effectTimed_create((s__s__MadaraMugenTsukuyomi_effects[(GetUnitUserData( function s__MadaraGudoudamaDefense_finish takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! call KillUnit(s__MadaraGudoudamaDefense_ball[this]) - call s__PauseUnitEx__Pause_setPauseCounter((s__MadaraGudoudamaDefense_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MadaraGudoudamaDefense_caster[this] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(s__MadaraGudoudamaDefense_caster[this], false) call s__MadaraGudoudamaDefense_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -85728,7 +85728,7 @@ call s__effectTimed_create((s__s__MadaraMugenTsukuyomi_effects[(GetUnitUserData( local integer this= s__MadaraGudoudamaDefense_allocate() set s__MadaraGudoudamaDefense_caster[this]=GetTriggerUnit() set s__MadaraGudoudamaDefense_ball[this]=CreateUnit(GetTriggerPlayer(), 'e07F', GetUnitX(s__MadaraGudoudamaDefense_caster[this]), GetUnitY(s__MadaraGudoudamaDefense_caster[this]), 270) - call s__PauseUnitEx__Pause_setPauseCounter((s__MadaraGudoudamaDefense_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MadaraGudoudamaDefense_caster[this] ) , ( 1)) // INLINED!! call SetUnitInvulnerable(s__MadaraGudoudamaDefense_caster[this], true) call TimerStart(NewTimerEx(this), 2.0, false, function s__MadaraGudoudamaDefense_finish) endfunction @@ -85753,7 +85753,7 @@ call s__effectTimed_create((s__s__MadaraMugenTsukuyomi_effects[(GetUnitUserData( set s___FexterIntonRaiha_light[s__FexterIntonRaiha_light[this]+(GetUnitUserData((bj_lastCreatedUnit)))]=null // INLINED!! call GroupRemoveUnit(s__FexterIntonRaiha_damaged[this], bj_lastCreatedUnit) endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__FexterIntonRaiha_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__FexterIntonRaiha_caster[this] ) , ( 0)) // INLINED!! call SetUnitFlyHeight(s__FexterIntonRaiha_caster[this], 0, 2000) call SetUnitAnimation(s__FexterIntonRaiha_caster[this], "stand") call DestroyGroup(s__FexterIntonRaiha_damaged[this]) @@ -85818,7 +85818,7 @@ call s__effectTimed_create((s__s__MadaraMugenTsukuyomi_effects[(GetUnitUserData( //set bj_lastCreatedUnit = CreateUnit(GetTriggerPlayer(), 'e007', GetSpellTargetX(), GetSpellTargetY(), 270) //call UnitAddAbility(bj_lastCreatedUnit, 'A0OX') //call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__FexterIntonRaiha_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__FexterIntonRaiha_caster[this] ) , ( 1)) // INLINED!! call SetUnitFlyHeight(s__FexterIntonRaiha_caster[this], 300, 1500) call TimerStart(NewTimerEx(this), 0.25, false, function s__FexterIntonRaiha_shoot) endfunction @@ -86204,7 +86204,7 @@ call s__effectTimed_create((s__s__MadaraMugenTsukuyomi_effects[(GetUnitUserData( set s__MadaraFexterLimbo_count[this]=11 endif if s__MadaraFexterLimbo_count[this] > 10 then - call s__PauseUnitEx__Pause_setPauseCounter((s__MadaraFexterLimbo_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MadaraFexterLimbo_target[this] ) , ( 0)) // INLINED!! set s__MadaraFexterLimbo_target[this]=null call ReleaseTimer(GetExpiredTimer()) endif @@ -86226,7 +86226,7 @@ call s__effectTimed_create((s__s__MadaraMugenTsukuyomi_effects[(GetUnitUserData( call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl" ), (( GetUnitX(s__MadaraFexterLimbo_target[this]) )*1.0), (( GetUnitY(s__MadaraFexterLimbo_target[this]))*1.0))) // INLINED!! set s__MadaraFexterLimbo_angle[this]=angle call UnitDamageTarget(s__MadaraFexterLimbo_caster[this], s__MadaraFexterLimbo_target[this], 1000 + 5.0 * GetHeroInt(s__MadaraFexterLimbo_caster[this], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) - call s__PauseUnitEx__Pause_setPauseCounter((s__MadaraFexterLimbo_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MadaraFexterLimbo_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__MadaraFexterLimbo_knockback) call TimerStart(NewTimerEx(this), 0.03, true, function s__MadaraFexterLimbo_comeback) call ReleaseTimer(GetExpiredTimer()) @@ -86284,7 +86284,7 @@ function Trig_FexterHengai_Actions takes nothing returns nothing call KillUnit(bj_lastCreatedUnit) call SetUnitFlyHeight(bj_lastCreatedUnit, 2000, 0) call SetUnitFlyHeight(bj_lastCreatedUnit, 0, 2000) - call s__PauseUnitEx__Pause_setPauseCounter((caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((caster ) , ( 1)) // INLINED!! call SetUnitAnimation(caster, "stand channel") call CreateNUnitsAtLocFacingLocBJ(1, 'h06H', GetOwningPlayer(caster), target, caster_loc) call UnitApplyTimedLifeBJ(0.05, 'BTLF', GetLastCreatedUnit()) @@ -86298,7 +86298,7 @@ function Trig_FexterHengai_Actions takes nothing returns nothing if IsUnitVisible(caster, GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Madara_T_Tengai, 100.0, GetTriggerUnit()) endif - call s__PauseUnitEx__Pause_setPauseCounter((caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((caster ) , ( 0)) // INLINED!! call CreateNUnitsAtLocFacingLocBJ(1, 'h06I', GetOwningPlayer(caster), target, caster_loc) call UnitApplyTimedLifeBJ(0.05, 'BTLF', GetLastCreatedUnit()) set bj_lastCreatedGroup=CreateGroup() @@ -86523,7 +86523,7 @@ endfunction endif set i=i + 1 endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__FexterRess_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__FexterRess_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__FexterRess_caster[this], 1.0) call s__FexterRess_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -86546,7 +86546,7 @@ endfunction return endif set s__FexterRess_caster[this]=GetTriggerUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__FexterRess_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__FexterRess_caster[this] ) , ( 1)) // INLINED!! call SetUnitTimeScale(s__FexterRess_caster[this], 0.33) call SetUnitAnimation(s__FexterRess_caster[this], "spell") call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Undead\\DeathPact\\DeathPactTarget.mdl" ), (( GetUnitX(s__FexterRess_caster[this]) )*1.0), (( GetUnitY(s__FexterRess_caster[this]))*1.0))) // INLINED!! @@ -86594,7 +86594,7 @@ endfunction set bj_lastCreatedUnit=FirstOfGroup(s__FexterTsukuyomi___Spell_paused[this]) exitwhen bj_lastCreatedUnit == null call SetUnitVertexColor((bj_lastCreatedUnit ), ( 255 ), ( 255 ), ( 255 ), ( 255)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call GroupRemoveUnit(s__FexterTsukuyomi___Spell_paused[this], bj_lastCreatedUnit) endloop call DestroyGroup(s__FexterTsukuyomi___Spell_paused[this]) @@ -87118,7 +87118,7 @@ endfunction endloop call DestroyGroup(bj_lastCreatedGroup) call SlowArea(s__MechaNarutoBomb_caster[this] , new_x , new_y , 300) - call s__PauseUnitEx__Pause_setPauseCounter((s__MechaNarutoBomb_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MechaNarutoBomb_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__MechaNarutoBomb_caster[this], "stand") call s__MechaNarutoBomb_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -87130,7 +87130,7 @@ endfunction set s__MechaNarutoBomb_caster[this]=GetTriggerUnit() set s__MechaNarutoBomb_angle[this]=Atan3(GetUnitX(s__MechaNarutoBomb_caster[this]) , GetUnitY(s__MechaNarutoBomb_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) set s__MechaNarutoBomb_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__MechaNarutoBomb_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MechaNarutoBomb_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimationByIndex(s__MechaNarutoBomb_caster[this], 7) call TimerStart(NewTimerEx(this), 0.03, true, function s__MechaNarutoBomb_periodic) endfunction @@ -87170,7 +87170,7 @@ endfunction function s__MechaNarutoChakraBomb___Spell_disappear takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MechaNarutoChakraBomb___Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MechaNarutoChakraBomb___Spell_caster[this] ) , ( 0)) // INLINED!! call s__MechaNarutoChakraBomb___Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endfunction @@ -87232,7 +87232,7 @@ endfunction set s__MechaNarutoChakraBomb___Spell_x[this]=GetSpellTargetX() set s__MechaNarutoChakraBomb___Spell_y[this]=GetSpellTargetY() call SetUnitAnimation(s__MechaNarutoChakraBomb___Spell_caster[this], "spell") - call s__PauseUnitEx__Pause_setPauseCounter((s__MechaNarutoChakraBomb___Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MechaNarutoChakraBomb___Spell_caster[this] ) , ( 1)) // INLINED!! call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Items\\AIvi\\AIviTarget.mdl" ), (( GetUnitX(s__MechaNarutoChakraBomb___Spell_caster[this]) )*1.0), (( GetUnitY(s__MechaNarutoChakraBomb___Spell_caster[this]))*1.0))) // INLINED!! call TimerStart(NewTimerEx(this), 1.2, false, function s__MechaNarutoChakraBomb___Spell_delay) endfunction @@ -87714,7 +87714,7 @@ endfunction function s__MeiSuriyuudan_destroy takes integer this returns nothing call SetUnitFlyHeight(s__MeiSuriyuudan_caster[this], 0, 0) call RecycleUnit(s__MeiSuriyuudan_dragon[this]) - call s__PauseUnitEx__Pause_setPauseCounter((s__MeiSuriyuudan_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MeiSuriyuudan_caster[this] ) , ( 0)) // INLINED!! set s__MeiSuriyuudan_dragon[this]=null set s__MeiSuriyuudan_caster[this]=null call s__MeiSuriyuudan_deallocate(this) @@ -87798,7 +87798,7 @@ endfunction set s__MeiSuriyuudan_dist[this]=GetDistance(GetUnitX(s__MeiSuriyuudan_caster[this]) , GetUnitY(s__MeiSuriyuudan_caster[this]) , s__MeiSuriyuudan_x[this] , s__MeiSuriyuudan_y[this]) set s__MeiSuriyuudan_count[this]=0 set s__MeiSuriyuudan_dragon[this]=GetDummy(GetOwningPlayer(s__MeiSuriyuudan_caster[this]) , "war3mapImported\\WyrmwrathIce2.mdl" , GetUnitX(s__MeiSuriyuudan_caster[this]) , GetUnitY(s__MeiSuriyuudan_caster[this]) , Rad2Deg(s__MeiSuriyuudan_angle[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__MeiSuriyuudan_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MeiSuriyuudan_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__MeiSuriyuudan_caster[this], "attack slam") call SetUnitTimeScale(s__MeiSuriyuudan_caster[this], 3.0) call TimerStart(NewTimerEx(this), 0.03, true, function s__MeiSuriyuudan_periodic) @@ -87933,29 +87933,29 @@ endfunction //Implemented from module Alloc: - function s__MeiLavaPit___Spell_allocate takes nothing returns integer + function s__MeiLavaPit__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__MeiLavaPit___Spell_Alloc__recycle[(0)] == 0 ) then - set s__MeiLavaPit___Spell_Alloc__instanceCount=s__MeiLavaPit___Spell_Alloc__instanceCount + 1 - set this=s__MeiLavaPit___Spell_Alloc__instanceCount + if ( s__MeiLavaPit__Spell_Alloc__recycle[(0)] == 0 ) then + set s__MeiLavaPit__Spell_Alloc__instanceCount=s__MeiLavaPit__Spell_Alloc__instanceCount + 1 + set this=s__MeiLavaPit__Spell_Alloc__instanceCount else - set this=s__MeiLavaPit___Spell_Alloc__recycle[(0)] - set s__MeiLavaPit___Spell_Alloc__recycle[(0)]=s__MeiLavaPit___Spell_Alloc__recycle[s__MeiLavaPit___Spell_Alloc__recycle[(0)]] + set this=s__MeiLavaPit__Spell_Alloc__recycle[(0)] + set s__MeiLavaPit__Spell_Alloc__recycle[(0)]=s__MeiLavaPit__Spell_Alloc__recycle[s__MeiLavaPit__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__MeiLavaPit___Spell_deallocate takes integer this returns nothing - set s__MeiLavaPit___Spell_Alloc__recycle[this]=s__MeiLavaPit___Spell_Alloc__recycle[(0)] - set s__MeiLavaPit___Spell_Alloc__recycle[(0)]=this + function s__MeiLavaPit__Spell_deallocate takes integer this returns nothing + set s__MeiLavaPit__Spell_Alloc__recycle[this]=s__MeiLavaPit__Spell_Alloc__recycle[(0)] + set s__MeiLavaPit__Spell_Alloc__recycle[(0)]=this endfunction - function s__MeiLavaPit___Spell_periodic takes nothing returns nothing + function s__MeiLavaPit__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real unit_x local real unit_y @@ -87963,90 +87963,90 @@ endfunction local real offset local real new_x local real new_y - set s__MeiLavaPit___Spell_count[this]=s__MeiLavaPit___Spell_count[this] + 1 + set s__MeiLavaPit__Spell_count[this]=s__MeiLavaPit__Spell_count[this] + 1 set angle=GetRandomReal(0, 360) set offset=GetRandomReal(0, 125) - set new_x=(((s__MeiLavaPit___Spell_target_x[this] )*1.0) + Cos((( Deg2Rad(angle) )*1.0)) * (( offset)*1.0)) // INLINED!! - set new_y=(((s__MeiLavaPit___Spell_target_y[this] )*1.0) + Sin((( Deg2Rad(angle) )*1.0)) * (( offset)*1.0)) // INLINED!! + set new_x=(((s__MeiLavaPit__Spell_target_x[this] )*1.0) + Cos((( Deg2Rad(angle) )*1.0)) * (( offset)*1.0)) // INLINED!! + set new_y=(((s__MeiLavaPit__Spell_target_y[this] )*1.0) + Sin((( Deg2Rad(angle) )*1.0)) * (( offset)*1.0)) // INLINED!! //call AddSpecialEffectEx("Abilities\\Spells\\Other\\Volcano\\VolcanoMissile.md", new_x, new_y) set angle=GetRandomReal(0, 360) set offset=GetRandomReal(0, 125) - set new_x=(((s__MeiLavaPit___Spell_target_x[this] )*1.0) + Cos((( Deg2Rad(angle) )*1.0)) * (( offset)*1.0)) // INLINED!! - set new_y=(((s__MeiLavaPit___Spell_target_y[this] )*1.0) + Sin((( Deg2Rad(angle) )*1.0)) * (( offset)*1.0)) // INLINED!! + set new_x=(((s__MeiLavaPit__Spell_target_x[this] )*1.0) + Cos((( Deg2Rad(angle) )*1.0)) * (( offset)*1.0)) // INLINED!! + set new_y=(((s__MeiLavaPit__Spell_target_y[this] )*1.0) + Sin((( Deg2Rad(angle) )*1.0)) * (( offset)*1.0)) // INLINED!! //call AddSpecialEffectEx("Abilities\\Spells\\Other\\Volcano\\VolcanoDeath.mdl", new_x, new_y) set angle=GetRandomReal(0, 360) set offset=GetRandomReal(0, 125) - set new_x=(((s__MeiLavaPit___Spell_target_x[this] )*1.0) + Cos((( Deg2Rad(angle) )*1.0)) * (( offset)*1.0)) // INLINED!! - set new_y=(((s__MeiLavaPit___Spell_target_y[this] )*1.0) + Sin((( Deg2Rad(angle) )*1.0)) * (( offset)*1.0)) // INLINED!! + set new_x=(((s__MeiLavaPit__Spell_target_x[this] )*1.0) + Cos((( Deg2Rad(angle) )*1.0)) * (( offset)*1.0)) // INLINED!! + set new_y=(((s__MeiLavaPit__Spell_target_y[this] )*1.0) + Sin((( Deg2Rad(angle) )*1.0)) * (( offset)*1.0)) // INLINED!! call DestroyEffect(AddSpecialEffect(("Abilities\\Weapons\\DemolisherFireMissile\\DemolisherFireMissile.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! //call AddSpecialEffectEx("Abilities\\Spells\\Other\\Doom\\DoomDeath.mdl", new_x, new_y) set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__MeiLavaPit___Spell_target_x[this], s__MeiLavaPit___Spell_target_y[this], 300.0, null) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__MeiLavaPit__Spell_target_x[this], s__MeiLavaPit__Spell_target_y[this], 300.0, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MeiLavaPit___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) then + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MeiLavaPit__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) then set unit_x=GetUnitX(bj_lastCreatedUnit) set unit_y=GetUnitY(bj_lastCreatedUnit) - set angle=Atan2(( s__MeiLavaPit___Spell_target_y[this] - unit_y ), ( s__MeiLavaPit___Spell_target_x[this] - unit_x )) + set angle=Atan2(( s__MeiLavaPit__Spell_target_y[this] - unit_y ), ( s__MeiLavaPit__Spell_target_x[this] - unit_x )) set new_x=unit_x + Cos(angle) * 8 set new_y=unit_y + Sin(angle) * 8 call SetUnitX(bj_lastCreatedUnit, new_x) call SetUnitY(bj_lastCreatedUnit, new_y) - call UnitDamageTarget(s__MeiLavaPit___Spell_caster[this], bj_lastCreatedUnit, 3.0 * GetHeroAgi(s__MeiLavaPit___Spell_caster[this], true) / ( 33.0 * 4 ), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__MeiLavaPit__Spell_caster[this], bj_lastCreatedUnit, 3.0 * GetHeroAgi(s__MeiLavaPit__Spell_caster[this], true) / ( 33.0 * 4 ), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) set udg_MeiLava=bj_lastCreatedUnit endif endloop call DestroyGroup(bj_lastCreatedGroup) - if s__MeiLavaPit___Spell_count[this] > 4 * 33 then + if s__MeiLavaPit__Spell_count[this] > 4 * 33 then loop - set bj_lastCreatedUnit=FirstOfGroup(s__MeiLavaPit___Spell_damaged[this]) + set bj_lastCreatedUnit=FirstOfGroup(s__MeiLavaPit__Spell_damaged[this]) exitwhen bj_lastCreatedUnit == null - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! - call GroupRemoveUnit(s__MeiLavaPit___Spell_damaged[this], bj_lastCreatedUnit) + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call GroupRemoveUnit(s__MeiLavaPit__Spell_damaged[this], bj_lastCreatedUnit) endloop - call DestroyGroup(s__MeiLavaPit___Spell_damaged[this]) - set s__MeiLavaPit___Spell_damaged[this]=null + call DestroyGroup(s__MeiLavaPit__Spell_damaged[this]) + set s__MeiLavaPit__Spell_damaged[this]=null set udg_MeiLava=null - set s__MeiLavaPit___Spell_caster[this]=null - call s__MeiLavaPit___Spell_deallocate(this) + set s__MeiLavaPit__Spell_caster[this]=null + call s__MeiLavaPit__Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__MeiLavaPit___Spell_actions takes nothing returns nothing - local integer this= s__MeiLavaPit___Spell_allocate() + function s__MeiLavaPit__Spell_actions takes nothing returns nothing + local integer this= s__MeiLavaPit__Spell_allocate() local real new_x local real new_y local real angle local real offset local integer n local integer i= 0 - set s__MeiLavaPit___Spell_damaged[this]=CreateGroup() - set s__MeiLavaPit___Spell_caster[this]=GetTriggerUnit() - set s__MeiLavaPit___Spell_target_x[this]=GetSpellTargetX() - set s__MeiLavaPit___Spell_target_y[this]=GetSpellTargetY() + set s__MeiLavaPit__Spell_damaged[this]=CreateGroup() + set s__MeiLavaPit__Spell_caster[this]=GetTriggerUnit() + set s__MeiLavaPit__Spell_target_x[this]=GetSpellTargetX() + set s__MeiLavaPit__Spell_target_y[this]=GetSpellTargetY() set n=50 loop set i=i + 1 exitwhen i > n set angle=( 360 / n ) * i set offset=125 - set new_x=s__MeiLavaPit___Spell_target_x[this] + Cos(Deg2Rad(angle)) * offset - set new_y=s__MeiLavaPit___Spell_target_y[this] + Sin(Deg2Rad(angle)) * offset - set angle=Atan2(( s__MeiLavaPit___Spell_target_y[this] - new_y ), ( s__MeiLavaPit___Spell_target_x[this] - new_x )) + set new_x=s__MeiLavaPit__Spell_target_x[this] + Cos(Deg2Rad(angle)) * offset + set new_y=s__MeiLavaPit__Spell_target_y[this] + Sin(Deg2Rad(angle)) * offset + set angle=Atan2(( s__MeiLavaPit__Spell_target_y[this] - new_y ), ( s__MeiLavaPit__Spell_target_x[this] - new_x )) set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), 'e07Z', new_x, new_y, Rad2Deg(angle)) call SetUnitX(bj_lastCreatedUnit, new_x) call SetUnitY(bj_lastCreatedUnit, new_y) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 5) endloop - set s__MeiLavaPit___Spell_count[this]=0 - call TimerStart(NewTimerEx(this), 0.03, true, function s__MeiLavaPit___Spell_periodic) + set s__MeiLavaPit__Spell_count[this]=0 + call TimerStart(NewTimerEx(this), 0.03, true, function s__MeiLavaPit__Spell_periodic) endfunction - function s__MeiLavaPit___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(30 , s__MeiLavaPit___Spell_SPELL_ID , function s__MeiLavaPit___Spell_actions) + function s__MeiLavaPit__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(30 , s__MeiLavaPit__Spell_SPELL_ID , function s__MeiLavaPit__Spell_actions) endfunction @@ -88076,123 +88076,123 @@ endfunction //Implemented from module Alloc: - function s__MifuneQ___Spell_allocate takes nothing returns integer + function s__MifuneQ__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__MifuneQ___Spell_Alloc__recycle[(0)] == 0 ) then - set s__MifuneQ___Spell_Alloc__instanceCount=s__MifuneQ___Spell_Alloc__instanceCount + 1 - set this=s__MifuneQ___Spell_Alloc__instanceCount + if ( s__MifuneQ__Spell_Alloc__recycle[(0)] == 0 ) then + set s__MifuneQ__Spell_Alloc__instanceCount=s__MifuneQ__Spell_Alloc__instanceCount + 1 + set this=s__MifuneQ__Spell_Alloc__instanceCount else - set this=s__MifuneQ___Spell_Alloc__recycle[(0)] - set s__MifuneQ___Spell_Alloc__recycle[(0)]=s__MifuneQ___Spell_Alloc__recycle[s__MifuneQ___Spell_Alloc__recycle[(0)]] + set this=s__MifuneQ__Spell_Alloc__recycle[(0)] + set s__MifuneQ__Spell_Alloc__recycle[(0)]=s__MifuneQ__Spell_Alloc__recycle[s__MifuneQ__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__MifuneQ___Spell_deallocate takes integer this returns nothing - set s__MifuneQ___Spell_Alloc__recycle[this]=s__MifuneQ___Spell_Alloc__recycle[(0)] - set s__MifuneQ___Spell_Alloc__recycle[(0)]=this + function s__MifuneQ__Spell_deallocate takes integer this returns nothing + set s__MifuneQ__Spell_Alloc__recycle[this]=s__MifuneQ__Spell_Alloc__recycle[(0)] + set s__MifuneQ__Spell_Alloc__recycle[(0)]=this endfunction - function s__MifuneQ___Spell_knockback takes nothing returns nothing + function s__MifuneQ__Spell_knockback takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real target_x= GetUnitX(s__MifuneQ___Spell_target[this]) - local real target_y= GetUnitY(s__MifuneQ___Spell_target[this]) - local real new_x= target_x + Cos(s__MifuneQ___Spell_angle[this]) * 50 - local real new_y= target_y + Sin(s__MifuneQ___Spell_angle[this]) * 50 + local real target_x= GetUnitX(s__MifuneQ__Spell_target[this]) + local real target_y= GetUnitY(s__MifuneQ__Spell_target[this]) + local real new_x= target_x + Cos(s__MifuneQ__Spell_angle[this]) * 50 + local real new_y= target_y + Sin(s__MifuneQ__Spell_angle[this]) * 50 local real distance_x local real distance_y - set s__MifuneQ___Spell_count[this]=s__MifuneQ___Spell_count[this] + 1 + set s__MifuneQ__Spell_count[this]=s__MifuneQ__Spell_count[this] + 1 if not IsTerrainPathable(new_x, new_y, PATHING_TYPE_WALKABILITY) then - call SetUnitX(s__MifuneQ___Spell_target[this], new_x) - call SetUnitY(s__MifuneQ___Spell_target[this], new_y) + call SetUnitX(s__MifuneQ__Spell_target[this], new_x) + call SetUnitY(s__MifuneQ__Spell_target[this], new_y) call DestroyEffect(AddSpecialEffect(("Effects\\s_Earth_Smash.mdx" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! endif - if s__MifuneQ___Spell_count[this] > 10 then - set distance_x=GetUnitX(s__MifuneQ___Spell_caster[this]) - new_x - set distance_y=GetUnitY(s__MifuneQ___Spell_caster[this]) - new_y - set s__MifuneQ___Spell_distance[this]=SquareRoot(distance_x * distance_x + distance_y * distance_y) + if s__MifuneQ__Spell_count[this] > 10 then + set distance_x=GetUnitX(s__MifuneQ__Spell_caster[this]) - new_x + set distance_y=GetUnitY(s__MifuneQ__Spell_caster[this]) - new_y + set s__MifuneQ__Spell_distance[this]=SquareRoot(distance_x * distance_x + distance_y * distance_y) //call StunUnitTimed(this.caster, this.target, 0.5) - call s__PauseUnitEx__Pause_setPauseCounter((s__MifuneQ___Spell_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MifuneQ___Spell_target[this] ) , ( 0)) // INLINED!! - call UnitDamageTarget(s__MifuneQ___Spell_caster[this], s__MifuneQ___Spell_target[this], GetHeroAgi(s__MifuneQ___Spell_caster[this], true) * GetUnitAbilityLevel(s__MifuneQ___Spell_caster[this], s__MifuneQ___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) - set s__MifuneQ___Spell_caster[this]=null - set s__MifuneQ___Spell_target[this]=null - call s__MifuneQ___Spell_deallocate(this) + call s__PauseUnitEx___Pause_setPauseCounter((s__MifuneQ__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MifuneQ__Spell_target[this] ) , ( 0)) // INLINED!! + call UnitDamageTarget(s__MifuneQ__Spell_caster[this], s__MifuneQ__Spell_target[this], GetHeroAgi(s__MifuneQ__Spell_caster[this], true) * GetUnitAbilityLevel(s__MifuneQ__Spell_caster[this], s__MifuneQ__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + set s__MifuneQ__Spell_caster[this]=null + set s__MifuneQ__Spell_target[this]=null + call s__MifuneQ__Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__MifuneQ___Spell_periodic takes nothing returns nothing + function s__MifuneQ__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real caster_x= GetUnitX(s__MifuneQ___Spell_caster[this]) - local real caster_y= GetUnitY(s__MifuneQ___Spell_caster[this]) - local real target_x= GetUnitX(s__MifuneQ___Spell_target[this]) - local real target_y= GetUnitY(s__MifuneQ___Spell_target[this]) + local real caster_x= GetUnitX(s__MifuneQ__Spell_caster[this]) + local real caster_y= GetUnitY(s__MifuneQ__Spell_caster[this]) + local real target_x= GetUnitX(s__MifuneQ__Spell_target[this]) + local real target_y= GetUnitY(s__MifuneQ__Spell_target[this]) local real angle= Atan2(( target_y - caster_y ), ( target_x - caster_x )) local real new_x= target_x + Cos(angle) * 20 local real new_y= target_y + Sin(angle) * 20 - local real new_x_2= target_x + Cos(s__MifuneQ___Spell_angle[this] - bj_PI) * 50 - local real new_y_2= target_y + Sin(s__MifuneQ___Spell_angle[this] - bj_PI) * 50 - call SetUnitAnimation(s__MifuneQ___Spell_caster[this], "attack") + local real new_x_2= target_x + Cos(s__MifuneQ__Spell_angle[this] - bj_PI) * 50 + local real new_y_2= target_y + Sin(s__MifuneQ__Spell_angle[this] - bj_PI) * 50 + call SetUnitAnimation(s__MifuneQ__Spell_caster[this], "attack") if not IsTerrainPathable(new_x, new_y, PATHING_TYPE_WALKABILITY) then - call SetUnitX(s__MifuneQ___Spell_target[this], new_x) - call SetUnitY(s__MifuneQ___Spell_target[this], new_y) + call SetUnitX(s__MifuneQ__Spell_target[this], new_x) + call SetUnitY(s__MifuneQ__Spell_target[this], new_y) call DestroyEffect(AddSpecialEffect(("Abilities\\Weapons\\AncientProtectorMissile\\AncientProtectorMissile.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("Objects\\Spawnmodels\\Human\\HumanBlood\\HumanBloodKnight.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! endif - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MifuneQ___Spell_caster[this]), 'e038', target_x, target_y, Rad2Deg(angle)) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MifuneQ__Spell_caster[this]), 'e038', target_x, target_y, Rad2Deg(angle)) call SetUnitX(bj_lastCreatedUnit, new_x_2) call SetUnitY(bj_lastCreatedUnit, new_y_2) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 0.2) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MifuneQ___Spell_caster[this]), 'h08G', target_x, target_y, Rad2Deg(angle)) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MifuneQ__Spell_caster[this]), 'h08G', target_x, target_y, Rad2Deg(angle)) call SetUnitX(bj_lastCreatedUnit, new_x_2) call SetUnitY(bj_lastCreatedUnit, new_y_2) call SetUnitVertexColor(bj_lastCreatedUnit, 200, 200, 200, 150) call SetUnitTimeScale(bj_lastCreatedUnit, 5.0) call SetUnitAnimation(bj_lastCreatedUnit, "attack") call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 0.2) - call SetUnitX(s__MifuneQ___Spell_caster[this], target_x) - call SetUnitY(s__MifuneQ___Spell_caster[this], target_y) - call SetUnitFacing(s__MifuneQ___Spell_caster[this], Rad2Deg(angle)) - set s__MifuneQ___Spell_count[this]=s__MifuneQ___Spell_count[this] + 1 - if s__MifuneQ___Spell_count[this] > 10 then - set s__MifuneQ___Spell_count[this]=0 - set s__MifuneQ___Spell_angle[this]=angle - call SetUnitTimeScale(s__MifuneQ___Spell_caster[this], 1.0) - call SetUnitAnimation(s__MifuneQ___Spell_caster[this], "spell back") - - call KillUnit(CreateUnit(GetOwningPlayer(s__MifuneQ___Spell_caster[this]), 'e068', GetUnitX(s__MifuneQ___Spell_target[this]), GetUnitY(s__MifuneQ___Spell_target[this]), Rad2Deg(s__MifuneQ___Spell_angle[this]))) - - call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__MifuneQ___Spell_knockback , "MifuneQ_knockback") + call SetUnitX(s__MifuneQ__Spell_caster[this], target_x) + call SetUnitY(s__MifuneQ__Spell_caster[this], target_y) + call SetUnitFacing(s__MifuneQ__Spell_caster[this], Rad2Deg(angle)) + set s__MifuneQ__Spell_count[this]=s__MifuneQ__Spell_count[this] + 1 + if s__MifuneQ__Spell_count[this] > 10 then + set s__MifuneQ__Spell_count[this]=0 + set s__MifuneQ__Spell_angle[this]=angle + call SetUnitTimeScale(s__MifuneQ__Spell_caster[this], 1.0) + call SetUnitAnimation(s__MifuneQ__Spell_caster[this], "spell back") + + call KillUnit(CreateUnit(GetOwningPlayer(s__MifuneQ__Spell_caster[this]), 'e068', GetUnitX(s__MifuneQ__Spell_target[this]), GetUnitY(s__MifuneQ__Spell_target[this]), Rad2Deg(s__MifuneQ__Spell_angle[this]))) + + call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__MifuneQ__Spell_knockback , "MifuneQ_knockback") call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__MifuneQ___Spell_actions takes nothing returns nothing - local integer this= s__MifuneQ___Spell_allocate() - set s__MifuneQ___Spell_caster[this]=GetTriggerUnit() - set s__MifuneQ___Spell_target[this]=GetSpellTargetUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__MifuneQ___Spell_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MifuneQ___Spell_target[this] ) , ( 1)) // INLINED!! - set s__MifuneQ___Spell_count[this]=0 - call SetUnitTimeScale(s__MifuneQ___Spell_caster[this], 5.0) - call TimerStartEx(NewTimerEx(this) , 0.1 , true , function s__MifuneQ___Spell_periodic , "MifuneQ_periodic") + function s__MifuneQ__Spell_actions takes nothing returns nothing + local integer this= s__MifuneQ__Spell_allocate() + set s__MifuneQ__Spell_caster[this]=GetTriggerUnit() + set s__MifuneQ__Spell_target[this]=GetSpellTargetUnit() + call s__PauseUnitEx___Pause_setPauseCounter((s__MifuneQ__Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MifuneQ__Spell_target[this] ) , ( 1)) // INLINED!! + set s__MifuneQ__Spell_count[this]=0 + call SetUnitTimeScale(s__MifuneQ__Spell_caster[this], 5.0) + call TimerStartEx(NewTimerEx(this) , 0.1 , true , function s__MifuneQ__Spell_periodic , "MifuneQ_periodic") endfunction - function s__MifuneQ___Spell_dies takes nothing returns nothing + function s__MifuneQ__Spell_dies takes nothing returns nothing if GetUnitTypeId(GetTriggerUnit()) == 'h08G' or GetUnitTypeId(GetTriggerUnit()) == 'e038' then call ShowUnit(GetTriggerUnit(), false) endif endfunction - function s__MifuneQ___Spell_onInit takes nothing returns nothing - call RegisterPlayerUnitEventForId(64 , EVENT_PLAYER_UNIT_DEATH , function s__MifuneQ___Spell_dies) - call RegisterSpellEffectEventForId(64 , s__MifuneQ___Spell_SPELL_ID , function s__MifuneQ___Spell_actions) + function s__MifuneQ__Spell_onInit takes nothing returns nothing + call RegisterPlayerUnitEventForId(64 , EVENT_PLAYER_UNIT_DEATH , function s__MifuneQ__Spell_dies) + call RegisterSpellEffectEventForId(64 , s__MifuneQ__Spell_SPELL_ID , function s__MifuneQ__Spell_actions) endfunction @@ -88205,39 +88205,39 @@ endfunction //Implemented from module Alloc: - function s__MifuneNewW___Spell_allocate takes nothing returns integer + function s__MifuneNewW__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__MifuneNewW___Spell_Alloc__recycle[(0)] == 0 ) then - set s__MifuneNewW___Spell_Alloc__instanceCount=s__MifuneNewW___Spell_Alloc__instanceCount + 1 - set this=s__MifuneNewW___Spell_Alloc__instanceCount + if ( s__MifuneNewW__Spell_Alloc__recycle[(0)] == 0 ) then + set s__MifuneNewW__Spell_Alloc__instanceCount=s__MifuneNewW__Spell_Alloc__instanceCount + 1 + set this=s__MifuneNewW__Spell_Alloc__instanceCount else - set this=s__MifuneNewW___Spell_Alloc__recycle[(0)] - set s__MifuneNewW___Spell_Alloc__recycle[(0)]=s__MifuneNewW___Spell_Alloc__recycle[s__MifuneNewW___Spell_Alloc__recycle[(0)]] + set this=s__MifuneNewW__Spell_Alloc__recycle[(0)] + set s__MifuneNewW__Spell_Alloc__recycle[(0)]=s__MifuneNewW__Spell_Alloc__recycle[s__MifuneNewW__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__MifuneNewW___Spell_deallocate takes integer this returns nothing - set s__MifuneNewW___Spell_Alloc__recycle[this]=s__MifuneNewW___Spell_Alloc__recycle[(0)] - set s__MifuneNewW___Spell_Alloc__recycle[(0)]=this + function s__MifuneNewW__Spell_deallocate takes integer this returns nothing + set s__MifuneNewW__Spell_Alloc__recycle[this]=s__MifuneNewW__Spell_Alloc__recycle[(0)] + set s__MifuneNewW__Spell_Alloc__recycle[(0)]=this endfunction - function s__MifuneNewW___Spell_periodic takes nothing returns nothing + function s__MifuneNewW__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real dummy_x= GetUnitX(s__MifuneNewW___Spell_dummy[this]) - local real dummy_y= GetUnitY(s__MifuneNewW___Spell_dummy[this]) - local real new_x= dummy_x + Cos(s__MifuneNewW___Spell_angle[this]) * 25 - local real new_y= dummy_y + Sin(s__MifuneNewW___Spell_angle[this]) * 25 + local real dummy_x= GetUnitX(s__MifuneNewW__Spell_dummy[this]) + local real dummy_y= GetUnitY(s__MifuneNewW__Spell_dummy[this]) + local real new_x= dummy_x + Cos(s__MifuneNewW__Spell_angle[this]) * 25 + local real new_y= dummy_y + Sin(s__MifuneNewW__Spell_angle[this]) * 25 local real unit_x local real unit_y - set s__MifuneNewW___Spell_count[this]=s__MifuneNewW___Spell_count[this] + 1 - call SetUnitX(s__MifuneNewW___Spell_dummy[this], new_x) - call SetUnitY(s__MifuneNewW___Spell_dummy[this], new_y) + set s__MifuneNewW__Spell_count[this]=s__MifuneNewW__Spell_count[this] + 1 + call SetUnitX(s__MifuneNewW__Spell_dummy[this], new_x) + call SetUnitY(s__MifuneNewW__Spell_dummy[this], new_y) set bj_lastCreatedEffect=AddSpecialEffect("GenericSlash.mdl", new_x, new_y) call BlzSetSpecialEffectRoll(bj_lastCreatedEffect, GetRandomReal(0, 2 * bj_PI)) call BlzSetSpecialEffectHeight(bj_lastCreatedEffect, 100 + GetPointZ(new_x , new_y)) @@ -88247,64 +88247,64 @@ endfunction loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MifuneNewW___Spell_caster[this])) and not IsUnitInGroup(bj_lastCreatedUnit, s__MifuneNewW___Spell_damaged[this]) then + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MifuneNewW__Spell_caster[this])) and not IsUnitInGroup(bj_lastCreatedUnit, s__MifuneNewW__Spell_damaged[this]) then set unit_x=GetUnitX(bj_lastCreatedUnit) set unit_y=GetUnitY(bj_lastCreatedUnit) call DestroyEffect(AddSpecialEffect(("Objects\\Spawnmodels\\Human\\HumanBlood\\HumanBloodKnight.mdl" ), (( unit_x )*1.0), (( unit_y)*1.0))) // INLINED!! - call UnitDamageTarget(s__MifuneNewW___Spell_caster[this], bj_lastCreatedUnit, 80.0 * GetUnitAbilityLevel(s__MifuneNewW___Spell_caster[this], s__MifuneNewW___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) - call GroupAddUnit(s__MifuneNewW___Spell_damaged[this], bj_lastCreatedUnit) + call UnitDamageTarget(s__MifuneNewW__Spell_caster[this], bj_lastCreatedUnit, 80.0 * GetUnitAbilityLevel(s__MifuneNewW__Spell_caster[this], s__MifuneNewW__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + call GroupAddUnit(s__MifuneNewW__Spell_damaged[this], bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - if s__MifuneNewW___Spell_count[this] > 30 then - call UnitRemoveAbility(s__MifuneNewW___Spell_caster[this], 'A0R9') - call SetPlayerAbilityAvailable(GetOwningPlayer(s__MifuneNewW___Spell_caster[this]), s__MifuneNewW___Spell_SPELL_ID, true) - call RemoveUnit(s__MifuneNewW___Spell_dummy[this]) - call DestroyGroup(s__MifuneNewW___Spell_damaged[this]) - set s__MifuneNewW___Spell_damaged[this]=null - set s__MifuneNewW___Spell_caster[this]=null - set s__MifuneNewW___Spell_dummy[this]=null - call s__MifuneNewW___Spell_deallocate(this) + if s__MifuneNewW__Spell_count[this] > 30 then + call UnitRemoveAbility(s__MifuneNewW__Spell_caster[this], 'A0R9') + call SetPlayerAbilityAvailable(GetOwningPlayer(s__MifuneNewW__Spell_caster[this]), s__MifuneNewW__Spell_SPELL_ID, true) + call RemoveUnit(s__MifuneNewW__Spell_dummy[this]) + call DestroyGroup(s__MifuneNewW__Spell_damaged[this]) + set s__MifuneNewW__Spell_damaged[this]=null + set s__MifuneNewW__Spell_caster[this]=null + set s__MifuneNewW__Spell_dummy[this]=null + call s__MifuneNewW__Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__MifuneNewW___Spell_actions takes nothing returns nothing - local integer this= s__MifuneNewW___Spell_allocate() + function s__MifuneNewW__Spell_actions takes nothing returns nothing + local integer this= s__MifuneNewW__Spell_allocate() local real caster_x= GetUnitX(GetTriggerUnit()) local real caster_y= GetUnitY(GetTriggerUnit()) local real target_x= GetSpellTargetX() local real target_y= GetSpellTargetY() - set s__MifuneNewW___Spell_angle[this]=Atan2(( target_y - caster_y ), ( target_x - caster_x )) - set s__MifuneNewW___Spell_damaged[this]=CreateGroup() - set s__MifuneNewW___Spell_caster[this]=GetTriggerUnit() - set s__MifuneNewW___Spell_dummy[this]=CreateUnit(GetTriggerPlayer(), 'e038', caster_x, caster_y, Rad2Deg(s__MifuneNewW___Spell_angle[this])) - set s__MifuneNewW___Spell_dummy2=s__MifuneNewW___Spell_dummy[this] - call SetPlayerAbilityAvailable(GetOwningPlayer(s__MifuneNewW___Spell_caster[this]), s__MifuneNewW___Spell_SPELL_ID, false) - call UnitAddAbility(s__MifuneNewW___Spell_caster[this], 'A0R9') - call SetUnitX(s__MifuneNewW___Spell_dummy[this], caster_x) - call SetUnitY(s__MifuneNewW___Spell_dummy[this], caster_y) - set s__MifuneNewW___Spell_count[this]=0 - call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__MifuneNewW___Spell_periodic , "MifuneNewW_periodic") - endfunction - - function s__MifuneNewW___Spell_teleport takes nothing returns nothing + set s__MifuneNewW__Spell_angle[this]=Atan2(( target_y - caster_y ), ( target_x - caster_x )) + set s__MifuneNewW__Spell_damaged[this]=CreateGroup() + set s__MifuneNewW__Spell_caster[this]=GetTriggerUnit() + set s__MifuneNewW__Spell_dummy[this]=CreateUnit(GetTriggerPlayer(), 'e038', caster_x, caster_y, Rad2Deg(s__MifuneNewW__Spell_angle[this])) + set s__MifuneNewW__Spell_dummy2=s__MifuneNewW__Spell_dummy[this] + call SetPlayerAbilityAvailable(GetOwningPlayer(s__MifuneNewW__Spell_caster[this]), s__MifuneNewW__Spell_SPELL_ID, false) + call UnitAddAbility(s__MifuneNewW__Spell_caster[this], 'A0R9') + call SetUnitX(s__MifuneNewW__Spell_dummy[this], caster_x) + call SetUnitY(s__MifuneNewW__Spell_dummy[this], caster_y) + set s__MifuneNewW__Spell_count[this]=0 + call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__MifuneNewW__Spell_periodic , "MifuneNewW_periodic") + endfunction + + function s__MifuneNewW__Spell_teleport takes nothing returns nothing local real caster_x= GetUnitX(GetTriggerUnit()) local real caster_y= GetUnitY(GetTriggerUnit()) - local real dummy_x= GetUnitX(s__MifuneNewW___Spell_dummy2) - local real dummy_y= GetUnitY(s__MifuneNewW___Spell_dummy2) + local real dummy_x= GetUnitX(s__MifuneNewW__Spell_dummy2) + local real dummy_y= GetUnitY(s__MifuneNewW__Spell_dummy2) call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( dummy_x )*1.0), (( dummy_y)*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( caster_x )*1.0), (( caster_y)*1.0))) // INLINED!! call SetUnitX(GetTriggerUnit(), dummy_x) call SetUnitY(GetTriggerUnit(), dummy_y) call UnitRemoveAbility(GetTriggerUnit(), 'A0R9') - call SetPlayerAbilityAvailable(GetTriggerPlayer(), s__MifuneNewW___Spell_SPELL_ID, true) + call SetPlayerAbilityAvailable(GetTriggerPlayer(), s__MifuneNewW__Spell_SPELL_ID, true) endfunction - function s__MifuneNewW___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(64 , s__MifuneNewW___Spell_SPELL_ID , function s__MifuneNewW___Spell_actions) - call RegisterSpellEffectEventForId(64 , 'A0R9' , function s__MifuneNewW___Spell_teleport) + function s__MifuneNewW__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(64 , s__MifuneNewW__Spell_SPELL_ID , function s__MifuneNewW__Spell_actions) + call RegisterSpellEffectEventForId(64 , 'A0R9' , function s__MifuneNewW__Spell_teleport) endfunction @@ -88398,37 +88398,37 @@ endfunction //Implemented from module Alloc: - function s__MifuneR___Spell_allocate takes nothing returns integer + function s__MifuneR__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__MifuneR___Spell_Alloc__recycle[(0)] == 0 ) then - set s__MifuneR___Spell_Alloc__instanceCount=s__MifuneR___Spell_Alloc__instanceCount + 1 - set this=s__MifuneR___Spell_Alloc__instanceCount + if ( s__MifuneR__Spell_Alloc__recycle[(0)] == 0 ) then + set s__MifuneR__Spell_Alloc__instanceCount=s__MifuneR__Spell_Alloc__instanceCount + 1 + set this=s__MifuneR__Spell_Alloc__instanceCount else - set this=s__MifuneR___Spell_Alloc__recycle[(0)] - set s__MifuneR___Spell_Alloc__recycle[(0)]=s__MifuneR___Spell_Alloc__recycle[s__MifuneR___Spell_Alloc__recycle[(0)]] + set this=s__MifuneR__Spell_Alloc__recycle[(0)] + set s__MifuneR__Spell_Alloc__recycle[(0)]=s__MifuneR__Spell_Alloc__recycle[s__MifuneR__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__MifuneR___Spell_deallocate takes integer this returns nothing - set s__MifuneR___Spell_Alloc__recycle[this]=s__MifuneR___Spell_Alloc__recycle[(0)] - set s__MifuneR___Spell_Alloc__recycle[(0)]=this + function s__MifuneR__Spell_deallocate takes integer this returns nothing + set s__MifuneR__Spell_Alloc__recycle[this]=s__MifuneR__Spell_Alloc__recycle[(0)] + set s__MifuneR__Spell_Alloc__recycle[(0)]=this endfunction - function s__MifuneR___Spell_actions3 takes nothing returns nothing + function s__MifuneR__Spell_actions3 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real target_x= GetUnitX(s__MifuneR___Spell_target[this]) - local real target_y= GetUnitY(s__MifuneR___Spell_target[this]) + local real target_x= GetUnitX(s__MifuneR__Spell_target[this]) + local real target_y= GetUnitY(s__MifuneR__Spell_target[this]) local real new_x local real new_y local integer i= 0 local integer i_2= 0 - call ShowUnit(s__MifuneR___Spell_target[this], true) + call ShowUnit(s__MifuneR__Spell_target[this], true) call DestroyEffect(AddSpecialEffect(("Effects\\s_HelGate.mdx" ), (( target_x )*1.0), (( target_y)*1.0))) // INLINED!! loop set i=i + 1 @@ -88443,46 +88443,46 @@ endfunction call DestroyEffect(AddSpecialEffect(("Effects\\s_Earth_Smash.mdx" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! endloop endloop - call UnitDamageTarget(s__MifuneR___Spell_caster[this], s__MifuneR___Spell_target[this], 300 + 6.0 * GetHeroAgi(s__MifuneR___Spell_caster[this], true) * GetUnitAbilityLevel(s__MifuneR___Spell_caster[this], s__MifuneR___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__MifuneR__Spell_caster[this], s__MifuneR__Spell_target[this], 300 + 6.0 * GetHeroAgi(s__MifuneR__Spell_caster[this], true) * GetUnitAbilityLevel(s__MifuneR__Spell_caster[this], s__MifuneR__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) //set bj_lastCreatedUnit = CreateUnit(GetOwningPlayer(this.caster), 'e000', target_x, target_y, 0) //call UnitAddAbility(bj_lastCreatedUnit, 'Awfb') //call IssueTargetOrder(bj_lastCreatedUnit, "firebolt", this.target) //call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__MifuneR___Spell_target[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MifuneR___Spell_caster[this] ) , ( 0)) // INLINED!! - call SelectUnitForPlayerSingle(s__MifuneR___Spell_target[this], GetOwningPlayer(s__MifuneR___Spell_target[this])) - set s__MifuneR___Spell_caster[this]=null - set s__MifuneR___Spell_target[this]=null - call s__MifuneR___Spell_deallocate(this) + call s__PauseUnitEx___Pause_setPauseCounter((s__MifuneR__Spell_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MifuneR__Spell_caster[this] ) , ( 0)) // INLINED!! + call SelectUnitForPlayerSingle(s__MifuneR__Spell_target[this], GetOwningPlayer(s__MifuneR__Spell_target[this])) + set s__MifuneR__Spell_caster[this]=null + set s__MifuneR__Spell_target[this]=null + call s__MifuneR__Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__MifuneR___Spell_actions2 takes nothing returns nothing + function s__MifuneR__Spell_actions2 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real caster_x= GetUnitX(s__MifuneR___Spell_caster[this]) - local real caster_y= GetUnitY(s__MifuneR___Spell_caster[this]) - call SetUnitFlyHeight(s__MifuneR___Spell_caster[this], 0, 1500) + local real caster_x= GetUnitX(s__MifuneR__Spell_caster[this]) + local real caster_y= GetUnitY(s__MifuneR__Spell_caster[this]) + call SetUnitFlyHeight(s__MifuneR__Spell_caster[this], 0, 1500) //call DestroyEffect(AddSpecialEffectEx("Effects\\s_Black_Blink.mdx", caster_x, caster_y)) - call TimerStartEx(NewTimerEx(this) , 0.2 , false , function s__MifuneR___Spell_actions3 , "MifuneR_actions3") + call TimerStartEx(NewTimerEx(this) , 0.2 , false , function s__MifuneR__Spell_actions3 , "MifuneR_actions3") call ReleaseTimer(GetExpiredTimer()) endfunction - function s__MifuneR___Spell_periodic takes nothing returns nothing + function s__MifuneR__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real caster_x= GetUnitX(s__MifuneR___Spell_caster[this]) - local real caster_y= GetUnitY(s__MifuneR___Spell_caster[this]) - local real target_x= GetUnitX(s__MifuneR___Spell_target[this]) - local real target_y= GetUnitY(s__MifuneR___Spell_target[this]) + local real caster_x= GetUnitX(s__MifuneR__Spell_caster[this]) + local real caster_y= GetUnitY(s__MifuneR__Spell_caster[this]) + local real target_x= GetUnitX(s__MifuneR__Spell_target[this]) + local real target_y= GetUnitY(s__MifuneR__Spell_target[this]) local real angle= Atan2(( target_y - caster_y ), ( target_x - caster_x )) local real new_x= caster_x + Cos(angle) * 30 local real new_y= caster_y + Sin(angle) * 30 local real distance_x= target_x - new_x local real distance_y= target_y - new_y local real distance= SquareRoot(distance_x * distance_x + distance_y * distance_y) - call SetUnitX(s__MifuneR___Spell_caster[this], new_x) - call SetUnitY(s__MifuneR___Spell_caster[this], new_y) - call SetUnitFacing(s__MifuneR___Spell_caster[this], Rad2Deg(angle)) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MifuneR___Spell_caster[this]), s__MifuneR___Spell_DUMMY_ID, caster_x, caster_y, GetUnitFacing(s__MifuneR___Spell_caster[this])) + call SetUnitX(s__MifuneR__Spell_caster[this], new_x) + call SetUnitY(s__MifuneR__Spell_caster[this], new_y) + call SetUnitFacing(s__MifuneR__Spell_caster[this], Rad2Deg(angle)) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MifuneR__Spell_caster[this]), s__MifuneR__Spell_DUMMY_ID, caster_x, caster_y, GetUnitFacing(s__MifuneR__Spell_caster[this])) call SetUnitX(bj_lastCreatedUnit, caster_x) call SetUnitY(bj_lastCreatedUnit, caster_y) call SetUnitVertexColor(bj_lastCreatedUnit, 200, 200, 200, 200) @@ -88491,32 +88491,32 @@ endfunction call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 0.15) //call DestroyEffect(AddSpecialEffectEx("Effects\\s_Earth_Smash.mdl", caster_x, caster_y)) if distance <= 50 then - call SetUnitAnimation(s__MifuneR___Spell_caster[this], "spell channel") - call UnitAddAbility(s__MifuneR___Spell_caster[this], 'Arav') - call SetUnitFlyHeight(s__MifuneR___Spell_caster[this], 300, 1500) - call UnitRemoveAbility(s__MifuneR___Spell_caster[this], 'Arav') + call SetUnitAnimation(s__MifuneR__Spell_caster[this], "spell channel") + call UnitAddAbility(s__MifuneR__Spell_caster[this], 'Arav') + call SetUnitFlyHeight(s__MifuneR__Spell_caster[this], 300, 1500) + call UnitRemoveAbility(s__MifuneR__Spell_caster[this], 'Arav') //call ShowUnit(this.target, false) - call TimerStartEx(NewTimerEx(this) , 0.2 , false , function s__MifuneR___Spell_actions2 , "MifuneR_actions2") + call TimerStartEx(NewTimerEx(this) , 0.2 , false , function s__MifuneR__Spell_actions2 , "MifuneR_actions2") call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__MifuneR___Spell_actions takes nothing returns nothing - local integer this= s__MifuneR___Spell_allocate() - set s__MifuneR___Spell_caster[this]=GetTriggerUnit() - set s__MifuneR___Spell_target[this]=GetSpellTargetUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__MifuneR___Spell_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MifuneR___Spell_target[this] ) , ( 1)) // INLINED!! - call SetUnitAnimation(s__MifuneR___Spell_caster[this], "spell one") + function s__MifuneR__Spell_actions takes nothing returns nothing + local integer this= s__MifuneR__Spell_allocate() + set s__MifuneR__Spell_caster[this]=GetTriggerUnit() + set s__MifuneR__Spell_target[this]=GetSpellTargetUnit() + call s__PauseUnitEx___Pause_setPauseCounter((s__MifuneR__Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MifuneR__Spell_target[this] ) , ( 1)) // INLINED!! + call SetUnitAnimation(s__MifuneR__Spell_caster[this], "spell one") //call SetUnitAnimationByIndex(this.caster, 5) if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Mifune_R, 100.0, GetTriggerUnit()) endif - call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__MifuneR___Spell_periodic , "MifuneR_periodic") + call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__MifuneR__Spell_periodic , "MifuneR_periodic") endfunction - function s__MifuneR___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(64 , s__MifuneR___Spell_SPELL_ID , function s__MifuneR___Spell_actions) + function s__MifuneR__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(64 , s__MifuneR__Spell_SPELL_ID , function s__MifuneR__Spell_actions) endfunction @@ -88529,104 +88529,104 @@ endfunction //Implemented from module Alloc: - function s__MifuneT___Spell_allocate takes nothing returns integer + function s__MifuneT__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__MifuneT___Spell_Alloc__recycle[(0)] == 0 ) then - set s__MifuneT___Spell_Alloc__instanceCount=s__MifuneT___Spell_Alloc__instanceCount + 1 - set this=s__MifuneT___Spell_Alloc__instanceCount + if ( s__MifuneT__Spell_Alloc__recycle[(0)] == 0 ) then + set s__MifuneT__Spell_Alloc__instanceCount=s__MifuneT__Spell_Alloc__instanceCount + 1 + set this=s__MifuneT__Spell_Alloc__instanceCount else - set this=s__MifuneT___Spell_Alloc__recycle[(0)] - set s__MifuneT___Spell_Alloc__recycle[(0)]=s__MifuneT___Spell_Alloc__recycle[s__MifuneT___Spell_Alloc__recycle[(0)]] + set this=s__MifuneT__Spell_Alloc__recycle[(0)] + set s__MifuneT__Spell_Alloc__recycle[(0)]=s__MifuneT__Spell_Alloc__recycle[s__MifuneT__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__MifuneT___Spell_deallocate takes integer this returns nothing - set s__MifuneT___Spell_Alloc__recycle[this]=s__MifuneT___Spell_Alloc__recycle[(0)] - set s__MifuneT___Spell_Alloc__recycle[(0)]=this + function s__MifuneT__Spell_deallocate takes integer this returns nothing + set s__MifuneT__Spell_Alloc__recycle[this]=s__MifuneT__Spell_Alloc__recycle[(0)] + set s__MifuneT__Spell_Alloc__recycle[(0)]=this endfunction - function s__MifuneT___Spell_end takes nothing returns nothing + function s__MifuneT__Spell_end takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real target_x= GetUnitX(s__MifuneT___Spell_target[this]) - local real target_y= GetUnitY(s__MifuneT___Spell_target[this]) + local real target_x= GetUnitX(s__MifuneT__Spell_target[this]) + local real target_y= GetUnitY(s__MifuneT__Spell_target[this]) local integer i= 0 - call UnitDamageTarget(s__MifuneT___Spell_caster[this], s__MifuneT___Spell_target[this], 10.0 * GetHeroAgi(s__MifuneT___Spell_caster[this], true) + 800, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__MifuneT__Spell_caster[this], s__MifuneT__Spell_target[this], 10.0 * GetHeroAgi(s__MifuneT__Spell_caster[this], true) + 800, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) //call ResetToGameCameraForPlayer(GetOwningPlayer(this.caster), 0.0) //call ResetToGameCameraForPlayer(GetOwningPlayer(this.target), 0.0) //call SetCameraFieldForPlayer(GetOwningPlayer(this.caster), CAMERA_FIELD_FIELD_OF_VIEW, udg_Cam[GetConvertedPlayerId(GetOwningPlayer(this.caster))], 0.00) //call SetCameraFieldForPlayer(GetOwningPlayer(this.target), CAMERA_FIELD_FIELD_OF_VIEW, udg_Cam[GetConvertedPlayerId(GetOwningPlayer(this.target))], 0.00) //call StunUnitTimed(this.caster, this.target, 2.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__MifuneT___Spell_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MifuneT___Spell_target[this] ) , ( 0)) // INLINED!! - call SetUnitAnimation(s__MifuneT___Spell_target[this], "death") + call s__PauseUnitEx___Pause_setPauseCounter((s__MifuneT__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MifuneT__Spell_target[this] ) , ( 0)) // INLINED!! + call SetUnitAnimation(s__MifuneT__Spell_target[this], "death") loop set i=i + 1 exitwhen i > 10 - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MifuneT___Spell_caster[this]), 'e037', target_x, target_y, 270.0) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MifuneT__Spell_caster[this]), 'e037', target_x, target_y, 270.0) call SetUnitX(bj_lastCreatedUnit, target_x) call SetUnitY(bj_lastCreatedUnit, target_y) call SetUnitTimeScale(bj_lastCreatedUnit, 0.5) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) endloop call DestroyEffect(AddSpecialEffect(("war3mapImported\\Blood.mdl" ), (( target_x )*1.0), (( target_y)*1.0))) // INLINED!! - set s__MifuneT___Spell_caster[this]=null - set s__MifuneT___Spell_target[this]=null - call s__MifuneT___Spell_deallocate(this) + set s__MifuneT__Spell_caster[this]=null + set s__MifuneT__Spell_target[this]=null + call s__MifuneT__Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__MifuneT___Spell_periodic2 takes nothing returns nothing + function s__MifuneT__Spell_periodic2 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real caster_x= GetUnitX(s__MifuneT___Spell_caster[this]) - local real caster_y= GetUnitY(s__MifuneT___Spell_caster[this]) - local real new_x= caster_x + Cos(s__MifuneT___Spell_angle[this]) * 50 - local real new_y= caster_y + Sin(s__MifuneT___Spell_angle[this]) * 50 - set s__MifuneT___Spell_count[this]=s__MifuneT___Spell_count[this] + 1 - call SetUnitX(s__MifuneT___Spell_caster[this], new_x) - call SetUnitY(s__MifuneT___Spell_caster[this], new_y) + local real caster_x= GetUnitX(s__MifuneT__Spell_caster[this]) + local real caster_y= GetUnitY(s__MifuneT__Spell_caster[this]) + local real new_x= caster_x + Cos(s__MifuneT__Spell_angle[this]) * 50 + local real new_y= caster_y + Sin(s__MifuneT__Spell_angle[this]) * 50 + set s__MifuneT__Spell_count[this]=s__MifuneT__Spell_count[this] + 1 + call SetUnitX(s__MifuneT__Spell_caster[this], new_x) + call SetUnitY(s__MifuneT__Spell_caster[this], new_y) call DestroyEffect(AddSpecialEffect(("Effects\\s_Grass_Stomp.mdx" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("Abilities\\Weapons\\AncientProtectorMissile\\AncientProtectorMissile.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! - if s__MifuneT___Spell_count[this] >= 10 then + if s__MifuneT__Spell_count[this] >= 10 then //call DestroyEffect(AddSpecialEffectEx("Effects\\s_Hit.mdx", GetUnitX(this.target), GetUnitY(this.target))) - call TimerStartEx(NewTimerEx(this) , 1.0 , false , function s__MifuneT___Spell_end , "MifuneT_end") + call TimerStartEx(NewTimerEx(this) , 1.0 , false , function s__MifuneT__Spell_end , "MifuneT_end") call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__MifuneT___Spell_periodic takes nothing returns nothing + function s__MifuneT__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real caster_x= GetUnitX(s__MifuneT___Spell_caster[this]) - local real caster_y= GetUnitY(s__MifuneT___Spell_caster[this]) - local real target_x= GetUnitX(s__MifuneT___Spell_target[this]) - local real target_y= GetUnitY(s__MifuneT___Spell_target[this]) + local real caster_x= GetUnitX(s__MifuneT__Spell_caster[this]) + local real caster_y= GetUnitY(s__MifuneT__Spell_caster[this]) + local real target_x= GetUnitX(s__MifuneT__Spell_target[this]) + local real target_y= GetUnitY(s__MifuneT__Spell_target[this]) local real angle= Atan2(( target_y - caster_y ), ( target_x - caster_x )) local real new_x= caster_x + Cos(angle) * 50 local real new_y= caster_y + Sin(angle) * 50 local real distance_x= new_x - target_x local real distance_y= new_y - target_y local real distance= SquareRoot(distance_x * distance_x + distance_y * distance_y) - call SetUnitX(s__MifuneT___Spell_caster[this], new_x) - call SetUnitY(s__MifuneT___Spell_caster[this], new_y) + call SetUnitX(s__MifuneT__Spell_caster[this], new_x) + call SetUnitY(s__MifuneT__Spell_caster[this], new_y) call DestroyEffect(AddSpecialEffect(("Effects\\s_Grass_Stomp.mdx" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("Abilities\\Weapons\\AncientProtectorMissile\\AncientProtectorMissile.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! if distance <= 50 then call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Other\\Stampede\\StampedeMissileDeath.mdl" ), (( target_x )*1.0), (( target_y)*1.0))) // INLINED!! - set s__MifuneT___Spell_count[this]=0 - set s__MifuneT___Spell_angle[this]=angle - call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__MifuneT___Spell_periodic2 , "MifuneT_periodic2") + set s__MifuneT__Spell_count[this]=0 + set s__MifuneT__Spell_angle[this]=angle + call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__MifuneT__Spell_periodic2 , "MifuneT_periodic2") call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__MifuneT___Spell_actions takes nothing returns nothing - local integer this= s__MifuneT___Spell_allocate() + function s__MifuneT__Spell_actions takes nothing returns nothing + local integer this= s__MifuneT__Spell_allocate() local real caster_x local real caster_y local real target_x @@ -88635,19 +88635,19 @@ endfunction if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Mifune_T, 100.0, GetTriggerUnit()) endif - set s__MifuneT___Spell_caster[this]=GetTriggerUnit() - set s__MifuneT___Spell_target[this]=GetSpellTargetUnit() - set caster_x=GetUnitX(s__MifuneT___Spell_caster[this]) - set caster_y=GetUnitY(s__MifuneT___Spell_caster[this]) - set target_x=GetUnitX(s__MifuneT___Spell_target[this]) - set target_y=GetUnitY(s__MifuneT___Spell_target[this]) + set s__MifuneT__Spell_caster[this]=GetTriggerUnit() + set s__MifuneT__Spell_target[this]=GetSpellTargetUnit() + set caster_x=GetUnitX(s__MifuneT__Spell_caster[this]) + set caster_y=GetUnitY(s__MifuneT__Spell_caster[this]) + set target_x=GetUnitX(s__MifuneT__Spell_target[this]) + set target_y=GetUnitY(s__MifuneT__Spell_target[this]) set angle=Atan2(( target_y - caster_y ), ( target_x - caster_x )) - call SetUnitX(s__MifuneT___Spell_caster[this], caster_x) - call SetUnitY(s__MifuneT___Spell_caster[this], caster_y) - call s__PauseUnitEx__Pause_setPauseCounter((s__MifuneT___Spell_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MifuneT___Spell_target[this] ) , ( 1)) // INLINED!! - call SetUnitTimeScale(s__MifuneT___Spell_caster[this], 1.0) - call SetUnitAnimation(s__MifuneT___Spell_caster[this], "spell one") + call SetUnitX(s__MifuneT__Spell_caster[this], caster_x) + call SetUnitY(s__MifuneT__Spell_caster[this], caster_y) + call s__PauseUnitEx___Pause_setPauseCounter((s__MifuneT__Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MifuneT__Spell_target[this] ) , ( 1)) // INLINED!! + call SetUnitTimeScale(s__MifuneT__Spell_caster[this], 1.0) + call SetUnitAnimation(s__MifuneT__Spell_caster[this], "spell one") set bj_lastCreatedEffect=AddSpecialEffect("dash sfx.mdx", GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit())) @@ -88657,15 +88657,15 @@ endfunction call DestroyEffect(bj_lastCreatedEffect) - if IsUnitVisible(s__MifuneT___Spell_caster[this], GetLocalPlayer()) then + if IsUnitVisible(s__MifuneT__Spell_caster[this], GetLocalPlayer()) then //call PlaySoundOnUnitBJ(gg_snd_Mifune_D, 100.0, this.caster) call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Mifune: With all my loyalty to harmony, I act under the guidance of my beliefs!|r") endif - call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__MifuneT___Spell_periodic , "MifuneT_periodic") + call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__MifuneT__Spell_periodic , "MifuneT_periodic") endfunction - function s__MifuneT___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(64 , s__MifuneT___Spell_SPELL_ID , function s__MifuneT___Spell_actions) + function s__MifuneT__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(64 , s__MifuneT__Spell_SPELL_ID , function s__MifuneT__Spell_actions) endfunction @@ -88852,10 +88852,10 @@ call AddSpecialEffectLocBJ((GetUnitLoc(udg_Rasen_Target) ), ( "Effects\\s_War_St call RemoveLocation(udg_RasenBall) call GroupClear(udg_Rasen_DamagedUnits) call RemoveUnit(udg_Rasen_Dummy) - call s__PauseUnitEx__Pause_setPauseCounter((udg_Rasen_Target ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Rasen_Target ) , ( 0)) // INLINED!! call SetUnitPathing(udg_Rasen_Target, true) call ResetUnitAnimation(udg_Rasen_Target) - call s__PauseUnitEx__Pause_setPauseCounter((udg_Rasen_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Rasen_Caster ) , ( 0)) // INLINED!! call SetUnitPathing(udg_Rasen_Caster, true) call ResetUnitAnimation(udg_Rasen_Caster) call DisableTrigger(GetTriggeringTrigger()) @@ -88896,11 +88896,11 @@ call AddSpecialEffectLocBJ((udg_Rasengan_SpecialPoints[1] ), ( "war3mapImported\ call UnitApplyTimedLifeBJ(5.00, 'BTLF', GetLastCreatedUnit()) set udg_RasenBall_Dummy=GetLastCreatedUnit() call RemoveLocation(udg_Rasengan_SpecialPoints[1]) - call s__PauseUnitEx__Pause_setPauseCounter((udg_Rasen_Target ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Rasen_Target ) , ( 1)) // INLINED!! call SetUnitPathing(udg_Rasen_Target, false) call UnitDamageTargetBJ(udg_Rasen_Caster, udg_Rasen_Target, ( I2R(GetUnitAbilityLevelSwapped('A09X', udg_Rasen_Caster)) * I2R(GetHeroStatBJ(bj_HEROSTAT_AGI, udg_Rasen_Caster, true)) ), ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC) call GroupAddUnitSimple(udg_Rasen_Target, udg_Rasen_DamagedUnits) - call EnableTrigger(MinatoRasengan___t3) + call EnableTrigger(MinatoRasengan__t3) call DisableTrigger(GetTriggeringTrigger()) else set udg_Rasen_Point=PolarProjectionBJ(GetUnitLoc(udg_Rasen_Caster), 35.00, AngleBetweenPoints(GetUnitLoc(udg_Rasen_Caster), GetUnitLoc(udg_Rasen_Target))) @@ -88919,28 +88919,28 @@ function Trig_MinatoRasengan_Actions takes nothing returns nothing if GetUnitTypeId(udg_Rasen_Caster) == 'H02O' then call UnitDamageTarget(udg_Rasen_Caster, udg_Rasen_Target, 10 * GetHeroAgi(udg_Rasen_Caster, true), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, null) endif - call s__PauseUnitEx__Pause_setPauseCounter((udg_Rasen_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Rasen_Caster ) , ( 1)) // INLINED!! call SetUnitAnimation(udg_Rasen_Caster, "spell throw") call AddSpecialEffectTargetUnitBJ(("left,hand" ), ( udg_Rasen_Caster ), ( "war3mapImported\\lxw jhxcom_2000.mdx")) // // INLINED!! set udg_Rasen_Effect[1]=GetLastCreatedEffectBJ() call SetUnitPathing(udg_Rasen_Caster, false) - call EnableTrigger(MinatoRasengan___t2) + call EnableTrigger(MinatoRasengan__t2) endfunction //=========================================================================== -function MinatoRasengan___init takes nothing returns nothing - set MinatoRasengan___t1=CreateTrigger() - call TriggerRegisterAnyUnitEventBJ(MinatoRasengan___t1, EVENT_PLAYER_UNIT_SPELL_EFFECT) - call TriggerAddCondition(MinatoRasengan___t1, Condition(function Trig_MinatoRasengan_Conditions)) - call TriggerAddAction(MinatoRasengan___t1, function Trig_MinatoRasengan_Actions) - set MinatoRasengan___t2=CreateTrigger() - call DisableTrigger(MinatoRasengan___t2) - call TriggerRegisterTimerEventPeriodic(MinatoRasengan___t2, 0.04) - call TriggerAddAction(MinatoRasengan___t2, function Trig_Minato_Rasengan_Going_Actions) - set MinatoRasengan___t3=CreateTrigger() - call DisableTrigger(MinatoRasengan___t3) - call TriggerRegisterTimerEventPeriodic(MinatoRasengan___t3, 0.04) - call TriggerAddAction(MinatoRasengan___t3, function Trig_Minato_Rasengan_Knockback_Actions) +function MinatoRasengan__init takes nothing returns nothing + set MinatoRasengan__t1=CreateTrigger() + call TriggerRegisterAnyUnitEventBJ(MinatoRasengan__t1, EVENT_PLAYER_UNIT_SPELL_EFFECT) + call TriggerAddCondition(MinatoRasengan__t1, Condition(function Trig_MinatoRasengan_Conditions)) + call TriggerAddAction(MinatoRasengan__t1, function Trig_MinatoRasengan_Actions) + set MinatoRasengan__t2=CreateTrigger() + call DisableTrigger(MinatoRasengan__t2) + call TriggerRegisterTimerEventPeriodic(MinatoRasengan__t2, 0.04) + call TriggerAddAction(MinatoRasengan__t2, function Trig_Minato_Rasengan_Going_Actions) + set MinatoRasengan__t3=CreateTrigger() + call DisableTrigger(MinatoRasengan__t3) + call TriggerRegisterTimerEventPeriodic(MinatoRasengan__t3, 0.04) + call TriggerAddAction(MinatoRasengan__t3, function Trig_Minato_Rasengan_Knockback_Actions) endfunction // scope MinatoRasengan ends @@ -88983,8 +88983,8 @@ call AddSpecialEffectLocBJ((udg_IL_Point[6] ), ( "Abilities\\Spells\\Other\\Volc call SetUnitFlyHeightBJ(udg_IL_Target, 0.00, 0.00) call SetUnitPathing(udg_IL_Caster, true) call SetUnitPathing(udg_IL_Target, true) - call s__PauseUnitEx__Pause_setPauseCounter((udg_IL_Caster ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_IL_Target ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_IL_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_IL_Target ) , ( 0)) // INLINED!! call IssueImmediateOrder(udg_IL_Target, "stop") call SetUnitAnimation(udg_IL_Target, "death") call RemoveUnit(udg_IL_Dummy) @@ -89032,7 +89032,7 @@ function Trig_Instant_Light_LOOP_Actions takes nothing returns nothing endif set udg_Instant_Bool=false set udg_IL_Int=0 - call EnableTrigger(MinatoInstantLight___t3) + call EnableTrigger(MinatoInstantLight__t3) call DisableTrigger(GetTriggeringTrigger()) else set udg_IL_Point[5]=GetUnitLoc(udg_IL_Caster) @@ -89055,9 +89055,9 @@ call AddSpecialEffectLocBJ((GetUnitLoc(udg_IL_Caster) ), ( "war3mapImported\\Yel call UnitAddAbility(udg_IL_Caster, 'Arav') call UnitRemoveAbility(udg_IL_Caster, 'Arav') call SetUnitFlyHeightBJ(udg_IL_Caster, GetUnitFlyHeight(udg_IL_Target), 0.00) - call s__PauseUnitEx__Pause_setPauseCounter((udg_IL_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_IL_Caster ) , ( 0)) // INLINED!! call IssueImmediateOrder(udg_IL_Caster, "stop") - call s__PauseUnitEx__Pause_setPauseCounter((udg_IL_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_IL_Caster ) , ( 1)) // INLINED!! call SetUnitAnimation(udg_IL_Caster, "spell throw") set udg_Instant_Bool=true else @@ -89085,31 +89085,31 @@ function Trig_MinatoInstantLight_Actions takes nothing returns nothing call AddSpecialEffectLocBJ((udg_IL_Point[4] ), ( "Effects\\s_War_Stomp.mdx")) // INLINED!! call DestroyEffect(GetLastCreatedEffectBJ()) call RemoveLocation(udg_IL_Point[4]) - call s__PauseUnitEx__Pause_setPauseCounter((udg_IL_Caster ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_IL_Target ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_IL_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_IL_Target ) , ( 1)) // INLINED!! call SetUnitAnimation(udg_IL_Caster, "spell") //call IssueTargetOrder( udg_IL_Dummy, "thunderbolt", udg_IL_Target ) call UnitDamageTargetBJ(udg_IL_Caster, udg_IL_Target, ( 50.00 * I2R(GetUnitAbilityLevelSwapped('A09U', udg_IL_Caster)) ), ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC) call TriggerSleepAction(0.05) call SetUnitPathing(udg_IL_Caster, false) call SetUnitPathing(udg_IL_Target, false) - call EnableTrigger(MinatoInstantLight___t2) + call EnableTrigger(MinatoInstantLight__t2) endfunction //=========================================================================== -function MinatoInstantLight___init takes nothing returns nothing - set MinatoInstantLight___t1=CreateTrigger() - call TriggerRegisterAnyUnitEventBJ(MinatoInstantLight___t1, EVENT_PLAYER_UNIT_SPELL_EFFECT) - call TriggerAddCondition(MinatoInstantLight___t1, Condition(function Trig_MinatoInstantLight_Conditions)) - call TriggerAddAction(MinatoInstantLight___t1, function Trig_MinatoInstantLight_Actions) - set MinatoInstantLight___t2=CreateTrigger() - call DisableTrigger(MinatoInstantLight___t2) - call TriggerRegisterTimerEventPeriodic(MinatoInstantLight___t2, 0.03) - call TriggerAddAction(MinatoInstantLight___t2, function Trig_Instant_Light_LOOP_Actions) - set MinatoInstantLight___t3=CreateTrigger() - call DisableTrigger(MinatoInstantLight___t3) - call TriggerRegisterTimerEventPeriodic(MinatoInstantLight___t3, 0.03) - call TriggerAddAction(MinatoInstantLight___t3, function Trig_Instant_Light_LOOP_2_Actions) +function MinatoInstantLight__init takes nothing returns nothing + set MinatoInstantLight__t1=CreateTrigger() + call TriggerRegisterAnyUnitEventBJ(MinatoInstantLight__t1, EVENT_PLAYER_UNIT_SPELL_EFFECT) + call TriggerAddCondition(MinatoInstantLight__t1, Condition(function Trig_MinatoInstantLight_Conditions)) + call TriggerAddAction(MinatoInstantLight__t1, function Trig_MinatoInstantLight_Actions) + set MinatoInstantLight__t2=CreateTrigger() + call DisableTrigger(MinatoInstantLight__t2) + call TriggerRegisterTimerEventPeriodic(MinatoInstantLight__t2, 0.03) + call TriggerAddAction(MinatoInstantLight__t2, function Trig_Instant_Light_LOOP_Actions) + set MinatoInstantLight__t3=CreateTrigger() + call DisableTrigger(MinatoInstantLight__t3) + call TriggerRegisterTimerEventPeriodic(MinatoInstantLight__t3, 0.03) + call TriggerAddAction(MinatoInstantLight__t3, function Trig_Instant_Light_LOOP_2_Actions) endfunction // scope MinatoInstantLight ends @@ -89161,7 +89161,7 @@ function Trig_Marked_Kunai_LOOP_Actions takes nothing returns nothing set bj_forLoopAIndex=bj_forLoopAIndex + 1 endloop call ShowUnitShow(udg_MKF_Caster) - call s__PauseUnitEx__Pause_setPauseCounter((udg_MKF_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_MKF_Caster ) , ( 0)) // INLINED!! call SetUnitPositionLoc(udg_MKF_Caster, udg_MKF_TargetPoint) call AddSpecialEffectLocBJ((GetUnitLoc(udg_MKF_Caster) ), ( "war3mapImported\\Yellow Blink.mdx")) // INLINED!! call DestroyEffect(GetLastCreatedEffectBJ()) @@ -89215,7 +89215,7 @@ function Trig_MinatoFarmSpell_Actions takes nothing returns nothing set bj_forLoopAIndex=bj_forLoopAIndex + 1 endloop call TriggerSleepAction(1.50) - call s__PauseUnitEx__Pause_setPauseCounter((udg_MKF_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_MKF_Caster ) , ( 1)) // INLINED!! call ShowUnitHide(udg_MKF_Caster) set bj_forLoopAIndex=1 set bj_forLoopAIndexEnd=6 @@ -89236,19 +89236,19 @@ function Trig_MinatoFarmSpell_Actions takes nothing returns nothing call RemoveLocation(udg_MKF_Point[2]) set bj_forLoopAIndex=bj_forLoopAIndex + 1 endloop - call EnableTrigger(MinatoMarkedKunai___t2) + call EnableTrigger(MinatoMarkedKunai__t2) endfunction //=========================================================================== -function MinatoMarkedKunai___init takes nothing returns nothing - set MinatoMarkedKunai___t1=CreateTrigger() - call TriggerRegisterAnyUnitEventBJ(MinatoMarkedKunai___t1, EVENT_PLAYER_UNIT_SPELL_EFFECT) - call TriggerAddCondition(MinatoMarkedKunai___t1, Condition(function Trig_MinatoFarmSpell_Conditions)) - call TriggerAddAction(MinatoMarkedKunai___t1, function Trig_MinatoFarmSpell_Actions) - set MinatoMarkedKunai___t2=CreateTrigger() - call DisableTrigger(MinatoMarkedKunai___t2) - call TriggerRegisterTimerEventPeriodic(MinatoMarkedKunai___t2, 0.025) - call TriggerAddAction(MinatoMarkedKunai___t2, function Trig_Marked_Kunai_LOOP_Actions) +function MinatoMarkedKunai__init takes nothing returns nothing + set MinatoMarkedKunai__t1=CreateTrigger() + call TriggerRegisterAnyUnitEventBJ(MinatoMarkedKunai__t1, EVENT_PLAYER_UNIT_SPELL_EFFECT) + call TriggerAddCondition(MinatoMarkedKunai__t1, Condition(function Trig_MinatoFarmSpell_Conditions)) + call TriggerAddAction(MinatoMarkedKunai__t1, function Trig_MinatoFarmSpell_Actions) + set MinatoMarkedKunai__t2=CreateTrigger() + call DisableTrigger(MinatoMarkedKunai__t2) + call TriggerRegisterTimerEventPeriodic(MinatoMarkedKunai__t2, 0.025) + call TriggerAddAction(MinatoMarkedKunai__t2, function Trig_Marked_Kunai_LOOP_Actions) endfunction // scope MinatoMarkedKunai ends @@ -89430,8 +89430,8 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina call KillUnit(bj_lastCreatedUnit) call SetUnitAnimation(bj_lastCreatedUnit, "death") call ShowUnit(s__MinatoHiraishin_caster[this], true) - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoHiraishin_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoHiraishin_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoHiraishin_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoHiraishin_target[this] ) , ( 0)) // INLINED!! call SelectUnitForPlayerSingle(s__MinatoHiraishin_caster[this], GetOwningPlayer(s__MinatoHiraishin_caster[this])) call s__MinatoHiraishin_destroy(this) call ReleaseTimer(GetExpiredTimer()) @@ -89450,8 +89450,8 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina call SetUnitX(s__MinatoHiraishin_target[this], new_x) call SetUnitY(s__MinatoHiraishin_target[this], new_y) endif - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoHiraishin_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoHiraishin_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoHiraishin_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoHiraishin_target[this] ) , ( 0)) // INLINED!! call s__MinatoHiraishin_destroy(this) call ReleaseTimer(GetExpiredTimer()) endfunction @@ -89478,7 +89478,7 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina call SetUnitX(s__MinatoHiraishin_caster[this], new_x) call SetUnitY(s__MinatoHiraishin_caster[this], new_y) call SetUnitFacing(s__MinatoHiraishin_caster[this], Rad2Deg(angle + bj_PI)) - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoHiraishin_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoHiraishin_target[this] ) , ( 1)) // INLINED!! loop set i=i + 1 exitwhen i > 10 @@ -89545,8 +89545,8 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina else set s__MinatoHiraishin_count[this]=25 call ShowUnit(s__MinatoHiraishin_caster[this], false) - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoHiraishin_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoHiraishin_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoHiraishin_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoHiraishin_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__MinatoHiraishin_hiraishin) endif endif @@ -89592,8 +89592,8 @@ function Trig_MinatoOldSemi_Actions takes nothing returns nothing call PlaySoundOnUnitBJ(gg_snd_Minato_Hokage_R, 80, GetTriggerUnit()) endif call TriggerSleepAction(0.1) - call s__PauseUnitEx__Pause_setPauseCounter((udg_Hira_Target ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_Hira_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Hira_Target ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Hira_Caster ) , ( 1)) // INLINED!! call SetUnitPathing(udg_Hira_Caster, false) set udg_Hira_Point[1]=GetUnitLoc(udg_Hira_Caster) call TerrainDeformationRippleBJ(1.00, false, udg_Hira_Point[1], 200.00, 200.00, 64.00, 1, 200.00) @@ -89606,14 +89606,14 @@ call AddSpecialEffectLocBJ((udg_Hira_Point[1] ), ( "DivineRage.mdx")) // INLINED call SetUnitPositionLocFacingBJ(udg_Hira_Caster, udg_Hira_Point[2], ( 180.00 + AngleBetweenPoints(GetUnitLoc(udg_Hira_Caster), GetUnitLoc(udg_Hira_Target)) )) call ShowUnitShow(udg_Hira_Caster) call SelectUnitForPlayerSingle(udg_Hira_Caster, GetOwningPlayer(udg_Hira_Caster)) - call s__PauseUnitEx__Pause_setPauseCounter((udg_Hira_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Hira_Caster ) , ( 0)) // INLINED!! call IssueImmediateOrder(udg_Hira_Caster, "stop") - call s__PauseUnitEx__Pause_setPauseCounter((udg_Hira_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Hira_Caster ) , ( 1)) // INLINED!! call SetUnitAnimation(udg_Hira_Caster, "attack") call SetUnitTimeScalePercent(udg_Hira_Caster, 50) call SetUnitPathing(udg_Hira_Caster, true) call TriggerSleepAction(0.75) - call s__PauseUnitEx__Pause_setPauseCounter((udg_Hira_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Hira_Caster ) , ( 0)) // INLINED!! call IssueImmediateOrder(udg_Hira_Target, "stop") if GetUnitTypeId(udg_Hira_Caster) == 'H0AR' or GetUnitTypeId(udg_Hira_Caster) == 'U012' then call UnitDamageTargetBJ(udg_Hira_Caster, udg_Hira_Target, 1000 + 10 * GetHeroAgi(udg_Hira_Caster, true), ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC) @@ -89621,7 +89621,7 @@ call AddSpecialEffectLocBJ((udg_Hira_Point[1] ), ( "DivineRage.mdx")) // INLINED call UnitDamageTargetBJ(udg_Hira_Caster, udg_Hira_Target, ( ( 500.00 * I2R(GetUnitAbilityLevelSwapped('A09T', udg_Hira_Caster)) ) + ( 5.00 * ( I2R(GetUnitAbilityLevelSwapped('A09T', udg_Hira_Caster)) * I2R(GetHeroStatBJ(bj_HEROSTAT_AGI, udg_Hira_Caster, true)) ) ) ), ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC) endif call SetUnitAnimation(udg_Hira_Target, "death") - call s__PauseUnitEx__Pause_setPauseCounter((udg_Hira_Target ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Hira_Target ) , ( 0)) // INLINED!! call SetUnitTimeScalePercent(udg_Hira_Caster, 100.0) //call TriggerSleepAction( 0.25 ) //call SetUnitPauseExCounter( false, udg_Hira_Target ) @@ -89669,7 +89669,7 @@ endfunction local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! set bj_lastCreatedUnit=FirstOfGroup(s__MinatoSemi_missiles[this]) if bj_lastCreatedUnit == null then - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoSemi_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoSemi_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__MinatoSemi_caster[this], "stand") call DestroyGroup(s__MinatoSemi_missiles[this]) set s__MinatoSemi_missiles[this]=null @@ -89752,7 +89752,7 @@ endfunction call TerrainDeformationRippleBJ(1.00, false, Location(GetUnitX(s__MinatoSemi_caster[this]), GetUnitY(s__MinatoSemi_caster[this])), 200.00, 200.00, 64.00, 1, 200.00) call TerrainDeformationRippleBJ(1.00, false, Location(s__MinatoSemi_target_x[this], s__MinatoSemi_target_y[this]), 200.00, 200.00, 64.00, 1, 200.00) - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoSemi_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoSemi_caster[this] ) , ( 1)) // INLINED!! call SetUnitX(s__MinatoSemi_caster[this], s__MinatoSemi_target_x[this]) call SetUnitY(s__MinatoSemi_caster[this], s__MinatoSemi_target_y[this]) call SetUnitAnimation(s__MinatoSemi_caster[this], "spell channel") @@ -90077,41 +90077,41 @@ endfunction //Implemented from module Alloc: - function s__MinatoJouninRasengan___Spell_allocate takes nothing returns integer + function s__MinatoJouninRasengan__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__MinatoJouninRasengan___Spell_Alloc__recycle[(0)] == 0 ) then - set s__MinatoJouninRasengan___Spell_Alloc__instanceCount=s__MinatoJouninRasengan___Spell_Alloc__instanceCount + 1 - set this=s__MinatoJouninRasengan___Spell_Alloc__instanceCount + if ( s__MinatoJouninRasengan__Spell_Alloc__recycle[(0)] == 0 ) then + set s__MinatoJouninRasengan__Spell_Alloc__instanceCount=s__MinatoJouninRasengan__Spell_Alloc__instanceCount + 1 + set this=s__MinatoJouninRasengan__Spell_Alloc__instanceCount else - set this=s__MinatoJouninRasengan___Spell_Alloc__recycle[(0)] - set s__MinatoJouninRasengan___Spell_Alloc__recycle[(0)]=s__MinatoJouninRasengan___Spell_Alloc__recycle[s__MinatoJouninRasengan___Spell_Alloc__recycle[(0)]] + set this=s__MinatoJouninRasengan__Spell_Alloc__recycle[(0)] + set s__MinatoJouninRasengan__Spell_Alloc__recycle[(0)]=s__MinatoJouninRasengan__Spell_Alloc__recycle[s__MinatoJouninRasengan__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__MinatoJouninRasengan___Spell_deallocate takes integer this returns nothing - set s__MinatoJouninRasengan___Spell_Alloc__recycle[this]=s__MinatoJouninRasengan___Spell_Alloc__recycle[(0)] - set s__MinatoJouninRasengan___Spell_Alloc__recycle[(0)]=this + function s__MinatoJouninRasengan__Spell_deallocate takes integer this returns nothing + set s__MinatoJouninRasengan__Spell_Alloc__recycle[this]=s__MinatoJouninRasengan__Spell_Alloc__recycle[(0)] + set s__MinatoJouninRasengan__Spell_Alloc__recycle[(0)]=this endfunction - function s__MinatoJouninRasengan___Spell_destroy takes integer this returns nothing + function s__MinatoJouninRasengan__Spell_destroy takes integer this returns nothing - call DestroyGroup(s__MinatoJouninRasengan___Spell_damaged[this]) - call KillUnit(s__MinatoJouninRasengan___Spell_dummy[this]) - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoJouninRasengan___Spell_target[this] ) , ( 0)) // INLINED!! - set s__MinatoJouninRasengan___Spell_damaged[this]=null - set s__MinatoJouninRasengan___Spell_dummy[this]=null - set s__MinatoJouninRasengan___Spell_caster[this]=null - set s__MinatoJouninRasengan___Spell_target[this]=null - call s__MinatoJouninRasengan___Spell_deallocate(this) + call DestroyGroup(s__MinatoJouninRasengan__Spell_damaged[this]) + call KillUnit(s__MinatoJouninRasengan__Spell_dummy[this]) + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoJouninRasengan__Spell_target[this] ) , ( 0)) // INLINED!! + set s__MinatoJouninRasengan__Spell_damaged[this]=null + set s__MinatoJouninRasengan__Spell_dummy[this]=null + set s__MinatoJouninRasengan__Spell_caster[this]=null + set s__MinatoJouninRasengan__Spell_target[this]=null + call s__MinatoJouninRasengan__Spell_deallocate(this) endfunction - function s__MinatoJouninRasengan___Spell_periodic takes nothing returns nothing + function s__MinatoJouninRasengan__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real unit_x local real unit_y @@ -90129,136 +90129,136 @@ endfunction local real angle local real angle_2 local integer i= 0 - set s__MinatoJouninRasengan___Spell_count[this]=s__MinatoJouninRasengan___Spell_count[this] + 1 - if s__MinatoJouninRasengan___Spell_count_2[this] < 3 then - set unit_x=GetUnitX(s__MinatoJouninRasengan___Spell_dummy[this]) - set unit_y=GetUnitY(s__MinatoJouninRasengan___Spell_dummy[this]) - set target_x=GetUnitX(s__MinatoJouninRasengan___Spell_target[this]) - set target_y=GetUnitY(s__MinatoJouninRasengan___Spell_target[this]) + set s__MinatoJouninRasengan__Spell_count[this]=s__MinatoJouninRasengan__Spell_count[this] + 1 + if s__MinatoJouninRasengan__Spell_count_2[this] < 3 then + set unit_x=GetUnitX(s__MinatoJouninRasengan__Spell_dummy[this]) + set unit_y=GetUnitY(s__MinatoJouninRasengan__Spell_dummy[this]) + set target_x=GetUnitX(s__MinatoJouninRasengan__Spell_target[this]) + set target_y=GetUnitY(s__MinatoJouninRasengan__Spell_target[this]) set angle=Atan2(( target_y - unit_y ), ( target_x - unit_x )) set new_x=unit_x + Cos(angle) * 50 set new_y=unit_y + Sin(angle) * 50 - call SetUnitX(s__MinatoJouninRasengan___Spell_dummy[this], new_x) - call SetUnitY(s__MinatoJouninRasengan___Spell_dummy[this], new_y) + call SetUnitX(s__MinatoJouninRasengan__Spell_dummy[this], new_x) + call SetUnitY(s__MinatoJouninRasengan__Spell_dummy[this], new_y) set distance_x=target_x - new_x set distance_y=target_y - new_y set distance=SquareRoot(distance_x * distance_x + distance_y * distance_y) - if distance <= 50 and s__MinatoJouninRasengan___Spell_count_2[this] == 0 then - set s__MinatoJouninRasengan___Spell_angle[this]=angle - set s__MinatoJouninRasengan___Spell_count_2[this]=1 + if distance <= 50 and s__MinatoJouninRasengan__Spell_count_2[this] == 0 then + set s__MinatoJouninRasengan__Spell_angle[this]=angle + set s__MinatoJouninRasengan__Spell_count_2[this]=1 endif - if ModuloInteger(s__MinatoJouninRasengan___Spell_count[this], 2) == 0 and s__MinatoJouninRasengan___Spell_count_2[this] < 1 then - if not s__MinatoJouninRasengan___Spell_b[this] then + if ModuloInteger(s__MinatoJouninRasengan__Spell_count[this], 2) == 0 and s__MinatoJouninRasengan__Spell_count_2[this] < 1 then + if not s__MinatoJouninRasengan__Spell_b[this] then set angle_2=angle + bj_PI / 2 - set s__MinatoJouninRasengan___Spell_b[this]=true + set s__MinatoJouninRasengan__Spell_b[this]=true else set angle_2=angle - bj_PI / 2 - set s__MinatoJouninRasengan___Spell_b[this]=false + set s__MinatoJouninRasengan__Spell_b[this]=false endif loop set i=i + 1 exitwhen i > 4 set new_x_2=new_x + Cos(angle_2) * ( 50 * i ) set new_y_2=new_y + Sin(angle_2) * ( 50 * i ) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRasengan___Spell_caster[this]), 'h09P', new_x_2, new_y_2, Rad2Deg(angle)) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRasengan__Spell_caster[this]), 'h09P', new_x_2, new_y_2, Rad2Deg(angle)) call SetUnitX(bj_lastCreatedUnit, new_x_2) call SetUnitY(bj_lastCreatedUnit, new_y_2) call SetUnitVertexColor(bj_lastCreatedUnit, 255, 255, 255, 100) call SetUnitAnimation(bj_lastCreatedUnit, "spell two") call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 0.15) endloop - call SetUnitX(s__MinatoJouninRasengan___Spell_caster[this], new_x_2) - call SetUnitY(s__MinatoJouninRasengan___Spell_caster[this], new_y_2) - endif - endif - if s__MinatoJouninRasengan___Spell_count_2[this] > 0 then - set s__MinatoJouninRasengan___Spell_count_2[this]=s__MinatoJouninRasengan___Spell_count_2[this] + 1 - if s__MinatoJouninRasengan___Spell_count_2[this] == 2 then - call UnitRemoveAbility(s__MinatoJouninRasengan___Spell_caster[this], 'A091') - set new_x_2=target_x + Cos(s__MinatoJouninRasengan___Spell_angle[this] + bj_PI) * 100 - set new_y_2=target_y + Sin(s__MinatoJouninRasengan___Spell_angle[this] + bj_PI) * 100 - call SetUnitX(s__MinatoJouninRasengan___Spell_caster[this], new_x_2) - call SetUnitY(s__MinatoJouninRasengan___Spell_caster[this], new_y_2) - elseif s__MinatoJouninRasengan___Spell_count_2[this] == 10 then - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoJouninRasengan___Spell_target[this] ) , ( 0)) // INLINED!! - call DestroyEffect(s__MinatoJouninRasengan___Spell_rasengan[this]) - call DestroyEffect(s__MinatoJouninRasengan___Spell_rasengan_2[this]) - set caster_x=GetUnitX(s__MinatoJouninRasengan___Spell_caster[this]) - set caster_y=GetUnitY(s__MinatoJouninRasengan___Spell_caster[this]) - set target_x=GetUnitX(s__MinatoJouninRasengan___Spell_target[this]) - set target_y=GetUnitY(s__MinatoJouninRasengan___Spell_target[this]) + call SetUnitX(s__MinatoJouninRasengan__Spell_caster[this], new_x_2) + call SetUnitY(s__MinatoJouninRasengan__Spell_caster[this], new_y_2) + endif + endif + if s__MinatoJouninRasengan__Spell_count_2[this] > 0 then + set s__MinatoJouninRasengan__Spell_count_2[this]=s__MinatoJouninRasengan__Spell_count_2[this] + 1 + if s__MinatoJouninRasengan__Spell_count_2[this] == 2 then + call UnitRemoveAbility(s__MinatoJouninRasengan__Spell_caster[this], 'A091') + set new_x_2=target_x + Cos(s__MinatoJouninRasengan__Spell_angle[this] + bj_PI) * 100 + set new_y_2=target_y + Sin(s__MinatoJouninRasengan__Spell_angle[this] + bj_PI) * 100 + call SetUnitX(s__MinatoJouninRasengan__Spell_caster[this], new_x_2) + call SetUnitY(s__MinatoJouninRasengan__Spell_caster[this], new_y_2) + elseif s__MinatoJouninRasengan__Spell_count_2[this] == 10 then + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoJouninRasengan__Spell_target[this] ) , ( 0)) // INLINED!! + call DestroyEffect(s__MinatoJouninRasengan__Spell_rasengan[this]) + call DestroyEffect(s__MinatoJouninRasengan__Spell_rasengan_2[this]) + set caster_x=GetUnitX(s__MinatoJouninRasengan__Spell_caster[this]) + set caster_y=GetUnitY(s__MinatoJouninRasengan__Spell_caster[this]) + set target_x=GetUnitX(s__MinatoJouninRasengan__Spell_target[this]) + set target_y=GetUnitY(s__MinatoJouninRasengan__Spell_target[this]) set angle=Atan2(( target_y - caster_y ), ( target_x - caster_x )) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRasengan___Spell_caster[this]), 'e02X', target_x, target_y, Rad2Deg(angle)) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRasengan__Spell_caster[this]), 'e02X', target_x, target_y, Rad2Deg(angle)) call SetUnitX(bj_lastCreatedUnit, target_x) call SetUnitY(bj_lastCreatedUnit, target_y) call SetUnitScale(bj_lastCreatedUnit, 1.5, 1.5, 1.5) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 3.0) - elseif s__MinatoJouninRasengan___Spell_count_2[this] > 10 and s__MinatoJouninRasengan___Spell_count_2[this] < 30 then - set target_x=GetUnitX(s__MinatoJouninRasengan___Spell_target[this]) - set target_y=GetUnitY(s__MinatoJouninRasengan___Spell_target[this]) - set new_x=target_x + Cos(s__MinatoJouninRasengan___Spell_angle[this]) * 25 - set new_y=target_y + Sin(s__MinatoJouninRasengan___Spell_angle[this]) * 25 + elseif s__MinatoJouninRasengan__Spell_count_2[this] > 10 and s__MinatoJouninRasengan__Spell_count_2[this] < 30 then + set target_x=GetUnitX(s__MinatoJouninRasengan__Spell_target[this]) + set target_y=GetUnitY(s__MinatoJouninRasengan__Spell_target[this]) + set new_x=target_x + Cos(s__MinatoJouninRasengan__Spell_angle[this]) * 25 + set new_y=target_y + Sin(s__MinatoJouninRasengan__Spell_angle[this]) * 25 if not IsTerrainPathable(new_x, new_y, PATHING_TYPE_WALKABILITY) then - call SetUnitX(s__MinatoJouninRasengan___Spell_target[this], new_x) - call SetUnitY(s__MinatoJouninRasengan___Spell_target[this], new_y) + call SetUnitX(s__MinatoJouninRasengan__Spell_target[this], new_x) + call SetUnitY(s__MinatoJouninRasengan__Spell_target[this], new_y) set bj_lastCreatedGroup=CreateGroup() call GroupEnumUnitsInRange(bj_lastCreatedGroup, new_x, new_y, 220, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MinatoJouninRasengan___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false and not IsUnitInGroup(bj_lastCreatedUnit, s__MinatoJouninRasengan___Spell_damaged[this]) then - call UnitDamageTarget(s__MinatoJouninRasengan___Spell_caster[this], bj_lastCreatedUnit, GetHeroAgi(s__MinatoJouninRasengan___Spell_caster[this], true) * GetUnitAbilityLevel(s__MinatoJouninRasengan___Spell_caster[this], s__MinatoJouninRasengan___Spell_SPELL_ID), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, null) - call GroupAddUnit(s__MinatoJouninRasengan___Spell_damaged[this], bj_lastCreatedUnit) + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MinatoJouninRasengan__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false and not IsUnitInGroup(bj_lastCreatedUnit, s__MinatoJouninRasengan__Spell_damaged[this]) then + call UnitDamageTarget(s__MinatoJouninRasengan__Spell_caster[this], bj_lastCreatedUnit, GetHeroAgi(s__MinatoJouninRasengan__Spell_caster[this], true) * GetUnitAbilityLevel(s__MinatoJouninRasengan__Spell_caster[this], s__MinatoJouninRasengan__Spell_SPELL_ID), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, null) + call GroupAddUnit(s__MinatoJouninRasengan__Spell_damaged[this], bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) else - set s__MinatoJouninRasengan___Spell_count[this]=30 + set s__MinatoJouninRasengan__Spell_count[this]=30 endif call DestroyEffect(AddSpecialEffect(("Abilities\\Weapons\\AncientProtectorMissile\\AncientProtectorMissile.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! endif endif - if s__MinatoJouninRasengan___Spell_count_2[this] >= 30 then - set target_x=GetUnitX(s__MinatoJouninRasengan___Spell_target[this]) - set target_y=GetUnitY(s__MinatoJouninRasengan___Spell_target[this]) - call s__MinatoJouninRasengan___Spell_destroy(this) + if s__MinatoJouninRasengan__Spell_count_2[this] >= 30 then + set target_x=GetUnitX(s__MinatoJouninRasengan__Spell_target[this]) + set target_y=GetUnitY(s__MinatoJouninRasengan__Spell_target[this]) + call s__MinatoJouninRasengan__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__MinatoJouninRasengan___Spell_actions takes nothing returns nothing - local integer this= s__MinatoJouninRasengan___Spell_allocate() + function s__MinatoJouninRasengan__Spell_actions takes nothing returns nothing + local integer this= s__MinatoJouninRasengan__Spell_allocate() local real caster_x local real caster_y - set s__MinatoJouninRasengan___Spell_damaged[this]=CreateGroup() - set s__MinatoJouninRasengan___Spell_caster[this]=GetTriggerUnit() - set s__MinatoJouninRasengan___Spell_target[this]=GetSpellTargetUnit() - set caster_x=GetUnitX(s__MinatoJouninRasengan___Spell_caster[this]) - set caster_y=GetUnitY(s__MinatoJouninRasengan___Spell_caster[this]) - set s__MinatoJouninRasengan___Spell_dummy[this]=CreateUnit(GetTriggerPlayer(), 'e007', caster_x, caster_y, 0) - call SetUnitX(s__MinatoJouninRasengan___Spell_dummy[this], caster_x) - call SetUnitY(s__MinatoJouninRasengan___Spell_dummy[this], caster_y) - set s__MinatoJouninRasengan___Spell_b[this]=false - set s__MinatoJouninRasengan___Spell_count[this]=0 - set s__MinatoJouninRasengan___Spell_count_2[this]=0 - call UnitAddAbility(s__MinatoJouninRasengan___Spell_caster[this], 'A091') - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoJouninRasengan___Spell_target[this] ) , ( 1)) // INLINED!! - call SetUnitAnimation(s__MinatoJouninRasengan___Spell_caster[this], "spell two") - set s__MinatoJouninRasengan___Spell_rasengan[this]=AddSpecialEffectTarget("war3mapImported\\lxw jhxcom_2000.mdx", s__MinatoJouninRasengan___Spell_caster[this], "right hand") - set s__MinatoJouninRasengan___Spell_rasengan_2[this]=AddSpecialEffectTarget("war3mapImported\\lxw jhxcom_2000.mdx", s__MinatoJouninRasengan___Spell_caster[this], "left hand") - call TimerStart(NewTimerEx(this), 0.04, true, function s__MinatoJouninRasengan___Spell_periodic) - endfunction - - function s__MinatoJouninRasengan___Spell_dies takes nothing returns nothing + set s__MinatoJouninRasengan__Spell_damaged[this]=CreateGroup() + set s__MinatoJouninRasengan__Spell_caster[this]=GetTriggerUnit() + set s__MinatoJouninRasengan__Spell_target[this]=GetSpellTargetUnit() + set caster_x=GetUnitX(s__MinatoJouninRasengan__Spell_caster[this]) + set caster_y=GetUnitY(s__MinatoJouninRasengan__Spell_caster[this]) + set s__MinatoJouninRasengan__Spell_dummy[this]=CreateUnit(GetTriggerPlayer(), 'e007', caster_x, caster_y, 0) + call SetUnitX(s__MinatoJouninRasengan__Spell_dummy[this], caster_x) + call SetUnitY(s__MinatoJouninRasengan__Spell_dummy[this], caster_y) + set s__MinatoJouninRasengan__Spell_b[this]=false + set s__MinatoJouninRasengan__Spell_count[this]=0 + set s__MinatoJouninRasengan__Spell_count_2[this]=0 + call UnitAddAbility(s__MinatoJouninRasengan__Spell_caster[this], 'A091') + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoJouninRasengan__Spell_target[this] ) , ( 1)) // INLINED!! + call SetUnitAnimation(s__MinatoJouninRasengan__Spell_caster[this], "spell two") + set s__MinatoJouninRasengan__Spell_rasengan[this]=AddSpecialEffectTarget("war3mapImported\\lxw jhxcom_2000.mdx", s__MinatoJouninRasengan__Spell_caster[this], "right hand") + set s__MinatoJouninRasengan__Spell_rasengan_2[this]=AddSpecialEffectTarget("war3mapImported\\lxw jhxcom_2000.mdx", s__MinatoJouninRasengan__Spell_caster[this], "left hand") + call TimerStart(NewTimerEx(this), 0.04, true, function s__MinatoJouninRasengan__Spell_periodic) + endfunction + + function s__MinatoJouninRasengan__Spell_dies takes nothing returns nothing if GetUnitTypeId(GetTriggerUnit()) == 'h083' or GetUnitTypeId(GetTriggerUnit()) == 'e030' or GetUnitTypeId(GetTriggerUnit()) == 'h09P' or GetUnitTypeId(GetTriggerUnit()) == 'e03S' then call ShowUnit(GetTriggerUnit(), false) endif endfunction - function s__MinatoJouninRasengan___Spell_onInit takes nothing returns nothing - call RegisterPlayerUnitEvent2((EVENT_PLAYER_UNIT_DEATH ) , Filter(( function s__MinatoJouninRasengan___Spell_dies))) // INLINED!! - call RegisterSpellEffectEvent2((s__MinatoJouninRasengan___Spell_SPELL_ID ) , Filter(( function s__MinatoJouninRasengan___Spell_actions))) // INLINED!! + function s__MinatoJouninRasengan__Spell_onInit takes nothing returns nothing + call RegisterPlayerUnitEvent2((EVENT_PLAYER_UNIT_DEATH ) , Filter(( function s__MinatoJouninRasengan__Spell_dies))) // INLINED!! + call RegisterSpellEffectEvent2((s__MinatoJouninRasengan__Spell_SPELL_ID ) , Filter(( function s__MinatoJouninRasengan__Spell_actions))) // INLINED!! endfunction @@ -90273,37 +90273,37 @@ endfunction //Implemented from module Alloc: - function s__MinatoJouninHiraishin___Spell_allocate takes nothing returns integer + function s__MinatoJouninHiraishin__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__MinatoJouninHiraishin___Spell_Alloc__recycle[(0)] == 0 ) then - set s__MinatoJouninHiraishin___Spell_Alloc__instanceCount=s__MinatoJouninHiraishin___Spell_Alloc__instanceCount + 1 - set this=s__MinatoJouninHiraishin___Spell_Alloc__instanceCount + if ( s__MinatoJouninHiraishin__Spell_Alloc__recycle[(0)] == 0 ) then + set s__MinatoJouninHiraishin__Spell_Alloc__instanceCount=s__MinatoJouninHiraishin__Spell_Alloc__instanceCount + 1 + set this=s__MinatoJouninHiraishin__Spell_Alloc__instanceCount else - set this=s__MinatoJouninHiraishin___Spell_Alloc__recycle[(0)] - set s__MinatoJouninHiraishin___Spell_Alloc__recycle[(0)]=s__MinatoJouninHiraishin___Spell_Alloc__recycle[s__MinatoJouninHiraishin___Spell_Alloc__recycle[(0)]] + set this=s__MinatoJouninHiraishin__Spell_Alloc__recycle[(0)] + set s__MinatoJouninHiraishin__Spell_Alloc__recycle[(0)]=s__MinatoJouninHiraishin__Spell_Alloc__recycle[s__MinatoJouninHiraishin__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__MinatoJouninHiraishin___Spell_deallocate takes integer this returns nothing - set s__MinatoJouninHiraishin___Spell_Alloc__recycle[this]=s__MinatoJouninHiraishin___Spell_Alloc__recycle[(0)] - set s__MinatoJouninHiraishin___Spell_Alloc__recycle[(0)]=this + function s__MinatoJouninHiraishin__Spell_deallocate takes integer this returns nothing + set s__MinatoJouninHiraishin__Spell_Alloc__recycle[this]=s__MinatoJouninHiraishin__Spell_Alloc__recycle[(0)] + set s__MinatoJouninHiraishin__Spell_Alloc__recycle[(0)]=this endfunction - function s__MinatoJouninHiraishin___Spell_destroy takes integer this returns nothing - set s__MinatoJouninHiraishin___Spell_damaged[this]=null - set s__MinatoJouninHiraishin___Spell_caster[this]=null - set s__MinatoJouninHiraishin___Spell_target[this]=null - set s__MinatoJouninHiraishin___Spell_kunai[this]=null - call s__MinatoJouninHiraishin___Spell_deallocate(this) + function s__MinatoJouninHiraishin__Spell_destroy takes integer this returns nothing + set s__MinatoJouninHiraishin__Spell_damaged[this]=null + set s__MinatoJouninHiraishin__Spell_caster[this]=null + set s__MinatoJouninHiraishin__Spell_target[this]=null + set s__MinatoJouninHiraishin__Spell_kunai[this]=null + call s__MinatoJouninHiraishin__Spell_deallocate(this) endfunction - function s__MinatoJouninHiraishin___Spell_damage takes nothing returns nothing + function s__MinatoJouninHiraishin__Spell_damage takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real caster_x local real caster_y @@ -90313,23 +90313,23 @@ endfunction local real new_y local real angle local integer i= 0 - set bj_lastCreatedUnit=FirstOfGroup(s__MinatoJouninHiraishin___Spell_damaged[this]) + set bj_lastCreatedUnit=FirstOfGroup(s__MinatoJouninHiraishin__Spell_damaged[this]) if bj_lastCreatedUnit != null then - set caster_x=GetUnitX(s__MinatoJouninHiraishin___Spell_caster[this]) - set caster_y=GetUnitY(s__MinatoJouninHiraishin___Spell_caster[this]) + set caster_x=GetUnitX(s__MinatoJouninHiraishin__Spell_caster[this]) + set caster_y=GetUnitY(s__MinatoJouninHiraishin__Spell_caster[this]) set unit_x=GetUnitX(bj_lastCreatedUnit) set unit_y=GetUnitY(bj_lastCreatedUnit) set angle=Atan2(( caster_y - unit_y ), ( caster_x - unit_x )) set new_x=unit_x + Cos(angle) * 100 set new_y=unit_y + Sin(angle) * 100 call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Other\\Stampede\\StampedeMissileDeath.mdl" ), (( unit_x )*1.0), (( unit_y)*1.0))) // INLINED!! - call SetUnitX(s__MinatoJouninHiraishin___Spell_caster[this], new_x) - call SetUnitY(s__MinatoJouninHiraishin___Spell_caster[this], new_y) - call SetUnitFacing(s__MinatoJouninHiraishin___Spell_caster[this], Rad2Deg(angle)) - call SetUnitAnimation(s__MinatoJouninHiraishin___Spell_caster[this], "attack") - call UnitDamageTarget(s__MinatoJouninHiraishin___Spell_caster[this], bj_lastCreatedUnit, 85 * GetUnitAbilityLevel(s__MinatoJouninHiraishin___Spell_caster[this], s__MinatoJouninHiraishin___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) - call GroupRemoveUnit(s__MinatoJouninHiraishin___Spell_damaged[this], bj_lastCreatedUnit) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninHiraishin___Spell_caster[this]), 'e02X', new_x, new_y, GetUnitFacing(s__MinatoJouninHiraishin___Spell_caster[this])) + call SetUnitX(s__MinatoJouninHiraishin__Spell_caster[this], new_x) + call SetUnitY(s__MinatoJouninHiraishin__Spell_caster[this], new_y) + call SetUnitFacing(s__MinatoJouninHiraishin__Spell_caster[this], Rad2Deg(angle)) + call SetUnitAnimation(s__MinatoJouninHiraishin__Spell_caster[this], "attack") + call UnitDamageTarget(s__MinatoJouninHiraishin__Spell_caster[this], bj_lastCreatedUnit, 85 * GetUnitAbilityLevel(s__MinatoJouninHiraishin__Spell_caster[this], s__MinatoJouninHiraishin__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + call GroupRemoveUnit(s__MinatoJouninHiraishin__Spell_damaged[this], bj_lastCreatedUnit) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninHiraishin__Spell_caster[this]), 'e02X', new_x, new_y, GetUnitFacing(s__MinatoJouninHiraishin__Spell_caster[this])) call SetUnitX(bj_lastCreatedUnit, new_x) call SetUnitY(bj_lastCreatedUnit, new_y) call SetUnitTimeScale(bj_lastCreatedUnit, 0.0) @@ -90337,15 +90337,15 @@ endfunction call SetUnitVertexColor(bj_lastCreatedUnit, 255, 255, 255, 100) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 0.15) else - call SetUnitTimeScale(s__MinatoJouninHiraishin___Spell_caster[this], 1.0) - call UnitRemoveAbility(s__MinatoJouninHiraishin___Spell_caster[this], 'A091') - call DestroyGroup(s__MinatoJouninHiraishin___Spell_damaged[this]) - call s__MinatoJouninHiraishin___Spell_destroy(this) + call SetUnitTimeScale(s__MinatoJouninHiraishin__Spell_caster[this], 1.0) + call UnitRemoveAbility(s__MinatoJouninHiraishin__Spell_caster[this], 'A091') + call DestroyGroup(s__MinatoJouninHiraishin__Spell_damaged[this]) + call s__MinatoJouninHiraishin__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__MinatoJouninHiraishin___Spell_throw takes nothing returns nothing + function s__MinatoJouninHiraishin__Spell_throw takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real kunai_x local real kunai_y @@ -90355,80 +90355,80 @@ endfunction local real new_y local real angle local integer i - set kunai_x=GetUnitX(s__MinatoJouninHiraishin___Spell_kunai[this]) - set kunai_y=GetUnitY(s__MinatoJouninHiraishin___Spell_kunai[this]) - if s__MinatoJouninHiraishin___Spell_target[this] == null then - set target_x=s__MinatoJouninHiraishin___Spell_target_x[this] - set target_y=s__MinatoJouninHiraishin___Spell_target_y[this] + set kunai_x=GetUnitX(s__MinatoJouninHiraishin__Spell_kunai[this]) + set kunai_y=GetUnitY(s__MinatoJouninHiraishin__Spell_kunai[this]) + if s__MinatoJouninHiraishin__Spell_target[this] == null then + set target_x=s__MinatoJouninHiraishin__Spell_target_x[this] + set target_y=s__MinatoJouninHiraishin__Spell_target_y[this] else - set target_x=GetUnitX(s__MinatoJouninHiraishin___Spell_target[this]) - set target_y=GetUnitY(s__MinatoJouninHiraishin___Spell_target[this]) + set target_x=GetUnitX(s__MinatoJouninHiraishin__Spell_target[this]) + set target_y=GetUnitY(s__MinatoJouninHiraishin__Spell_target[this]) endif set angle=Atan2(target_y - kunai_y, target_x - kunai_x) set new_x=kunai_x + Cos(angle) * 50 set new_y=kunai_y + Sin(angle) * 50 - call SetUnitX(s__MinatoJouninHiraishin___Spell_kunai[this], new_x) - call SetUnitY(s__MinatoJouninHiraishin___Spell_kunai[this], new_y) - call SetUnitFacing(s__MinatoJouninHiraishin___Spell_kunai[this], angle * bj_RADTODEG) + call SetUnitX(s__MinatoJouninHiraishin__Spell_kunai[this], new_x) + call SetUnitY(s__MinatoJouninHiraishin__Spell_kunai[this], new_y) + call SetUnitFacing(s__MinatoJouninHiraishin__Spell_kunai[this], angle * bj_RADTODEG) if GetDistance(new_x , new_y , target_x , target_y) <= 50 then - call RemoveUnit(s__MinatoJouninHiraishin___Spell_kunai[this]) - if s__MinatoJouninHiraishin___Spell_target[this] == null then - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninHiraishin___Spell_caster[this]), 'h084', target_x, target_y, angle * bj_RADTODEG) + call RemoveUnit(s__MinatoJouninHiraishin__Spell_kunai[this]) + if s__MinatoJouninHiraishin__Spell_target[this] == null then + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninHiraishin__Spell_caster[this]), 'h084', target_x, target_y, angle * bj_RADTODEG) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 10.0) - call s__MinatoJouninHiraishin___Spell_destroy(this) + call s__MinatoJouninHiraishin__Spell_destroy(this) else - if ( IsUnitAlly(s__MinatoJouninHiraishin___Spell_target[this], GetOwningPlayer(s__MinatoJouninHiraishin___Spell_caster[this])) or IsUnitType(s__MinatoJouninHiraishin___Spell_target[this], UNIT_TYPE_HERO) == true ) then - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninHiraishin___Spell_target[this]), 'e007', target_x, target_y, 0) + if ( IsUnitAlly(s__MinatoJouninHiraishin__Spell_target[this], GetOwningPlayer(s__MinatoJouninHiraishin__Spell_caster[this])) or IsUnitType(s__MinatoJouninHiraishin__Spell_target[this], UNIT_TYPE_HERO) == true ) then + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninHiraishin__Spell_target[this]), 'e007', target_x, target_y, 0) call UnitAddAbility(bj_lastCreatedUnit, 'A0PS') - call IssueTargetOrder(bj_lastCreatedUnit, "innerfire", s__MinatoJouninHiraishin___Spell_target[this]) + call IssueTargetOrder(bj_lastCreatedUnit, "innerfire", s__MinatoJouninHiraishin__Spell_target[this]) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 1.0) - call s__MinatoJouninHiraishin___Spell_destroy(this) + call s__MinatoJouninHiraishin__Spell_destroy(this) else - set s__MinatoJouninHiraishin___Spell_damaged[this]=CreateGroup() + set s__MinatoJouninHiraishin__Spell_damaged[this]=CreateGroup() set i=0 set bj_lastCreatedGroup=CreateGroup() call GroupEnumUnitsInRange(bj_lastCreatedGroup, target_x, target_y, 400, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MinatoJouninHiraishin___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false and i < 12 then - call GroupAddUnit(s__MinatoJouninHiraishin___Spell_damaged[this], bj_lastCreatedUnit) + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MinatoJouninHiraishin__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false and i < 12 then + call GroupAddUnit(s__MinatoJouninHiraishin__Spell_damaged[this], bj_lastCreatedUnit) set i=i + 1 endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - call KillUnit(s__MinatoJouninHiraishin___Spell_kunai[this]) - call ShowUnit(s__MinatoJouninHiraishin___Spell_kunai[this], false) - call SetUnitTimeScale(s__MinatoJouninHiraishin___Spell_caster[this], 10.0) - call UnitAddAbility(s__MinatoJouninHiraishin___Spell_caster[this], 'A091') - call TimerStart(NewTimerEx(this), 0.05, true, function s__MinatoJouninHiraishin___Spell_damage) + call KillUnit(s__MinatoJouninHiraishin__Spell_kunai[this]) + call ShowUnit(s__MinatoJouninHiraishin__Spell_kunai[this], false) + call SetUnitTimeScale(s__MinatoJouninHiraishin__Spell_caster[this], 10.0) + call UnitAddAbility(s__MinatoJouninHiraishin__Spell_caster[this], 'A091') + call TimerStart(NewTimerEx(this), 0.05, true, function s__MinatoJouninHiraishin__Spell_damage) endif endif call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__MinatoJouninHiraishin___Spell_actions takes nothing returns nothing - local integer this= s__MinatoJouninHiraishin___Spell_allocate() + function s__MinatoJouninHiraishin__Spell_actions takes nothing returns nothing + local integer this= s__MinatoJouninHiraishin__Spell_allocate() local real caster_x= GetUnitX(GetTriggerUnit()) local real caster_y= GetUnitY(GetTriggerUnit()) - set s__MinatoJouninHiraishin___Spell_caster[this]=GetTriggerUnit() + set s__MinatoJouninHiraishin__Spell_caster[this]=GetTriggerUnit() if GetSpellTargetUnit() == null then - set s__MinatoJouninHiraishin___Spell_target_x[this]=GetSpellTargetX() - set s__MinatoJouninHiraishin___Spell_target_y[this]=GetSpellTargetY() + set s__MinatoJouninHiraishin__Spell_target_x[this]=GetSpellTargetX() + set s__MinatoJouninHiraishin__Spell_target_y[this]=GetSpellTargetY() else - set s__MinatoJouninHiraishin___Spell_target[this]=GetSpellTargetUnit() + set s__MinatoJouninHiraishin__Spell_target[this]=GetSpellTargetUnit() endif - set s__MinatoJouninHiraishin___Spell_kunai[this]=CreateUnit(GetTriggerPlayer(), 'h00T', caster_x, caster_y, GetUnitFacing(s__MinatoJouninHiraishin___Spell_caster[this])) - call SetUnitX(s__MinatoJouninHiraishin___Spell_kunai[this], caster_x) - call SetUnitY(s__MinatoJouninHiraishin___Spell_kunai[this], caster_y) + set s__MinatoJouninHiraishin__Spell_kunai[this]=CreateUnit(GetTriggerPlayer(), 'h00T', caster_x, caster_y, GetUnitFacing(s__MinatoJouninHiraishin__Spell_caster[this])) + call SetUnitX(s__MinatoJouninHiraishin__Spell_kunai[this], caster_x) + call SetUnitY(s__MinatoJouninHiraishin__Spell_kunai[this], caster_y) //call AddSpecialEffectTarget("Abilities\\Spells\\Other\\HealingSpray\\HealBottleMissile.mdl", this.kunai, "origin") - call TimerStart(NewTimerEx(this), 0.03, true, function s__MinatoJouninHiraishin___Spell_throw) + call TimerStart(NewTimerEx(this), 0.03, true, function s__MinatoJouninHiraishin__Spell_throw) endfunction - function s__MinatoJouninHiraishin___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEvent2((s__MinatoJouninHiraishin___Spell_SPELL_ID ) , Filter(( function s__MinatoJouninHiraishin___Spell_actions))) // INLINED!! + function s__MinatoJouninHiraishin__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEvent2((s__MinatoJouninHiraishin__Spell_SPELL_ID ) , Filter(( function s__MinatoJouninHiraishin__Spell_actions))) // INLINED!! endfunction @@ -90441,69 +90441,69 @@ endfunction //Implemented from module Alloc: - function s__MinatoJouninNewShunshin___Spell_allocate takes nothing returns integer + function s__MinatoJouninNewShunshin__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__MinatoJouninNewShunshin___Spell_Alloc__recycle[(0)] == 0 ) then - set s__MinatoJouninNewShunshin___Spell_Alloc__instanceCount=s__MinatoJouninNewShunshin___Spell_Alloc__instanceCount + 1 - set this=s__MinatoJouninNewShunshin___Spell_Alloc__instanceCount + if ( s__MinatoJouninNewShunshin__Spell_Alloc__recycle[(0)] == 0 ) then + set s__MinatoJouninNewShunshin__Spell_Alloc__instanceCount=s__MinatoJouninNewShunshin__Spell_Alloc__instanceCount + 1 + set this=s__MinatoJouninNewShunshin__Spell_Alloc__instanceCount else - set this=s__MinatoJouninNewShunshin___Spell_Alloc__recycle[(0)] - set s__MinatoJouninNewShunshin___Spell_Alloc__recycle[(0)]=s__MinatoJouninNewShunshin___Spell_Alloc__recycle[s__MinatoJouninNewShunshin___Spell_Alloc__recycle[(0)]] + set this=s__MinatoJouninNewShunshin__Spell_Alloc__recycle[(0)] + set s__MinatoJouninNewShunshin__Spell_Alloc__recycle[(0)]=s__MinatoJouninNewShunshin__Spell_Alloc__recycle[s__MinatoJouninNewShunshin__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__MinatoJouninNewShunshin___Spell_deallocate takes integer this returns nothing - set s__MinatoJouninNewShunshin___Spell_Alloc__recycle[this]=s__MinatoJouninNewShunshin___Spell_Alloc__recycle[(0)] - set s__MinatoJouninNewShunshin___Spell_Alloc__recycle[(0)]=this + function s__MinatoJouninNewShunshin__Spell_deallocate takes integer this returns nothing + set s__MinatoJouninNewShunshin__Spell_Alloc__recycle[this]=s__MinatoJouninNewShunshin__Spell_Alloc__recycle[(0)] + set s__MinatoJouninNewShunshin__Spell_Alloc__recycle[(0)]=this endfunction - function s__MinatoJouninNewShunshin___Spell_destroy takes integer this returns nothing - call UnitRemoveAbility(s__MinatoJouninNewShunshin___Spell_target[this], s__MinatoJouninNewShunshin___Spell_BUFF_ID) - set s__MinatoJouninNewShunshin___Spell_caster[this]=null - set s__MinatoJouninNewShunshin___Spell_target[this]=null - call s__MinatoJouninNewShunshin___Spell_deallocate(this) + function s__MinatoJouninNewShunshin__Spell_destroy takes integer this returns nothing + call UnitRemoveAbility(s__MinatoJouninNewShunshin__Spell_target[this], s__MinatoJouninNewShunshin__Spell_BUFF_ID) + set s__MinatoJouninNewShunshin__Spell_caster[this]=null + set s__MinatoJouninNewShunshin__Spell_target[this]=null + call s__MinatoJouninNewShunshin__Spell_deallocate(this) endfunction - function s__MinatoJouninNewShunshin___Spell_ally takes nothing returns nothing + function s__MinatoJouninNewShunshin__Spell_ally takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real new_x local real new_y - set new_x=s__MinatoJouninNewShunshin___Spell_caster_x[this] + Cos(s__MinatoJouninNewShunshin___Spell_angle[this]) * 100 - set new_y=s__MinatoJouninNewShunshin___Spell_caster_y[this] + Sin(s__MinatoJouninNewShunshin___Spell_angle[this]) * 100 - call SetUnitX(s__MinatoJouninNewShunshin___Spell_caster[this], s__MinatoJouninNewShunshin___Spell_caster_x[this]) - call SetUnitY(s__MinatoJouninNewShunshin___Spell_caster[this], s__MinatoJouninNewShunshin___Spell_caster_y[this]) - call SetUnitX(s__MinatoJouninNewShunshin___Spell_target[this], new_x) - call SetUnitY(s__MinatoJouninNewShunshin___Spell_target[this], new_y) - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoJouninNewShunshin___Spell_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoJouninNewShunshin___Spell_target[this] ) , ( 0)) // INLINED!! - call s__MinatoJouninNewShunshin___Spell_destroy(this) + set new_x=s__MinatoJouninNewShunshin__Spell_caster_x[this] + Cos(s__MinatoJouninNewShunshin__Spell_angle[this]) * 100 + set new_y=s__MinatoJouninNewShunshin__Spell_caster_y[this] + Sin(s__MinatoJouninNewShunshin__Spell_angle[this]) * 100 + call SetUnitX(s__MinatoJouninNewShunshin__Spell_caster[this], s__MinatoJouninNewShunshin__Spell_caster_x[this]) + call SetUnitY(s__MinatoJouninNewShunshin__Spell_caster[this], s__MinatoJouninNewShunshin__Spell_caster_y[this]) + call SetUnitX(s__MinatoJouninNewShunshin__Spell_target[this], new_x) + call SetUnitY(s__MinatoJouninNewShunshin__Spell_target[this], new_y) + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoJouninNewShunshin__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoJouninNewShunshin__Spell_target[this] ) , ( 0)) // INLINED!! + call s__MinatoJouninNewShunshin__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__MinatoJouninNewShunshin___Spell_enemy takes nothing returns nothing + function s__MinatoJouninNewShunshin__Spell_enemy takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real caster_x local real caster_y - set caster_x=GetUnitX(s__MinatoJouninNewShunshin___Spell_caster[this]) - set caster_y=GetUnitY(s__MinatoJouninNewShunshin___Spell_caster[this]) - call SetUnitTimeScale(s__MinatoJouninNewShunshin___Spell_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoJouninNewShunshin___Spell_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoJouninNewShunshin___Spell_target[this] ) , ( 0)) // INLINED!! + set caster_x=GetUnitX(s__MinatoJouninNewShunshin__Spell_caster[this]) + set caster_y=GetUnitY(s__MinatoJouninNewShunshin__Spell_caster[this]) + call SetUnitTimeScale(s__MinatoJouninNewShunshin__Spell_caster[this], 1.0) + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoJouninNewShunshin__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoJouninNewShunshin__Spell_target[this] ) , ( 0)) // INLINED!! //call SetUnitAnimation(this.caster, "attack") - call SetUnitAnimation(s__MinatoJouninNewShunshin___Spell_target[this], "death") - call StunUnitTimed(s__MinatoJouninNewShunshin___Spell_caster[this] , s__MinatoJouninNewShunshin___Spell_target[this] , 1.5) - call UnitDamageTarget(s__MinatoJouninNewShunshin___Spell_caster[this], s__MinatoJouninNewShunshin___Spell_target[this], 0.5 * GetHeroAgi(s__MinatoJouninNewShunshin___Spell_caster[this], true) * GetUnitAbilityLevel(s__MinatoJouninNewShunshin___Spell_caster[this], s__MinatoJouninNewShunshin___Spell_SPELL_ID), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) - call s__MinatoJouninNewShunshin___Spell_destroy(this) + call SetUnitAnimation(s__MinatoJouninNewShunshin__Spell_target[this], "death") + call StunUnitTimed(s__MinatoJouninNewShunshin__Spell_caster[this] , s__MinatoJouninNewShunshin__Spell_target[this] , 1.5) + call UnitDamageTarget(s__MinatoJouninNewShunshin__Spell_caster[this], s__MinatoJouninNewShunshin__Spell_target[this], 0.5 * GetHeroAgi(s__MinatoJouninNewShunshin__Spell_caster[this], true) * GetUnitAbilityLevel(s__MinatoJouninNewShunshin__Spell_caster[this], s__MinatoJouninNewShunshin__Spell_SPELL_ID), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + call s__MinatoJouninNewShunshin__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__MinatoJouninNewShunshin___Spell_teleport takes nothing returns nothing + function s__MinatoJouninNewShunshin__Spell_teleport takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real caster_x local real caster_y @@ -90513,29 +90513,29 @@ endfunction local real new_y local real angle local integer i= 0 - set caster_x=GetUnitX(s__MinatoJouninNewShunshin___Spell_caster[this]) - set caster_y=GetUnitY(s__MinatoJouninNewShunshin___Spell_caster[this]) - set target_x=GetUnitX(s__MinatoJouninNewShunshin___Spell_target[this]) - set target_y=GetUnitY(s__MinatoJouninNewShunshin___Spell_target[this]) + set caster_x=GetUnitX(s__MinatoJouninNewShunshin__Spell_caster[this]) + set caster_y=GetUnitY(s__MinatoJouninNewShunshin__Spell_caster[this]) + set target_x=GetUnitX(s__MinatoJouninNewShunshin__Spell_target[this]) + set target_y=GetUnitY(s__MinatoJouninNewShunshin__Spell_target[this]) set angle=Atan2(( target_y - caster_y ), ( target_x - caster_x )) set new_x=target_x + Cos(angle) * 150 set new_y=target_y + Sin(angle) * 150 call DestroyEffect(AddSpecialEffect(("DivineRage.mdx" ), (( caster_x )*1.0), (( caster_y)*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("DivineRage.mdx" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! - call SetUnitX(s__MinatoJouninNewShunshin___Spell_caster[this], new_x) - call SetUnitY(s__MinatoJouninNewShunshin___Spell_caster[this], new_y) - call SetUnitFacing(s__MinatoJouninNewShunshin___Spell_caster[this], Rad2Deg(angle + bj_PI)) - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoJouninNewShunshin___Spell_target[this] ) , ( 1)) // INLINED!! + call SetUnitX(s__MinatoJouninNewShunshin__Spell_caster[this], new_x) + call SetUnitY(s__MinatoJouninNewShunshin__Spell_caster[this], new_y) + call SetUnitFacing(s__MinatoJouninNewShunshin__Spell_caster[this], Rad2Deg(angle + bj_PI)) + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoJouninNewShunshin__Spell_target[this] ) , ( 1)) // INLINED!! loop set i=i + 1 exitwhen i > 10 - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninNewShunshin___Spell_caster[this]), 'e007', new_x, new_y, GetRandomReal(0, 360)) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninNewShunshin__Spell_caster[this]), 'e007', new_x, new_y, GetRandomReal(0, 360)) call SetUnitX(bj_lastCreatedUnit, new_x) call SetUnitY(bj_lastCreatedUnit, new_y) call SetUnitScale(bj_lastCreatedUnit, 3.0, 3.0, 3.0) call SetUnitTimeScale(bj_lastCreatedUnit, GetRandomReal(1.0, 3.0)) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', GetRandomReal(0.2, 0.5)) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninNewShunshin___Spell_caster[this]), 'e007', caster_x, caster_y, GetRandomReal(0, 360)) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninNewShunshin__Spell_caster[this]), 'e007', caster_x, caster_y, GetRandomReal(0, 360)) call SetUnitX(bj_lastCreatedUnit, caster_x) call SetUnitY(bj_lastCreatedUnit, caster_y) call SetUnitScale(bj_lastCreatedUnit, 3.0, 3.0, 3.0) @@ -90544,24 +90544,24 @@ endfunction endloop call TerrainDeformRipple(caster_x, caster_y, 200, 600, 700, 1, 400, 1, 1.0, false) call TerrainDeformRipple(new_x, new_y, 200, 600, 700, 1, 400, 1, 1.0, false) - if IsUnitEnemy(s__MinatoJouninNewShunshin___Spell_target[this], GetOwningPlayer(s__MinatoJouninNewShunshin___Spell_caster[this])) then - call SetUnitAnimation(s__MinatoJouninNewShunshin___Spell_caster[this], "spell three") - call TimerStart(NewTimerEx(this), 1.0, false, function s__MinatoJouninNewShunshin___Spell_enemy) + if IsUnitEnemy(s__MinatoJouninNewShunshin__Spell_target[this], GetOwningPlayer(s__MinatoJouninNewShunshin__Spell_caster[this])) then + call SetUnitAnimation(s__MinatoJouninNewShunshin__Spell_caster[this], "spell three") + call TimerStart(NewTimerEx(this), 1.0, false, function s__MinatoJouninNewShunshin__Spell_enemy) else - set s__MinatoJouninNewShunshin___Spell_angle[this]=angle - call TimerStart(NewTimerEx(this), 0.5, false, function s__MinatoJouninNewShunshin___Spell_ally) + set s__MinatoJouninNewShunshin__Spell_angle[this]=angle + call TimerStart(NewTimerEx(this), 0.5, false, function s__MinatoJouninNewShunshin__Spell_ally) endif call ReleaseTimer(GetExpiredTimer()) endfunction - function s__MinatoJouninNewShunshin___Spell_getMarkedUnit takes nothing returns unit + function s__MinatoJouninNewShunshin__Spell_getMarkedUnit takes nothing returns unit local unit u= null set bj_lastCreatedGroup=CreateGroup() call GroupEnumUnitsInRect(bj_lastCreatedGroup, bj_mapInitialPlayableArea, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if GetUnitAbilityLevel(bj_lastCreatedUnit, s__MinatoJouninNewShunshin___Spell_BUFF_ID) > 0 and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then + if GetUnitAbilityLevel(bj_lastCreatedUnit, s__MinatoJouninNewShunshin__Spell_BUFF_ID) > 0 and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then set u=bj_lastCreatedUnit endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) @@ -90569,14 +90569,14 @@ endfunction return u endfunction - function s__MinatoJouninNewShunshin___Spell_getMarkedKunai takes nothing returns unit + function s__MinatoJouninNewShunshin__Spell_getMarkedKunai takes nothing returns unit local unit u= null set bj_lastCreatedGroup=CreateGroup() call GroupEnumUnitsInRect(bj_lastCreatedGroup, bj_mapInitialPlayableArea, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if GetUnitTypeId(bj_lastCreatedUnit) == s__MinatoJouninNewShunshin___Spell_UNIT_ID and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then + if GetUnitTypeId(bj_lastCreatedUnit) == s__MinatoJouninNewShunshin__Spell_UNIT_ID and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then set u=bj_lastCreatedUnit endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) @@ -90584,19 +90584,19 @@ endfunction return u endfunction - function s__MinatoJouninNewShunshin___Spell_actions takes nothing returns nothing + function s__MinatoJouninNewShunshin__Spell_actions takes nothing returns nothing local integer this local unit u - if s__MinatoJouninNewShunshin___Spell_getMarkedUnit() != null then - set this=s__MinatoJouninNewShunshin___Spell_allocate() - set s__MinatoJouninNewShunshin___Spell_caster[this]=GetTriggerUnit() - set s__MinatoJouninNewShunshin___Spell_target[this]=s__MinatoJouninNewShunshin___Spell_getMarkedUnit() - set s__MinatoJouninNewShunshin___Spell_caster_x[this]=GetUnitX(s__MinatoJouninNewShunshin___Spell_caster[this]) - set s__MinatoJouninNewShunshin___Spell_caster_y[this]=GetUnitY(s__MinatoJouninNewShunshin___Spell_caster[this]) - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoJouninNewShunshin___Spell_caster[this] ) , ( 1)) // INLINED!! - call TimerStart(NewTimerEx(this), 0.1, false, function s__MinatoJouninNewShunshin___Spell_teleport) - elseif s__MinatoJouninNewShunshin___Spell_getMarkedKunai() != null then - set u=s__MinatoJouninNewShunshin___Spell_getMarkedKunai() + if s__MinatoJouninNewShunshin__Spell_getMarkedUnit() != null then + set this=s__MinatoJouninNewShunshin__Spell_allocate() + set s__MinatoJouninNewShunshin__Spell_caster[this]=GetTriggerUnit() + set s__MinatoJouninNewShunshin__Spell_target[this]=s__MinatoJouninNewShunshin__Spell_getMarkedUnit() + set s__MinatoJouninNewShunshin__Spell_caster_x[this]=GetUnitX(s__MinatoJouninNewShunshin__Spell_caster[this]) + set s__MinatoJouninNewShunshin__Spell_caster_y[this]=GetUnitY(s__MinatoJouninNewShunshin__Spell_caster[this]) + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoJouninNewShunshin__Spell_caster[this] ) , ( 1)) // INLINED!! + call TimerStart(NewTimerEx(this), 0.1, false, function s__MinatoJouninNewShunshin__Spell_teleport) + elseif s__MinatoJouninNewShunshin__Spell_getMarkedKunai() != null then + set u=s__MinatoJouninNewShunshin__Spell_getMarkedKunai() call DestroyEffect(AddSpecialEffect(("war3mapImported\\Yellow Blink.mdx" ), (( GetUnitX(GetTriggerUnit()) )*1.0), (( GetUnitY(GetTriggerUnit()))*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("war3mapImported\\Yellow Blink.mdx" ), (( GetUnitX(u) )*1.0), (( GetUnitY(u))*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("Effects\\s_Wind.mdx" ), (( GetUnitX(GetTriggerUnit()) )*1.0), (( GetUnitY(GetTriggerUnit()))*1.0))) // INLINED!! @@ -90610,8 +90610,8 @@ endfunction set u=null endfunction - function s__MinatoJouninNewShunshin___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEvent2((s__MinatoJouninNewShunshin___Spell_SPELL_ID ) , Filter(( function s__MinatoJouninNewShunshin___Spell_actions))) // INLINED!! + function s__MinatoJouninNewShunshin__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEvent2((s__MinatoJouninNewShunshin__Spell_SPELL_ID ) , Filter(( function s__MinatoJouninNewShunshin__Spell_actions))) // INLINED!! endfunction @@ -90624,39 +90624,39 @@ endfunction //Implemented from module Alloc: - function s__MinatoJouninRenNoDan___Spell_allocate takes nothing returns integer + function s__MinatoJouninRenNoDan__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__MinatoJouninRenNoDan___Spell_Alloc__recycle[(0)] == 0 ) then - set s__MinatoJouninRenNoDan___Spell_Alloc__instanceCount=s__MinatoJouninRenNoDan___Spell_Alloc__instanceCount + 1 - set this=s__MinatoJouninRenNoDan___Spell_Alloc__instanceCount + if ( s__MinatoJouninRenNoDan__Spell_Alloc__recycle[(0)] == 0 ) then + set s__MinatoJouninRenNoDan__Spell_Alloc__instanceCount=s__MinatoJouninRenNoDan__Spell_Alloc__instanceCount + 1 + set this=s__MinatoJouninRenNoDan__Spell_Alloc__instanceCount else - set this=s__MinatoJouninRenNoDan___Spell_Alloc__recycle[(0)] - set s__MinatoJouninRenNoDan___Spell_Alloc__recycle[(0)]=s__MinatoJouninRenNoDan___Spell_Alloc__recycle[s__MinatoJouninRenNoDan___Spell_Alloc__recycle[(0)]] + set this=s__MinatoJouninRenNoDan__Spell_Alloc__recycle[(0)] + set s__MinatoJouninRenNoDan__Spell_Alloc__recycle[(0)]=s__MinatoJouninRenNoDan__Spell_Alloc__recycle[s__MinatoJouninRenNoDan__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__MinatoJouninRenNoDan___Spell_deallocate takes integer this returns nothing - set s__MinatoJouninRenNoDan___Spell_Alloc__recycle[this]=s__MinatoJouninRenNoDan___Spell_Alloc__recycle[(0)] - set s__MinatoJouninRenNoDan___Spell_Alloc__recycle[(0)]=this + function s__MinatoJouninRenNoDan__Spell_deallocate takes integer this returns nothing + set s__MinatoJouninRenNoDan__Spell_Alloc__recycle[this]=s__MinatoJouninRenNoDan__Spell_Alloc__recycle[(0)] + set s__MinatoJouninRenNoDan__Spell_Alloc__recycle[(0)]=this endfunction - function s__MinatoJouninRenNoDan___Spell_destroy takes integer this returns nothing - set s__MinatoJouninRenNoDan___Spell_caster[this]=null - set s__MinatoJouninRenNoDan___Spell_target[this]=null - set s__MinatoJouninRenNoDan___Spell_dummy[this]=null - set s__MinatoJouninRenNoDan___Spell_rasengan[this]=null - call s__MinatoJouninRenNoDan___Spell_deallocate(this) + function s__MinatoJouninRenNoDan__Spell_destroy takes integer this returns nothing + set s__MinatoJouninRenNoDan__Spell_caster[this]=null + set s__MinatoJouninRenNoDan__Spell_target[this]=null + set s__MinatoJouninRenNoDan__Spell_dummy[this]=null + set s__MinatoJouninRenNoDan__Spell_rasengan[this]=null + call s__MinatoJouninRenNoDan__Spell_deallocate(this) endfunction - function s__MinatoJouninRenNoDan___Spell_shake takes nothing returns nothing + function s__MinatoJouninRenNoDan__Spell_shake takes nothing returns nothing local integer i= 0 loop exitwhen i > 11 @@ -90666,14 +90666,14 @@ endfunction call ReleaseTimer(GetExpiredTimer()) endfunction - function s__MinatoJouninRenNoDan___Spell_dealDamage takes nothing returns boolean - if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__MinatoJouninRenNoDan___Spell_caster[s__MinatoJouninRenNoDan___Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 then - call UnitDamageTarget(s__MinatoJouninRenNoDan___Spell_caster[s__MinatoJouninRenNoDan___Spell_instance], GetFilterUnit(), ( 250 + 6.0 * GetHeroAgi(s__MinatoJouninRenNoDan___Spell_caster[s__MinatoJouninRenNoDan___Spell_instance], true) ) * GetUnitAbilityLevel(s__MinatoJouninRenNoDan___Spell_caster[s__MinatoJouninRenNoDan___Spell_instance], s__MinatoJouninRenNoDan___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + function s__MinatoJouninRenNoDan__Spell_dealDamage takes nothing returns boolean + if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__MinatoJouninRenNoDan__Spell_caster[s__MinatoJouninRenNoDan__Spell_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 then + call UnitDamageTarget(s__MinatoJouninRenNoDan__Spell_caster[s__MinatoJouninRenNoDan__Spell_instance], GetFilterUnit(), ( 250 + 6.0 * GetHeroAgi(s__MinatoJouninRenNoDan__Spell_caster[s__MinatoJouninRenNoDan__Spell_instance], true) ) * GetUnitAbilityLevel(s__MinatoJouninRenNoDan__Spell_caster[s__MinatoJouninRenNoDan__Spell_instance], s__MinatoJouninRenNoDan__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) endif return false endfunction - function s__MinatoJouninRenNoDan___Spell_periodic takes nothing returns nothing + function s__MinatoJouninRenNoDan__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real caster_x local real caster_y @@ -90684,32 +90684,32 @@ endfunction local integer i= 0 local integer i_2 local force f - set s__MinatoJouninRenNoDan___Spell_count[this]=s__MinatoJouninRenNoDan___Spell_count[this] + 1 - if s__MinatoJouninRenNoDan___Spell_count[this] == 1 then - call ShowUnit(s__MinatoJouninRenNoDan___Spell_caster[this], false) - elseif s__MinatoJouninRenNoDan___Spell_count[this] == 2 then - set caster_x=GetUnitX(s__MinatoJouninRenNoDan___Spell_caster[this]) - set caster_y=GetUnitY(s__MinatoJouninRenNoDan___Spell_caster[this]) - set target_x=GetUnitX(s__MinatoJouninRenNoDan___Spell_target[this]) - set target_y=GetUnitY(s__MinatoJouninRenNoDan___Spell_target[this]) - set new_x=target_x + Cos(Deg2Rad(GetUnitFacing(s__MinatoJouninRenNoDan___Spell_target[this]) + 180)) * 100 - set new_y=target_y + Sin(Deg2Rad(GetUnitFacing(s__MinatoJouninRenNoDan___Spell_target[this]) + 180)) * 100 - set s__MinatoJouninRenNoDan___Spell_dummy[this]=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan___Spell_caster[this]), 'e03S', new_x, new_y, GetUnitFacing(s__MinatoJouninRenNoDan___Spell_target[this])) - call SetUnitX(s__MinatoJouninRenNoDan___Spell_dummy[this], new_x) - call SetUnitY(s__MinatoJouninRenNoDan___Spell_dummy[this], new_y) - call SetUnitFlyHeight(s__MinatoJouninRenNoDan___Spell_dummy[this], 550, 0) - set s__MinatoJouninRenNoDan___Spell_rasengan[this]=(AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__MinatoJouninRenNoDan___Spell_dummy[this] ), ( "left,hand"))) // INLINED!! - call SetUnitAnimation(s__MinatoJouninRenNoDan___Spell_dummy[this], "spell two") - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan___Spell_caster[this]), 'e01B', target_x, target_y, 270) + set s__MinatoJouninRenNoDan__Spell_count[this]=s__MinatoJouninRenNoDan__Spell_count[this] + 1 + if s__MinatoJouninRenNoDan__Spell_count[this] == 1 then + call ShowUnit(s__MinatoJouninRenNoDan__Spell_caster[this], false) + elseif s__MinatoJouninRenNoDan__Spell_count[this] == 2 then + set caster_x=GetUnitX(s__MinatoJouninRenNoDan__Spell_caster[this]) + set caster_y=GetUnitY(s__MinatoJouninRenNoDan__Spell_caster[this]) + set target_x=GetUnitX(s__MinatoJouninRenNoDan__Spell_target[this]) + set target_y=GetUnitY(s__MinatoJouninRenNoDan__Spell_target[this]) + set new_x=target_x + Cos(Deg2Rad(GetUnitFacing(s__MinatoJouninRenNoDan__Spell_target[this]) + 180)) * 100 + set new_y=target_y + Sin(Deg2Rad(GetUnitFacing(s__MinatoJouninRenNoDan__Spell_target[this]) + 180)) * 100 + set s__MinatoJouninRenNoDan__Spell_dummy[this]=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan__Spell_caster[this]), 'e03S', new_x, new_y, GetUnitFacing(s__MinatoJouninRenNoDan__Spell_target[this])) + call SetUnitX(s__MinatoJouninRenNoDan__Spell_dummy[this], new_x) + call SetUnitY(s__MinatoJouninRenNoDan__Spell_dummy[this], new_y) + call SetUnitFlyHeight(s__MinatoJouninRenNoDan__Spell_dummy[this], 550, 0) + set s__MinatoJouninRenNoDan__Spell_rasengan[this]=(AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__MinatoJouninRenNoDan__Spell_dummy[this] ), ( "left,hand"))) // INLINED!! + call SetUnitAnimation(s__MinatoJouninRenNoDan__Spell_dummy[this], "spell two") + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan__Spell_caster[this]), 'e01B', target_x, target_y, 270) call SetUnitX(bj_lastCreatedUnit, target_x) call SetUnitY(bj_lastCreatedUnit, target_y) call SetUnitTimeScale(bj_lastCreatedUnit, 2.0) - call SetUnitFlyHeight(bj_lastCreatedUnit, GetUnitFlyHeight(s__MinatoJouninRenNoDan___Spell_dummy[this]) - 50, 0) + call SetUnitFlyHeight(bj_lastCreatedUnit, GetUnitFlyHeight(s__MinatoJouninRenNoDan__Spell_dummy[this]) - 50, 0) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) loop set i=i + 1 exitwhen i > 10 - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan___Spell_caster[this]), 'e031', caster_x, caster_y, GetRandomReal(0, 360)) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan__Spell_caster[this]), 'e031', caster_x, caster_y, GetRandomReal(0, 360)) call SetUnitX(bj_lastCreatedUnit, caster_x) call SetUnitY(bj_lastCreatedUnit, caster_y) call SetUnitScale(bj_lastCreatedUnit, 3.0, 3.0, 3.0) @@ -90717,51 +90717,51 @@ endfunction call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 0.25) // GetRandomReal(0.2, 0.5)) endloop call TerrainDeformRipple(caster_x, caster_y, 200, 600, 350, 1, 400, 1, 1.0, false) - elseif s__MinatoJouninRenNoDan___Spell_count[this] == 5 then - set target_x=GetUnitX(s__MinatoJouninRenNoDan___Spell_target[this]) - set target_y=GetUnitY(s__MinatoJouninRenNoDan___Spell_target[this]) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan___Spell_caster[this]), 'e032', target_x, target_y, GetUnitFacing(s__MinatoJouninRenNoDan___Spell_dummy[this])) + elseif s__MinatoJouninRenNoDan__Spell_count[this] == 5 then + set target_x=GetUnitX(s__MinatoJouninRenNoDan__Spell_target[this]) + set target_y=GetUnitY(s__MinatoJouninRenNoDan__Spell_target[this]) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan__Spell_caster[this]), 'e032', target_x, target_y, GetUnitFacing(s__MinatoJouninRenNoDan__Spell_dummy[this])) call SetUnitX(bj_lastCreatedUnit, target_x) call SetUnitY(bj_lastCreatedUnit, target_y) - call SetUnitFlyHeight(bj_lastCreatedUnit, GetUnitFlyHeight(s__MinatoJouninRenNoDan___Spell_dummy[this]) - 200, 0) + call SetUnitFlyHeight(bj_lastCreatedUnit, GetUnitFlyHeight(s__MinatoJouninRenNoDan__Spell_dummy[this]) - 200, 0) call SetUnitTimeScale(bj_lastCreatedUnit, 3.0) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 4.0) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan___Spell_caster[this]), 'e01B', target_x, target_y, 270) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan__Spell_caster[this]), 'e01B', target_x, target_y, 270) call SetUnitX(bj_lastCreatedUnit, target_x) call SetUnitY(bj_lastCreatedUnit, target_y) call SetUnitTimeScale(bj_lastCreatedUnit, 2.0) call SetUnitFlyHeight(bj_lastCreatedUnit, 500, 0) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) - elseif s__MinatoJouninRenNoDan___Spell_count[this] == 10 then - call DestroyEffect(s__MinatoJouninRenNoDan___Spell_rasengan[this]) - call UnitAddAbility(s__MinatoJouninRenNoDan___Spell_target[this], 'Arav') - call SetUnitFlyHeight(s__MinatoJouninRenNoDan___Spell_target[this], 50, 700) - call UnitRemoveAbility(s__MinatoJouninRenNoDan___Spell_target[this], 'Arav') - elseif s__MinatoJouninRenNoDan___Spell_count[this] == 20 then - call SetUnitVertexColor(s__MinatoJouninRenNoDan___Spell_dummy[this], 255, 255, 255, 0) - elseif s__MinatoJouninRenNoDan___Spell_count[this] == 25 then - call SetUnitVertexColor(s__MinatoJouninRenNoDan___Spell_dummy[this], 255, 255, 255, 255) -call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__MinatoJouninRenNoDan___Spell_dummy[this] ), ( "left,hand")) // INLINED!! - call SetUnitFlyHeight(s__MinatoJouninRenNoDan___Spell_dummy[this], 200, 0) - elseif s__MinatoJouninRenNoDan___Spell_count[this] == 30 then - set target_x=GetUnitX(s__MinatoJouninRenNoDan___Spell_target[this]) - set target_y=GetUnitY(s__MinatoJouninRenNoDan___Spell_target[this]) - call UnitAddAbility(s__MinatoJouninRenNoDan___Spell_target[this], 'Arav') - call SetUnitFlyHeight(s__MinatoJouninRenNoDan___Spell_target[this], 0, 0) - call UnitRemoveAbility(s__MinatoJouninRenNoDan___Spell_target[this], 'Arav') - call KillUnit(s__MinatoJouninRenNoDan___Spell_dummy[this]) - call ShowUnit(s__MinatoJouninRenNoDan___Spell_dummy[this], false) + elseif s__MinatoJouninRenNoDan__Spell_count[this] == 10 then + call DestroyEffect(s__MinatoJouninRenNoDan__Spell_rasengan[this]) + call UnitAddAbility(s__MinatoJouninRenNoDan__Spell_target[this], 'Arav') + call SetUnitFlyHeight(s__MinatoJouninRenNoDan__Spell_target[this], 50, 700) + call UnitRemoveAbility(s__MinatoJouninRenNoDan__Spell_target[this], 'Arav') + elseif s__MinatoJouninRenNoDan__Spell_count[this] == 20 then + call SetUnitVertexColor(s__MinatoJouninRenNoDan__Spell_dummy[this], 255, 255, 255, 0) + elseif s__MinatoJouninRenNoDan__Spell_count[this] == 25 then + call SetUnitVertexColor(s__MinatoJouninRenNoDan__Spell_dummy[this], 255, 255, 255, 255) +call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__MinatoJouninRenNoDan__Spell_dummy[this] ), ( "left,hand")) // INLINED!! + call SetUnitFlyHeight(s__MinatoJouninRenNoDan__Spell_dummy[this], 200, 0) + elseif s__MinatoJouninRenNoDan__Spell_count[this] == 30 then + set target_x=GetUnitX(s__MinatoJouninRenNoDan__Spell_target[this]) + set target_y=GetUnitY(s__MinatoJouninRenNoDan__Spell_target[this]) + call UnitAddAbility(s__MinatoJouninRenNoDan__Spell_target[this], 'Arav') + call SetUnitFlyHeight(s__MinatoJouninRenNoDan__Spell_target[this], 0, 0) + call UnitRemoveAbility(s__MinatoJouninRenNoDan__Spell_target[this], 'Arav') + call KillUnit(s__MinatoJouninRenNoDan__Spell_dummy[this]) + call ShowUnit(s__MinatoJouninRenNoDan__Spell_dummy[this], false) loop set i=i + 1 exitwhen i > 20 - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan___Spell_caster[this]), 'e01U', target_x, target_y, GetRandomReal(0, 360)) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan__Spell_caster[this]), 'e01U', target_x, target_y, GetRandomReal(0, 360)) call SetUnitX(bj_lastCreatedUnit, target_x) call SetUnitY(bj_lastCreatedUnit, target_y) // call SetUnitTimeScale(bj_lastCreatedUnit, GetRandomReal(0.5, 2.0)) call SetUnitScale(bj_lastCreatedUnit, 7.0, 7.0, 7.0) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 4.0) endloop - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan___Spell_caster[this]), 'e01E', target_x, target_y, 270.0) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan__Spell_caster[this]), 'e01E', target_x, target_y, 270.0) call SetUnitX(bj_lastCreatedUnit, target_x) call SetUnitY(bj_lastCreatedUnit, target_y) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 3.0) @@ -90781,68 +90781,68 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina //endif endloop endloop - set s__MinatoJouninRenNoDan___Spell_instance=this + set s__MinatoJouninRenNoDan__Spell_instance=this set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, target_x, target_y, 350, Filter(function s__MinatoJouninRenNoDan___Spell_dealDamage)) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, target_x, target_y, 350, Filter(function s__MinatoJouninRenNoDan__Spell_dealDamage)) call DestroyGroup(bj_lastCreatedGroup) - elseif s__MinatoJouninRenNoDan___Spell_count[this] == 35 then - set caster_x=GetUnitX(s__MinatoJouninRenNoDan___Spell_caster[this]) - set caster_y=GetUnitY(s__MinatoJouninRenNoDan___Spell_caster[this]) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan___Spell_caster[this]), 'h02C', caster_x, caster_y, 270.0) + elseif s__MinatoJouninRenNoDan__Spell_count[this] == 35 then + set caster_x=GetUnitX(s__MinatoJouninRenNoDan__Spell_caster[this]) + set caster_y=GetUnitY(s__MinatoJouninRenNoDan__Spell_caster[this]) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan__Spell_caster[this]), 'h02C', caster_x, caster_y, 270.0) call SetUnitX(bj_lastCreatedUnit, caster_x) call SetUnitY(bj_lastCreatedUnit, caster_y) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan___Spell_caster[this]), 'e007', caster_x, caster_y, 270.0) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoJouninRenNoDan__Spell_caster[this]), 'e007', caster_x, caster_y, 270.0) call SetUnitX(bj_lastCreatedUnit, caster_x) call SetUnitY(bj_lastCreatedUnit, caster_y) call SetUnitScale(bj_lastCreatedUnit, 5.0, 5.0, 5.0) call SetUnitVertexColor(bj_lastCreatedUnit, 255, 255, 255, 200) call KillUnit(bj_lastCreatedUnit) call SetUnitAnimation(bj_lastCreatedUnit, "death") - call ShowUnit(s__MinatoJouninRenNoDan___Spell_caster[this], true) - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoJouninRenNoDan___Spell_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoJouninRenNoDan___Spell_target[this] ) , ( 0)) // INLINED!! + call ShowUnit(s__MinatoJouninRenNoDan__Spell_caster[this], true) + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoJouninRenNoDan__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoJouninRenNoDan__Spell_target[this] ) , ( 0)) // INLINED!! //call StunUnitTimed(this.caster, this.target, 2.0) - call SelectUnitForPlayerSingle(s__MinatoJouninRenNoDan___Spell_caster[this], GetOwningPlayer(s__MinatoJouninRenNoDan___Spell_caster[this])) + call SelectUnitForPlayerSingle(s__MinatoJouninRenNoDan__Spell_caster[this], GetOwningPlayer(s__MinatoJouninRenNoDan__Spell_caster[this])) //set i = 0 //loop // exitwhen i > 11 - if IsUnitVisible(s__MinatoJouninRenNoDan___Spell_caster[this], GetLocalPlayer()) then + if IsUnitVisible(s__MinatoJouninRenNoDan__Spell_caster[this], GetLocalPlayer()) then call CameraSetEQNoiseForPlayer(GetLocalPlayer(), 5.00) endif // set i = i + 1 //endloop - call TimerStart(CreateTimer(), 1.0, false, function s__MinatoJouninRenNoDan___Spell_shake) - call s__MinatoJouninRenNoDan___Spell_destroy(this) + call TimerStart(CreateTimer(), 1.0, false, function s__MinatoJouninRenNoDan__Spell_shake) + call s__MinatoJouninRenNoDan__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__MinatoJouninRenNoDan___Spell_actions takes nothing returns nothing - local integer this= s__MinatoJouninRenNoDan___Spell_allocate() + function s__MinatoJouninRenNoDan__Spell_actions takes nothing returns nothing + local integer this= s__MinatoJouninRenNoDan__Spell_allocate() local real angle= Atan2(( GetUnitY(GetSpellTargetUnit()) - GetUnitY(GetTriggerUnit()) ), ( GetUnitX(GetSpellTargetUnit()) - GetUnitX(GetTriggerUnit()) )) - set s__MinatoJouninRenNoDan___Spell_caster[this]=GetTriggerUnit() - set s__MinatoJouninRenNoDan___Spell_target[this]=GetSpellTargetUnit() - set s__MinatoJouninRenNoDan___Spell_count[this]=0 + set s__MinatoJouninRenNoDan__Spell_caster[this]=GetTriggerUnit() + set s__MinatoJouninRenNoDan__Spell_target[this]=GetSpellTargetUnit() + set s__MinatoJouninRenNoDan__Spell_count[this]=0 if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Minato_Hokage_R, 80, GetTriggerUnit()) endif - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoJouninRenNoDan___Spell_target[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoJouninRenNoDan___Spell_caster[this] ) , ( 1)) // INLINED!! - call SetUnitAnimation(s__MinatoJouninRenNoDan___Spell_caster[this], "spell one") - call UnitAddAbility(s__MinatoJouninRenNoDan___Spell_target[this], 'Arav') - call SetUnitFlyHeight(s__MinatoJouninRenNoDan___Spell_target[this], 400, 800) - call UnitRemoveAbility(s__MinatoJouninRenNoDan___Spell_target[this], 'Arav') - call SetUnitAnimation(s__MinatoJouninRenNoDan___Spell_target[this], "death") - call DestroyEffect(AddSpecialEffect(("Effects\\s_War_Stomp.mdx" ), (( GetUnitX(s__MinatoJouninRenNoDan___Spell_target[this]) )*1.0), (( GetUnitY(s__MinatoJouninRenNoDan___Spell_target[this]))*1.0))) // INLINED!! - if IsUnitVisible(s__MinatoJouninRenNoDan___Spell_caster[this], GetLocalPlayer()) then + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoJouninRenNoDan__Spell_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoJouninRenNoDan__Spell_caster[this] ) , ( 1)) // INLINED!! + call SetUnitAnimation(s__MinatoJouninRenNoDan__Spell_caster[this], "spell one") + call UnitAddAbility(s__MinatoJouninRenNoDan__Spell_target[this], 'Arav') + call SetUnitFlyHeight(s__MinatoJouninRenNoDan__Spell_target[this], 400, 800) + call UnitRemoveAbility(s__MinatoJouninRenNoDan__Spell_target[this], 'Arav') + call SetUnitAnimation(s__MinatoJouninRenNoDan__Spell_target[this], "death") + call DestroyEffect(AddSpecialEffect(("Effects\\s_War_Stomp.mdx" ), (( GetUnitX(s__MinatoJouninRenNoDan__Spell_target[this]) )*1.0), (( GetUnitY(s__MinatoJouninRenNoDan__Spell_target[this]))*1.0))) // INLINED!! + if IsUnitVisible(s__MinatoJouninRenNoDan__Spell_caster[this], GetLocalPlayer()) then //call PlaySoundOnUnitBJ(gg_snd_Minato_R, 100.0, this.caster) endif - call TimerStart(NewTimerEx(this), 0.03, true, function s__MinatoJouninRenNoDan___Spell_periodic) + call TimerStart(NewTimerEx(this), 0.03, true, function s__MinatoJouninRenNoDan__Spell_periodic) endfunction - function s__MinatoJouninRenNoDan___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEvent2((s__MinatoJouninRenNoDan___Spell_SPELL_ID ) , Filter(( function s__MinatoJouninRenNoDan___Spell_actions))) // INLINED!! + function s__MinatoJouninRenNoDan__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEvent2((s__MinatoJouninRenNoDan__Spell_SPELL_ID ) , Filter(( function s__MinatoJouninRenNoDan__Spell_actions))) // INLINED!! endfunction @@ -90856,29 +90856,29 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina //Implemented from module Alloc: - function s__MinatoJouninYellowFlash___Spell_allocate takes nothing returns integer + function s__MinatoJouninYellowFlash__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__MinatoJouninYellowFlash___Spell_Alloc__recycle[(0)] == 0 ) then - set s__MinatoJouninYellowFlash___Spell_Alloc__instanceCount=s__MinatoJouninYellowFlash___Spell_Alloc__instanceCount + 1 - set this=s__MinatoJouninYellowFlash___Spell_Alloc__instanceCount + if ( s__MinatoJouninYellowFlash__Spell_Alloc__recycle[(0)] == 0 ) then + set s__MinatoJouninYellowFlash__Spell_Alloc__instanceCount=s__MinatoJouninYellowFlash__Spell_Alloc__instanceCount + 1 + set this=s__MinatoJouninYellowFlash__Spell_Alloc__instanceCount else - set this=s__MinatoJouninYellowFlash___Spell_Alloc__recycle[(0)] - set s__MinatoJouninYellowFlash___Spell_Alloc__recycle[(0)]=s__MinatoJouninYellowFlash___Spell_Alloc__recycle[s__MinatoJouninYellowFlash___Spell_Alloc__recycle[(0)]] + set this=s__MinatoJouninYellowFlash__Spell_Alloc__recycle[(0)] + set s__MinatoJouninYellowFlash__Spell_Alloc__recycle[(0)]=s__MinatoJouninYellowFlash__Spell_Alloc__recycle[s__MinatoJouninYellowFlash__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__MinatoJouninYellowFlash___Spell_deallocate takes integer this returns nothing - set s__MinatoJouninYellowFlash___Spell_Alloc__recycle[this]=s__MinatoJouninYellowFlash___Spell_Alloc__recycle[(0)] - set s__MinatoJouninYellowFlash___Spell_Alloc__recycle[(0)]=this + function s__MinatoJouninYellowFlash__Spell_deallocate takes integer this returns nothing + set s__MinatoJouninYellowFlash__Spell_Alloc__recycle[this]=s__MinatoJouninYellowFlash__Spell_Alloc__recycle[(0)] + set s__MinatoJouninYellowFlash__Spell_Alloc__recycle[(0)]=this endfunction - function s__MinatoJouninYellowFlash___Spell_periodic takes nothing returns nothing + function s__MinatoJouninYellowFlash__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real caster_x local real caster_y @@ -90887,22 +90887,22 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina local real angle local real offset local integer i= 0 - set s__MinatoJouninYellowFlash___Spell_count[this]=s__MinatoJouninYellowFlash___Spell_count[this] + 1 - set caster_x=GetUnitX(s__MinatoJouninYellowFlash___Spell_caster[this]) - set caster_y=GetUnitY(s__MinatoJouninYellowFlash___Spell_caster[this]) + set s__MinatoJouninYellowFlash__Spell_count[this]=s__MinatoJouninYellowFlash__Spell_count[this] + 1 + set caster_x=GetUnitX(s__MinatoJouninYellowFlash__Spell_caster[this]) + set caster_y=GetUnitY(s__MinatoJouninYellowFlash__Spell_caster[this]) set bj_lastCreatedGroup=CreateGroup() call GroupEnumUnitsInRange(bj_lastCreatedGroup, caster_x, caster_y, 1000, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MinatoJouninYellowFlash___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then - if GetUnitTypeId(s__MinatoJouninYellowFlash___Spell_caster[this]) == 'H02O' then - call UnitDamageTarget(s__MinatoJouninYellowFlash___Spell_caster[this], bj_lastCreatedUnit, ( 5.0 * GetHeroAgi(s__MinatoJouninYellowFlash___Spell_caster[this], true) + 1000 ) / 133, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MinatoJouninYellowFlash__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then + if GetUnitTypeId(s__MinatoJouninYellowFlash__Spell_caster[this]) == 'H02O' then + call UnitDamageTarget(s__MinatoJouninYellowFlash__Spell_caster[this], bj_lastCreatedUnit, ( 5.0 * GetHeroAgi(s__MinatoJouninYellowFlash__Spell_caster[this], true) + 1000 ) / 133, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) else if IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) then - call UnitDamageTarget(s__MinatoJouninYellowFlash___Spell_caster[this], bj_lastCreatedUnit, ( 7.0 * GetHeroAgi(s__MinatoJouninYellowFlash___Spell_caster[this], true) + 1500 ) / 66, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__MinatoJouninYellowFlash__Spell_caster[this], bj_lastCreatedUnit, ( 7.0 * GetHeroAgi(s__MinatoJouninYellowFlash__Spell_caster[this], true) + 1500 ) / 66, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) else - call UnitDamageTarget(s__MinatoJouninYellowFlash___Spell_caster[this], bj_lastCreatedUnit, ( 7.0 * GetHeroAgi(s__MinatoJouninYellowFlash___Spell_caster[this], true) + 1500 ) / 133, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__MinatoJouninYellowFlash__Spell_caster[this], bj_lastCreatedUnit, ( 7.0 * GetHeroAgi(s__MinatoJouninYellowFlash__Spell_caster[this], true) + 1500 ) / 133, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) endif endif endif @@ -90916,68 +90916,68 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina set offset=GetRandomReal(100, 750) set new_x=caster_x + Cos(angle) * offset set new_y=caster_y + Sin(angle) * offset - call SetUnitX(s__MinatoJouninYellowFlash___minatos[(this)*(1)+i], new_x) - call SetUnitY(s__MinatoJouninYellowFlash___minatos[(this)*(1)+i], new_y) - call SetUnitFacing(s__MinatoJouninYellowFlash___minatos[(this)*(1)+i], angle) - if ModuloInteger(s__MinatoJouninYellowFlash___Spell_count[this], 10) == 0 then - call SetUnitAnimation(s__MinatoJouninYellowFlash___minatos[(this)*(1)+i], "attack") + call SetUnitX(s__MinatoJouninYellowFlash__minatos[(this)*(1)+i], new_x) + call SetUnitY(s__MinatoJouninYellowFlash__minatos[(this)*(1)+i], new_y) + call SetUnitFacing(s__MinatoJouninYellowFlash__minatos[(this)*(1)+i], angle) + if ModuloInteger(s__MinatoJouninYellowFlash__Spell_count[this], 10) == 0 then + call SetUnitAnimation(s__MinatoJouninYellowFlash__minatos[(this)*(1)+i], "attack") endif if ModuloInteger(i, 2) == 0 then - call SetUnitX(s__MinatoJouninYellowFlash___flashes[(this)*(1)+i], new_x) - call SetUnitY(s__MinatoJouninYellowFlash___flashes[(this)*(1)+i], new_y) - call SetUnitFacing(s__MinatoJouninYellowFlash___flashes[(this)*(1)+i], angle) + call SetUnitX(s__MinatoJouninYellowFlash__flashes[(this)*(1)+i], new_x) + call SetUnitY(s__MinatoJouninYellowFlash__flashes[(this)*(1)+i], new_y) + call SetUnitFacing(s__MinatoJouninYellowFlash__flashes[(this)*(1)+i], angle) endif endloop - if s__MinatoJouninYellowFlash___Spell_count[this] > 133 then + if s__MinatoJouninYellowFlash__Spell_count[this] > 133 then set i=0 loop set i=i + 1 exitwhen i > 20 - call KillUnit(s__MinatoJouninYellowFlash___minatos[(this)*(1)+i]) - call ShowUnit(s__MinatoJouninYellowFlash___minatos[(this)*(1)+i], false) - set s__MinatoJouninYellowFlash___minatos[(this)*(1)+i]= null + call KillUnit(s__MinatoJouninYellowFlash__minatos[(this)*(1)+i]) + call ShowUnit(s__MinatoJouninYellowFlash__minatos[(this)*(1)+i], false) + set s__MinatoJouninYellowFlash__minatos[(this)*(1)+i]= null if ModuloInteger(i, 2) == 0 then - call KillUnit(s__MinatoJouninYellowFlash___flashes[(this)*(1)+i]) + call KillUnit(s__MinatoJouninYellowFlash__flashes[(this)*(1)+i]) // call ShowUnit(flashes[this][i], false) - set s__MinatoJouninYellowFlash___flashes[(this)*(1)+i]= null + set s__MinatoJouninYellowFlash__flashes[(this)*(1)+i]= null endif endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoJouninYellowFlash___Spell_caster[this] ) , ( 0)) // INLINED!! - call ShowUnit(s__MinatoJouninYellowFlash___Spell_caster[this], true) - call SelectUnitForPlayerSingle(s__MinatoJouninYellowFlash___Spell_caster[this], GetOwningPlayer(s__MinatoJouninYellowFlash___Spell_caster[this])) + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoJouninYellowFlash__Spell_caster[this] ) , ( 0)) // INLINED!! + call ShowUnit(s__MinatoJouninYellowFlash__Spell_caster[this], true) + call SelectUnitForPlayerSingle(s__MinatoJouninYellowFlash__Spell_caster[this], GetOwningPlayer(s__MinatoJouninYellowFlash__Spell_caster[this])) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__MinatoJouninYellowFlash___Spell_delay takes nothing returns nothing + function s__MinatoJouninYellowFlash__Spell_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local integer i= 0 loop set i=i + 1 exitwhen i > 20 - if GetUnitTypeId(s__MinatoJouninYellowFlash___Spell_caster[this]) == 'H02O' then - set s__MinatoJouninYellowFlash___minatos[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__MinatoJouninYellowFlash___Spell_caster[this]), 'h083', GetUnitX(s__MinatoJouninYellowFlash___Spell_caster[this]), GetUnitY(s__MinatoJouninYellowFlash___Spell_caster[this]), GetRandomReal(0, 360)) + if GetUnitTypeId(s__MinatoJouninYellowFlash__Spell_caster[this]) == 'H02O' then + set s__MinatoJouninYellowFlash__minatos[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__MinatoJouninYellowFlash__Spell_caster[this]), 'h083', GetUnitX(s__MinatoJouninYellowFlash__Spell_caster[this]), GetUnitY(s__MinatoJouninYellowFlash__Spell_caster[this]), GetRandomReal(0, 360)) else - set s__MinatoJouninYellowFlash___minatos[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__MinatoJouninYellowFlash___Spell_caster[this]), 'h09P', GetUnitX(s__MinatoJouninYellowFlash___Spell_caster[this]), GetUnitY(s__MinatoJouninYellowFlash___Spell_caster[this]), GetRandomReal(0, 360)) + set s__MinatoJouninYellowFlash__minatos[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__MinatoJouninYellowFlash__Spell_caster[this]), 'h09P', GetUnitX(s__MinatoJouninYellowFlash__Spell_caster[this]), GetUnitY(s__MinatoJouninYellowFlash__Spell_caster[this]), GetRandomReal(0, 360)) endif - call UnitAddAbility(s__MinatoJouninYellowFlash___minatos[(this)*(1)+i], 'Arav') - call SetUnitFlyHeight(s__MinatoJouninYellowFlash___minatos[(this)*(1)+i], GetRandomReal(50, 150), 0) - call UnitRemoveAbility(s__MinatoJouninYellowFlash___minatos[(this)*(1)+i], 'Arav') - call SetUnitVertexColor(s__MinatoJouninYellowFlash___minatos[(this)*(1)+i], 255, 255, 255, 150) + call UnitAddAbility(s__MinatoJouninYellowFlash__minatos[(this)*(1)+i], 'Arav') + call SetUnitFlyHeight(s__MinatoJouninYellowFlash__minatos[(this)*(1)+i], GetRandomReal(50, 150), 0) + call UnitRemoveAbility(s__MinatoJouninYellowFlash__minatos[(this)*(1)+i], 'Arav') + call SetUnitVertexColor(s__MinatoJouninYellowFlash__minatos[(this)*(1)+i], 255, 255, 255, 150) if ModuloInteger(i, 2) == 0 then - set s__MinatoJouninYellowFlash___flashes[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__MinatoJouninYellowFlash___Spell_caster[this]), 'h00T', GetUnitX(s__MinatoJouninYellowFlash___Spell_caster[this]), GetUnitY(s__MinatoJouninYellowFlash___Spell_caster[this]), GetRandomReal(0, 360)) - call SetUnitFlyHeight(s__MinatoJouninYellowFlash___flashes[(this)*(1)+i], 100, 0) + set s__MinatoJouninYellowFlash__flashes[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__MinatoJouninYellowFlash__Spell_caster[this]), 'h00T', GetUnitX(s__MinatoJouninYellowFlash__Spell_caster[this]), GetUnitY(s__MinatoJouninYellowFlash__Spell_caster[this]), GetRandomReal(0, 360)) + call SetUnitFlyHeight(s__MinatoJouninYellowFlash__flashes[(this)*(1)+i], 100, 0) //call SetUnitScale(flashes[this][i], 5.0, 5.0, 5.0) endif endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoJouninYellowFlash___Spell_caster[this] ) , ( 1)) // INLINED!! - call ShowUnit(s__MinatoJouninYellowFlash___Spell_caster[this], false) - call TimerStart(NewTimerEx(this), 0.03, true, function s__MinatoJouninYellowFlash___Spell_periodic) + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoJouninYellowFlash__Spell_caster[this] ) , ( 1)) // INLINED!! + call ShowUnit(s__MinatoJouninYellowFlash__Spell_caster[this], false) + call TimerStart(NewTimerEx(this), 0.03, true, function s__MinatoJouninYellowFlash__Spell_periodic) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__MinatoJouninYellowFlash___Spell_actions takes nothing returns nothing - local integer this= s__MinatoJouninYellowFlash___Spell_allocate() + function s__MinatoJouninYellowFlash__Spell_actions takes nothing returns nothing + local integer this= s__MinatoJouninYellowFlash__Spell_allocate() local real caster_x local real caster_y local real new_x @@ -90989,9 +90989,9 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Minato: I need to protect my comrades!|r") call PlaySoundOnUnitBJ(gg_snd_Minato_Jounin_T, 100, GetTriggerUnit()) endif - set s__MinatoJouninYellowFlash___Spell_caster[this]=GetTriggerUnit() - set caster_x=GetUnitX(s__MinatoJouninYellowFlash___Spell_caster[this]) - set caster_y=GetUnitY(s__MinatoJouninYellowFlash___Spell_caster[this]) + set s__MinatoJouninYellowFlash__Spell_caster[this]=GetTriggerUnit() + set caster_x=GetUnitX(s__MinatoJouninYellowFlash__Spell_caster[this]) + set caster_y=GetUnitY(s__MinatoJouninYellowFlash__Spell_caster[this]) loop set i=i + 1 exitwhen i > 20 @@ -91006,18 +91006,18 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 1.0) call IssuePointOrder(bj_lastCreatedUnit, "summonfactory", new_x, new_y) endloop - set s__MinatoJouninYellowFlash___Spell_count[this]=0 + set s__MinatoJouninYellowFlash__Spell_count[this]=0 set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), 'e007', caster_x, caster_y, 0) call SetUnitX(bj_lastCreatedUnit, caster_x) call SetUnitY(bj_lastCreatedUnit, caster_y) call UnitAddAbility(bj_lastCreatedUnit, 'A0Q0') call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 3.0) - call TimerStart(NewTimerEx(this), 1.0, false, function s__MinatoJouninYellowFlash___Spell_delay) + call TimerStart(NewTimerEx(this), 1.0, false, function s__MinatoJouninYellowFlash__Spell_delay) endfunction - function s__MinatoJouninYellowFlash___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEvent2((s__MinatoJouninYellowFlash___Spell_SPELL_ID ) , Filter(( function s__MinatoJouninYellowFlash___Spell_actions))) // INLINED!! - call RegisterSpellEffectEvent2(('A14G' ) , Filter(( function s__MinatoJouninYellowFlash___Spell_actions))) // INLINED!! + function s__MinatoJouninYellowFlash__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEvent2((s__MinatoJouninYellowFlash__Spell_SPELL_ID ) , Filter(( function s__MinatoJouninYellowFlash__Spell_actions))) // INLINED!! + call RegisterSpellEffectEvent2(('A14G' ) , Filter(( function s__MinatoJouninYellowFlash__Spell_actions))) // INLINED!! endfunction @@ -91030,35 +91030,35 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina //Implemented from module Alloc: - function s__MinatoFexterRenNoDan___Spell_allocate takes nothing returns integer + function s__MinatoFexterRenNoDan__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__MinatoFexterRenNoDan___Spell_Alloc__recycle[(0)] == 0 ) then - set s__MinatoFexterRenNoDan___Spell_Alloc__instanceCount=s__MinatoFexterRenNoDan___Spell_Alloc__instanceCount + 1 - set this=s__MinatoFexterRenNoDan___Spell_Alloc__instanceCount + if ( s__MinatoFexterRenNoDan__Spell_Alloc__recycle[(0)] == 0 ) then + set s__MinatoFexterRenNoDan__Spell_Alloc__instanceCount=s__MinatoFexterRenNoDan__Spell_Alloc__instanceCount + 1 + set this=s__MinatoFexterRenNoDan__Spell_Alloc__instanceCount else - set this=s__MinatoFexterRenNoDan___Spell_Alloc__recycle[(0)] - set s__MinatoFexterRenNoDan___Spell_Alloc__recycle[(0)]=s__MinatoFexterRenNoDan___Spell_Alloc__recycle[s__MinatoFexterRenNoDan___Spell_Alloc__recycle[(0)]] + set this=s__MinatoFexterRenNoDan__Spell_Alloc__recycle[(0)] + set s__MinatoFexterRenNoDan__Spell_Alloc__recycle[(0)]=s__MinatoFexterRenNoDan__Spell_Alloc__recycle[s__MinatoFexterRenNoDan__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__MinatoFexterRenNoDan___Spell_deallocate takes integer this returns nothing - set s__MinatoFexterRenNoDan___Spell_Alloc__recycle[this]=s__MinatoFexterRenNoDan___Spell_Alloc__recycle[(0)] - set s__MinatoFexterRenNoDan___Spell_Alloc__recycle[(0)]=this + function s__MinatoFexterRenNoDan__Spell_deallocate takes integer this returns nothing + set s__MinatoFexterRenNoDan__Spell_Alloc__recycle[this]=s__MinatoFexterRenNoDan__Spell_Alloc__recycle[(0)] + set s__MinatoFexterRenNoDan__Spell_Alloc__recycle[(0)]=this endfunction - function s__MinatoFexterRenNoDan___Spell_destroy takes integer this returns nothing - set s__MinatoFexterRenNoDan___Spell_dummy[this]=null - set s__MinatoFexterRenNoDan___Spell_rasengan[this]=null - call s__MinatoFexterRenNoDan___Spell_deallocate(this) + function s__MinatoFexterRenNoDan__Spell_destroy takes integer this returns nothing + set s__MinatoFexterRenNoDan__Spell_dummy[this]=null + set s__MinatoFexterRenNoDan__Spell_rasengan[this]=null + call s__MinatoFexterRenNoDan__Spell_deallocate(this) endfunction - function s__MinatoFexterRenNoDan___Spell_shake takes nothing returns nothing + function s__MinatoFexterRenNoDan__Spell_shake takes nothing returns nothing local integer i= 0 loop exitwhen i > 11 @@ -91068,7 +91068,7 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina call ReleaseTimer(GetExpiredTimer()) endfunction - function s__MinatoFexterRenNoDan___Spell_periodic takes nothing returns nothing + function s__MinatoFexterRenNoDan__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real caster_x local real caster_y @@ -91079,32 +91079,32 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina local integer i= 0 local integer i_2 local force f - set s__MinatoFexterRenNoDan___Spell_count[this]=s__MinatoFexterRenNoDan___Spell_count[this] + 1 - if s__MinatoFexterRenNoDan___Spell_count[this] == 1 then - call ShowUnit(s__MinatoFexterRenNoDan___Spell_caster[this], false) - elseif s__MinatoFexterRenNoDan___Spell_count[this] == 2 then - set caster_x=GetUnitX(s__MinatoFexterRenNoDan___Spell_caster[this]) - set caster_y=GetUnitY(s__MinatoFexterRenNoDan___Spell_caster[this]) - set target_x=s__MinatoFexterRenNoDan___Spell_target_x[this] - set target_y=s__MinatoFexterRenNoDan___Spell_target_y[this] - set new_x=target_x + Cos(Deg2Rad(GetUnitFacing(s__MinatoFexterRenNoDan___Spell_caster[this]) + 180)) * 100 - set new_y=target_y + Sin(Deg2Rad(GetUnitFacing(s__MinatoFexterRenNoDan___Spell_caster[this]) + 180)) * 100 - set s__MinatoFexterRenNoDan___Spell_dummy[this]=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan___Spell_caster[this]), 'e03S', new_x, new_y, GetUnitFacing(s__MinatoFexterRenNoDan___Spell_caster[this])) - call SetUnitX(s__MinatoFexterRenNoDan___Spell_dummy[this], new_x) - call SetUnitY(s__MinatoFexterRenNoDan___Spell_dummy[this], new_y) - call SetUnitFlyHeight(s__MinatoFexterRenNoDan___Spell_dummy[this], 550, 0) - set s__MinatoFexterRenNoDan___Spell_rasengan[this]=(AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__MinatoFexterRenNoDan___Spell_dummy[this] ), ( "left,hand"))) // INLINED!! - call SetUnitAnimation(s__MinatoFexterRenNoDan___Spell_dummy[this], "spell two") - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan___Spell_caster[this]), 'e01B', target_x, target_y, 270) + set s__MinatoFexterRenNoDan__Spell_count[this]=s__MinatoFexterRenNoDan__Spell_count[this] + 1 + if s__MinatoFexterRenNoDan__Spell_count[this] == 1 then + call ShowUnit(s__MinatoFexterRenNoDan__Spell_caster[this], false) + elseif s__MinatoFexterRenNoDan__Spell_count[this] == 2 then + set caster_x=GetUnitX(s__MinatoFexterRenNoDan__Spell_caster[this]) + set caster_y=GetUnitY(s__MinatoFexterRenNoDan__Spell_caster[this]) + set target_x=s__MinatoFexterRenNoDan__Spell_target_x[this] + set target_y=s__MinatoFexterRenNoDan__Spell_target_y[this] + set new_x=target_x + Cos(Deg2Rad(GetUnitFacing(s__MinatoFexterRenNoDan__Spell_caster[this]) + 180)) * 100 + set new_y=target_y + Sin(Deg2Rad(GetUnitFacing(s__MinatoFexterRenNoDan__Spell_caster[this]) + 180)) * 100 + set s__MinatoFexterRenNoDan__Spell_dummy[this]=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan__Spell_caster[this]), 'e03S', new_x, new_y, GetUnitFacing(s__MinatoFexterRenNoDan__Spell_caster[this])) + call SetUnitX(s__MinatoFexterRenNoDan__Spell_dummy[this], new_x) + call SetUnitY(s__MinatoFexterRenNoDan__Spell_dummy[this], new_y) + call SetUnitFlyHeight(s__MinatoFexterRenNoDan__Spell_dummy[this], 550, 0) + set s__MinatoFexterRenNoDan__Spell_rasengan[this]=(AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__MinatoFexterRenNoDan__Spell_dummy[this] ), ( "left,hand"))) // INLINED!! + call SetUnitAnimation(s__MinatoFexterRenNoDan__Spell_dummy[this], "spell two") + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan__Spell_caster[this]), 'e01B', target_x, target_y, 270) call SetUnitX(bj_lastCreatedUnit, target_x) call SetUnitY(bj_lastCreatedUnit, target_y) call SetUnitTimeScale(bj_lastCreatedUnit, 2.0) - call SetUnitFlyHeight(bj_lastCreatedUnit, GetUnitFlyHeight(s__MinatoFexterRenNoDan___Spell_dummy[this]) - 50, 0) + call SetUnitFlyHeight(bj_lastCreatedUnit, GetUnitFlyHeight(s__MinatoFexterRenNoDan__Spell_dummy[this]) - 50, 0) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) loop set i=i + 1 exitwhen i > 10 - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan___Spell_caster[this]), 'e031', caster_x, caster_y, GetRandomReal(0, 360)) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan__Spell_caster[this]), 'e031', caster_x, caster_y, GetRandomReal(0, 360)) call SetUnitX(bj_lastCreatedUnit, caster_x) call SetUnitY(bj_lastCreatedUnit, caster_y) call SetUnitScale(bj_lastCreatedUnit, 3.0, 3.0, 3.0) @@ -91112,45 +91112,45 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 0.25) // GetRandomReal(0.2, 0.5)) endloop call TerrainDeformRipple(caster_x, caster_y, 200, 600, 350, 1, 400, 1, 1.0, false) - elseif s__MinatoFexterRenNoDan___Spell_count[this] == 5 then - set target_x=s__MinatoFexterRenNoDan___Spell_target_x[this] - set target_y=s__MinatoFexterRenNoDan___Spell_target_y[this] - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan___Spell_caster[this]), 'e032', target_x, target_y, GetUnitFacing(s__MinatoFexterRenNoDan___Spell_dummy[this])) + elseif s__MinatoFexterRenNoDan__Spell_count[this] == 5 then + set target_x=s__MinatoFexterRenNoDan__Spell_target_x[this] + set target_y=s__MinatoFexterRenNoDan__Spell_target_y[this] + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan__Spell_caster[this]), 'e032', target_x, target_y, GetUnitFacing(s__MinatoFexterRenNoDan__Spell_dummy[this])) call SetUnitX(bj_lastCreatedUnit, target_x) call SetUnitY(bj_lastCreatedUnit, target_y) - call SetUnitFlyHeight(bj_lastCreatedUnit, GetUnitFlyHeight(s__MinatoFexterRenNoDan___Spell_dummy[this]) - 200, 0) + call SetUnitFlyHeight(bj_lastCreatedUnit, GetUnitFlyHeight(s__MinatoFexterRenNoDan__Spell_dummy[this]) - 200, 0) call SetUnitTimeScale(bj_lastCreatedUnit, 3.0) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 4.0) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan___Spell_caster[this]), 'e01B', target_x, target_y, 270) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan__Spell_caster[this]), 'e01B', target_x, target_y, 270) call SetUnitX(bj_lastCreatedUnit, target_x) call SetUnitY(bj_lastCreatedUnit, target_y) call SetUnitTimeScale(bj_lastCreatedUnit, 2.0) call SetUnitFlyHeight(bj_lastCreatedUnit, 500, 0) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) - elseif s__MinatoFexterRenNoDan___Spell_count[this] == 10 then - call DestroyEffect(s__MinatoFexterRenNoDan___Spell_rasengan[this]) - elseif s__MinatoFexterRenNoDan___Spell_count[this] == 20 then - call SetUnitVertexColor(s__MinatoFexterRenNoDan___Spell_dummy[this], 255, 255, 255, 0) - elseif s__MinatoFexterRenNoDan___Spell_count[this] == 25 then - call SetUnitVertexColor(s__MinatoFexterRenNoDan___Spell_dummy[this], 255, 255, 255, 255) -call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__MinatoFexterRenNoDan___Spell_dummy[this] ), ( "left,hand")) // INLINED!! - call SetUnitFlyHeight(s__MinatoFexterRenNoDan___Spell_dummy[this], 200, 0) - elseif s__MinatoFexterRenNoDan___Spell_count[this] == 30 then - set target_x=s__MinatoFexterRenNoDan___Spell_target_x[this] - set target_y=s__MinatoFexterRenNoDan___Spell_target_y[this] - call KillUnit(s__MinatoFexterRenNoDan___Spell_dummy[this]) - call ShowUnit(s__MinatoFexterRenNoDan___Spell_dummy[this], false) + elseif s__MinatoFexterRenNoDan__Spell_count[this] == 10 then + call DestroyEffect(s__MinatoFexterRenNoDan__Spell_rasengan[this]) + elseif s__MinatoFexterRenNoDan__Spell_count[this] == 20 then + call SetUnitVertexColor(s__MinatoFexterRenNoDan__Spell_dummy[this], 255, 255, 255, 0) + elseif s__MinatoFexterRenNoDan__Spell_count[this] == 25 then + call SetUnitVertexColor(s__MinatoFexterRenNoDan__Spell_dummy[this], 255, 255, 255, 255) +call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__MinatoFexterRenNoDan__Spell_dummy[this] ), ( "left,hand")) // INLINED!! + call SetUnitFlyHeight(s__MinatoFexterRenNoDan__Spell_dummy[this], 200, 0) + elseif s__MinatoFexterRenNoDan__Spell_count[this] == 30 then + set target_x=s__MinatoFexterRenNoDan__Spell_target_x[this] + set target_y=s__MinatoFexterRenNoDan__Spell_target_y[this] + call KillUnit(s__MinatoFexterRenNoDan__Spell_dummy[this]) + call ShowUnit(s__MinatoFexterRenNoDan__Spell_dummy[this], false) loop set i=i + 1 exitwhen i > 20 - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan___Spell_caster[this]), 'e01U', target_x, target_y, GetRandomReal(0, 360)) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan__Spell_caster[this]), 'e01U', target_x, target_y, GetRandomReal(0, 360)) call SetUnitX(bj_lastCreatedUnit, target_x) call SetUnitY(bj_lastCreatedUnit, target_y) // call SetUnitTimeScale(bj_lastCreatedUnit, GetRandomReal(0.5, 2.0)) call SetUnitScale(bj_lastCreatedUnit, 7.0, 7.0, 7.0) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 4.0) endloop - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan___Spell_caster[this]), 'e01E', target_x, target_y, 270.0) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan__Spell_caster[this]), 'e01E', target_x, target_y, 270.0) call SetUnitX(bj_lastCreatedUnit, target_x) call SetUnitY(bj_lastCreatedUnit, target_y) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 3.0) @@ -91175,58 +91175,58 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MinatoFexterRenNoDan___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then - call UnitDamageTarget(s__MinatoFexterRenNoDan___Spell_caster[this], bj_lastCreatedUnit, 80 * GetUnitAbilityLevel(s__MinatoFexterRenNoDan___Spell_caster[this], s__MinatoFexterRenNoDan___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MinatoFexterRenNoDan__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then + call UnitDamageTarget(s__MinatoFexterRenNoDan__Spell_caster[this], bj_lastCreatedUnit, 80 * GetUnitAbilityLevel(s__MinatoFexterRenNoDan__Spell_caster[this], s__MinatoFexterRenNoDan__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - elseif s__MinatoFexterRenNoDan___Spell_count[this] == 35 then - set caster_x=GetUnitX(s__MinatoFexterRenNoDan___Spell_caster[this]) - set caster_y=GetUnitY(s__MinatoFexterRenNoDan___Spell_caster[this]) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan___Spell_caster[this]), 'h02C', caster_x, caster_y, 270.0) + elseif s__MinatoFexterRenNoDan__Spell_count[this] == 35 then + set caster_x=GetUnitX(s__MinatoFexterRenNoDan__Spell_caster[this]) + set caster_y=GetUnitY(s__MinatoFexterRenNoDan__Spell_caster[this]) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan__Spell_caster[this]), 'h02C', caster_x, caster_y, 270.0) call SetUnitX(bj_lastCreatedUnit, caster_x) call SetUnitY(bj_lastCreatedUnit, caster_y) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan___Spell_caster[this]), 'e007', caster_x, caster_y, 270.0) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MinatoFexterRenNoDan__Spell_caster[this]), 'e007', caster_x, caster_y, 270.0) call SetUnitX(bj_lastCreatedUnit, caster_x) call SetUnitY(bj_lastCreatedUnit, caster_y) call SetUnitScale(bj_lastCreatedUnit, 5.0, 5.0, 5.0) call SetUnitVertexColor(bj_lastCreatedUnit, 255, 255, 255, 200) call KillUnit(bj_lastCreatedUnit) call SetUnitAnimation(bj_lastCreatedUnit, "death") - call ShowUnit(s__MinatoFexterRenNoDan___Spell_caster[this], true) - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoFexterRenNoDan___Spell_caster[this] ) , ( 0)) // INLINED!! - call SelectUnitForPlayerSingle(s__MinatoFexterRenNoDan___Spell_caster[this], GetOwningPlayer(s__MinatoFexterRenNoDan___Spell_caster[this])) + call ShowUnit(s__MinatoFexterRenNoDan__Spell_caster[this], true) + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoFexterRenNoDan__Spell_caster[this] ) , ( 0)) // INLINED!! + call SelectUnitForPlayerSingle(s__MinatoFexterRenNoDan__Spell_caster[this], GetOwningPlayer(s__MinatoFexterRenNoDan__Spell_caster[this])) //set i = 0 //loop // exitwhen i > 11 - if IsUnitVisible(s__MinatoFexterRenNoDan___Spell_caster[this], GetLocalPlayer()) then + if IsUnitVisible(s__MinatoFexterRenNoDan__Spell_caster[this], GetLocalPlayer()) then call CameraSetEQNoiseForPlayer(GetLocalPlayer(), 5.00) endif // set i = i + 1 //endloop - call TimerStart(CreateTimer(), 1.0, false, function s__MinatoFexterRenNoDan___Spell_shake) - call s__MinatoFexterRenNoDan___Spell_destroy(this) + call TimerStart(CreateTimer(), 1.0, false, function s__MinatoFexterRenNoDan__Spell_shake) + call s__MinatoFexterRenNoDan__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__MinatoFexterRenNoDan___Spell_actions takes nothing returns nothing - local integer this= s__MinatoFexterRenNoDan___Spell_allocate() + function s__MinatoFexterRenNoDan__Spell_actions takes nothing returns nothing + local integer this= s__MinatoFexterRenNoDan__Spell_allocate() local real angle= Atan2(( GetSpellTargetY() - GetUnitY(GetTriggerUnit()) ), ( GetSpellTargetX() - GetUnitX(GetTriggerUnit()) )) - set s__MinatoFexterRenNoDan___Spell_caster[this]=GetTriggerUnit() - set s__MinatoFexterRenNoDan___Spell_target_x[this]=GetSpellTargetX() - set s__MinatoFexterRenNoDan___Spell_target_y[this]=GetSpellTargetY() - set s__MinatoFexterRenNoDan___Spell_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoFexterRenNoDan___Spell_caster[this] ) , ( 1)) // INLINED!! - call SetUnitAnimation(s__MinatoFexterRenNoDan___Spell_caster[this], "spell one") - call DestroyEffect(AddSpecialEffect(("Effects\\s_War_Stomp.mdx" ), (( s__MinatoFexterRenNoDan___Spell_target_x[this] )*1.0), (( s__MinatoFexterRenNoDan___Spell_target_y[this])*1.0))) // INLINED!! - call TimerStart(NewTimerEx(this), 0.03, true, function s__MinatoFexterRenNoDan___Spell_periodic) + set s__MinatoFexterRenNoDan__Spell_caster[this]=GetTriggerUnit() + set s__MinatoFexterRenNoDan__Spell_target_x[this]=GetSpellTargetX() + set s__MinatoFexterRenNoDan__Spell_target_y[this]=GetSpellTargetY() + set s__MinatoFexterRenNoDan__Spell_count[this]=0 + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoFexterRenNoDan__Spell_caster[this] ) , ( 1)) // INLINED!! + call SetUnitAnimation(s__MinatoFexterRenNoDan__Spell_caster[this], "spell one") + call DestroyEffect(AddSpecialEffect(("Effects\\s_War_Stomp.mdx" ), (( s__MinatoFexterRenNoDan__Spell_target_x[this] )*1.0), (( s__MinatoFexterRenNoDan__Spell_target_y[this])*1.0))) // INLINED!! + call TimerStart(NewTimerEx(this), 0.03, true, function s__MinatoFexterRenNoDan__Spell_periodic) endfunction - function s__MinatoFexterRenNoDan___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEvent2((s__MinatoFexterRenNoDan___Spell_SPELL_ID ) , Filter(( function s__MinatoFexterRenNoDan___Spell_actions))) // INLINED!! + function s__MinatoFexterRenNoDan__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEvent2((s__MinatoFexterRenNoDan__Spell_SPELL_ID ) , Filter(( function s__MinatoFexterRenNoDan__Spell_actions))) // INLINED!! endfunction @@ -91417,8 +91417,8 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina call KillUnit(bj_lastCreatedUnit) call SetUnitAnimation(bj_lastCreatedUnit, "death") call ShowUnit(s__MinatoFexterYellowFlash_caster[this], true) - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoFexterYellowFlash_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoFexterYellowFlash_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoFexterYellowFlash_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoFexterYellowFlash_target[this] ) , ( 0)) // INLINED!! call SelectUnitForPlayerSingle(s__MinatoFexterYellowFlash_caster[this], GetOwningPlayer(s__MinatoFexterYellowFlash_caster[this])) call s__MinatoFexterYellowFlash_destroy(this) call ReleaseTimer(GetExpiredTimer()) @@ -91435,8 +91435,8 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina call SetUnitY(s__MinatoFexterYellowFlash_caster[this], s__MinatoFexterYellowFlash_caster_y[this]) call SetUnitX(s__MinatoFexterYellowFlash_target[this], new_x) call SetUnitY(s__MinatoFexterYellowFlash_target[this], new_y) - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoFexterYellowFlash_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoFexterYellowFlash_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoFexterYellowFlash_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoFexterYellowFlash_target[this] ) , ( 0)) // INLINED!! call s__MinatoFexterYellowFlash_destroy(this) call ReleaseTimer(GetExpiredTimer()) endfunction @@ -91463,7 +91463,7 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina call SetUnitX(s__MinatoFexterYellowFlash_caster[this], new_x) call SetUnitY(s__MinatoFexterYellowFlash_caster[this], new_y) call SetUnitFacing(s__MinatoFexterYellowFlash_caster[this], Rad2Deg(angle + bj_PI)) - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoFexterYellowFlash_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoFexterYellowFlash_target[this] ) , ( 1)) // INLINED!! loop set i=i + 1 exitwhen i > 10 @@ -91530,8 +91530,8 @@ call AddSpecialEffectTarget(("war3mapImported\\lxw jhxcom_2000.mdx" ), ( s__Mina else set s__MinatoFexterYellowFlash_count[this]=25 call ShowUnit(s__MinatoFexterYellowFlash_caster[this], false) - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoFexterYellowFlash_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoFexterYellowFlash_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoFexterYellowFlash_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoFexterYellowFlash_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__MinatoFexterYellowFlash_hiraishin) endif endif @@ -91716,35 +91716,35 @@ call AddSpecialEffectTarget(("Abilities\\Spells\\Other\\HealingSpray\\HealBottle //Implemented from module Alloc: - function s__MinatoFexterGamabunta___Spell_allocate takes nothing returns integer + function s__MinatoFexterGamabunta__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__MinatoFexterGamabunta___Spell_Alloc__recycle[(0)] == 0 ) then - set s__MinatoFexterGamabunta___Spell_Alloc__instanceCount=s__MinatoFexterGamabunta___Spell_Alloc__instanceCount + 1 - set this=s__MinatoFexterGamabunta___Spell_Alloc__instanceCount + if ( s__MinatoFexterGamabunta__Spell_Alloc__recycle[(0)] == 0 ) then + set s__MinatoFexterGamabunta__Spell_Alloc__instanceCount=s__MinatoFexterGamabunta__Spell_Alloc__instanceCount + 1 + set this=s__MinatoFexterGamabunta__Spell_Alloc__instanceCount else - set this=s__MinatoFexterGamabunta___Spell_Alloc__recycle[(0)] - set s__MinatoFexterGamabunta___Spell_Alloc__recycle[(0)]=s__MinatoFexterGamabunta___Spell_Alloc__recycle[s__MinatoFexterGamabunta___Spell_Alloc__recycle[(0)]] + set this=s__MinatoFexterGamabunta__Spell_Alloc__recycle[(0)] + set s__MinatoFexterGamabunta__Spell_Alloc__recycle[(0)]=s__MinatoFexterGamabunta__Spell_Alloc__recycle[s__MinatoFexterGamabunta__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__MinatoFexterGamabunta___Spell_deallocate takes integer this returns nothing - set s__MinatoFexterGamabunta___Spell_Alloc__recycle[this]=s__MinatoFexterGamabunta___Spell_Alloc__recycle[(0)] - set s__MinatoFexterGamabunta___Spell_Alloc__recycle[(0)]=this + function s__MinatoFexterGamabunta__Spell_deallocate takes integer this returns nothing + set s__MinatoFexterGamabunta__Spell_Alloc__recycle[this]=s__MinatoFexterGamabunta__Spell_Alloc__recycle[(0)] + set s__MinatoFexterGamabunta__Spell_Alloc__recycle[(0)]=this endfunction - function s__MinatoFexterGamabunta___Spell_destroy takes integer this returns nothing - set s__MinatoFexterGamabunta___Spell_caster[this]=null - set s__MinatoFexterGamabunta___Spell_gamahiro[this]=null - call s__MinatoFexterGamabunta___Spell_deallocate(this) + function s__MinatoFexterGamabunta__Spell_destroy takes integer this returns nothing + set s__MinatoFexterGamabunta__Spell_caster[this]=null + set s__MinatoFexterGamabunta__Spell_gamahiro[this]=null + call s__MinatoFexterGamabunta__Spell_deallocate(this) endfunction - function s__MinatoFexterGamabunta___Spell_shake takes nothing returns nothing + function s__MinatoFexterGamabunta__Spell_shake takes nothing returns nothing local integer i= 0 loop exitwhen i > 11 @@ -91754,7 +91754,7 @@ call AddSpecialEffectTarget(("Abilities\\Spells\\Other\\HealingSpray\\HealBottle call ReleaseTimer(GetExpiredTimer()) endfunction - function s__MinatoFexterGamabunta___Spell_damage takes nothing returns nothing + function s__MinatoFexterGamabunta__Spell_damage takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real new_x local real new_y @@ -91764,17 +91764,17 @@ call AddSpecialEffectTarget(("Abilities\\Spells\\Other\\HealingSpray\\HealBottle local real unit_y local unit u set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__MinatoFexterGamabunta___Spell_target_x[this], s__MinatoFexterGamabunta___Spell_target_y[this], 600.0, null) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__MinatoFexterGamabunta__Spell_target_x[this], s__MinatoFexterGamabunta__Spell_target_y[this], 600.0, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MinatoFexterGamabunta___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MinatoFexterGamabunta__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then set unit_x=GetUnitX(bj_lastCreatedUnit) set unit_y=GetUnitY(bj_lastCreatedUnit) // if IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then // call StunUnitTimed(this.caster, bj_lastCreatedUnit, 1.0) // endif - call UnitDamageTarget(s__MinatoFexterGamabunta___Spell_caster[this], bj_lastCreatedUnit, 1000 + 5 * GetHeroAgi(s__MinatoFexterGamabunta___Spell_caster[this], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__MinatoFexterGamabunta__Spell_caster[this], bj_lastCreatedUnit, 1000 + 5 * GetHeroAgi(s__MinatoFexterGamabunta__Spell_caster[this], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop @@ -91786,8 +91786,8 @@ call AddSpecialEffectTarget(("Abilities\\Spells\\Other\\HealingSpray\\HealBottle loop set i_2=i_2 + 1 exitwhen i_2 > 10 - set new_x=s__MinatoFexterGamabunta___Spell_target_x[this] + Cos(Deg2Rad(36 * i_2)) * 75 * i - set new_y=s__MinatoFexterGamabunta___Spell_target_y[this] + Sin(Deg2Rad(36 * i_2)) * 75 * i + set new_x=s__MinatoFexterGamabunta__Spell_target_x[this] + Cos(Deg2Rad(36 * i_2)) * 75 * i + set new_y=s__MinatoFexterGamabunta__Spell_target_y[this] + Sin(Deg2Rad(36 * i_2)) * 75 * i call DestroyEffect(AddSpecialEffect(("Effects\\s_Slam.mdx" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("war3mapImported\\slam.mdx" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! endloop @@ -91798,49 +91798,49 @@ call AddSpecialEffectTarget(("Abilities\\Spells\\Other\\HealingSpray\\HealBottle call CameraSetEQNoiseForPlayer(Player(i), 4.00) set i=i + 1 endloop - call SlowArea(s__MinatoFexterGamabunta___Spell_caster[this] , s__MinatoFexterGamabunta___Spell_target_x[this] , s__MinatoFexterGamabunta___Spell_target_y[this] , 350.0) - call UnitApplyTimedLife(s__MinatoFexterGamabunta___Spell_gamahiro[this], 'BTLF', 1.0) - call TimerStart(CreateTimer(), 1.0, false, function s__MinatoFexterGamabunta___Spell_shake) - call s__MinatoFexterGamabunta___Spell_destroy(this) + call SlowArea(s__MinatoFexterGamabunta__Spell_caster[this] , s__MinatoFexterGamabunta__Spell_target_x[this] , s__MinatoFexterGamabunta__Spell_target_y[this] , 350.0) + call UnitApplyTimedLife(s__MinatoFexterGamabunta__Spell_gamahiro[this], 'BTLF', 1.0) + call TimerStart(CreateTimer(), 1.0, false, function s__MinatoFexterGamabunta__Spell_shake) + call s__MinatoFexterGamabunta__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) set u=null endfunction - function s__MinatoFexterGamabunta___Spell_create_frog takes nothing returns nothing + function s__MinatoFexterGamabunta__Spell_create_frog takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - set s__MinatoFexterGamabunta___Spell_gamahiro[this]=CreateUnit(GetOwningPlayer(s__MinatoFexterGamabunta___Spell_caster[this]), 'h0B1', s__MinatoFexterGamabunta___Spell_target_x[this], s__MinatoFexterGamabunta___Spell_target_y[this], s__MinatoFexterGamabunta___Spell_angle[this]) - call SetUnitScale(s__MinatoFexterGamabunta___Spell_gamahiro[this], 1.5, 0, 0) - call SetUnitX(s__MinatoFexterGamabunta___Spell_gamahiro[this], s__MinatoFexterGamabunta___Spell_target_x[this]) - call SetUnitY(s__MinatoFexterGamabunta___Spell_gamahiro[this], s__MinatoFexterGamabunta___Spell_target_y[this]) - call UnitAddAbility(s__MinatoFexterGamabunta___Spell_gamahiro[this], 'Arav') - call UnitRemoveAbility(s__MinatoFexterGamabunta___Spell_gamahiro[this], 'Arav') - call SetUnitFlyHeight(s__MinatoFexterGamabunta___Spell_gamahiro[this], 700, 0) - call SetUnitFlyHeight(s__MinatoFexterGamabunta___Spell_gamahiro[this], 0, 1400) - call SetUnitAnimation(s__MinatoFexterGamabunta___Spell_gamahiro[this], "walk") - call TimerStart(NewTimerEx(this), 0.5, false, function s__MinatoFexterGamabunta___Spell_damage) + set s__MinatoFexterGamabunta__Spell_gamahiro[this]=CreateUnit(GetOwningPlayer(s__MinatoFexterGamabunta__Spell_caster[this]), 'h0B1', s__MinatoFexterGamabunta__Spell_target_x[this], s__MinatoFexterGamabunta__Spell_target_y[this], s__MinatoFexterGamabunta__Spell_angle[this]) + call SetUnitScale(s__MinatoFexterGamabunta__Spell_gamahiro[this], 1.5, 0, 0) + call SetUnitX(s__MinatoFexterGamabunta__Spell_gamahiro[this], s__MinatoFexterGamabunta__Spell_target_x[this]) + call SetUnitY(s__MinatoFexterGamabunta__Spell_gamahiro[this], s__MinatoFexterGamabunta__Spell_target_y[this]) + call UnitAddAbility(s__MinatoFexterGamabunta__Spell_gamahiro[this], 'Arav') + call UnitRemoveAbility(s__MinatoFexterGamabunta__Spell_gamahiro[this], 'Arav') + call SetUnitFlyHeight(s__MinatoFexterGamabunta__Spell_gamahiro[this], 700, 0) + call SetUnitFlyHeight(s__MinatoFexterGamabunta__Spell_gamahiro[this], 0, 1400) + call SetUnitAnimation(s__MinatoFexterGamabunta__Spell_gamahiro[this], "walk") + call TimerStart(NewTimerEx(this), 0.5, false, function s__MinatoFexterGamabunta__Spell_damage) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__MinatoFexterGamabunta___Spell_actions takes nothing returns nothing - local integer this= s__MinatoFexterGamabunta___Spell_allocate() + function s__MinatoFexterGamabunta__Spell_actions takes nothing returns nothing + local integer this= s__MinatoFexterGamabunta__Spell_allocate() if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then //call PlaySoundOnUnitBJ(gg_snd_MinatoKuchiyose, 100, GetTriggerUnit()) endif - set s__MinatoFexterGamabunta___Spell_caster[this]=GetTriggerUnit() - set s__MinatoFexterGamabunta___Spell_target_x[this]=GetSpellTargetX() - set s__MinatoFexterGamabunta___Spell_target_y[this]=GetSpellTargetY() - set s__MinatoFexterGamabunta___Spell_angle[this]=GetUnitFacing(s__MinatoFexterGamabunta___Spell_caster[this]) - call SetUnitAnimation(s__MinatoFexterGamabunta___Spell_caster[this], "spell slam") + set s__MinatoFexterGamabunta__Spell_caster[this]=GetTriggerUnit() + set s__MinatoFexterGamabunta__Spell_target_x[this]=GetSpellTargetX() + set s__MinatoFexterGamabunta__Spell_target_y[this]=GetSpellTargetY() + set s__MinatoFexterGamabunta__Spell_angle[this]=GetUnitFacing(s__MinatoFexterGamabunta__Spell_caster[this]) + call SetUnitAnimation(s__MinatoFexterGamabunta__Spell_caster[this], "spell slam") set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), 'h01V', GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), 270) call SetUnitAnimation(bj_lastCreatedUnit, "birth") call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 3.0) //call AddSpecialEffectEx("Effects\\s_Summoning.mdx", GetUnitX(this.caster), GetUnitY(this.caster)) - call TimerStart(NewTimerEx(this), 0.5, true, function s__MinatoFexterGamabunta___Spell_create_frog) + call TimerStart(NewTimerEx(this), 0.5, true, function s__MinatoFexterGamabunta__Spell_create_frog) endfunction - function s__MinatoFexterGamabunta___Spell_death takes nothing returns nothing + function s__MinatoFexterGamabunta__Spell_death takes nothing returns nothing local real new_x local real new_y local integer i= 0 @@ -91862,9 +91862,9 @@ call AddSpecialEffectTarget(("Abilities\\Spells\\Other\\HealingSpray\\HealBottle endif endfunction - function s__MinatoFexterGamabunta___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEvent2((s__MinatoFexterGamabunta___Spell_SPELL_ID ) , Filter(( function s__MinatoFexterGamabunta___Spell_actions))) // INLINED!! - call RegisterPlayerUnitEvent2((EVENT_PLAYER_UNIT_DEATH ) , Filter(( function s__MinatoFexterGamabunta___Spell_death))) // INLINED!! + function s__MinatoFexterGamabunta__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEvent2((s__MinatoFexterGamabunta__Spell_SPELL_ID ) , Filter(( function s__MinatoFexterGamabunta__Spell_actions))) // INLINED!! + call RegisterPlayerUnitEvent2((EVENT_PLAYER_UNIT_DEATH ) , Filter(( function s__MinatoFexterGamabunta__Spell_death))) // INLINED!! endfunction @@ -91974,29 +91974,29 @@ call AddSpecialEffectTarget(("Abilities\\Spells\\Other\\HealingSpray\\HealBottle //Implemented from module Alloc: - function s__MinatoFexterUltimate___Spell_allocate takes nothing returns integer + function s__MinatoFexterUltimate__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__MinatoFexterUltimate___Spell_Alloc__recycle[(0)] == 0 ) then - set s__MinatoFexterUltimate___Spell_Alloc__instanceCount=s__MinatoFexterUltimate___Spell_Alloc__instanceCount + 1 - set this=s__MinatoFexterUltimate___Spell_Alloc__instanceCount + if ( s__MinatoFexterUltimate__Spell_Alloc__recycle[(0)] == 0 ) then + set s__MinatoFexterUltimate__Spell_Alloc__instanceCount=s__MinatoFexterUltimate__Spell_Alloc__instanceCount + 1 + set this=s__MinatoFexterUltimate__Spell_Alloc__instanceCount else - set this=s__MinatoFexterUltimate___Spell_Alloc__recycle[(0)] - set s__MinatoFexterUltimate___Spell_Alloc__recycle[(0)]=s__MinatoFexterUltimate___Spell_Alloc__recycle[s__MinatoFexterUltimate___Spell_Alloc__recycle[(0)]] + set this=s__MinatoFexterUltimate__Spell_Alloc__recycle[(0)] + set s__MinatoFexterUltimate__Spell_Alloc__recycle[(0)]=s__MinatoFexterUltimate__Spell_Alloc__recycle[s__MinatoFexterUltimate__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__MinatoFexterUltimate___Spell_deallocate takes integer this returns nothing - set s__MinatoFexterUltimate___Spell_Alloc__recycle[this]=s__MinatoFexterUltimate___Spell_Alloc__recycle[(0)] - set s__MinatoFexterUltimate___Spell_Alloc__recycle[(0)]=this + function s__MinatoFexterUltimate__Spell_deallocate takes integer this returns nothing + set s__MinatoFexterUltimate__Spell_Alloc__recycle[this]=s__MinatoFexterUltimate__Spell_Alloc__recycle[(0)] + set s__MinatoFexterUltimate__Spell_Alloc__recycle[(0)]=this endfunction - function s__MinatoFexterUltimate___Spell_periodic takes nothing returns nothing + function s__MinatoFexterUltimate__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real caster_x local real caster_y @@ -92005,19 +92005,19 @@ call AddSpecialEffectTarget(("Abilities\\Spells\\Other\\HealingSpray\\HealBottle local real angle local real offset local integer i= 0 - set s__MinatoFexterUltimate___Spell_count[this]=s__MinatoFexterUltimate___Spell_count[this] + 1 - set caster_x=GetUnitX(s__MinatoFexterUltimate___Spell_caster[this]) - set caster_y=GetUnitY(s__MinatoFexterUltimate___Spell_caster[this]) + set s__MinatoFexterUltimate__Spell_count[this]=s__MinatoFexterUltimate__Spell_count[this] + 1 + set caster_x=GetUnitX(s__MinatoFexterUltimate__Spell_caster[this]) + set caster_y=GetUnitY(s__MinatoFexterUltimate__Spell_caster[this]) set bj_lastCreatedGroup=CreateGroup() call GroupEnumUnitsInRange(bj_lastCreatedGroup, caster_x, caster_y, 800, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MinatoFexterUltimate___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MinatoFexterUltimate__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then if IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) then - call UnitDamageTarget(s__MinatoFexterUltimate___Spell_caster[this], bj_lastCreatedUnit, ( 7.0 * GetHeroAgi(s__MinatoFexterUltimate___Spell_caster[this], true) + 1500 ) / 66, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__MinatoFexterUltimate__Spell_caster[this], bj_lastCreatedUnit, ( 7.0 * GetHeroAgi(s__MinatoFexterUltimate__Spell_caster[this], true) + 1500 ) / 66, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) else - call UnitDamageTarget(s__MinatoFexterUltimate___Spell_caster[this], bj_lastCreatedUnit, ( 7.0 * GetHeroAgi(s__MinatoFexterUltimate___Spell_caster[this], true) + 1500 ) / 133, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__MinatoFexterUltimate__Spell_caster[this], bj_lastCreatedUnit, ( 7.0 * GetHeroAgi(s__MinatoFexterUltimate__Spell_caster[this], true) + 1500 ) / 133, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) endif endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) @@ -92030,64 +92030,64 @@ call AddSpecialEffectTarget(("Abilities\\Spells\\Other\\HealingSpray\\HealBottle set offset=GetRandomReal(100, 550) set new_x=caster_x + Cos(angle) * offset set new_y=caster_y + Sin(angle) * offset - call SetUnitX(s__MinatoFexterUltimate___minatos[(this)*(1)+i], new_x) - call SetUnitY(s__MinatoFexterUltimate___minatos[(this)*(1)+i], new_y) - call SetUnitFacing(s__MinatoFexterUltimate___minatos[(this)*(1)+i], angle) - if ModuloInteger(s__MinatoFexterUltimate___Spell_count[this], 10) == 0 then - call SetUnitAnimation(s__MinatoFexterUltimate___minatos[(this)*(1)+i], "attack") + call SetUnitX(s__MinatoFexterUltimate__minatos[(this)*(1)+i], new_x) + call SetUnitY(s__MinatoFexterUltimate__minatos[(this)*(1)+i], new_y) + call SetUnitFacing(s__MinatoFexterUltimate__minatos[(this)*(1)+i], angle) + if ModuloInteger(s__MinatoFexterUltimate__Spell_count[this], 10) == 0 then + call SetUnitAnimation(s__MinatoFexterUltimate__minatos[(this)*(1)+i], "attack") endif if ModuloInteger(i, 2) == 0 then - call SetUnitX(s__MinatoFexterUltimate___flashes[(this)*(1)+i], new_x) - call SetUnitY(s__MinatoFexterUltimate___flashes[(this)*(1)+i], new_y) - call SetUnitFacing(s__MinatoFexterUltimate___flashes[(this)*(1)+i], angle) + call SetUnitX(s__MinatoFexterUltimate__flashes[(this)*(1)+i], new_x) + call SetUnitY(s__MinatoFexterUltimate__flashes[(this)*(1)+i], new_y) + call SetUnitFacing(s__MinatoFexterUltimate__flashes[(this)*(1)+i], angle) endif endloop - if s__MinatoFexterUltimate___Spell_count[this] > 133 then + if s__MinatoFexterUltimate__Spell_count[this] > 133 then set i=0 loop set i=i + 1 exitwhen i > 20 - call KillUnit(s__MinatoFexterUltimate___minatos[(this)*(1)+i]) - call ShowUnit(s__MinatoFexterUltimate___minatos[(this)*(1)+i], false) - set s__MinatoFexterUltimate___minatos[(this)*(1)+i]= null + call KillUnit(s__MinatoFexterUltimate__minatos[(this)*(1)+i]) + call ShowUnit(s__MinatoFexterUltimate__minatos[(this)*(1)+i], false) + set s__MinatoFexterUltimate__minatos[(this)*(1)+i]= null if ModuloInteger(i, 2) == 0 then - call KillUnit(s__MinatoFexterUltimate___flashes[(this)*(1)+i]) + call KillUnit(s__MinatoFexterUltimate__flashes[(this)*(1)+i]) // call ShowUnit(flashes[this][i], false) - set s__MinatoFexterUltimate___flashes[(this)*(1)+i]= null + set s__MinatoFexterUltimate__flashes[(this)*(1)+i]= null endif endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoFexterUltimate___Spell_caster[this] ) , ( 0)) // INLINED!! - call ShowUnit(s__MinatoFexterUltimate___Spell_caster[this], true) - call SelectUnitForPlayerSingle(s__MinatoFexterUltimate___Spell_caster[this], GetOwningPlayer(s__MinatoFexterUltimate___Spell_caster[this])) + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoFexterUltimate__Spell_caster[this] ) , ( 0)) // INLINED!! + call ShowUnit(s__MinatoFexterUltimate__Spell_caster[this], true) + call SelectUnitForPlayerSingle(s__MinatoFexterUltimate__Spell_caster[this], GetOwningPlayer(s__MinatoFexterUltimate__Spell_caster[this])) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__MinatoFexterUltimate___Spell_delay takes nothing returns nothing + function s__MinatoFexterUltimate__Spell_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local integer i= 0 loop set i=i + 1 exitwhen i > 20 - set s__MinatoFexterUltimate___minatos[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__MinatoFexterUltimate___Spell_caster[this]), 'h07S', GetUnitX(s__MinatoFexterUltimate___Spell_caster[this]), GetUnitY(s__MinatoFexterUltimate___Spell_caster[this]), GetRandomReal(0, 360)) - call UnitAddAbility(s__MinatoFexterUltimate___minatos[(this)*(1)+i], 'Arav') - call SetUnitFlyHeight(s__MinatoFexterUltimate___minatos[(this)*(1)+i], GetRandomReal(200, 400), 0) - call UnitRemoveAbility(s__MinatoFexterUltimate___minatos[(this)*(1)+i], 'Arav') - call SetUnitVertexColor(s__MinatoFexterUltimate___minatos[(this)*(1)+i], 255, 255, 255, 150) + set s__MinatoFexterUltimate__minatos[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__MinatoFexterUltimate__Spell_caster[this]), 'h07S', GetUnitX(s__MinatoFexterUltimate__Spell_caster[this]), GetUnitY(s__MinatoFexterUltimate__Spell_caster[this]), GetRandomReal(0, 360)) + call UnitAddAbility(s__MinatoFexterUltimate__minatos[(this)*(1)+i], 'Arav') + call SetUnitFlyHeight(s__MinatoFexterUltimate__minatos[(this)*(1)+i], GetRandomReal(200, 400), 0) + call UnitRemoveAbility(s__MinatoFexterUltimate__minatos[(this)*(1)+i], 'Arav') + call SetUnitVertexColor(s__MinatoFexterUltimate__minatos[(this)*(1)+i], 255, 255, 255, 150) if ModuloInteger(i, 2) == 0 then - set s__MinatoFexterUltimate___flashes[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__MinatoFexterUltimate___Spell_caster[this]), 'h00T', GetUnitX(s__MinatoFexterUltimate___Spell_caster[this]), GetUnitY(s__MinatoFexterUltimate___Spell_caster[this]), GetRandomReal(0, 360)) - call SetUnitFlyHeight(s__MinatoFexterUltimate___flashes[(this)*(1)+i], 300, 0) - call SetUnitScale(s__MinatoFexterUltimate___flashes[(this)*(1)+i], 5.0, 5.0, 5.0) + set s__MinatoFexterUltimate__flashes[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__MinatoFexterUltimate__Spell_caster[this]), 'h00T', GetUnitX(s__MinatoFexterUltimate__Spell_caster[this]), GetUnitY(s__MinatoFexterUltimate__Spell_caster[this]), GetRandomReal(0, 360)) + call SetUnitFlyHeight(s__MinatoFexterUltimate__flashes[(this)*(1)+i], 300, 0) + call SetUnitScale(s__MinatoFexterUltimate__flashes[(this)*(1)+i], 5.0, 5.0, 5.0) endif endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__MinatoFexterUltimate___Spell_caster[this] ) , ( 1)) // INLINED!! - call ShowUnit(s__MinatoFexterUltimate___Spell_caster[this], false) - call TimerStart(NewTimerEx(this), 0.03, true, function s__MinatoFexterUltimate___Spell_periodic) + call s__PauseUnitEx___Pause_setPauseCounter((s__MinatoFexterUltimate__Spell_caster[this] ) , ( 1)) // INLINED!! + call ShowUnit(s__MinatoFexterUltimate__Spell_caster[this], false) + call TimerStart(NewTimerEx(this), 0.03, true, function s__MinatoFexterUltimate__Spell_periodic) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__MinatoFexterUltimate___Spell_actions takes nothing returns nothing - local integer this= s__MinatoFexterUltimate___Spell_allocate() + function s__MinatoFexterUltimate__Spell_actions takes nothing returns nothing + local integer this= s__MinatoFexterUltimate__Spell_allocate() local real caster_x local real caster_y local real new_x @@ -92101,9 +92101,9 @@ call AddSpecialEffectTarget(("Abilities\\Spells\\Other\\HealingSpray\\HealBottle endif - set s__MinatoFexterUltimate___Spell_caster[this]=GetTriggerUnit() - set caster_x=GetUnitX(s__MinatoFexterUltimate___Spell_caster[this]) - set caster_y=GetUnitY(s__MinatoFexterUltimate___Spell_caster[this]) + set s__MinatoFexterUltimate__Spell_caster[this]=GetTriggerUnit() + set caster_x=GetUnitX(s__MinatoFexterUltimate__Spell_caster[this]) + set caster_y=GetUnitY(s__MinatoFexterUltimate__Spell_caster[this]) loop set i=i + 1 exitwhen i > 20 @@ -92118,17 +92118,17 @@ call AddSpecialEffectTarget(("Abilities\\Spells\\Other\\HealingSpray\\HealBottle call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 1.0) call IssuePointOrder(bj_lastCreatedUnit, "summonfactory", new_x, new_y) endloop - set s__MinatoFexterUltimate___Spell_count[this]=0 + set s__MinatoFexterUltimate__Spell_count[this]=0 set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), 'e007', caster_x, caster_y, 0) call SetUnitX(bj_lastCreatedUnit, caster_x) call SetUnitY(bj_lastCreatedUnit, caster_y) call UnitAddAbility(bj_lastCreatedUnit, 'A0Q0') call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 3.0) - call TimerStart(NewTimerEx(this), 1.0, false, function s__MinatoFexterUltimate___Spell_delay) + call TimerStart(NewTimerEx(this), 1.0, false, function s__MinatoFexterUltimate__Spell_delay) endfunction - function s__MinatoFexterUltimate___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEvent2((s__MinatoFexterUltimate___Spell_SPELL_ID ) , Filter(( function s__MinatoFexterUltimate___Spell_actions))) // INLINED!! + function s__MinatoFexterUltimate__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEvent2((s__MinatoFexterUltimate__Spell_SPELL_ID ) , Filter(( function s__MinatoFexterUltimate__Spell_actions))) // INLINED!! endfunction @@ -92170,93 +92170,93 @@ call AddSpecialEffectTarget(("Abilities\\Spells\\Other\\HealingSpray\\HealBottle //Implemented from module Alloc: - function s__MuNormalJinton___Spell_allocate takes nothing returns integer + function s__MuNormalJinton__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__MuNormalJinton___Spell_Alloc__recycle[(0)] == 0 ) then - set s__MuNormalJinton___Spell_Alloc__instanceCount=s__MuNormalJinton___Spell_Alloc__instanceCount + 1 - set this=s__MuNormalJinton___Spell_Alloc__instanceCount + if ( s__MuNormalJinton__Spell_Alloc__recycle[(0)] == 0 ) then + set s__MuNormalJinton__Spell_Alloc__instanceCount=s__MuNormalJinton__Spell_Alloc__instanceCount + 1 + set this=s__MuNormalJinton__Spell_Alloc__instanceCount else - set this=s__MuNormalJinton___Spell_Alloc__recycle[(0)] - set s__MuNormalJinton___Spell_Alloc__recycle[(0)]=s__MuNormalJinton___Spell_Alloc__recycle[s__MuNormalJinton___Spell_Alloc__recycle[(0)]] + set this=s__MuNormalJinton__Spell_Alloc__recycle[(0)] + set s__MuNormalJinton__Spell_Alloc__recycle[(0)]=s__MuNormalJinton__Spell_Alloc__recycle[s__MuNormalJinton__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__MuNormalJinton___Spell_deallocate takes integer this returns nothing - set s__MuNormalJinton___Spell_Alloc__recycle[this]=s__MuNormalJinton___Spell_Alloc__recycle[(0)] - set s__MuNormalJinton___Spell_Alloc__recycle[(0)]=this + function s__MuNormalJinton__Spell_deallocate takes integer this returns nothing + set s__MuNormalJinton__Spell_Alloc__recycle[this]=s__MuNormalJinton__Spell_Alloc__recycle[(0)] + set s__MuNormalJinton__Spell_Alloc__recycle[(0)]=this endfunction - function s__MuNormalJinton___Spell_show takes nothing returns nothing + function s__MuNormalJinton__Spell_show takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! loop - set bj_lastCreatedUnit=FirstOfGroup(s__MuNormalJinton___Spell_hideG[this]) + set bj_lastCreatedUnit=FirstOfGroup(s__MuNormalJinton__Spell_hideG[this]) exitwhen bj_lastCreatedUnit == null call ShowUnit(bj_lastCreatedUnit, true) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! //call StunUnitTimed(bj_lastCreatedUnit, 1.0) call SelectUnitForPlayerSingle(bj_lastCreatedUnit, GetOwningPlayer(bj_lastCreatedUnit)) - call UnitDamageTarget(s__MuNormalJinton___Spell_caster[this], bj_lastCreatedUnit, GetHeroInt(s__MuNormalJinton___Spell_caster[this], true) * GetUnitAbilityLevel(s__MuNormalJinton___Spell_caster[this], s__MuNormalJinton___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__MuNormalJinton__Spell_caster[this], bj_lastCreatedUnit, GetHeroInt(s__MuNormalJinton__Spell_caster[this], true) * GetUnitAbilityLevel(s__MuNormalJinton__Spell_caster[this], s__MuNormalJinton__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) call SetUnitAnimation(bj_lastCreatedUnit, "death") - call GroupRemoveUnit(s__MuNormalJinton___Spell_hideG[this], bj_lastCreatedUnit) + call GroupRemoveUnit(s__MuNormalJinton__Spell_hideG[this], bj_lastCreatedUnit) endloop - call DestroyGroup(s__MuNormalJinton___Spell_hideG[this]) - set s__MuNormalJinton___Spell_hideG[this]=null - set s__MuNormalJinton___Spell_caster[this]=null - call s__MuNormalJinton___Spell_deallocate(this) + call DestroyGroup(s__MuNormalJinton__Spell_hideG[this]) + set s__MuNormalJinton__Spell_hideG[this]=null + set s__MuNormalJinton__Spell_caster[this]=null + call s__MuNormalJinton__Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__MuNormalJinton___Spell_hide takes nothing returns nothing + function s__MuNormalJinton__Spell_hide takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__MuNormalJinton___Spell_x[this], s__MuNormalJinton___Spell_y[this], 250.0, null) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__MuNormalJinton__Spell_x[this], s__MuNormalJinton__Spell_y[this], 250.0, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MuNormalJinton___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MuNormalJinton__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! call ShowUnit(bj_lastCreatedUnit, false) - call GroupAddUnit(s__MuNormalJinton___Spell_hideG[this], bj_lastCreatedUnit) + call GroupAddUnit(s__MuNormalJinton__Spell_hideG[this], bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - call TimerStart(NewTimerEx(this), 1.0, false, function s__MuNormalJinton___Spell_show) + call TimerStart(NewTimerEx(this), 1.0, false, function s__MuNormalJinton__Spell_show) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__MuNormalJinton___Spell_actions takes nothing returns nothing - local integer this= s__MuNormalJinton___Spell_allocate() + function s__MuNormalJinton__Spell_actions takes nothing returns nothing + local integer this= s__MuNormalJinton__Spell_allocate() local real caster_x local real caster_y local real target_x local real target_y local real angle - set s__MuNormalJinton___Spell_caster[this]=GetTriggerUnit() - set s__MuNormalJinton___Spell_hideG[this]=CreateGroup() + set s__MuNormalJinton__Spell_caster[this]=GetTriggerUnit() + set s__MuNormalJinton__Spell_hideG[this]=CreateGroup() //set this.target = GetSpellTargetUnit() - set caster_x=GetUnitX(s__MuNormalJinton___Spell_caster[this]) - set caster_y=GetUnitY(s__MuNormalJinton___Spell_caster[this]) - set s__MuNormalJinton___Spell_x[this]=GetSpellTargetX() //GetUnitX(this.target) - set s__MuNormalJinton___Spell_y[this]=GetSpellTargetY() //GetUnitY(this.target) - set angle=Atan2(( s__MuNormalJinton___Spell_y[this] - caster_y ), ( s__MuNormalJinton___Spell_x[this] - caster_x )) - set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), 'e01Z', s__MuNormalJinton___Spell_x[this], s__MuNormalJinton___Spell_y[this], Rad2Deg(angle)) - call SetUnitX(bj_lastCreatedUnit, s__MuNormalJinton___Spell_x[this]) - call SetUnitY(bj_lastCreatedUnit, s__MuNormalJinton___Spell_y[this]) + set caster_x=GetUnitX(s__MuNormalJinton__Spell_caster[this]) + set caster_y=GetUnitY(s__MuNormalJinton__Spell_caster[this]) + set s__MuNormalJinton__Spell_x[this]=GetSpellTargetX() //GetUnitX(this.target) + set s__MuNormalJinton__Spell_y[this]=GetSpellTargetY() //GetUnitY(this.target) + set angle=Atan2(( s__MuNormalJinton__Spell_y[this] - caster_y ), ( s__MuNormalJinton__Spell_x[this] - caster_x )) + set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), 'e01Z', s__MuNormalJinton__Spell_x[this], s__MuNormalJinton__Spell_y[this], Rad2Deg(angle)) + call SetUnitX(bj_lastCreatedUnit, s__MuNormalJinton__Spell_x[this]) + call SetUnitY(bj_lastCreatedUnit, s__MuNormalJinton__Spell_y[this]) // call SetUnitTimeScale(bj_lastCreatedUnit, 2.0) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 1.3) //call PauseUnit(this.target, true) - call TimerStart(NewTimerEx(this), 1.3, false, function s__MuNormalJinton___Spell_hide) + call TimerStart(NewTimerEx(this), 1.3, false, function s__MuNormalJinton__Spell_hide) endfunction - function s__MuNormalJinton___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(53 , s__MuNormalJinton___Spell_SPELL_ID , function s__MuNormalJinton___Spell_actions) + function s__MuNormalJinton__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(53 , s__MuNormalJinton__Spell_SPELL_ID , function s__MuNormalJinton__Spell_actions) endfunction @@ -92350,42 +92350,42 @@ endfunction //Implemented from module Alloc: - function s__MuSlam___Spell_allocate takes nothing returns integer + function s__MuSlam__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__MuSlam___Spell_Alloc__recycle[(0)] == 0 ) then - set s__MuSlam___Spell_Alloc__instanceCount=s__MuSlam___Spell_Alloc__instanceCount + 1 - set this=s__MuSlam___Spell_Alloc__instanceCount + if ( s__MuSlam__Spell_Alloc__recycle[(0)] == 0 ) then + set s__MuSlam__Spell_Alloc__instanceCount=s__MuSlam__Spell_Alloc__instanceCount + 1 + set this=s__MuSlam__Spell_Alloc__instanceCount else - set this=s__MuSlam___Spell_Alloc__recycle[(0)] - set s__MuSlam___Spell_Alloc__recycle[(0)]=s__MuSlam___Spell_Alloc__recycle[s__MuSlam___Spell_Alloc__recycle[(0)]] + set this=s__MuSlam__Spell_Alloc__recycle[(0)] + set s__MuSlam__Spell_Alloc__recycle[(0)]=s__MuSlam__Spell_Alloc__recycle[s__MuSlam__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__MuSlam___Spell_deallocate takes integer this returns nothing - set s__MuSlam___Spell_Alloc__recycle[this]=s__MuSlam___Spell_Alloc__recycle[(0)] - set s__MuSlam___Spell_Alloc__recycle[(0)]=this + function s__MuSlam__Spell_deallocate takes integer this returns nothing + set s__MuSlam__Spell_Alloc__recycle[this]=s__MuSlam__Spell_Alloc__recycle[(0)] + set s__MuSlam__Spell_Alloc__recycle[(0)]=this endfunction - function s__MuSlam___Spell_destroy takes integer this returns nothing - call DestroyGroup(s__MuSlam___Spell_damaged[this]) - set s__MuSlam___Spell_damaged[this]=null - set s__MuSlam___Spell_caster[this]=null - call s__MuSlam___Spell_deallocate(this) + function s__MuSlam__Spell_destroy takes integer this returns nothing + call DestroyGroup(s__MuSlam__Spell_damaged[this]) + set s__MuSlam__Spell_damaged[this]=null + set s__MuSlam__Spell_caster[this]=null + call s__MuSlam__Spell_deallocate(this) endfunction - function s__MuSlam___Spell_periodic takes nothing returns nothing + function s__MuSlam__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real new_x= s__MuSlam___Spell_pos_x[this] + Cos(s__MuSlam___Spell_angle[this]) * 100 * s__MuSlam___Spell_count[this] - local real new_y= s__MuSlam___Spell_pos_y[this] + Sin(s__MuSlam___Spell_angle[this]) * 100 * s__MuSlam___Spell_count[this] + local real new_x= s__MuSlam__Spell_pos_x[this] + Cos(s__MuSlam__Spell_angle[this]) * 100 * s__MuSlam__Spell_count[this] + local real new_y= s__MuSlam__Spell_pos_y[this] + Sin(s__MuSlam__Spell_angle[this]) * 100 * s__MuSlam__Spell_count[this] local unit u - set s__MuSlam___Spell_count[this]=s__MuSlam___Spell_count[this] + 1 - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MuSlam___Spell_caster[this]), 'e020', new_x, new_y, Rad2Deg(s__MuSlam___Spell_angle[this])) + set s__MuSlam__Spell_count[this]=s__MuSlam__Spell_count[this] + 1 + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__MuSlam__Spell_caster[this]), 'e020', new_x, new_y, Rad2Deg(s__MuSlam__Spell_angle[this])) call SetUnitX(bj_lastCreatedUnit, new_x) call SetUnitY(bj_lastCreatedUnit, new_y) call KillUnit(bj_lastCreatedUnit) @@ -92395,36 +92395,36 @@ endfunction loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MuSlam___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false and not IsUnitInGroup(bj_lastCreatedUnit, s__MuSlam___Spell_damaged[this]) then - call StunUnitTimed(s__MuSlam___Spell_caster[this] , bj_lastCreatedUnit , 2.0) - call UnitDamageTarget(s__MuSlam___Spell_caster[this], bj_lastCreatedUnit, 90.0 * GetUnitAbilityLevel(s__MuSlam___Spell_caster[this], s__MuSlam___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) - call GroupAddUnit(s__MuSlam___Spell_damaged[this], bj_lastCreatedUnit) + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__MuSlam__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false and not IsUnitInGroup(bj_lastCreatedUnit, s__MuSlam__Spell_damaged[this]) then + call StunUnitTimed(s__MuSlam__Spell_caster[this] , bj_lastCreatedUnit , 2.0) + call UnitDamageTarget(s__MuSlam__Spell_caster[this], bj_lastCreatedUnit, 90.0 * GetUnitAbilityLevel(s__MuSlam__Spell_caster[this], s__MuSlam__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + call GroupAddUnit(s__MuSlam__Spell_damaged[this], bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) set u=null - if s__MuSlam___Spell_count[this] > 7 then - call s__MuSlam___Spell_destroy(this) + if s__MuSlam__Spell_count[this] > 7 then + call s__MuSlam__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__MuSlam___Spell_actions takes nothing returns nothing - local integer this= s__MuSlam___Spell_allocate() + function s__MuSlam__Spell_actions takes nothing returns nothing + local integer this= s__MuSlam__Spell_allocate() local real target_x= GetSpellTargetX() local real target_y= GetSpellTargetY() - set s__MuSlam___Spell_damaged[this]=CreateGroup() - set s__MuSlam___Spell_caster[this]=GetTriggerUnit() - set s__MuSlam___Spell_pos_x[this]=GetUnitX(s__MuSlam___Spell_caster[this]) - set s__MuSlam___Spell_pos_y[this]=GetUnitY(s__MuSlam___Spell_caster[this]) - set s__MuSlam___Spell_angle[this]=Atan2(( target_y - s__MuSlam___Spell_pos_y[this] ), ( target_x - s__MuSlam___Spell_pos_x[this] )) - set s__MuSlam___Spell_count[this]=0 - call TimerStart(NewTimerEx(this), 0.10, true, function s__MuSlam___Spell_periodic) + set s__MuSlam__Spell_damaged[this]=CreateGroup() + set s__MuSlam__Spell_caster[this]=GetTriggerUnit() + set s__MuSlam__Spell_pos_x[this]=GetUnitX(s__MuSlam__Spell_caster[this]) + set s__MuSlam__Spell_pos_y[this]=GetUnitY(s__MuSlam__Spell_caster[this]) + set s__MuSlam__Spell_angle[this]=Atan2(( target_y - s__MuSlam__Spell_pos_y[this] ), ( target_x - s__MuSlam__Spell_pos_x[this] )) + set s__MuSlam__Spell_count[this]=0 + call TimerStart(NewTimerEx(this), 0.10, true, function s__MuSlam__Spell_periodic) endfunction - function s__MuSlam___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(53 , s__MuSlam___Spell_SPELL_ID , function s__MuSlam___Spell_actions) + function s__MuSlam__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(53 , s__MuSlam__Spell_SPELL_ID , function s__MuSlam__Spell_actions) endfunction @@ -92436,7 +92436,7 @@ endfunction - function s__MuCylindricalJinton___Spell_actions takes nothing returns nothing + function s__MuCylindricalJinton__Spell_actions takes nothing returns nothing local group damaged= CreateGroup() local real caster_x= GetUnitX(GetTriggerUnit()) local real caster_y= GetUnitY(GetTriggerUnit()) @@ -92467,7 +92467,7 @@ endfunction set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null if IsUnitEnemy(bj_lastCreatedUnit, GetTriggerPlayer()) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitInGroup(bj_lastCreatedUnit, damaged) then - call UnitDamageTarget(GetTriggerUnit(), bj_lastCreatedUnit, 800 * GetUnitAbilityLevel(GetTriggerUnit(), s__MuCylindricalJinton___Spell_SPELL_ID) + 2.0 * GetHeroInt(GetTriggerUnit(), true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(GetTriggerUnit(), bj_lastCreatedUnit, 800 * GetUnitAbilityLevel(GetTriggerUnit(), s__MuCylindricalJinton__Spell_SPELL_ID) + 2.0 * GetHeroInt(GetTriggerUnit(), true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) //call StunUnitTimed(GetTriggerUnit(), bj_lastCreatedUnit, 0.5) call GroupAddUnit(damaged, bj_lastCreatedUnit) endif @@ -92478,8 +92478,8 @@ endfunction set damaged=null endfunction - function s__MuCylindricalJinton___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(53 , s__MuCylindricalJinton___Spell_SPELL_ID , function s__MuCylindricalJinton___Spell_actions) + function s__MuCylindricalJinton__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(53 , s__MuCylindricalJinton__Spell_SPELL_ID , function s__MuCylindricalJinton__Spell_actions) endfunction @@ -92543,8 +92543,8 @@ function Trig_MuShoot_Conditions takes nothing returns boolean endfunction function Trig_MuShoot_Enum takes nothing returns boolean - if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(Mu___Mu_caster)) and GetWidgetLife(GetFilterUnit()) > 0.405 then - call UnitDamageTarget(Mu___Mu_caster, GetFilterUnit(), 6.0 * GetHeroInt(Mu___Mu_caster, true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(Mu__Mu_caster)) and GetWidgetLife(GetFilterUnit()) > 0.405 then + call UnitDamageTarget(Mu__Mu_caster, GetFilterUnit(), 6.0 * GetHeroInt(Mu__Mu_caster, true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) endif return false endfunction @@ -92557,60 +92557,60 @@ function Trig_MuShoot_Actions takes nothing returns nothing if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Muu_T_Bunretsu, 70, GetTriggerUnit()) endif - set Mu___Mu_x=GetSpellTargetX() - set Mu___Mu_y=GetSpellTargetY() - set Mu___Mu_caster=GetTriggerUnit() - call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl" ), (( GetUnitX(Mu___Mu_caster) )*1.0), (( GetUnitY(Mu___Mu_caster))*1.0))) // INLINED!! + set Mu__Mu_x=GetSpellTargetX() + set Mu__Mu_y=GetSpellTargetY() + set Mu__Mu_caster=GetTriggerUnit() + call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl" ), (( GetUnitX(Mu__Mu_caster) )*1.0), (( GetUnitY(Mu__Mu_caster))*1.0))) // INLINED!! //call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Mu: The ninjas of this generation have become too soft.|r") set x1=GetUnitX(GetTriggerUnit()) // GetPolarX(GetUnitX(GetTriggerUnit()), Deg2Rad(0), 700.0) set y1=GetUnitY(GetTriggerUnit()) //GetPolarY(GetUnitY(GetTriggerUnit()), Deg2Rad(0), 700.0) set x2=GetSpellTargetX() //GetPolarX(Mu_x, Deg2Rad(180), 700.0) set y2=GetSpellTargetY() //GetPolarY(Mu_y, Deg2Rad(180), 700.0) call TriggerSleepAction(0.01) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! call SetUnitFlyHeight(GetTriggerUnit(), 500, 2000) call TriggerSleepAction(0.25) call SetUnitAnimation(GetTriggerUnit(), "spell channel") - set Mu___Mu_laser1=CreateUnit(GetOwningPlayer(Mu___Mu_caster), 'h08A', x1, y1, Rad2Deg(Atan3(x1 , y1 , x2 , y2))) - call SetUnitAnimation(Mu___Mu_laser1, "birth") - call SetUnitTimeScale(Mu___Mu_laser1, 0.5) - call SetUnitFlyHeight(Mu___Mu_laser1, 500, 0) - set Mu___Mu_clone1=CreateUnit(GetOwningPlayer(Mu___Mu_caster), 'e007', x1, y1, 180.0) - call SetUnitAnimation(Mu___Mu_clone1, "spell channel") + set Mu__Mu_laser1=CreateUnit(GetOwningPlayer(Mu__Mu_caster), 'h08A', x1, y1, Rad2Deg(Atan3(x1 , y1 , x2 , y2))) + call SetUnitAnimation(Mu__Mu_laser1, "birth") + call SetUnitTimeScale(Mu__Mu_laser1, 0.5) + call SetUnitFlyHeight(Mu__Mu_laser1, 500, 0) + set Mu__Mu_clone1=CreateUnit(GetOwningPlayer(Mu__Mu_caster), 'e007', x1, y1, 180.0) + call SetUnitAnimation(Mu__Mu_clone1, "spell channel") call TriggerSleepAction(0.1) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! call SetUnitFlyHeight(GetTriggerUnit(), 0, 2000) call ResetUnitAnimation(GetTriggerUnit()) - set Mu___Mu_laser2=CreateUnit(GetOwningPlayer(Mu___Mu_caster), 'h074', x2, y2, 0) - call SetUnitAnimation(Mu___Mu_laser2, "birth") - call SetUnitTimeScale(Mu___Mu_laser2, 0.5) - set Mu___Mu_laser2e=AddSpecialEffect("lasernew.mdl", x2, y2) - call BlzSetSpecialEffectTimeScale(Mu___Mu_laser2e, 0.5) - call BlzSetSpecialEffectHeight(Mu___Mu_laser2e, 1000 + GetPointZ(x2 , y2)) - call BlzSetSpecialEffectPitch(Mu___Mu_laser2e, 1.57) - set Mu___Mu_clone2=CreateUnit(GetOwningPlayer(Mu___Mu_caster), 'e007', x2, y2, 0) + set Mu__Mu_laser2=CreateUnit(GetOwningPlayer(Mu__Mu_caster), 'h074', x2, y2, 0) + call SetUnitAnimation(Mu__Mu_laser2, "birth") + call SetUnitTimeScale(Mu__Mu_laser2, 0.5) + set Mu__Mu_laser2e=AddSpecialEffect("lasernew.mdl", x2, y2) + call BlzSetSpecialEffectTimeScale(Mu__Mu_laser2e, 0.5) + call BlzSetSpecialEffectHeight(Mu__Mu_laser2e, 1000 + GetPointZ(x2 , y2)) + call BlzSetSpecialEffectPitch(Mu__Mu_laser2e, 1.57) + set Mu__Mu_clone2=CreateUnit(GetOwningPlayer(Mu__Mu_caster), 'e007', x2, y2, 0) //call AddSpecialEffectTargetEx("Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl", Mu_clone2, "origin") - call SetUnitAnimation(Mu___Mu_clone2, "spell channel") - if not ( RectContainsCoords(gg_rct_duel_area, Mu___Mu_x, Mu___Mu_y) ) or GetOwningPlayer(Mu___Mu_caster) == udg_Duel_Inviter or GetOwningPlayer(Mu___Mu_caster) == udg_Duel_Receiver then + call SetUnitAnimation(Mu__Mu_clone2, "spell channel") + if not ( RectContainsCoords(gg_rct_duel_area, Mu__Mu_x, Mu__Mu_y) ) or GetOwningPlayer(Mu__Mu_caster) == udg_Duel_Inviter or GetOwningPlayer(Mu__Mu_caster) == udg_Duel_Receiver then set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, Mu___Mu_x, Mu___Mu_y, 300.0, Filter(function Trig_MuShoot_Enum)) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, Mu__Mu_x, Mu__Mu_y, 300.0, Filter(function Trig_MuShoot_Enum)) call DestroyGroup(bj_lastCreatedGroup) endif call TriggerSleepAction(0.3) - call KillUnit(Mu___Mu_clone2) - call KillUnit(Mu___Mu_clone1) - call ShowUnit(Mu___Mu_clone2, false) - call ShowUnit(Mu___Mu_clone1, false) - call KillUnit(Mu___Mu_laser1) - call KillUnit(Mu___Mu_laser2) - call DestroyEffect(Mu___Mu_laser2e) + call KillUnit(Mu__Mu_clone2) + call KillUnit(Mu__Mu_clone1) + call ShowUnit(Mu__Mu_clone2, false) + call ShowUnit(Mu__Mu_clone1, false) + call KillUnit(Mu__Mu_laser1) + call KillUnit(Mu__Mu_laser2) + call DestroyEffect(Mu__Mu_laser2e) //call ShowUnit(Mu_caster, true) //call SelectUnitForPlayerSingle(Mu_caster, GetOwningPlayer(Mu_caster)) endfunction //=========================================================================== -function Mu___init takes nothing returns nothing +function Mu__init takes nothing returns nothing set gg_trg_MuShoot=CreateTrigger() call TriggerRegisterAnyUnitEventBJ(gg_trg_MuShoot, EVENT_PLAYER_UNIT_SPELL_EFFECT) call TriggerAddCondition(gg_trg_MuShoot, Condition(function Trig_MuShoot_Conditions)) @@ -92891,83 +92891,83 @@ endfunction //Implemented from module Alloc: - function s__NagatoDevaTarget___Spell_allocate takes nothing returns integer + function s__NagatoDevaTarget__Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__NagatoDevaTarget___Spell_Alloc__recycle[(0)] == 0 ) then - set s__NagatoDevaTarget___Spell_Alloc__instanceCount=s__NagatoDevaTarget___Spell_Alloc__instanceCount + 1 - set this=s__NagatoDevaTarget___Spell_Alloc__instanceCount + if ( s__NagatoDevaTarget__Spell_Alloc__recycle[(0)] == 0 ) then + set s__NagatoDevaTarget__Spell_Alloc__instanceCount=s__NagatoDevaTarget__Spell_Alloc__instanceCount + 1 + set this=s__NagatoDevaTarget__Spell_Alloc__instanceCount else - set this=s__NagatoDevaTarget___Spell_Alloc__recycle[(0)] - set s__NagatoDevaTarget___Spell_Alloc__recycle[(0)]=s__NagatoDevaTarget___Spell_Alloc__recycle[s__NagatoDevaTarget___Spell_Alloc__recycle[(0)]] + set this=s__NagatoDevaTarget__Spell_Alloc__recycle[(0)] + set s__NagatoDevaTarget__Spell_Alloc__recycle[(0)]=s__NagatoDevaTarget__Spell_Alloc__recycle[s__NagatoDevaTarget__Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__NagatoDevaTarget___Spell_deallocate takes integer this returns nothing - set s__NagatoDevaTarget___Spell_Alloc__recycle[this]=s__NagatoDevaTarget___Spell_Alloc__recycle[(0)] - set s__NagatoDevaTarget___Spell_Alloc__recycle[(0)]=this + function s__NagatoDevaTarget__Spell_deallocate takes integer this returns nothing + set s__NagatoDevaTarget__Spell_Alloc__recycle[this]=s__NagatoDevaTarget__Spell_Alloc__recycle[(0)] + set s__NagatoDevaTarget__Spell_Alloc__recycle[(0)]=this endfunction - function s__NagatoDevaTarget___Spell_destroy takes integer this returns nothing - set s__NagatoDevaTarget___Spell_caster[this]=null - set s__NagatoDevaTarget___Spell_target[this]=null - call s__NagatoDevaTarget___Spell_deallocate(this) + function s__NagatoDevaTarget__Spell_destroy takes integer this returns nothing + set s__NagatoDevaTarget__Spell_caster[this]=null + set s__NagatoDevaTarget__Spell_target[this]=null + call s__NagatoDevaTarget__Spell_deallocate(this) endfunction - function s__NagatoDevaTarget___Spell_periodic takes nothing returns nothing + function s__NagatoDevaTarget__Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real caster_x= GetUnitX(s__NagatoDevaTarget___Spell_caster[this]) - local real caster_y= GetUnitY(s__NagatoDevaTarget___Spell_caster[this]) - local real target_x= GetUnitX(s__NagatoDevaTarget___Spell_target[this]) - local real target_y= GetUnitY(s__NagatoDevaTarget___Spell_target[this]) + local real caster_x= GetUnitX(s__NagatoDevaTarget__Spell_caster[this]) + local real caster_y= GetUnitY(s__NagatoDevaTarget__Spell_caster[this]) + local real target_x= GetUnitX(s__NagatoDevaTarget__Spell_target[this]) + local real target_y= GetUnitY(s__NagatoDevaTarget__Spell_target[this]) local real angle= Atan3(target_x , target_y , caster_x , caster_y) local real new_x= (((target_x )*1.0) + Cos((( angle )*1.0)) * (( 30)*1.0)) // INLINED!! local real new_y= (((target_y )*1.0) + Sin((( angle )*1.0)) * (( 30)*1.0)) // INLINED!! local integer i= 0 - call SetUnitX(s__NagatoDevaTarget___Spell_target[this], new_x) - call SetUnitY(s__NagatoDevaTarget___Spell_target[this], new_y) + call SetUnitX(s__NagatoDevaTarget__Spell_target[this], new_x) + call SetUnitY(s__NagatoDevaTarget__Spell_target[this], new_y) call DestroyEffect(AddSpecialEffect(("Abilities\\Weapons\\AncientProtectorMissile\\AncientProtectorMissile.mdl" ), (( target_x )*1.0), (( target_y)*1.0))) // INLINED!! - if GetDistanceUnits(s__NagatoDevaTarget___Spell_caster[this] , s__NagatoDevaTarget___Spell_target[this]) <= 100 then - call s__PauseUnitEx__Pause_setPauseCounter((s__NagatoDevaTarget___Spell_target[this] ) , ( 0)) // INLINED!! - if not IsUnitAlly(s__NagatoDevaTarget___Spell_target[this], GetOwningPlayer(s__NagatoDevaTarget___Spell_caster[this])) then - if GetUnitTypeId(s__NagatoDevaTarget___Spell_caster[this]) == 'U00X' then - call UnitDamageTarget(s__NagatoDevaTarget___Spell_caster[this], s__NagatoDevaTarget___Spell_target[this], GetHeroInt(s__NagatoDevaTarget___Spell_caster[this], true) * GetUnitAbilityLevel(s__NagatoDevaTarget___Spell_caster[this], 'A0XZ') / 3, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) - call sc__NagatoDevaArea_actions(s__NagatoDevaTarget___Spell_caster[this]) + if GetDistanceUnits(s__NagatoDevaTarget__Spell_caster[this] , s__NagatoDevaTarget__Spell_target[this]) <= 100 then + call s__PauseUnitEx___Pause_setPauseCounter((s__NagatoDevaTarget__Spell_target[this] ) , ( 0)) // INLINED!! + if not IsUnitAlly(s__NagatoDevaTarget__Spell_target[this], GetOwningPlayer(s__NagatoDevaTarget__Spell_caster[this])) then + if GetUnitTypeId(s__NagatoDevaTarget__Spell_caster[this]) == 'U00X' then + call UnitDamageTarget(s__NagatoDevaTarget__Spell_caster[this], s__NagatoDevaTarget__Spell_target[this], GetHeroInt(s__NagatoDevaTarget__Spell_caster[this], true) * GetUnitAbilityLevel(s__NagatoDevaTarget__Spell_caster[this], 'A0XZ') / 3, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) + call sc__NagatoDevaArea_actions(s__NagatoDevaTarget__Spell_caster[this]) else - call UnitDamageTarget(s__NagatoDevaTarget___Spell_caster[this], s__NagatoDevaTarget___Spell_target[this], GetHeroInt(s__NagatoDevaTarget___Spell_caster[this], true) * GetUnitAbilityLevel(s__NagatoDevaTarget___Spell_caster[this], s__NagatoDevaTarget___Spell_SPELL_ID), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) + call UnitDamageTarget(s__NagatoDevaTarget__Spell_caster[this], s__NagatoDevaTarget__Spell_target[this], GetHeroInt(s__NagatoDevaTarget__Spell_caster[this], true) * GetUnitAbilityLevel(s__NagatoDevaTarget__Spell_caster[this], s__NagatoDevaTarget__Spell_SPELL_ID), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) //call StunUnitTimed(this.caster, this.target, 1.0) endif call DestroyEffect(AddSpecialEffect(("Units\\NightElf\\Wisp\\WispExplode.mdl" ), (( target_x )*1.0), (( target_y)*1.0))) // INLINED!! - call SetUnitAnimation(s__NagatoDevaTarget___Spell_target[this], "death") + call SetUnitAnimation(s__NagatoDevaTarget__Spell_target[this], "death") endif - call s__NagatoDevaTarget___Spell_destroy(this) + call s__NagatoDevaTarget__Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__NagatoDevaTarget___Spell_actions takes nothing returns nothing + function s__NagatoDevaTarget__Spell_actions takes nothing returns nothing local integer this if udg_PeinPaths[(GetUnitUserData((GetTriggerUnit())))] == 0 or GetUnitTypeId(GetTriggerUnit()) == 'U00X' then // INLINED!! - set this=s__NagatoDevaTarget___Spell_allocate() - set s__NagatoDevaTarget___Spell_caster[this]=GetTriggerUnit() - set s__NagatoDevaTarget___Spell_target[this]=GetSpellTargetUnit() + set this=s__NagatoDevaTarget__Spell_allocate() + set s__NagatoDevaTarget__Spell_caster[this]=GetTriggerUnit() + set s__NagatoDevaTarget__Spell_target[this]=GetSpellTargetUnit() if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Nagato_Q, 100, GetTriggerUnit()) endif - call DestroyEffect(AddSpecialEffectTarget("war3mapImported\\Bansho Tenin.mdx", s__NagatoDevaTarget___Spell_caster[this], "right,hand")) - call s__PauseUnitEx__Pause_setPauseCounter((s__NagatoDevaTarget___Spell_target[this] ) , ( 1)) // INLINED!! - call SetUnitAnimation(s__NagatoDevaTarget___Spell_caster[this], "spell one") - call TimerStart(NewTimerEx(this), 0.03, true, function s__NagatoDevaTarget___Spell_periodic) + call DestroyEffect(AddSpecialEffectTarget("war3mapImported\\Bansho Tenin.mdx", s__NagatoDevaTarget__Spell_caster[this], "right,hand")) + call s__PauseUnitEx___Pause_setPauseCounter((s__NagatoDevaTarget__Spell_target[this] ) , ( 1)) // INLINED!! + call SetUnitAnimation(s__NagatoDevaTarget__Spell_caster[this], "spell one") + call TimerStart(NewTimerEx(this), 0.03, true, function s__NagatoDevaTarget__Spell_periodic) endif endfunction - function s__NagatoDevaTarget___Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(10 , s__NagatoDevaTarget___Spell_SPELL_ID , function s__NagatoDevaTarget___Spell_actions) - call RegisterSpellEffectEvent2(('A0XZ' ) , Filter(( function s__NagatoDevaTarget___Spell_actions))) // INLINED!! + function s__NagatoDevaTarget__Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(10 , s__NagatoDevaTarget__Spell_SPELL_ID , function s__NagatoDevaTarget__Spell_actions) + call RegisterSpellEffectEvent2(('A0XZ' ) , Filter(( function s__NagatoDevaTarget__Spell_actions))) // INLINED!! endfunction @@ -93039,7 +93039,7 @@ endfunction loop set bj_lastCreatedUnit=FirstOfGroup(s__NagatoDevaArea_damaged[this]) exitwhen bj_lastCreatedUnit == null - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call SetUnitFlyHeight(bj_lastCreatedUnit, 0, 0) call SetUnitAnimation(bj_lastCreatedUnit, "death") call GroupRemoveUnit(s__NagatoDevaArea_damaged[this], bj_lastCreatedUnit) @@ -93085,7 +93085,7 @@ endfunction else call UnitDamageTarget(s__NagatoDevaArea_caster[this], bj_lastCreatedUnit, ( 90.00 + udg_ShinraChannelings[(GetUnitUserData((caster)))] * 15 ) * GetUnitAbilityLevel(s__NagatoDevaArea_caster[this], s__NagatoDevaArea_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) // INLINED!! endif - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! call GroupAddUnit(s__NagatoDevaArea_damaged[this], bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) @@ -93772,7 +93772,7 @@ endfunction local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! call UnitApplyTimedLife(s__NagatoNarakaTarget__Spell_king[this], 'BTLF', 1.0) set s__NagatoNarakaTarget__Spell_king[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__NagatoNarakaTarget__Spell_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NagatoNarakaTarget__Spell_target[this] ) , ( 0)) // INLINED!! //call UnitDamageTarget(this.caster, this.target, GetHeroAgi(this.caster, true) * GetUnitAbilityLevel(this.caster, SPELL_ID), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, null) set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__NagatoNarakaTarget__Spell_caster[this]), 'e007', GetUnitX(s__NagatoNarakaTarget__Spell_target[this]), GetUnitY(s__NagatoNarakaTarget__Spell_target[this]), 270.0) call UnitAddAbility(bj_lastCreatedUnit, 'A0SY') @@ -93814,7 +93814,7 @@ endfunction set y=(((GetUnitY(s__NagatoNarakaTarget__Spell_caster[this]) )*1.0) + Sin((( angle + bj_PI )*1.0)) * (( 150.0)*1.0)) // INLINED!! set s__NagatoNarakaTarget__Spell_king[this]=(CreateUnit((GetTriggerPlayer() ), ( 'h08Q' ), (( x )*1.0), (( y )*1.0), (( GetUnitFacing(GetTriggerUnit()))*1.0))) // INLINED!! call SetUnitAnimation(s__NagatoNarakaTarget__Spell_king[this], "spell") - call s__PauseUnitEx__Pause_setPauseCounter((s__NagatoNarakaTarget__Spell_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NagatoNarakaTarget__Spell_target[this] ) , ( 1)) // INLINED!! call AddLightningLoc("AFOD", GetUnitLoc(s__NagatoNarakaTarget__Spell_king[this]), GetUnitLoc(s__NagatoNarakaTarget__Spell_target[this])) set s__NagatoNarakaTarget__Spell_light[this]=GetLastCreatedLightningBJ() call TimerStart(NewTimerEx(this), 0.5, false, function s__NagatoNarakaTarget__Spell_finish) @@ -93953,7 +93953,7 @@ endfunction set i=i + 1 endloop call DestroyGroup(damaged) - call s__PauseUnitEx__Pause_setPauseCounter((s__NagatoShuradou_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NagatoShuradou_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__NagatoShuradou_caster[this], 1.0) set damaged=null set s__NagatoShuradou_caster[this]=null @@ -93971,7 +93971,7 @@ endfunction local real new_x= caster_x + Cos(angle) * 100 local real new_y= caster_y + Sin(angle) * 100 set s__NagatoShuradou_caster[this]=GetTriggerUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__NagatoShuradou_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NagatoShuradou_caster[this] ) , ( 1)) // INLINED!! call SetUnitTimeScale(s__NagatoShuradou_caster[this], 2.5) call SetUnitAnimation(s__NagatoShuradou_caster[this], "spell three") call SetUnitFacing(s__NagatoShuradou_caster[this], Rad2Deg(angle)) @@ -94202,7 +94202,7 @@ endfunction set i=i + 1 endloop call SetUnitFlyHeight(s__NagatoShinraGigaTensei_caster[this], 0, 1500) - call s__PauseUnitEx__Pause_setPauseCounter((s__NagatoShinraGigaTensei_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NagatoShinraGigaTensei_caster[this] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(s__NagatoShinraGigaTensei_caster[this], false) call DestroyGroup(s__NagatoShinraGigaTensei_damaged[this]) set i=0 @@ -94242,7 +94242,7 @@ endfunction set i=i + 1 endloop call SetUnitFlyHeight(s__NagatoShinraGigaTensei_caster[this], 0, 1500) - call s__PauseUnitEx__Pause_setPauseCounter((s__NagatoShinraGigaTensei_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NagatoShinraGigaTensei_caster[this] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(s__NagatoShinraGigaTensei_caster[this], false) call DestroyGroup(s__NagatoShinraGigaTensei_damaged[this]) set i=0 @@ -94272,7 +94272,7 @@ endfunction function s__NagatoShinraGigaTensei_delay1 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__NagatoShinraGigaTensei_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NagatoShinraGigaTensei_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__NagatoShinraGigaTensei_caster[this], "spell") call SetUnitFlyHeight(s__NagatoShinraGigaTensei_caster[this], 500, 250) call SetUnitInvulnerable(s__NagatoShinraGigaTensei_caster[this], true) @@ -94359,7 +94359,7 @@ endfunction call UnitDamageTarget(s__NagatoChibakuTensei_caster[this], bj_lastCreatedUnit, 11 * GetHeroInt(s__NagatoChibakuTensei_caster[this], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) call ShowUnit(bj_lastCreatedUnit, true) call SelectUnitForPlayerSingle(bj_lastCreatedUnit, GetOwningPlayer(bj_lastCreatedUnit)) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call SetUnitPosition(bj_lastCreatedUnit, GetUnitX(bj_lastCreatedUnit), GetUnitY(bj_lastCreatedUnit)) endloop call DestroyGroup(s__NagatoChibakuTensei_damaged[this]) @@ -94391,7 +94391,7 @@ endfunction exitwhen bj_lastCreatedUnit == null call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__NagatoChibakuTensei_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false and not IsUnitInGroup(bj_lastCreatedUnit, s__NagatoChibakuTensei_damaged[this]) then - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! call GroupAddUnit(s__NagatoChibakuTensei_damaged[this], bj_lastCreatedUnit) endif endloop @@ -95119,7 +95119,7 @@ endfunction function s__NarutoBijuuRasenshuriken_throw takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__NarutoBijuuRasenshuriken_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NarutoBijuuRasenshuriken_caster[this] ) , ( 0)) // INLINED!! set s__NarutoBijuuRasenshuriken_rasenshuriken[this]=CreateUnit(GetOwningPlayer(s__NarutoBijuuRasenshuriken_caster[this]), 'n023', GetUnitX(s__NarutoBijuuRasenshuriken_caster[this]), GetUnitY(s__NarutoBijuuRasenshuriken_caster[this]), GetUnitFacing(s__NarutoBijuuRasenshuriken_caster[this])) call SetUnitTimeScale(s__NarutoBijuuRasenshuriken_rasenshuriken[this], 2.0) call TimerStart(NewTimerEx(this), 0.03, true, function s__NarutoBijuuRasenshuriken_periodic) @@ -95142,7 +95142,7 @@ endfunction set s__NarutoBijuuRasenshuriken_caster[this]=GetTriggerUnit() set s__NarutoBijuuRasenshuriken_target_x[this]=GetSpellTargetX() set s__NarutoBijuuRasenshuriken_target_y[this]=GetSpellTargetY() - call s__PauseUnitEx__Pause_setPauseCounter((s__NarutoBijuuRasenshuriken_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NarutoBijuuRasenshuriken_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__NarutoBijuuRasenshuriken_caster[this], "spell five") call UnitAddAbility(s__NarutoBijuuRasenshuriken_caster[this], 'A0X6') call TimerStart(NewTimerEx(this), 0.5, false, function s__NarutoBijuuRasenshuriken_delay) @@ -95397,7 +95397,7 @@ endfunction call DestroyGroup(bj_lastCreatedGroup) call KillUnit(s__NarutoDama__Spell_kyuubi[this]) call ShowUnit(s__NarutoDama__Spell_kyuubi[this], false) - call s__PauseUnitEx__Pause_setPauseCounter((s__NarutoDama__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NarutoDama__Spell_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__NarutoDama__Spell_caster[this], 1.0) call ShowUnit(s__NarutoDama__Spell_caster[this], true) call RemoveUnit(s__NarutoDama__Spell_ball[this]) @@ -95443,7 +95443,7 @@ endfunction set s__NarutoDama__Spell_glow[this]=CreateGroup() set s__NarutoDama__Spell_damaged[this]=CreateGroup() set s__NarutoDama__Spell_caster[this]=GetTriggerUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__NarutoDama__Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NarutoDama__Spell_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__NarutoDama__Spell_caster[this], false) set caster_x=GetUnitX(s__NarutoDama__Spell_caster[this]) set caster_y=GetUnitY(s__NarutoDama__Spell_caster[this]) @@ -95574,7 +95574,7 @@ endfunction endif set s__s__NarutoNewD_accumulated[(GetUnitUserData((s__NarutoNewD_u[this])))]= 0 // INLINED!! set s__NarutoNewD_count=s__NarutoNewD_count + 1 - call s__PauseUnitEx__Pause_setPauseCounter((s__NarutoNewD_u[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NarutoNewD_u[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__NarutoNewD_u[this], "spell channel six") call GroupAddUnit(s__NarutoNewD_narutos, s__NarutoNewD_u[this]) call TimerStart(NewTimerEx(this), 0.1, true, function s__NarutoNewD_periodic) @@ -95604,7 +95604,7 @@ function Trig_NarutoRasengan_Actions takes nothing returns nothing set udg_units16[1]=GetTriggerUnit() set udg_units16[2]=GetSpellTargetUnit() call TriggerSleepAction(0.10) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units16[1] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units16[1] ) , ( 1)) // INLINED!! call UnitAddAbility(GetTriggerUnit(), 'A039') set udg_locations03[43]=PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 70.00, ( GetUnitFacing(GetTriggerUnit()) - 90.00 )) @@ -95690,7 +95690,7 @@ function Trig_NarutoRasengan2_Actions takes nothing returns nothing set udg_locations03[159]=GetUnitLoc(udg_units16[1]) call UnitRemoveAbility(udg_units16[1], 'A039') call SetUnitPathing(udg_units16[1], true) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units16[1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units16[1] ) , ( 0)) // INLINED!! return endif if ( ( DistanceBetweenPoints(udg_locations03[159], udg_locations03[43]) <= 150.00 ) ) then @@ -95738,7 +95738,7 @@ call AddSpecialEffectLocBJ((udg_locations03[43] ), ( "Abilities\\Weapons\\Ancien set bj_forLoopAIndex=bj_forLoopAIndex + 1 endloop call SetUnitPathing(udg_units16[1], true) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units16[1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units16[1] ) , ( 0)) // INLINED!! call EnableTrigger(udg_trigger232) call TriggerSleepAction(0.10) call ForGroupBJ(udg_groups03[100], function Trig_NarutoRasengan2_Func005Func030A) @@ -96751,7 +96751,7 @@ endfunction call DestroyEffect(s__NarutoFuutonRasenshuriken_e[this]) set s__NarutoFuutonRasenshuriken_e[this]=null set s__NarutoFuutonRasenshuriken_shuriken[this]=CreateUnit(GetOwningPlayer(s__NarutoFuutonRasenshuriken_caster[this]), 'e02V', GetUnitX(s__NarutoFuutonRasenshuriken_caster[this]), GetUnitY(s__NarutoFuutonRasenshuriken_caster[this]), 270) - call s__PauseUnitEx__Pause_setPauseCounter((s__NarutoFuutonRasenshuriken_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NarutoFuutonRasenshuriken_caster[this] ) , ( 0)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__NarutoFuutonRasenshuriken_move) call ReleaseTimer(GetExpiredTimer()) endfunction @@ -96805,7 +96805,7 @@ endfunction set s__NarutoFuutonRasenshuriken_angle[this]=Atan3(GetUnitX(s__NarutoFuutonRasenshuriken_caster[this]) , GetUnitY(s__NarutoFuutonRasenshuriken_caster[this]) , s__NarutoFuutonRasenshuriken_target_x[this] , s__NarutoFuutonRasenshuriken_target_y[this]) call SetUnitAnimation(s__NarutoFuutonRasenshuriken_caster[this], "spell") set s__NarutoFuutonRasenshuriken_max_count[this]=R2I(GetDistance(GetUnitX(s__NarutoFuutonRasenshuriken_caster[this]) , GetUnitY(s__NarutoFuutonRasenshuriken_caster[this]) , s__NarutoFuutonRasenshuriken_target_x[this] , s__NarutoFuutonRasenshuriken_target_y[this]) / 30.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__NarutoFuutonRasenshuriken_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NarutoFuutonRasenshuriken_caster[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.02, false, function s__NarutoFuutonRasenshuriken_delay1) endfunction @@ -96971,7 +96971,7 @@ endfunction call DestroyEffect(s__NarutoYotonRasenshuriken_e[this]) set s__NarutoYotonRasenshuriken_e[this]=null set s__NarutoYotonRasenshuriken_lavashuriken[this]=CreateUnit(GetOwningPlayer(s__NarutoYotonRasenshuriken_caster[this]), 'e07N', GetUnitX(s__NarutoYotonRasenshuriken_caster[this]), GetUnitY(s__NarutoYotonRasenshuriken_caster[this]), 270) - call s__PauseUnitEx__Pause_setPauseCounter((s__NarutoYotonRasenshuriken_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NarutoYotonRasenshuriken_caster[this] ) , ( 0)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__NarutoYotonRasenshuriken_move) call ReleaseTimer(GetExpiredTimer()) endfunction @@ -97025,7 +97025,7 @@ endfunction set s__NarutoYotonRasenshuriken_angle[this]=Atan3(GetUnitX(s__NarutoYotonRasenshuriken_caster[this]) , GetUnitY(s__NarutoYotonRasenshuriken_caster[this]) , s__NarutoYotonRasenshuriken_target_x[this] , s__NarutoYotonRasenshuriken_target_y[this]) call SetUnitAnimation(s__NarutoYotonRasenshuriken_caster[this], "spell") set s__NarutoYotonRasenshuriken_max_count[this]=R2I(GetDistance(GetUnitX(s__NarutoYotonRasenshuriken_caster[this]) , GetUnitY(s__NarutoYotonRasenshuriken_caster[this]) , s__NarutoYotonRasenshuriken_target_x[this] , s__NarutoYotonRasenshuriken_target_y[this]) / 30.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__NarutoYotonRasenshuriken_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NarutoYotonRasenshuriken_caster[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.02, false, function s__NarutoYotonRasenshuriken_delay1) endfunction @@ -97205,7 +97205,7 @@ endfunction call SetUnitInvulnerable(s__NarutoFexterYellowFlash_caster[this], false) call ShowUnit(s__NarutoFexterYellowFlash_caster[this], true) call SelectUnitForPlayerSingle(s__NarutoFexterYellowFlash_caster[this], GetOwningPlayer(s__NarutoFexterYellowFlash_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__NarutoFexterYellowFlash_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NarutoFexterYellowFlash_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__NarutoFexterYellowFlash_caster[this], "stand") call s__NarutoFexterYellowFlash_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -97243,7 +97243,7 @@ endfunction set s__NarutoFexterYellowFlash_damaged[this]=CreateGroup() - call s__PauseUnitEx__Pause_setPauseCounter((s__NarutoFexterYellowFlash_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NarutoFexterYellowFlash_caster[this] ) , ( 1)) // INLINED!! //call UnitAddAbility(this.caster, 'A091') //call SetUnitAnimation(this.caster, "spell three") set s__NarutoFexterYellowFlash_dummy[this]=(CreateUnit((GetOwningPlayer(s__NarutoFexterYellowFlash_caster[this]) ), ( 'h0AB' ), (( GetUnitX(s__NarutoFexterYellowFlash_caster[this]) )*1.0), (( GetUnitY(s__NarutoFexterYellowFlash_caster[this]) )*1.0), (( GetUnitFacing(s__NarutoFexterYellowFlash_caster[this]))*1.0))) // INLINED!! @@ -97415,7 +97415,7 @@ endfunction function s__NarutoFexterRasenshuriken_throw takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__NarutoFexterRasenshuriken_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NarutoFexterRasenshuriken_caster[this] ) , ( 0)) // INLINED!! set s__NarutoFexterRasenshuriken_rasenshuriken[this]=CreateUnit(GetOwningPlayer(s__NarutoFexterRasenshuriken_caster[this]), 'n023', GetUnitX(s__NarutoFexterRasenshuriken_caster[this]), GetUnitY(s__NarutoFexterRasenshuriken_caster[this]), GetUnitFacing(s__NarutoFexterRasenshuriken_caster[this])) call SetUnitTimeScale(s__NarutoFexterRasenshuriken_rasenshuriken[this], 2.0) call TimerStart(NewTimerEx(this), 0.03, true, function s__NarutoFexterRasenshuriken_periodic) @@ -97438,7 +97438,7 @@ endfunction set s__NarutoFexterRasenshuriken_caster[this]=GetTriggerUnit() set s__NarutoFexterRasenshuriken_target_x[this]=GetSpellTargetX() set s__NarutoFexterRasenshuriken_target_y[this]=GetSpellTargetY() - call s__PauseUnitEx__Pause_setPauseCounter((s__NarutoFexterRasenshuriken_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NarutoFexterRasenshuriken_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__NarutoFexterRasenshuriken_caster[this], "spell five") call UnitAddAbility(s__NarutoFexterRasenshuriken_caster[this], 'A0X6') call TimerStart(NewTimerEx(this), 0.5, false, function s__NarutoFexterRasenshuriken_delay) @@ -97575,7 +97575,7 @@ endfunction loop set bj_lastCreatedUnit=FirstOfGroup(s__NarutoFexterDama__Spell_paused[this]) exitwhen bj_lastCreatedUnit == null - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call GroupRemoveUnit(s__NarutoFexterDama__Spell_paused[this], bj_lastCreatedUnit) endloop call DestroyGroup(s__NarutoFexterDama__Spell_paused[this]) @@ -97658,7 +97658,7 @@ endfunction call DestroyGroup(bj_lastCreatedGroup) call KillUnit(s__NarutoFexterDama__Spell_kyuubi[this]) call ShowUnit(s__NarutoFexterDama__Spell_kyuubi[this], false) - call s__PauseUnitEx__Pause_setPauseCounter((s__NarutoFexterDama__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NarutoFexterDama__Spell_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__NarutoFexterDama__Spell_caster[this], 1.0) call ShowUnit(s__NarutoFexterDama__Spell_caster[this], true) call RemoveUnit(s__NarutoFexterDama__Spell_ball[this]) @@ -97704,7 +97704,7 @@ endfunction set s__NarutoFexterDama__Spell_glow[this]=CreateGroup() set s__NarutoFexterDama__Spell_damaged[this]=CreateGroup() set s__NarutoFexterDama__Spell_caster[this]=GetTriggerUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__NarutoFexterDama__Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NarutoFexterDama__Spell_caster[this] ) , ( 1)) // INLINED!! //call ShowUnit(this.caster, false) call SetUnitAnimation(s__NarutoFexterDama__Spell_caster[this], "spell") call SetUnitTimeScale(s__NarutoFexterDama__Spell_caster[this], 0.3) @@ -98306,7 +98306,7 @@ endfunction endif if s__NejiNewSemi_count[this] > 15 then call TimerStart(NewTimerEx(this), 1.0, false, function s__NejiNewSemi_finish) - call s__PauseUnitEx__Pause_setPauseCounter((s__NejiNewSemi_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NejiNewSemi_target[this] ) , ( 0)) // INLINED!! call KillUnit(s__NejiNewSemi_domo[this]) call ShowUnit(s__NejiNewSemi_domo[this], false) call KillUnit(s__NejiNewSemi_domo3[this]) @@ -98329,7 +98329,7 @@ endfunction call sc__NejiNewSemi_start(this) endif if s__NejiNewSemi_count[this] > 64 then - call s__PauseUnitEx__Pause_setPauseCounter((s__NejiNewSemi_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NejiNewSemi_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__NejiNewSemi_caster[this], 1.0) call UnitRemoveAbility(s__NejiNewSemi_caster[this], 'A02Q') set s__NejiNewSemi_count[this]=0 @@ -98359,8 +98359,8 @@ endfunction endfunction function s__NejiNewSemi_showText takes integer this returns nothing - call s__PauseUnitEx__Pause_setPauseCounter((s__NejiNewSemi_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__NejiNewSemi_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NejiNewSemi_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NejiNewSemi_target[this] ) , ( 1)) // INLINED!! call SetUnitX(s__NejiNewSemi_target[this], GetUnitX(s__NejiNewSemi_domo[this])) call SetUnitY(s__NejiNewSemi_target[this], GetUnitY(s__NejiNewSemi_domo[this])) if s__NejiNewSemi_tt[this] == null then @@ -98413,9 +98413,9 @@ endfunction call PlaySoundOnUnitBJ(gg_snd_Neji_R, 100.0, GetTriggerUnit()) endif if GetUnitAbilityLevel(s__NejiNewSemi_caster[this], 'B00F') == 0 then - call s__PauseUnitEx__Pause_setPauseCounter((s__NejiNewSemi_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NejiNewSemi_caster[this] ) , ( 1)) // INLINED!! endif - call s__PauseUnitEx__Pause_setPauseCounter((s__NejiNewSemi_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NejiNewSemi_target[this] ) , ( 1)) // INLINED!! if GetUnitAbilityLevel(s__NejiNewSemi_caster[this], 'B01Z') == 0 then call SetUnitInvulnerable(s__NejiNewSemi_target[this], true) endif @@ -98598,7 +98598,7 @@ function Trig_NejiHasangeki_Actions takes nothing returns nothing endif set udg_HasangekiUnit=CreateUnit(GetTriggerPlayer(), 'e007', x, y, Rad2Deg(angle)) set udg_HasangekiCaster=GetTriggerUnit() - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! call SetUnitFacing(GetTriggerUnit(), Rad2Deg(angle)) call AddSpecialEffectLocBJ((GetUnitLoc(GetTriggerUnit()) ), ( "blackblink.mdx")) // INLINED!! call DestroyEffect(bj_lastCreatedEffect) @@ -98664,7 +98664,7 @@ call AddSpecialEffectLocBJ((GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(u call DestroyEffect(bj_lastCreatedEffect) set bj_forLoopAIndex=bj_forLoopAIndex + 1 endloop - call s__PauseUnitEx__Pause_setPauseCounter((udg_HasangekiCaster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_HasangekiCaster ) , ( 0)) // INLINED!! call EnableTrigger(udg_trigger213) //if GetUnitAbilityLevel(udg_HasangekiCaster, 'B00F') > 0 then // call SetUnitManaBJ( udg_HasangekiUnit, GetUnitStateSwap(UNIT_STATE_MANA, udg_HasangekiUnit) - GetUnitStateSwap(UNIT_STATE_MAX_MANA, udg_HasangekiUnit) * 0.3 ) @@ -98961,7 +98961,7 @@ endfunction set s__NejiNewUltimate_domo4[this]=null call SetUnitTimeScale(s__NejiNewUltimate_domo2[this], 1.0) call KillUnit(s__NejiNewUltimate_domo2[this]) - call s__PauseUnitEx__Pause_setPauseCounter((s__NejiNewUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NejiNewUltimate_caster[this] ) , ( 0)) // INLINED!! call KillUnit(s__NejiNewUltimate_dummy[this]) set s__NejiNewUltimate_dummy[this]=null set s__NejiNewUltimate_domo2[this]=null @@ -99068,7 +99068,7 @@ endfunction call UnitAddAbility(bj_lastCreatedUnit, 'A13V') call IssueTargetOrder(bj_lastCreatedUnit, "slow", s__NejiNewUltimate_caster[this]) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__NejiNewUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__NejiNewUltimate_caster[this] ) , ( 1)) // INLINED!! if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Neji_T2_Hakke_Hyaku, 100, GetTriggerUnit()) call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Neji: People share only one common fate - death!|r") @@ -99464,7 +99464,7 @@ endfunction call SelectUnitForPlayerSingle(bj_lastCreatedUnit, GetOwningPlayer(bj_lastCreatedUnit)) endif call SetUnitInvulnerable(bj_lastCreatedUnit, false) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! endloop call DestroyGroup(bj_lastCreatedGroup) set bj_lastCreatedGroup=CreateGroup() @@ -99512,7 +99512,7 @@ endfunction call DestroyEffect(AddSpecialEffect(("Abilities\\Weapons\\AncientProtectorMissile\\AncientProtectorMissile.mdl" ), (( x )*1.0), (( y)*1.0))) // INLINED!! if GetDistance(new_x , new_y , s__ObitoNewQ_target_x[this] , s__ObitoNewQ_target_y[this]) < 50 then call ShowUnit(bj_lastCreatedUnit, false) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! call SetUnitInvulnerable(bj_lastCreatedUnit, true) endif endif @@ -99733,7 +99733,7 @@ endfunction set bj_lastCreatedUnit=FirstOfGroup(s__ObitoTsukuyomi__Spell_paused[this]) exitwhen bj_lastCreatedUnit == null call SetUnitVertexColor((bj_lastCreatedUnit ), ( 255 ), ( 255 ), ( 255 ), ( 255)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call GroupRemoveUnit(s__ObitoTsukuyomi__Spell_paused[this], bj_lastCreatedUnit) endloop call DestroyGroup(s__ObitoTsukuyomi__Spell_paused[this]) @@ -99811,7 +99811,7 @@ endfunction set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__ObitoTsukuyomi__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! call SetUnitVertexColor((bj_lastCreatedUnit ), ( 100 ), ( 100 ), ( 100 ), ( 255)) // INLINED!! call GroupAddUnit(s__ObitoTsukuyomi__Spell_paused[this], bj_lastCreatedUnit) endif @@ -100199,8 +100199,8 @@ endfunction call SetUnitFacing(s__ObitoGudoudamaArm_target[this], Rad2Deg(angle)) if GetDistanceUnits(s__ObitoGudoudamaArm_caster[this] , s__ObitoGudoudamaArm_target[this]) <= 50 then call UnitDamageTarget(s__ObitoGudoudamaArm_caster[this], s__ObitoGudoudamaArm_target[this], 10.0 * GetHeroInt(s__ObitoGudoudamaArm_caster[this], true), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) - call s__PauseUnitEx__Pause_setPauseCounter((s__ObitoGudoudamaArm_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__ObitoGudoudamaArm_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ObitoGudoudamaArm_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ObitoGudoudamaArm_target[this] ) , ( 0)) // INLINED!! set s__ObitoGudoudamaArm_target[this]=null set s__ObitoGudoudamaArm_caster[this]=null call s__ObitoGudoudamaArm_deallocate(this) @@ -100219,8 +100219,8 @@ endfunction local integer this= s__ObitoGudoudamaArm_allocate() set s__ObitoGudoudamaArm_caster[this]=GetTriggerUnit() set s__ObitoGudoudamaArm_target[this]=GetSpellTargetUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__ObitoGudoudamaArm_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__ObitoGudoudamaArm_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ObitoGudoudamaArm_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ObitoGudoudamaArm_target[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__ObitoGudoudamaArm_caster[this], "spell two") call SetUnitTimeScale(s__ObitoGudoudamaArm_caster[this], 7.5) call TimerStart(NewTimerEx(this), 1.0, false, function s__ObitoGudoudamaArm_pause) @@ -100259,7 +100259,7 @@ endfunction function s__ObitoGudoudamaBlade_pause2 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__ObitoGudoudamaBlade_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ObitoGudoudamaBlade_caster[this] ) , ( 0)) // INLINED!! set s__ObitoGudoudamaBlade_caster[this]=null call s__ObitoGudoudamaBlade_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -100299,7 +100299,7 @@ endfunction call DestroyGroup(damaged) set damaged=null call SetUnitTimeScale(s__ObitoGudoudamaBlade_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__ObitoGudoudamaBlade_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ObitoGudoudamaBlade_caster[this] ) , ( 0)) // INLINED!! call TimerStart(NewTimerEx(this), 0.5, false, function s__ObitoGudoudamaBlade_pause2) call ReleaseTimer(GetExpiredTimer()) endfunction @@ -100307,7 +100307,7 @@ endfunction function s__ObitoGudoudamaBlade_actions takes nothing returns nothing local integer this= s__ObitoGudoudamaBlade_allocate() set s__ObitoGudoudamaBlade_caster[this]=GetTriggerUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__ObitoGudoudamaBlade_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ObitoGudoudamaBlade_caster[this] ) , ( 1)) // INLINED!! call SetUnitTimeScale(s__ObitoGudoudamaBlade_caster[this], 3.0) call SetUnitAnimation(s__ObitoGudoudamaBlade_caster[this], "spell two") call TimerStart(NewTimerEx(this), 0.5, false, function s__ObitoGudoudamaBlade_pause) @@ -100346,7 +100346,7 @@ endfunction function s__ObitoGoudamaDefense_finish takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__ObitoGoudamaDefense_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ObitoGoudamaDefense_caster[this] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(s__ObitoGoudamaDefense_caster[this], false) call SetUnitAnimation(s__ObitoGoudamaDefense_caster[this], "stand") set s__ObitoGoudamaDefense_caster[this]=null @@ -100357,7 +100357,7 @@ endfunction function s__ObitoGoudamaDefense_actions takes nothing returns nothing local integer this= s__ObitoGoudamaDefense_allocate() set s__ObitoGoudamaDefense_caster[this]=GetTriggerUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__ObitoGoudamaDefense_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ObitoGoudamaDefense_caster[this] ) , ( 1)) // INLINED!! call SetUnitInvulnerable(s__ObitoGoudamaDefense_caster[this], true) call SetUnitAnimation(s__ObitoGoudamaDefense_caster[this], "spell four") call TimerStart(NewTimerEx(this), 3.0, false, function s__ObitoGoudamaDefense_finish) @@ -100636,7 +100636,7 @@ endfunction endfunction function s__ObitoGudoudamaRush_destroy takes integer this returns nothing - call s__PauseUnitEx__Pause_setPauseCounter((s__ObitoGudoudamaRush_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ObitoGudoudamaRush_caster[this] ) , ( 0)) // INLINED!! call UnitRemoveAbility(s__ObitoGudoudamaRush_caster[this], 'A02X') call DestroyGroup(s__ObitoGudoudamaRush_damaged[this]) set s__ObitoGudoudamaRush_caster[this]=null @@ -100692,7 +100692,7 @@ endfunction set s__ObitoGudoudamaRush_angle[this]=Atan3(GetUnitX(GetTriggerUnit()) , GetUnitY(GetTriggerUnit()) , GetSpellTargetX() , GetSpellTargetY()) set s__ObitoGudoudamaRush_count[this]=0 set s__ObitoGudoudamaRush_damaged[this]=CreateGroup() - call s__PauseUnitEx__Pause_setPauseCounter((s__ObitoGudoudamaRush_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ObitoGudoudamaRush_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__ObitoGudoudamaRush_caster[this], "spell throw") call SetUnitTimeScale(s__ObitoGudoudamaRush_caster[this], 1.0) call UnitAddAbility(s__ObitoGudoudamaRush_caster[this], 'A02X') @@ -100979,7 +100979,7 @@ endfunction call PanCameraToTimedLocForPlayer(GetOwningPlayer(s__ObitoMetalTeleportAlly_target[this]), GetUnitLoc(s__ObitoMetalTeleportAlly_target[this]), 0) //set ObitoKamuiDimension.isActive[GetUnitId(this.caster)] = false //set ObitoKamuiDimension.tobi[GetUnitId(this.caster)] = false - call s__PauseUnitEx__Pause_setPauseCounter((s__ObitoMetalTeleportAlly_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ObitoMetalTeleportAlly_target[this] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(s__ObitoMetalTeleportAlly_target[this], false) call ShowUnit(s__ObitoMetalTeleportAlly_target[this], true) call SelectUnitForPlayerSingle(s__ObitoMetalTeleportAlly_target[this], GetOwningPlayer(s__ObitoMetalTeleportAlly_target[this])) @@ -101017,7 +101017,7 @@ endfunction call SetUnitScale(bj_lastCreatedUnit, 0.75, 0, 0) call KillUnit(bj_lastCreatedUnit) //call TimerStart(NewTimerEx(this), 0.1, true, function thistype.teleport) - call s__PauseUnitEx__Pause_setPauseCounter((s__ObitoMetalTeleportAlly_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ObitoMetalTeleportAlly_target[this] ) , ( 1)) // INLINED!! call SetUnitInvulnerable(s__ObitoMetalTeleportAlly_target[this], true) call ShowUnit(s__ObitoMetalTeleportAlly_target[this], false) call TimerStart(NewTimerEx(this), 3.0, false, function s__ObitoMetalTeleportAlly_removeAlly) @@ -101116,7 +101116,7 @@ endfunction set i=i + 1 endloop if s__ObitoGedoMazo_count[this] > 20 then - call s__PauseUnitEx__Pause_setPauseCounter((s__ObitoGedoMazo_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ObitoGedoMazo_caster[this] ) , ( 0)) // INLINED!! set i=0 loop exitwhen i > 11 @@ -101144,7 +101144,7 @@ endfunction set s__ObitoGedoMazo_caster_x[this]=GetUnitX(s__ObitoGedoMazo_caster[this]) set s__ObitoGedoMazo_caster_y[this]=GetUnitY(s__ObitoGedoMazo_caster[this]) set s__ObitoGedoMazo_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__ObitoGedoMazo_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ObitoGedoMazo_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__ObitoGedoMazo_caster[this], "spell") call TimerStart(NewTimerEx(this), 0.03, true, function s__ObitoGedoMazo_periodic) endfunction @@ -101993,10 +101993,10 @@ function Trig_GedoMazo_Born_Actions takes nothing returns nothing call IssueImmediateOrder(GetLastCreatedUnit(), "stomp") call RemoveLocation(udg_GedoMazo_Point[1]) call SelectUnitForPlayerSingle(udg_GedoMazo_GedoMazo, GetOwningPlayer(udg_GedoMazo_GedoMazo)) - call s__PauseUnitEx__Pause_setPauseCounter((udg_GedoMazo_GedoMazo ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_GedoMazo_GedoMazo ) , ( 1)) // INLINED!! call PolledWait(1.5) call SetUnitTimeScale(udg_GedoMazo_GedoMazo, 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((udg_GedoMazo_GedoMazo ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_GedoMazo_GedoMazo ) , ( 0)) // INLINED!! endfunction //=========================================================================== @@ -102559,7 +102559,7 @@ endfunction set bj_lastCreatedUnit=FirstOfGroup(s__OhnokiGenkiHakuri_damaged[this]) exitwhen bj_lastCreatedUnit == null call GroupRemoveUnit(s__OhnokiGenkiHakuri_damaged[this], bj_lastCreatedUnit) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call ShowUnit(bj_lastCreatedUnit, true) call SelectUnitForPlayerSingle(bj_lastCreatedUnit, GetOwningPlayer(bj_lastCreatedUnit)) call SetUnitAnimation(bj_lastCreatedUnit, "death") @@ -102624,7 +102624,7 @@ endfunction exitwhen bj_lastCreatedUnit == null call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__OhnokiGenkiHakuri_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! call GroupAddUnit(s__OhnokiGenkiHakuri_damaged[this], bj_lastCreatedUnit) endif endloop @@ -102723,7 +102723,7 @@ endfunction endloop endloop if s__OhnokiNewUltimate_count[this] > 33 then - call s__PauseUnitEx__Pause_setPauseCounter((s__OhnokiNewUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__OhnokiNewUltimate_caster[this] ) , ( 0)) // INLINED!! call DestroyGroup(s__OhnokiNewUltimate_damaged[this]) call KillUnit(s__OhnokiNewUltimate_laser[this]) set s__OhnokiNewUltimate_damaged[this]=null @@ -102738,7 +102738,7 @@ endfunction set s__OhnokiNewUltimate_caster[this]=GetTriggerUnit() set s__OhnokiNewUltimate_count[this]=0 set s__OhnokiNewUltimate_damaged[this]=CreateGroup() - call s__PauseUnitEx__Pause_setPauseCounter((s__OhnokiNewUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__OhnokiNewUltimate_caster[this] ) , ( 1)) // INLINED!! if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Onooki_T, 100, GetTriggerUnit()) call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Onoki: My duty is to protect the new generation!|r") @@ -102950,7 +102950,7 @@ endfunction call DestroyGroup(bj_lastCreatedGroup) set i=i + 1 endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__OrochimaruSenei_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__OrochimaruSenei_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__OrochimaruSenei_caster[this], "stand") call TimerStart(NewTimerEx(this), 0.03, true, function s__OrochimaruSenei_periodic2) call ReleaseTimer(GetExpiredTimer()) @@ -102964,7 +102964,7 @@ endfunction set s__OrochimaruSenei_damaged[this]=CreateGroup() set s__OrochimaruSenei_angle[this]=Atan3(GetUnitX(s__OrochimaruSenei_caster[this]) , GetUnitY(s__OrochimaruSenei_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) set s__OrochimaruSenei_missile[this]=CreateUnit(GetTriggerPlayer(), 'e007', GetUnitX(s__OrochimaruSenei_caster[this]), GetUnitY(s__OrochimaruSenei_caster[this]), 270) - call s__PauseUnitEx__Pause_setPauseCounter((s__OrochimaruSenei_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__OrochimaruSenei_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__OrochimaruSenei_caster[this], "spell three") call TimerStart(NewTimerEx(this), 0.02, true, function s__OrochimaruSenei_periodic) endfunction @@ -103006,7 +103006,7 @@ function Trig_Rashimon_INIT_Actions takes nothing returns nothing call GroupAddUnit(udg_RashimonGroup, bj_lastCreatedUnit) if (UnitHasItemOfTypeBJ((GetTriggerUnit() ), ( 'I00M'))) then // INLINED!! else - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! endif call SetUnitInvulnerable(bj_lastCreatedUnit, true) endif @@ -103063,7 +103063,7 @@ function Trig_Rashimon_INIT_Actions takes nothing returns nothing loop set bj_lastCreatedUnit=FirstOfGroup(udg_RashimonGroup) exitwhen bj_lastCreatedUnit == null - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call SetUnitInvulnerable(bj_lastCreatedUnit, false) call GroupRemoveUnit(udg_RashimonGroup, bj_lastCreatedUnit) endloop @@ -103224,7 +103224,7 @@ function Trig_OrochimaruUwabami_Actions takes nothing returns nothing set udg_units11[1]=GetSpellTargetUnit() call TriggerSleepAction(0.10) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units11[1] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units11[1] ) , ( 1)) // INLINED!! call SetUnitFlyHeight(udg_units11[1], 200.00, 400.00) @@ -103243,7 +103243,7 @@ function Trig_OrochimaruUwabami_Actions takes nothing returns nothing endloop call TriggerSleepAction(0.50) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units11[0] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units11[0] ) , ( 1)) // INLINED!! call SetUnitTimeScalePercent(GetTriggerUnit(), 0.00) call TriggerSleepAction(0.50) @@ -103289,13 +103289,13 @@ function Trig_OrochimaruUwabami_Actions takes nothing returns nothing call SetUnitFlyHeight(udg_units11[1], 500.00, 5000.00) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units11[0] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units11[0] ) , ( 0)) // INLINED!! call EnableTrigger(udg_trigger86) call TriggerSleepAction(0.25) call SetUnitFlyHeight(udg_units11[1], 0.00, 6000.00) //call TriggerSleepAction(0.20) call DisableTrigger(udg_trigger86) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units11[1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units11[1] ) , ( 0)) // INLINED!! set udg_locations03[12]=GetUnitLoc(udg_units11[1]) set bj_wantDestroyGroup=true call ForGroupBJ(GetUnitsInRangeOfLocMatching(400.00, udg_locations03[12], Condition(function Trig_OrochimaruUwabami_Func037001003)), function Trig_OrochimaruUwabami_Func037A) @@ -103611,7 +103611,7 @@ endfunction call DestroyGroup(bj_lastCreatedGroup) call KillUnit(s__OrochimaruYamataNoJutsu__Spell_snake[this]) call ShowUnit(s__OrochimaruYamataNoJutsu__Spell_snake[this], false) - call s__PauseUnitEx__Pause_setPauseCounter((s__OrochimaruYamataNoJutsu__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__OrochimaruYamataNoJutsu__Spell_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__OrochimaruYamataNoJutsu__Spell_caster[this], 1.0) call ShowUnit(s__OrochimaruYamataNoJutsu__Spell_caster[this], true) call RemoveUnit(s__OrochimaruYamataNoJutsu__Spell_ball[this]) @@ -103656,7 +103656,7 @@ endfunction set s__OrochimaruYamataNoJutsu__Spell_glow[this]=CreateGroup() set s__OrochimaruYamataNoJutsu__Spell_damaged[this]=CreateGroup() set s__OrochimaruYamataNoJutsu__Spell_caster[this]=GetTriggerUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__OrochimaruYamataNoJutsu__Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__OrochimaruYamataNoJutsu__Spell_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__OrochimaruYamataNoJutsu__Spell_caster[this], false) set caster_x=GetUnitX(s__OrochimaruYamataNoJutsu__Spell_caster[this]) set caster_y=GetUnitY(s__OrochimaruYamataNoJutsu__Spell_caster[this]) @@ -103773,19 +103773,19 @@ endfunction endfunction function s__OrochimaruEdoTensei_delay2 takes nothing returns nothing - call s__PauseUnitEx__Pause_setPauseCounter((s__OrochimaruEdoTensei_hashirama ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__OrochimaruEdoTensei_tobirama ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__OrochimaruEdoTensei_hashirama ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__OrochimaruEdoTensei_tobirama ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__OrochimaruEdoTensei_coffin1, 0) call SetUnitTimeScale(s__OrochimaruEdoTensei_coffin2, 0) call IssuePointOrder(s__OrochimaruEdoTensei_hashirama, "move", (((GetUnitX(s__OrochimaruEdoTensei_hashirama) )*1.0) + Cos((( Deg2Rad(GetUnitFacing(s__OrochimaruEdoTensei_hashirama)) )*1.0)) * (( 200)*1.0)), (((GetUnitY(s__OrochimaruEdoTensei_hashirama) )*1.0) + Sin((( Deg2Rad(GetUnitFacing(s__OrochimaruEdoTensei_hashirama)) )*1.0)) * (( 200)*1.0))) // INLINED!! call IssuePointOrder(s__OrochimaruEdoTensei_tobirama, "move", (((GetUnitX(s__OrochimaruEdoTensei_tobirama) )*1.0) + Cos((( Deg2Rad(GetUnitFacing(s__OrochimaruEdoTensei_tobirama)) )*1.0)) * (( 200)*1.0)), (((GetUnitY(s__OrochimaruEdoTensei_tobirama) )*1.0) + Sin((( Deg2Rad(GetUnitFacing(s__OrochimaruEdoTensei_tobirama)) )*1.0)) * (( 200)*1.0))) // INLINED!! if s__OrochimaruEdoTensei_coffin3 != null then - call s__PauseUnitEx__Pause_setPauseCounter((s__OrochimaruEdoTensei_minato ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__OrochimaruEdoTensei_minato ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__OrochimaruEdoTensei_coffin3, 0) call IssuePointOrder(s__OrochimaruEdoTensei_minato, "move", (((GetUnitX(s__OrochimaruEdoTensei_minato) )*1.0) + Cos((( Deg2Rad(GetUnitFacing(s__OrochimaruEdoTensei_minato)) )*1.0)) * (( 200)*1.0)), (((GetUnitY(s__OrochimaruEdoTensei_minato) )*1.0) + Sin((( Deg2Rad(GetUnitFacing(s__OrochimaruEdoTensei_minato)) )*1.0)) * (( 200)*1.0))) // INLINED!! endif if s__OrochimaruEdoTensei_coffin4 != null then - call s__PauseUnitEx__Pause_setPauseCounter((s__OrochimaruEdoTensei_hiruzen ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__OrochimaruEdoTensei_hiruzen ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__OrochimaruEdoTensei_coffin4, 0) call IssuePointOrder(s__OrochimaruEdoTensei_hiruzen, "move", (((GetUnitX(s__OrochimaruEdoTensei_hiruzen) )*1.0) + Cos((( Deg2Rad(GetUnitFacing(s__OrochimaruEdoTensei_hiruzen)) )*1.0)) * (( 200)*1.0)), (((GetUnitY(s__OrochimaruEdoTensei_hiruzen) )*1.0) + Sin((( Deg2Rad(GetUnitFacing(s__OrochimaruEdoTensei_hiruzen)) )*1.0)) * (( 200)*1.0))) // INLINED!! endif @@ -103847,8 +103847,8 @@ endfunction if GetWidgetLife(s__OrochimaruEdoTensei_hiruzen) < 0.405 then call ReviveHero(s__OrochimaruEdoTensei_hiruzen, new_x4, new_y4, false) endif - call s__PauseUnitEx__Pause_setPauseCounter((s__OrochimaruEdoTensei_hashirama ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__OrochimaruEdoTensei_tobirama ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__OrochimaruEdoTensei_hashirama ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__OrochimaruEdoTensei_tobirama ) , ( 1)) // INLINED!! call SetUnitX(s__OrochimaruEdoTensei_hashirama, new_x1) call SetUnitY(s__OrochimaruEdoTensei_hashirama, new_y1) call SetUnitX(s__OrochimaruEdoTensei_tobirama, new_x2) @@ -103868,7 +103868,7 @@ endfunction set s__OrochimaruEdoTensei_coffin3=null set s__OrochimaruEdoTensei_coffin4=null if (UnitHasItemOfTypeBJ((GetTriggerUnit() ), ( 'I06F'))) then // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__OrochimaruEdoTensei_minato ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__OrochimaruEdoTensei_minato ) , ( 1)) // INLINED!! call SetUnitX(s__OrochimaruEdoTensei_minato, new_x3) call SetUnitY(s__OrochimaruEdoTensei_minato, new_y3) call SetUnitFacing(s__OrochimaruEdoTensei_minato, GetUnitFacing(GetTriggerUnit())) @@ -103879,7 +103879,7 @@ endfunction call SetUnitAnimation(s__OrochimaruEdoTensei_coffin3, "birth") endif if (UnitHasItemOfTypeBJ((GetTriggerUnit() ), ( 'I03P'))) then // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__OrochimaruEdoTensei_hiruzen ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__OrochimaruEdoTensei_hiruzen ) , ( 1)) // INLINED!! call SetUnitX(s__OrochimaruEdoTensei_hiruzen, new_x4) call SetUnitY(s__OrochimaruEdoTensei_hiruzen, new_y4) call SetUnitFacing(s__OrochimaruEdoTensei_hiruzen, GetUnitFacing(GetTriggerUnit())) @@ -105136,7 +105136,7 @@ endfunction set s__RingoSilentKilling_instance=this call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__RingoSilentKilling_target_x[this], s__RingoSilentKilling_target_y[this], 300, Filter(function s__RingoSilentKilling_dealDamage)) call DestroyGroup(bj_lastCreatedGroup) - call s__PauseUnitEx__Pause_setPauseCounter((s__RingoSilentKilling_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RingoSilentKilling_caster[this] ) , ( 0)) // INLINED!! call ShowUnit(s__RingoSilentKilling_caster[this], true) call SelectUnitForPlayerSingle(s__RingoSilentKilling_caster[this], GetOwningPlayer(s__RingoSilentKilling_caster[this])) call SetUnitX(s__RingoSilentKilling_caster[this], s__RingoSilentKilling_target_x[this]) @@ -105151,7 +105151,7 @@ endfunction set s__RingoSilentKilling_target_x[this]=GetSpellTargetX() set s__RingoSilentKilling_target_y[this]=GetSpellTargetY() call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( GetUnitX(s__RingoSilentKilling_caster[this]) )*1.0), (( GetUnitY(s__RingoSilentKilling_caster[this]))*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__RingoSilentKilling_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RingoSilentKilling_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__RingoSilentKilling_caster[this], false) call TimerStart(NewTimerEx(this), 0.5, false, function s__RingoSilentKilling_finish) endfunction @@ -105510,7 +105510,7 @@ endfunction call DestroyGroup(bj_lastCreatedGroup) call SlowArea(s__RockLeeOmoteRenge__Spell_caster[this] , target_x , target_y , 300.0) call SetUnitTimeScale(s__RockLeeOmoteRenge__Spell_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__RockLeeOmoteRenge__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RockLeeOmoteRenge__Spell_caster[this] ) , ( 0)) // INLINED!! set s__RockLeeOmoteRenge__Spell_caster[this]=null //set this.target = null call s__RockLeeOmoteRenge__Spell_deallocate(this) @@ -105564,7 +105564,7 @@ endfunction //set this.target = GetSpellTargetUnit() set s__RockLeeOmoteRenge__Spell_target_x[this]=GetSpellTargetX() set s__RockLeeOmoteRenge__Spell_target_y[this]=GetSpellTargetY() - call s__PauseUnitEx__Pause_setPauseCounter((s__RockLeeOmoteRenge__Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RockLeeOmoteRenge__Spell_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimationByIndex(s__RockLeeOmoteRenge__Spell_caster[this], 4) call TimerStart(NewTimerEx(this), 0.025, true, function s__RockLeeOmoteRenge__Spell_periodic) endfunction @@ -105792,7 +105792,7 @@ endfunction call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - call s__PauseUnitEx__Pause_setPauseCounter((s__RockLeeFuruPawa__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RockLeeFuruPawa__Spell_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__RockLeeFuruPawa__Spell_caster[this], 1.0) call SelectUnitForPlayerSingle(s__RockLeeFuruPawa__Spell_caster[this], GetOwningPlayer(s__RockLeeFuruPawa__Spell_caster[this])) set s__RockLeeFuruPawa__Spell_caster[this]=null @@ -105860,7 +105860,7 @@ call AddSpecialEffectTarget((s__RockLeeFuruPawa__Spell_SHINE ), ( s__RockLeeFuru if IsUnitVisible(s__RockLeeFuruPawa__Spell_caster[this], GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Rock_Lee_R, 100, GetTriggerUnit()) endif - call s__PauseUnitEx__Pause_setPauseCounter((s__RockLeeFuruPawa__Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RockLeeFuruPawa__Spell_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimationByIndex(s__RockLeeFuruPawa__Spell_caster[this], 3) call TimerStart(NewTimerEx(this), 0.1, false, function s__RockLeeFuruPawa__Spell_pause) endfunction @@ -105929,8 +105929,8 @@ call AddSpecialEffectTarget((s__RockLeeFuruPawa__Spell_SHINE ), ( s__RockLeeFuru call UnitDamageTarget(s__RockLeeUraRenge__Spell_caster[this], s__RockLeeUraRenge__Spell_target[this], 8.0 * GetHeroStr(s__RockLeeUraRenge__Spell_caster[this], true) + 200 * s__OPEN_GATE_COUNTER[(GetUnitUserData((s__RockLeeUraRenge__Spell_caster[this])))], true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) // INLINED!! //call StunUnitTimed(this.caster, this.target, 2.0) //call SlowArea(this.caster, GetUnitX(this.target), GetUnitY(this.target), 100) - call s__PauseUnitEx__Pause_setPauseCounter((s__RockLeeUraRenge__Spell_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__RockLeeUraRenge__Spell_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RockLeeUraRenge__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RockLeeUraRenge__Spell_target[this] ) , ( 0)) // INLINED!! call DestroyEffect(s__RockLeeUraRenge__Spell_e1[this]) call DestroyEffect(s__RockLeeUraRenge__Spell_e2[this]) call SelectUnitForPlayerSingle(s__RockLeeUraRenge__Spell_caster[this], GetOwningPlayer(s__RockLeeUraRenge__Spell_caster[this])) @@ -106042,8 +106042,8 @@ call AddSpecialEffectTarget(("SuperShinyThingy.mdx" ), ( s__RockLeeUraRenge__Spe endloop call SetUnitX(s__RockLeeUraRenge__Spell_caster[this], target_x) call SetUnitY(s__RockLeeUraRenge__Spell_caster[this], target_y) - call s__PauseUnitEx__Pause_setPauseCounter((s__RockLeeUraRenge__Spell_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__RockLeeUraRenge__Spell_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RockLeeUraRenge__Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RockLeeUraRenge__Spell_target[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__RockLeeUraRenge__Spell_caster[this], "spell slam") call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ), (( caster_x )*1.0), (( caster_y)*1.0))) // INLINED!! set s__RockLeeUraRenge__Spell_target_x[this]=target_x @@ -106486,13 +106486,13 @@ call AddSpecialEffectTarget(("SuperShinyThingy.mdx" ), ( s__RockLeeUraRenge__Spe //call SetUnitFlyHeight(this.target, ParabolaZ(300, 25 * 15, 25 * this.count), 0) set s__RoshiPunch_count[this]=s__RoshiPunch_count[this] + 1 if s__RoshiPunch_count[this] == 3 then - call s__PauseUnitEx__Pause_setPauseCounter((s__RoshiPunch_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RoshiPunch_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__RoshiPunch_caster[this], 1.0) endif if s__RoshiPunch_count[this] > 7 then call DestroyEffect(AddSpecialEffect(("war3mapImported\\bwaxec.mdx" ), (( GetUnitX(s__RoshiPunch_target[this]) )*1.0), (( GetUnitY(s__RoshiPunch_target[this]))*1.0))) // INLINED!! call SetUnitFlyHeight(s__RoshiPunch_target[this], 0, 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__RoshiPunch_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RoshiPunch_target[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__RoshiPunch_caster[this], 1.0) set s__RoshiPunch_target[this]=null call s__RoshiPunch_deallocate(this) @@ -106557,7 +106557,7 @@ call AddSpecialEffectTarget(("SuperShinyThingy.mdx" ), ( s__RockLeeUraRenge__Spe call KillUnit(CreateUnit(GetOwningPlayer(s__RoshiPunch_caster[this]), 'e068', GetUnitX(s__RoshiPunch_target[this]), GetUnitY(s__RoshiPunch_target[this]), Rad2Deg(s__RoshiPunch_angle[this]))) call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__RoshiPunch_knockback , "RoshiPunch_knockback") - call s__PauseUnitEx__Pause_setPauseCounter((s__RoshiPunch_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RoshiPunch_target[this] ) , ( 1)) // INLINED!! set bj_lastCreatedEffect=AddSpecialEffect("Hit.mdx", GetUnitX(s__RoshiPunch_target[this]), GetUnitY(s__RoshiPunch_target[this])) call BlzSetSpecialEffectHeight(bj_lastCreatedEffect, 60 + GetPointZ(GetUnitX(s__RoshiPunch_target[this]) , GetUnitY(s__RoshiPunch_target[this]))) call DestroyEffect(bj_lastCreatedEffect) @@ -106571,7 +106571,7 @@ call AddSpecialEffectTarget(("SuperShinyThingy.mdx" ), ( s__RockLeeUraRenge__Spe set s__RoshiPunch_caster[this]=GetTriggerUnit() set s__RoshiPunch_target[this]=GetSpellTargetUnit() set s__RoshiPunch_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__RoshiPunch_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RoshiPunch_caster[this] ) , ( 1)) // INLINED!! call DestroyEffect(AddSpecialEffect(("war3mapImported\\slam.mdx" ), (( GetUnitX(s__RoshiPunch_caster[this]) )*1.0), (( GetUnitY(s__RoshiPunch_caster[this]))*1.0))) // INLINED!! call SetUnitTimeScale(s__RoshiPunch_caster[this], 2.0) call SetUnitAnimationByIndex(s__RoshiPunch_caster[this], 2) @@ -106680,7 +106680,7 @@ call AddSpecialEffectTarget(("SuperShinyThingy.mdx" ), ( s__RockLeeUraRenge__Spe loop set bj_lastCreatedUnit=FirstOfGroup(s__RoshiKakazan__Spell_damaged[this]) exitwhen bj_lastCreatedUnit == null - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call GroupRemoveUnit(s__RoshiKakazan__Spell_damaged[this], bj_lastCreatedUnit) endloop call DestroyGroup(s__RoshiKakazan__Spell_damaged[this]) @@ -106787,7 +106787,7 @@ call AddSpecialEffectTarget(("SuperShinyThingy.mdx" ), ( s__RockLeeUraRenge__Spe call KillUnit(s__RoshiGreenFlame__Spell_bijuu[this]) call ShowUnit(s__RoshiGreenFlame__Spell_bijuu[this], false) set s__RoshiGreenFlame__Spell_bijuu[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__RoshiGreenFlame__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RoshiGreenFlame__Spell_caster[this] ) , ( 0)) // INLINED!! call ShowUnit(s__RoshiGreenFlame__Spell_caster[this], true) call SelectUnitForPlayerSingle(s__RoshiGreenFlame__Spell_caster[this], GetOwningPlayer(s__RoshiGreenFlame__Spell_caster[this])) call SetUnitInvulnerable(s__RoshiGreenFlame__Spell_caster[this], false) @@ -106873,7 +106873,7 @@ call AddSpecialEffectTarget(("SuperShinyThingy.mdx" ), ( s__RockLeeUraRenge__Spe set s__RoshiGreenFlame__Spell_bijuu[this]=CreateUnit(GetTriggerPlayer(), 'e00P', GetUnitX(s__RoshiGreenFlame__Spell_caster[this]), GetUnitY(s__RoshiGreenFlame__Spell_caster[this]), Rad2Deg(Atan3(GetUnitX(s__RoshiGreenFlame__Spell_caster[this]) , GetUnitY(s__RoshiGreenFlame__Spell_caster[this]) , GetSpellTargetX() , GetSpellTargetY()))) call SetUnitTimeScale(s__RoshiGreenFlame__Spell_bijuu[this], 2.5) call SetUnitAnimation(s__RoshiGreenFlame__Spell_bijuu[this], "spell") - call s__PauseUnitEx__Pause_setPauseCounter((s__RoshiGreenFlame__Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__RoshiGreenFlame__Spell_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__RoshiGreenFlame__Spell_caster[this], false) call SetUnitInvulnerable(s__RoshiGreenFlame__Spell_caster[this], true) call TimerStart(NewTimerEx(this), 1.0, false, function s__RoshiGreenFlame__Spell_delay) @@ -107133,7 +107133,7 @@ endfunction call SetUnitY(s__SaiNewE_caster[this], new_y) call SetUnitFacing(s__SaiNewE_caster[this], Rad2Deg(angle)) if distance <= 50 then - call s__PauseUnitEx__Pause_setPauseCounter((s__SaiNewE_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SaiNewE_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__SaiNewE_caster[this], 4.0) call SetUnitAnimation(s__SaiNewE_caster[this], "morph alternate") call SetUnitFlyHeight(s__SaiNewE_caster[this], 0, 1000) @@ -107155,7 +107155,7 @@ endfunction set s__SaiNewE_caster[this]=GetTriggerUnit() set s__SaiNewE_target_x[this]=GetSpellTargetX() set s__SaiNewE_target_y[this]=GetSpellTargetY() - call s__PauseUnitEx__Pause_setPauseCounter((s__SaiNewE_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SaiNewE_caster[this] ) , ( 1)) // INLINED!! call SetUnitTimeScale(s__SaiNewE_caster[this], 10.0) call SetUnitAnimation(s__SaiNewE_caster[this], "morph") call SetUnitFlyHeight(s__SaiNewE_caster[this], 300, 2000) @@ -107834,13 +107834,13 @@ endfunction call SetUnitFlyHeight(s__TsunadePunch_target[this], ParabolaZ(300 , 25 * 15 , 25 * s__TsunadePunch_count[this]), 0) set s__TsunadePunch_count[this]=s__TsunadePunch_count[this] + 1 if s__TsunadePunch_count[this] == 3 then - call s__PauseUnitEx__Pause_setPauseCounter((s__TsunadePunch_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TsunadePunch_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__TsunadePunch_caster[this], 1.0) endif if s__TsunadePunch_count[this] > 15 then call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl" ), (( GetUnitX(s__TsunadePunch_target[this]) )*1.0), (( GetUnitY(s__TsunadePunch_target[this]))*1.0))) // INLINED!! call SetUnitFlyHeight(s__TsunadePunch_target[this], 0, 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__TsunadePunch_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TsunadePunch_target[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__TsunadePunch_caster[this], 1.0) set s__TsunadePunch_target[this]=null call s__TsunadePunch_deallocate(this) @@ -107888,7 +107888,7 @@ endfunction //call KillUnit(CreateUnit(GetOwningPlayer(this.caster), 'e068', GetUnitX(this.target), GetUnitY(this.target), Rad2Deg(this.angle))) call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__TsunadePunch_knockback , "TsunadeDeadlyPunch_knockback") - call s__PauseUnitEx__Pause_setPauseCounter((s__TsunadePunch_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TsunadePunch_target[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__TsunadePunch_target[this], "death") call ReleaseTimer(GetExpiredTimer()) endif @@ -107899,7 +107899,7 @@ endfunction set s__TsunadePunch_caster[this]=GetTriggerUnit() set s__TsunadePunch_target[this]=GetSpellTargetUnit() set s__TsunadePunch_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__TsunadePunch_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TsunadePunch_caster[this] ) , ( 1)) // INLINED!! //call AddSpecialEffectEx("war3mapImported\\slam.mdx", GetUnitX(this.caster), GetUnitY(this.caster)) call SetUnitTimeScale(s__TsunadePunch_caster[this], 2.0) //call SetUnitAnimation(this.caster, "spell channel") @@ -108051,7 +108051,7 @@ endfunction function s__TsunadeTsuutenkyaku_damagefix takes nothing returns boolean if IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__TsunadeTsuutenkyaku_caster[s__TsunadeTsuutenkyaku_instance])) and GetWidgetLife(GetFilterUnit()) > 0.405 then if ( GetUnitTypeId(GetFilterUnit()) != 'n000' or GetUnitTypeId(GetFilterUnit()) != 'n00A' or GetUnitTypeId(GetFilterUnit()) != 'n008' or GetUnitTypeId(GetFilterUnit()) != 'h005' or GetUnitTypeId(GetFilterUnit()) != 'hvlt' ) and GetDistanceUnits(s__TsunadeTsuutenkyaku_caster[s__TsunadeTsuutenkyaku_instance] , GetFilterUnit()) < 350 then - call s__PauseUnitEx__Pause_setPauseCounter((GetFilterUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetFilterUnit() ) , ( 1)) // INLINED!! call SetUnitFlyHeight(GetFilterUnit(), 200, 2000) call SetUnitAnimation(GetFilterUnit(), "death") call GroupAddUnit(s__TsunadeTsuutenkyaku_damaged[s__TsunadeTsuutenkyaku_instance], GetFilterUnit()) @@ -108119,7 +108119,7 @@ endfunction loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call SetUnitFlyHeight(bj_lastCreatedUnit, 0, 2000) call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop @@ -108157,7 +108157,7 @@ endfunction call DestroyEffect(s__TsunadeTsuutenkyaku_e[this]) set s__TsunadeTsuutenkyaku_e[this]=null call SetUnitTimeScale(s__TsunadeTsuutenkyaku_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__TsunadeTsuutenkyaku_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TsunadeTsuutenkyaku_caster[this] ) , ( 0)) // INLINED!! set s__TsunadeTsuutenkyaku_count[this]=0 set bj_lastCreatedEffect=AddSpecialEffect("DustWave.mdx", s__TsunadeTsuutenkyaku_target_x[this], s__TsunadeTsuutenkyaku_target_y[this]) call BlzSetSpecialEffectScale(bj_lastCreatedEffect, 3.0) @@ -108179,7 +108179,7 @@ endfunction if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Tsunade_R, 100.0, GetTriggerUnit()) endif - call s__PauseUnitEx__Pause_setPauseCounter((s__TsunadeTsuutenkyaku_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TsunadeTsuutenkyaku_caster[this] ) , ( 1)) // INLINED!! if GetUnitAbilityLevel(s__TsunadeTsuutenkyaku_caster[this], 'B00A') > 0 then call SetUnitAnimation(GetTriggerUnit(), "spell throw alternate") call SetUnitTimeScale(s__TsunadeTsuutenkyaku_caster[this], 0.3) @@ -108917,7 +108917,7 @@ call AddSpecialEffectTargetUnitBJ(("hand,right" ), ( udg_units14[300] ), ( "Abil call AddSpecialEffectLocBJ((GetUnitLoc(udg_units13[300]) ), ( "Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")) // INLINED!! call DestroyEffect(bj_lastCreatedEffect) call EnableTrigger(udg_trigger117) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units13[300] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units13[300] ) , ( 1)) // INLINED!! call TriggerSleepAction(0.10) call DestroyEffect(udg_effects02[1]) call TriggerSleepAction(0.10) @@ -108987,8 +108987,8 @@ call AddSpecialEffectLocBJ((udg_locations03[143] ), ( "Abilities\\Weapons\\Ancie call SetUnitPositionLocFacingLocBJ(udg_units13[300], PolarProjectionBJ(GetUnitLoc(udg_units13[300]), 130.00, ( udg_reals01[300] - 180.00 )), GetUnitLoc(udg_units14[300])) call UnitRemoveAbility(udg_units14[300], 'A02Q') call DestroyEffect(udg_effects02[1]) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units14[300] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_units13[300] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units14[300] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units13[300] ) , ( 0)) // INLINED!! call SetUnitPathing(udg_units14[300], true) else set udg_locations03[142]=PolarProjectionBJ(GetUnitLoc(udg_units14[300]), 40.00, AngleBetweenPoints(GetUnitLoc(udg_units14[300]), PolarProjectionBJ(GetUnitLoc(udg_units13[300]), 60.00, ( udg_reals01[300] - 90.00 )))) @@ -109243,7 +109243,7 @@ function Trig_SakuraOkasho_Actions takes nothing returns nothing call CameraSetEQNoiseForPlayer(GetOwningPlayer(udg_units14[304]), 15.00) call CameraSetEQNoiseForPlayer(GetOwningPlayer(udg_units13[304]), 15.00) call TerrainDeformationCraterBJ(1.50, false, PolarProjectionBJ(udg_locations03[523], 300.00, GetUnitFacing(udg_units14[304])), 600.00, 150.00) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units13[304] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units13[304] ) , ( 1)) // INLINED!! call SetUnitInvulnerable(udg_units13[304], true) call SetUnitFlyHeight(udg_units13[304], 400.00, 400.00) @@ -109307,7 +109307,7 @@ call AddSpecialEffectLocBJ((udg_locations03[513] ), ( "Objects\\Spawnmodels\\Und call CameraClearNoiseForPlayer(GetOwningPlayer(udg_units13[304])) call DestroyEffect(udg_effects02[2]) call ShowUnit(udg_units14[304], false) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units14[304] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units14[304] ) , ( 1)) // INLINED!! set udg_locations03[23]=GetUnitLoc(udg_units14[304]) call CreateNUnitsAtLoc(1, 'ownr', GetOwningPlayer(udg_units14[304]), udg_locations03[23], GetUnitFacing(udg_units14[304])) call RemoveLocation(udg_locations03[23]) @@ -109357,11 +109357,11 @@ call AddSpecialEffectTargetUnitBJ(("origin" ), ( udg_units13[304] ), ( "Abilitie call ShowUnit(udg_units14[304], true) call SelectUnitForPlayerSingle(udg_units14[304], GetOwningPlayer(udg_units14[304])) call SetUnitPositionLocFacingLocBJ(udg_units14[304], udg_locations03[512], udg_locations03[513]) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units14[304] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units14[304] ) , ( 0)) // INLINED!! call TriggerSleepAction(0.60) call DisableTrigger(udg_trigger121) call SetUnitInvulnerable(udg_units13[304], false) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units13[304] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units13[304] ) , ( 0)) // INLINED!! call ForGroupBJ(udg_groups02[508], function Trig_SakuraOkasho_Func083A) if GetUnitAbilityLevel(udg_units14[304], 'B03L') > 0 then call UnitDamageTarget(udg_units14[304], udg_units13[304], ( I2R(GetHeroStatBJ(0, udg_units14[304], true)) * 10.00 ), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) @@ -110079,7 +110079,7 @@ endfunction call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) //call StunUnitTimed(this.caster, this.target, 2.0) call UnitDamageTarget(s__SasoriNewBlade_caster[this], s__SasoriNewBlade_target[this], GetHeroStr(s__SasoriNewBlade_caster[this], true) * 10, true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, null) - call s__PauseUnitEx__Pause_setPauseCounter((s__SasoriNewBlade_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SasoriNewBlade_target[this] ) , ( 0)) // INLINED!! call SetUnitPropWindow(s__SasoriNewBlade_caster[this], s__SasoriNewBlade_window[this]) call TimerStart(NewTimerEx(this), 0.03, true, function s__SasoriNewBlade_knockback) call ReleaseTimer(GetExpiredTimer()) @@ -110125,17 +110125,17 @@ endfunction if u != null then set s__SasoriNewBlade_target[this]=u //call PauseUnit(this.caster, false) - call s__PauseUnitEx__Pause_setPauseCounter((s__SasoriNewBlade_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SasoriNewBlade_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__SasoriNewBlade_pull) call ReleaseTimer(GetExpiredTimer()) elseif s__SasoriNewBlade_count[this] > 20 then if s__SasoriNewBlade_target[this] != null then - call s__PauseUnitEx__Pause_setPauseCounter((s__SasoriNewBlade_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__SasoriNewBlade_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SasoriNewBlade_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SasoriNewBlade_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__SasoriNewBlade_pull) call ReleaseTimer(GetExpiredTimer()) else - call s__PauseUnitEx__Pause_setPauseCounter((s__SasoriNewBlade_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SasoriNewBlade_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__SasoriNewBlade_caster[this], "stand") call SetUnitPropWindow(s__SasoriNewBlade_caster[this], s__SasoriNewBlade_window[this]) loop @@ -110297,7 +110297,7 @@ endfunction endloop call DestroyGroup(bj_lastCreatedGroup) if s__SasoriAssault_count[this] > 30 then - call s__PauseUnitEx__Pause_setPauseCounter((s__SasoriAssault_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SasoriAssault_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__SasoriAssault_caster[this], 1.0) call SetUnitAnimation(s__SasoriAssault_caster[this], "stand") call DestroyGroup(s__SasoriAssault_damaged[this]) @@ -110313,7 +110313,7 @@ endfunction set s__SasoriAssault_count[this]=0 set s__SasoriAssault_angle[this]=Atan3(GetUnitX(s__SasoriAssault_caster[this]) , GetUnitY(s__SasoriAssault_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) set s__SasoriAssault_damaged[this]=CreateGroup() - call s__PauseUnitEx__Pause_setPauseCounter((s__SasoriAssault_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SasoriAssault_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__SasoriAssault_caster[this], "spell four") call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__SasoriAssault_periodic , "SasoriAssault_periodic") endfunction @@ -110792,7 +110792,7 @@ endfunction function Trig_SasoriIronShield_Actions takes nothing returns nothing call TriggerSleepAction(0.10) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! set udg_locations03[90]=GetUnitLoc(GetTriggerUnit()) call CreateNUnitsAtLoc(1, 'onzg', GetOwningPlayer(GetTriggerUnit()), udg_locations03[90], GetUnitFacing(GetTriggerUnit())) call RemoveLocation(GetUnitLoc(bj_lastCreatedUnit)) @@ -110802,7 +110802,7 @@ function Trig_SasoriIronShield_Actions takes nothing returns nothing set bj_wantDestroyGroup=true call ForGroupBJ(GetUnitsInRangeOfLocMatching(350.00, GetUnitLoc(GetTriggerUnit()), Condition(function Trig_SasoriIronShield_Func010001003)), function Trig_SasoriIronShield_Func010A) call TriggerSleepAction(3.00) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! call ForGroupBJ(udg_groups03[36], function Trig_SasoriIronShield_Func013A) endfunction @@ -111133,7 +111133,7 @@ function Trig_SasukeChidori_Actions takes nothing returns nothing endloop call RemoveLocation(udg_locations10[8]) call TriggerSleepAction(0.10) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! endfunction function InitTrig_SasukeChidori takes nothing returns nothing @@ -111235,7 +111235,7 @@ endfunction call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) endloop set u=CreateUnit(Player(PLAYER_NEUTRAL_AGGRESSIVE), 'e06R', GetUnitX(s__SasukeAmenotejikara_another_sword), GetUnitY(s__SasukeAmenotejikara_another_sword), 270) - call s__PauseUnitEx__Pause_setPauseCounter((u ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((u ) , ( 1)) // INLINED!! call SetUnitFlyHeight(u, 0, 0) set i=0 loop @@ -111282,7 +111282,7 @@ endfunction set s__SasukeChidoriEiso_count[this]=s__SasukeChidoriEiso_count[this] + 1 if s__SasukeChidoriEiso_count[this] > 16 then call UnitRemoveAbility(s__SasukeChidoriEiso_caster[this], 'B00T') - call s__PauseUnitEx__Pause_setPauseCounter((s__SasukeChidoriEiso_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SasukeChidoriEiso_caster[this] ) , ( 0)) // INLINED!! loop set bj_lastCreatedUnit=FirstOfGroup(s__SasukeChidoriEiso_senbons[this]) exitwhen bj_lastCreatedUnit == null @@ -111308,7 +111308,7 @@ endfunction set s__SasukeChidoriEiso_damaged[this]=CreateGroup() set s__SasukeChidoriEiso_senbons[this]=CreateGroup() set s__SasukeChidoriEiso_missile[this]=CreateUnit(GetTriggerPlayer(), 'e06R', GetUnitX(s__SasukeChidoriEiso_caster[this]), GetUnitY(s__SasukeChidoriEiso_caster[this]), 270) - call s__PauseUnitEx__Pause_setPauseCounter((s__SasukeChidoriEiso_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SasukeChidoriEiso_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__SasukeChidoriEiso_caster[this], "spell one") call TimerStart(NewTimerEx(this), 0.03, true, function s__SasukeChidoriEiso_periodic) endfunction @@ -111326,80 +111326,80 @@ endfunction //Implemented from module Alloc: - function s__SasukeKagutsuchi__Spell_allocate takes nothing returns integer + function s__SasukeKagutsuchi___Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__SasukeKagutsuchi__Spell_Alloc__recycle[(0)] == 0 ) then - set s__SasukeKagutsuchi__Spell_Alloc__instanceCount=s__SasukeKagutsuchi__Spell_Alloc__instanceCount + 1 - set this=s__SasukeKagutsuchi__Spell_Alloc__instanceCount + if ( s__SasukeKagutsuchi___Spell_Alloc__recycle[(0)] == 0 ) then + set s__SasukeKagutsuchi___Spell_Alloc__instanceCount=s__SasukeKagutsuchi___Spell_Alloc__instanceCount + 1 + set this=s__SasukeKagutsuchi___Spell_Alloc__instanceCount else - set this=s__SasukeKagutsuchi__Spell_Alloc__recycle[(0)] - set s__SasukeKagutsuchi__Spell_Alloc__recycle[(0)]=s__SasukeKagutsuchi__Spell_Alloc__recycle[s__SasukeKagutsuchi__Spell_Alloc__recycle[(0)]] + set this=s__SasukeKagutsuchi___Spell_Alloc__recycle[(0)] + set s__SasukeKagutsuchi___Spell_Alloc__recycle[(0)]=s__SasukeKagutsuchi___Spell_Alloc__recycle[s__SasukeKagutsuchi___Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__SasukeKagutsuchi__Spell_deallocate takes integer this returns nothing - set s__SasukeKagutsuchi__Spell_Alloc__recycle[this]=s__SasukeKagutsuchi__Spell_Alloc__recycle[(0)] - set s__SasukeKagutsuchi__Spell_Alloc__recycle[(0)]=this + function s__SasukeKagutsuchi___Spell_deallocate takes integer this returns nothing + set s__SasukeKagutsuchi___Spell_Alloc__recycle[this]=s__SasukeKagutsuchi___Spell_Alloc__recycle[(0)] + set s__SasukeKagutsuchi___Spell_Alloc__recycle[(0)]=this endfunction - function s__SasukeKagutsuchi__Spell_destroy takes integer this returns nothing - call DestroyGroup(s__SasukeKagutsuchi__Spell_amaterasu[this]) - set s__SasukeKagutsuchi__Spell_amaterasu[this]=null - set s__SasukeKagutsuchi__Spell_caster[this]=null - call s__SasukeKagutsuchi__Spell_deallocate(this) + function s__SasukeKagutsuchi___Spell_destroy takes integer this returns nothing + call DestroyGroup(s__SasukeKagutsuchi___Spell_amaterasu[this]) + set s__SasukeKagutsuchi___Spell_amaterasu[this]=null + set s__SasukeKagutsuchi___Spell_caster[this]=null + call s__SasukeKagutsuchi___Spell_deallocate(this) endfunction - function s__SasukeKagutsuchi__Spell_periodic takes nothing returns nothing + function s__SasukeKagutsuchi___Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real size - set s__SasukeKagutsuchi__Spell_count[this]=s__SasukeKagutsuchi__Spell_count[this] + 1 + set s__SasukeKagutsuchi___Spell_count[this]=s__SasukeKagutsuchi___Spell_count[this] + 1 set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__SasukeKagutsuchi__Spell_target_x[this], s__SasukeKagutsuchi__Spell_target_y[this], 400, null) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__SasukeKagutsuchi___Spell_target_x[this], s__SasukeKagutsuchi___Spell_target_y[this], 400, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__SasukeKagutsuchi__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then - call UnitDamageTarget(s__SasukeKagutsuchi__Spell_caster[this], bj_lastCreatedUnit, ( 75.0 * GetUnitAbilityLevel(s__SasukeKagutsuchi__Spell_caster[this], s__SasukeKagutsuchi__Spell_SPELL_ID) ) / 66, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__SasukeKagutsuchi___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then + call UnitDamageTarget(s__SasukeKagutsuchi___Spell_caster[this], bj_lastCreatedUnit, ( 75.0 * GetUnitAbilityLevel(s__SasukeKagutsuchi___Spell_caster[this], s__SasukeKagutsuchi___Spell_SPELL_ID) ) / 66, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - if s__SasukeKagutsuchi__Spell_count[this] <= 50 then + if s__SasukeKagutsuchi___Spell_count[this] <= 50 then set size=GetRandomReal(1.5, 4.0) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__SasukeKagutsuchi__Spell_caster[this]), 'e02S', s__SasukeKagutsuchi__Spell_target_x[this], s__SasukeKagutsuchi__Spell_target_y[this], GetRandomReal(0, 360)) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__SasukeKagutsuchi___Spell_caster[this]), 'e02S', s__SasukeKagutsuchi___Spell_target_x[this], s__SasukeKagutsuchi___Spell_target_y[this], GetRandomReal(0, 360)) call SetUnitScale(bj_lastCreatedUnit, size, size, size) call SetUnitTimeScale(bj_lastCreatedUnit, 2.66) call SetUnitAnimation(bj_lastCreatedUnit, "birth") call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 0.5) endif - if s__SasukeKagutsuchi__Spell_count[this] >= 66 then + if s__SasukeKagutsuchi___Spell_count[this] >= 66 then loop - set bj_lastCreatedUnit=FirstOfGroup(s__SasukeKagutsuchi__Spell_amaterasu[this]) + set bj_lastCreatedUnit=FirstOfGroup(s__SasukeKagutsuchi___Spell_amaterasu[this]) exitwhen bj_lastCreatedUnit == null call KillUnit(bj_lastCreatedUnit) - call GroupRemoveUnit(s__SasukeKagutsuchi__Spell_amaterasu[this], bj_lastCreatedUnit) + call GroupRemoveUnit(s__SasukeKagutsuchi___Spell_amaterasu[this], bj_lastCreatedUnit) endloop - call s__SasukeKagutsuchi__Spell_destroy(this) + call s__SasukeKagutsuchi___Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__SasukeKagutsuchi__Spell_actions takes nothing returns nothing - local integer this= s__SasukeKagutsuchi__Spell_allocate() + function s__SasukeKagutsuchi___Spell_actions takes nothing returns nothing + local integer this= s__SasukeKagutsuchi___Spell_allocate() local real new_x local real new_y local integer i= 0 local integer i_2= 0 - set s__SasukeKagutsuchi__Spell_amaterasu[this]=CreateGroup() - set s__SasukeKagutsuchi__Spell_caster[this]=GetTriggerUnit() - set s__SasukeKagutsuchi__Spell_target_x[this]=GetUnitX(s__SasukeKagutsuchi__Spell_caster[this]) - set s__SasukeKagutsuchi__Spell_target_y[this]=GetUnitY(s__SasukeKagutsuchi__Spell_caster[this]) + set s__SasukeKagutsuchi___Spell_amaterasu[this]=CreateGroup() + set s__SasukeKagutsuchi___Spell_caster[this]=GetTriggerUnit() + set s__SasukeKagutsuchi___Spell_target_x[this]=GetUnitX(s__SasukeKagutsuchi___Spell_caster[this]) + set s__SasukeKagutsuchi___Spell_target_y[this]=GetUnitY(s__SasukeKagutsuchi___Spell_caster[this]) loop set i=i + 1 exitwhen i > 4 @@ -111407,34 +111407,34 @@ endfunction loop set i_2=i_2 + 1 exitwhen i_2 > 3 + 3 * i - set new_x=s__SasukeKagutsuchi__Spell_target_x[this] + Cos(Deg2Rad(( 360 / ( 3 + 3 * i ) ) * i_2)) * ( 75 * i ) - set new_y=s__SasukeKagutsuchi__Spell_target_y[this] + Sin(Deg2Rad(( 360 / ( 3 + 3 * i ) ) * i_2)) * ( 75 * i ) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__SasukeKagutsuchi__Spell_caster[this]), 'e02R', new_x, new_y, GetRandomReal(0, 360)) + set new_x=s__SasukeKagutsuchi___Spell_target_x[this] + Cos(Deg2Rad(( 360 / ( 3 + 3 * i ) ) * i_2)) * ( 75 * i ) + set new_y=s__SasukeKagutsuchi___Spell_target_y[this] + Sin(Deg2Rad(( 360 / ( 3 + 3 * i ) ) * i_2)) * ( 75 * i ) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__SasukeKagutsuchi___Spell_caster[this]), 'e02R', new_x, new_y, GetRandomReal(0, 360)) call SetUnitX(bj_lastCreatedUnit, new_x) call SetUnitY(bj_lastCreatedUnit, new_y) - call GroupAddUnit(s__SasukeKagutsuchi__Spell_amaterasu[this], bj_lastCreatedUnit) + call GroupAddUnit(s__SasukeKagutsuchi___Spell_amaterasu[this], bj_lastCreatedUnit) endloop endloop - set s__SasukeKagutsuchi__Spell_count[this]=0 + set s__SasukeKagutsuchi___Spell_count[this]=0 //set bj_lastCreatedUnit = CreateUnit(GetTriggerPlayer(), 'h00Z', this.target_x, this.target_y, 0) //call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 1.0) set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__SasukeKagutsuchi__Spell_target_x[this], s__SasukeKagutsuchi__Spell_target_y[this], 400, null) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__SasukeKagutsuchi___Spell_target_x[this], s__SasukeKagutsuchi___Spell_target_y[this], 400, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__SasukeKagutsuchi__Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then - call StunUnitTimed(s__SasukeKagutsuchi__Spell_caster[this] , bj_lastCreatedUnit , 1.0) + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__SasukeKagutsuchi___Spell_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then + call StunUnitTimed(s__SasukeKagutsuchi___Spell_caster[this] , bj_lastCreatedUnit , 1.0) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl" ), (( s__SasukeKagutsuchi__Spell_target_x[this] )*1.0), (( s__SasukeKagutsuchi__Spell_target_y[this])*1.0))) // INLINED!! - call TimerStart(NewTimerEx(this), 0.03, true, function s__SasukeKagutsuchi__Spell_periodic) + call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl" ), (( s__SasukeKagutsuchi___Spell_target_x[this] )*1.0), (( s__SasukeKagutsuchi___Spell_target_y[this])*1.0))) // INLINED!! + call TimerStart(NewTimerEx(this), 0.03, true, function s__SasukeKagutsuchi___Spell_periodic) endfunction - function s__SasukeKagutsuchi__Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEvent2((s__SasukeKagutsuchi__Spell_SPELL_ID ) , Filter(( function s__SasukeKagutsuchi__Spell_actions))) // INLINED!! + function s__SasukeKagutsuchi___Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEvent2((s__SasukeKagutsuchi___Spell_SPELL_ID ) , Filter(( function s__SasukeKagutsuchi___Spell_actions))) // INLINED!! endfunction @@ -111475,7 +111475,7 @@ endfunction if s__AmaTimer_c[this] >= 16 then set b=1 - call s__PauseUnitEx__Pause_setPauseCounter((s__AmaTimer_u[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__AmaTimer_u[this] ) , ( 0)) // INLINED!! set udg_Amat_Window=GetUnitPropWindow(s__AmaTimer_u[this]) set udg_Amat_Controlling=true call SetPlayerAbilityAvailable(GetOwningPlayer(s__AmaTimer_u[this]), 'A0A8', false) @@ -111553,7 +111553,7 @@ function AmaterasuActions takes nothing returns nothing call IssueImmediateOrder(GetTriggerUnit(), "stop") call SetUnitAnimation(GetTriggerUnit(), "stand") - call s__PauseUnitEx__Pause_setPauseCounter((udg_Amat_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Amat_Caster ) , ( 1)) // INLINED!! set udg_Amat_Special=AddSpecialEffect("Abilities\\Spells\\Human\\FlameStrike\\FlameStrikeTarget.mdl", x, y) @@ -111862,7 +111862,7 @@ endfunction exitwhen bj_lastCreatedUnit == null call ShowUnit(bj_lastCreatedUnit, true) call SetUnitFlyHeight(bj_lastCreatedUnit, 0, 1400) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call SelectUnitForPlayerSingle(bj_lastCreatedUnit, GetOwningPlayer(bj_lastCreatedUnit)) call UnitDamageTarget(s__SasukeChibakuTensei_caster[this], bj_lastCreatedUnit, 10 * GetHeroAgi(s__SasukeChibakuTensei_caster[this], true) + 200, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) call GroupRemoveUnit(s__SasukeChibakuTensei_damaged[this], bj_lastCreatedUnit) @@ -111918,7 +111918,7 @@ endfunction set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__SasukeChibakuTensei_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! call UnitAddAbility(bj_lastCreatedUnit, 'Arav') call UnitRemoveAbility(bj_lastCreatedUnit, 'Arav') call SetUnitFlyHeight(bj_lastCreatedUnit, 450, 450) @@ -111938,7 +111938,7 @@ endfunction call TimerStart(NewTimerEx(this), 1.0, false, function s__SasukeChibakuTensei_hide) endif if s__SasukeChibakuTensei_count[this] > 50 then - call s__PauseUnitEx__Pause_setPauseCounter((s__SasukeChibakuTensei_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SasukeChibakuTensei_caster[this] ) , ( 0)) // INLINED!! call ReleaseTimer(GetExpiredTimer()) endif endfunction @@ -111950,7 +111950,7 @@ endfunction endif set s__SasukeChibakuTensei_caster[this]=GetTriggerUnit() set s__SasukeChibakuTensei_damaged[this]=CreateGroup() - call s__PauseUnitEx__Pause_setPauseCounter((s__SasukeChibakuTensei_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SasukeChibakuTensei_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__SasukeChibakuTensei_caster[this], "spell looping") set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), 'h00V', GetUnitX(s__SasukeChibakuTensei_caster[this]), GetUnitY(s__SasukeChibakuTensei_caster[this]), 0) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 1.0) @@ -111971,76 +111971,76 @@ endfunction //Implemented from module Alloc: - function s__SasukeNewSusanoo__Spell_allocate takes nothing returns integer + function s__SasukeNewSusanoo___Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__SasukeNewSusanoo__Spell_Alloc__recycle[(0)] == 0 ) then - set s__SasukeNewSusanoo__Spell_Alloc__instanceCount=s__SasukeNewSusanoo__Spell_Alloc__instanceCount + 1 - set this=s__SasukeNewSusanoo__Spell_Alloc__instanceCount + if ( s__SasukeNewSusanoo___Spell_Alloc__recycle[(0)] == 0 ) then + set s__SasukeNewSusanoo___Spell_Alloc__instanceCount=s__SasukeNewSusanoo___Spell_Alloc__instanceCount + 1 + set this=s__SasukeNewSusanoo___Spell_Alloc__instanceCount else - set this=s__SasukeNewSusanoo__Spell_Alloc__recycle[(0)] - set s__SasukeNewSusanoo__Spell_Alloc__recycle[(0)]=s__SasukeNewSusanoo__Spell_Alloc__recycle[s__SasukeNewSusanoo__Spell_Alloc__recycle[(0)]] + set this=s__SasukeNewSusanoo___Spell_Alloc__recycle[(0)] + set s__SasukeNewSusanoo___Spell_Alloc__recycle[(0)]=s__SasukeNewSusanoo___Spell_Alloc__recycle[s__SasukeNewSusanoo___Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__SasukeNewSusanoo__Spell_deallocate takes integer this returns nothing - set s__SasukeNewSusanoo__Spell_Alloc__recycle[this]=s__SasukeNewSusanoo__Spell_Alloc__recycle[(0)] - set s__SasukeNewSusanoo__Spell_Alloc__recycle[(0)]=this + function s__SasukeNewSusanoo___Spell_deallocate takes integer this returns nothing + set s__SasukeNewSusanoo___Spell_Alloc__recycle[this]=s__SasukeNewSusanoo___Spell_Alloc__recycle[(0)] + set s__SasukeNewSusanoo___Spell_Alloc__recycle[(0)]=this endfunction - function s__SasukeNewSusanoo__Spell_destroy takes integer this returns nothing - call DestroyTrigger(s__SasukeNewSusanoo__Spell_dmgTrig[this]) - set s__SasukeNewSusanoo__Spell_dmgTrig[this]=null - call KillUnit(s__SasukeNewSusanoo__Spell_susanoo[this]) - call ShowUnit(s__SasukeNewSusanoo__Spell_susanoo[this], false) - set s__SasukeNewSusanoo__Spell_susanoo[this]=null - set s__SasukeNewSusanoo__Spell_caster[this]=null - call s__SasukeNewSusanoo__Spell_deallocate(this) + function s__SasukeNewSusanoo___Spell_destroy takes integer this returns nothing + call DestroyTrigger(s__SasukeNewSusanoo___Spell_dmgTrig[this]) + set s__SasukeNewSusanoo___Spell_dmgTrig[this]=null + call KillUnit(s__SasukeNewSusanoo___Spell_susanoo[this]) + call ShowUnit(s__SasukeNewSusanoo___Spell_susanoo[this], false) + set s__SasukeNewSusanoo___Spell_susanoo[this]=null + set s__SasukeNewSusanoo___Spell_caster[this]=null + call s__SasukeNewSusanoo___Spell_deallocate(this) endfunction - function s__SasukeNewSusanoo__Spell_periodic takes nothing returns nothing + function s__SasukeNewSusanoo___Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real fire_x local real fire_y local integer i= 0 local integer i_2 - if s__SasukeNewSusanoo__Spell_count[this] < 150 then - set s__SasukeNewSusanoo__Spell_count[this]=s__SasukeNewSusanoo__Spell_count[this] + 10 + if s__SasukeNewSusanoo___Spell_count[this] < 150 then + set s__SasukeNewSusanoo___Spell_count[this]=s__SasukeNewSusanoo___Spell_count[this] + 10 endif - call SetUnitAnimation(s__SasukeNewSusanoo__Spell_caster[this], "stand") - call SetUnitFlyHeight(s__SasukeNewSusanoo__Spell_caster[this], 300, 0) - call SetUnitX(s__SasukeNewSusanoo__Spell_susanoo[this], GetUnitX(s__SasukeNewSusanoo__Spell_caster[this])) - call SetUnitY(s__SasukeNewSusanoo__Spell_susanoo[this], GetUnitY(s__SasukeNewSusanoo__Spell_caster[this])) - call SetUnitFacing(s__SasukeNewSusanoo__Spell_susanoo[this], GetUnitFacing(s__SasukeNewSusanoo__Spell_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__SasukeNewSusanoo__Spell_susanoo[this] ) , ( 1)) // INLINED!! - if IsUnitHidden(s__SasukeNewSusanoo__Spell_caster[this]) then - call SetUnitVertexColor(s__SasukeNewSusanoo__Spell_susanoo[this], 255, 255, 255, 0) + call SetUnitAnimation(s__SasukeNewSusanoo___Spell_caster[this], "stand") + call SetUnitFlyHeight(s__SasukeNewSusanoo___Spell_caster[this], 300, 0) + call SetUnitX(s__SasukeNewSusanoo___Spell_susanoo[this], GetUnitX(s__SasukeNewSusanoo___Spell_caster[this])) + call SetUnitY(s__SasukeNewSusanoo___Spell_susanoo[this], GetUnitY(s__SasukeNewSusanoo___Spell_caster[this])) + call SetUnitFacing(s__SasukeNewSusanoo___Spell_susanoo[this], GetUnitFacing(s__SasukeNewSusanoo___Spell_caster[this])) + call s__PauseUnitEx___Pause_setPauseCounter((s__SasukeNewSusanoo___Spell_susanoo[this] ) , ( 1)) // INLINED!! + if IsUnitHidden(s__SasukeNewSusanoo___Spell_caster[this]) then + call SetUnitVertexColor(s__SasukeNewSusanoo___Spell_susanoo[this], 255, 255, 255, 0) else - call SetUnitVertexColor(s__SasukeNewSusanoo__Spell_susanoo[this], 255, 255, 255, s__SasukeNewSusanoo__Spell_count[this]) + call SetUnitVertexColor(s__SasukeNewSusanoo___Spell_susanoo[this], 255, 255, 255, s__SasukeNewSusanoo___Spell_count[this]) endif if not udg_SusanooShoot then - call SetUnitTimeScale(s__SasukeNewSusanoo__Spell_susanoo[this], 2.0) - if GetUnitCurrentOrder(s__SasukeNewSusanoo__Spell_caster[this]) == String2OrderIdBJ("smart") then - call SetUnitAnimationByIndex(s__SasukeNewSusanoo__Spell_susanoo[this], 3) + call SetUnitTimeScale(s__SasukeNewSusanoo___Spell_susanoo[this], 2.0) + if GetUnitCurrentOrder(s__SasukeNewSusanoo___Spell_caster[this]) == String2OrderIdBJ("smart") then + call SetUnitAnimationByIndex(s__SasukeNewSusanoo___Spell_susanoo[this], 3) else - call SetUnitAnimationByIndex(s__SasukeNewSusanoo__Spell_susanoo[this], 0) + call SetUnitAnimationByIndex(s__SasukeNewSusanoo___Spell_susanoo[this], 0) endif endif - set s__SasukeNewSusanoo__Spell_duration[this]=s__SasukeNewSusanoo__Spell_duration[this] + 0.03 - if s__SasukeNewSusanoo__Spell_duration[this] > 25 then //GetUnitAbilityLevel(this.caster, 'B033') < 1 then - call SetUnitVertexColor(s__SasukeNewSusanoo__Spell_caster[this], 255, 255, 255, 255) + set s__SasukeNewSusanoo___Spell_duration[this]=s__SasukeNewSusanoo___Spell_duration[this] + 0.03 + if s__SasukeNewSusanoo___Spell_duration[this] > 25 then //GetUnitAbilityLevel(this.caster, 'B033') < 1 then + call SetUnitVertexColor(s__SasukeNewSusanoo___Spell_caster[this], 255, 255, 255, 255) //call AddUnitAnimationProperties(this.caster, "alternate", false) - call UnitRemoveAbility(s__SasukeNewSusanoo__Spell_caster[this], 'A0CS') + call UnitRemoveAbility(s__SasukeNewSusanoo___Spell_caster[this], 'A0CS') //call UnitRemoveAbility(this.caster, 'A0CR') //call UnitRemoveAbility(this.caster, 'A0P1') //call SetPlayerAbilityAvailable(GetOwningPlayer(this.caster), 'A0MA', true) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__SasukeNewSusanoo__Spell_caster[this]), 'A0KV', true) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__SasukeNewSusanoo__Spell_caster[this]), 'A0XY', true) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__SasukeNewSusanoo___Spell_caster[this]), 'A0KV', true) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__SasukeNewSusanoo___Spell_caster[this]), 'A0XY', true) loop set i=i + 1 exitwhen i > 2 @@ -112048,77 +112048,77 @@ endfunction loop set i_2=i_2 + 1 exitwhen i_2 > 10 - set fire_x=GetUnitX(s__SasukeNewSusanoo__Spell_caster[this]) + Cos(Deg2Rad(36 * i_2)) * ( 100 * i ) - set fire_y=GetUnitY(s__SasukeNewSusanoo__Spell_caster[this]) + Sin(Deg2Rad(36 * i_2)) * ( 100 * i ) + set fire_x=GetUnitX(s__SasukeNewSusanoo___Spell_caster[this]) + Cos(Deg2Rad(36 * i_2)) * ( 100 * i ) + set fire_y=GetUnitY(s__SasukeNewSusanoo___Spell_caster[this]) + Sin(Deg2Rad(36 * i_2)) * ( 100 * i ) call DestroyEffect(AddSpecialEffect(("Effects\\s_Purple_Fire.mdx" ), (( fire_x )*1.0), (( fire_y)*1.0))) // INLINED!! endloop endloop - call SetUnitFlyHeight(s__SasukeNewSusanoo__Spell_caster[this], 0, 1500) + call SetUnitFlyHeight(s__SasukeNewSusanoo___Spell_caster[this], 0, 1500) set i=0 - call s__SasukeNewSusanoo__Spell_destroy(this) + call s__SasukeNewSusanoo___Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__SasukeNewSusanoo__Spell_takeDamage takes nothing returns nothing - local integer this= s__SasukeNewSusanoo__units_triggers2[(GetUnitUserData((GetTriggerUnit())))] // INLINED!! - if not s__SasukeNewSusanoo__Spell_firstDmg[this] then - set s__SasukeNewSusanoo__Spell_firstDmg[this]=true + function s__SasukeNewSusanoo___Spell_takeDamage takes nothing returns nothing + local integer this= s__SasukeNewSusanoo___units_triggers2[(GetUnitUserData((GetTriggerUnit())))] // INLINED!! + if not s__SasukeNewSusanoo___Spell_firstDmg[this] then + set s__SasukeNewSusanoo___Spell_firstDmg[this]=true endif - if s__SasukeNewSusanoo__Spell_firstDmg[this] and GetUnitAbilityLevel(GetTriggerUnit(), 'B033') > 0 then - if s__SasukeNewSusanoo__Spell_hp[this] == - 1 then - set s__SasukeNewSusanoo__Spell_hp[this]=GetUnitState(GetTriggerUnit(), UNIT_STATE_LIFE) + if s__SasukeNewSusanoo___Spell_firstDmg[this] and GetUnitAbilityLevel(GetTriggerUnit(), 'B033') > 0 then + if s__SasukeNewSusanoo___Spell_hp[this] == - 1 then + set s__SasukeNewSusanoo___Spell_hp[this]=GetUnitState(GetTriggerUnit(), UNIT_STATE_LIFE) else - set s__SasukeNewSusanoo__Spell_damage[this]=s__SasukeNewSusanoo__Spell_damage[this] + GetEventDamage() - call SetUnitLifeBJ(s__SasukeNewSusanoo__Spell_susanoo[this], 8000 - s__SasukeNewSusanoo__Spell_damage[this] + 1) - if s__SasukeNewSusanoo__Spell_damage[this] > 8000 then + set s__SasukeNewSusanoo___Spell_damage[this]=s__SasukeNewSusanoo___Spell_damage[this] + GetEventDamage() + call SetUnitLifeBJ(s__SasukeNewSusanoo___Spell_susanoo[this], 8000 - s__SasukeNewSusanoo___Spell_damage[this] + 1) + if s__SasukeNewSusanoo___Spell_damage[this] > 8000 then call UnitRemoveAbility(GetTriggerUnit(), 'B033') endif - call SetUnitState(GetTriggerUnit(), UNIT_STATE_LIFE, s__SasukeNewSusanoo__Spell_hp[this]) + call SetUnitState(GetTriggerUnit(), UNIT_STATE_LIFE, s__SasukeNewSusanoo___Spell_hp[this]) endif endif endfunction - function s__SasukeNewSusanoo__Spell_actions takes nothing returns nothing - local integer this= s__SasukeNewSusanoo__Spell_allocate() + function s__SasukeNewSusanoo___Spell_actions takes nothing returns nothing + local integer this= s__SasukeNewSusanoo___Spell_allocate() local integer i= 0 - set s__SasukeNewSusanoo__Spell_caster[this]=GetTriggerUnit() - set s__SasukeNewSusanoo__Spell_susanoo[this]=CreateUnit(GetTriggerPlayer(), 'h076', GetUnitX(s__SasukeNewSusanoo__Spell_caster[this]), GetUnitY(s__SasukeNewSusanoo__Spell_caster[this]), GetUnitFacing(s__SasukeNewSusanoo__Spell_caster[this])) - call SetUnitX(s__SasukeNewSusanoo__Spell_susanoo[this], GetUnitX(s__SasukeNewSusanoo__Spell_caster[this])) - call SetUnitY(s__SasukeNewSusanoo__Spell_susanoo[this], GetUnitY(s__SasukeNewSusanoo__Spell_caster[this])) - call SetUnitVertexColor(s__SasukeNewSusanoo__Spell_susanoo[this], 255, 255, 255, 0) - call SetUnitPropWindow(s__SasukeNewSusanoo__Spell_susanoo[this], 0) - set sasuke_susanoo=s__SasukeNewSusanoo__Spell_susanoo[this] - set s__SasukeNewSusanoo__Spell_count[this]=0 + set s__SasukeNewSusanoo___Spell_caster[this]=GetTriggerUnit() + set s__SasukeNewSusanoo___Spell_susanoo[this]=CreateUnit(GetTriggerPlayer(), 'h076', GetUnitX(s__SasukeNewSusanoo___Spell_caster[this]), GetUnitY(s__SasukeNewSusanoo___Spell_caster[this]), GetUnitFacing(s__SasukeNewSusanoo___Spell_caster[this])) + call SetUnitX(s__SasukeNewSusanoo___Spell_susanoo[this], GetUnitX(s__SasukeNewSusanoo___Spell_caster[this])) + call SetUnitY(s__SasukeNewSusanoo___Spell_susanoo[this], GetUnitY(s__SasukeNewSusanoo___Spell_caster[this])) + call SetUnitVertexColor(s__SasukeNewSusanoo___Spell_susanoo[this], 255, 255, 255, 0) + call SetUnitPropWindow(s__SasukeNewSusanoo___Spell_susanoo[this], 0) + set sasuke_susanoo=s__SasukeNewSusanoo___Spell_susanoo[this] + set s__SasukeNewSusanoo___Spell_count[this]=0 //call SetPlayerAbilityAvailable(GetTriggerPlayer(), 'A0MA', false) call SetPlayerAbilityAvailable(GetTriggerPlayer(), 'A0KV', false) call SetPlayerAbilityAvailable(GetTriggerPlayer(), 'A0XY', false) //call UnitAddAbility(this.caster, 'A0CR') //call UnitAddAbility(this.caster, 'A0P1') - call UnitAddAbility(s__SasukeNewSusanoo__Spell_caster[this], 'A0CS') - call UnitAddAbility(s__SasukeNewSusanoo__Spell_caster[this], 'Arav') - call UnitRemoveAbility(s__SasukeNewSusanoo__Spell_caster[this], 'Arav') - call SetUnitFlyHeight(s__SasukeNewSusanoo__Spell_caster[this], 300, 1500) - call SetUnitVertexColor(s__SasukeNewSusanoo__Spell_caster[this], 255, 255, 255, 0) + call UnitAddAbility(s__SasukeNewSusanoo___Spell_caster[this], 'A0CS') + call UnitAddAbility(s__SasukeNewSusanoo___Spell_caster[this], 'Arav') + call UnitRemoveAbility(s__SasukeNewSusanoo___Spell_caster[this], 'Arav') + call SetUnitFlyHeight(s__SasukeNewSusanoo___Spell_caster[this], 300, 1500) + call SetUnitVertexColor(s__SasukeNewSusanoo___Spell_caster[this], 255, 255, 255, 0) if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Sasuke_Rikudou_T2_Susanoo, 100.0, GetTriggerUnit()) call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Sasuke: My eyes are closed to the light.|r") endif //call AddUnitAnimationProperties(this.caster, "alternate", true) - set s__SasukeNewSusanoo__Spell_hp[this]=- 1 //GetUnitState(this.caster, UNIT_STATE_LIFE) - set s__SasukeNewSusanoo__Spell_damage[this]=0 - set s__SasukeNewSusanoo__units_triggers2[(GetUnitUserData((s__SasukeNewSusanoo__Spell_caster[this])))]= this // INLINED!! - set s__SasukeNewSusanoo__Spell_firstDmg[this]=false - set s__SasukeNewSusanoo__Spell_dmgTrig[this]=CreateTrigger() - set s__SasukeNewSusanoo__Spell_duration[this]=0 - call TriggerRegisterUnitEvent(s__SasukeNewSusanoo__Spell_dmgTrig[this], s__SasukeNewSusanoo__Spell_caster[this], EVENT_UNIT_DAMAGED) - call TriggerAddAction(s__SasukeNewSusanoo__Spell_dmgTrig[this], function s__SasukeNewSusanoo__Spell_takeDamage) - call TimerStart(NewTimerEx(this), 0.03, true, function s__SasukeNewSusanoo__Spell_periodic) + set s__SasukeNewSusanoo___Spell_hp[this]=- 1 //GetUnitState(this.caster, UNIT_STATE_LIFE) + set s__SasukeNewSusanoo___Spell_damage[this]=0 + set s__SasukeNewSusanoo___units_triggers2[(GetUnitUserData((s__SasukeNewSusanoo___Spell_caster[this])))]= this // INLINED!! + set s__SasukeNewSusanoo___Spell_firstDmg[this]=false + set s__SasukeNewSusanoo___Spell_dmgTrig[this]=CreateTrigger() + set s__SasukeNewSusanoo___Spell_duration[this]=0 + call TriggerRegisterUnitEvent(s__SasukeNewSusanoo___Spell_dmgTrig[this], s__SasukeNewSusanoo___Spell_caster[this], EVENT_UNIT_DAMAGED) + call TriggerAddAction(s__SasukeNewSusanoo___Spell_dmgTrig[this], function s__SasukeNewSusanoo___Spell_takeDamage) + call TimerStart(NewTimerEx(this), 0.03, true, function s__SasukeNewSusanoo___Spell_periodic) call AddLoadingBar(GetTriggerUnit() , 25.0) endfunction - function s__SasukeNewSusanoo__Spell_critical takes nothing returns nothing + function s__SasukeNewSusanoo___Spell_critical takes nothing returns nothing local integer chance= GetRandomInt(1, 5) if chance == 1 and GetUnitAbilityLevel(GetAttacker(), 'B033') > 0 and IsUnitEnemy(GetTriggerUnit(), GetOwningPlayer(GetAttacker())) then call UnitDamageTarget(GetAttacker(), GetTriggerUnit(), 2.0 * GetHeroAgi(GetAttacker(), true) + 250, true, false, ATTACK_TYPE_HERO, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) @@ -112126,9 +112126,9 @@ endfunction endif endfunction - function s__SasukeNewSusanoo__Spell_onInit takes nothing returns nothing - call RegisterPlayerUnitEvent2((EVENT_PLAYER_UNIT_ATTACKED ) , Filter(( function s__SasukeNewSusanoo__Spell_critical))) // INLINED!! - call RegisterSpellEffectEvent2((s__SasukeNewSusanoo__Spell_SPELL_ID ) , Filter(( function s__SasukeNewSusanoo__Spell_actions))) // INLINED!! + function s__SasukeNewSusanoo___Spell_onInit takes nothing returns nothing + call RegisterPlayerUnitEvent2((EVENT_PLAYER_UNIT_ATTACKED ) , Filter(( function s__SasukeNewSusanoo___Spell_critical))) // INLINED!! + call RegisterSpellEffectEvent2((s__SasukeNewSusanoo___Spell_SPELL_ID ) , Filter(( function s__SasukeNewSusanoo___Spell_actions))) // INLINED!! endfunction @@ -112141,53 +112141,53 @@ endfunction //Implemented from module Alloc: - function s__SasukeIndraArrow__Spell_allocate takes nothing returns integer + function s__SasukeIndraArrow___Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__SasukeIndraArrow__Spell_Alloc__recycle[(0)] == 0 ) then - set s__SasukeIndraArrow__Spell_Alloc__instanceCount=s__SasukeIndraArrow__Spell_Alloc__instanceCount + 1 - set this=s__SasukeIndraArrow__Spell_Alloc__instanceCount + if ( s__SasukeIndraArrow___Spell_Alloc__recycle[(0)] == 0 ) then + set s__SasukeIndraArrow___Spell_Alloc__instanceCount=s__SasukeIndraArrow___Spell_Alloc__instanceCount + 1 + set this=s__SasukeIndraArrow___Spell_Alloc__instanceCount else - set this=s__SasukeIndraArrow__Spell_Alloc__recycle[(0)] - set s__SasukeIndraArrow__Spell_Alloc__recycle[(0)]=s__SasukeIndraArrow__Spell_Alloc__recycle[s__SasukeIndraArrow__Spell_Alloc__recycle[(0)]] + set this=s__SasukeIndraArrow___Spell_Alloc__recycle[(0)] + set s__SasukeIndraArrow___Spell_Alloc__recycle[(0)]=s__SasukeIndraArrow___Spell_Alloc__recycle[s__SasukeIndraArrow___Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__SasukeIndraArrow__Spell_deallocate takes integer this returns nothing - set s__SasukeIndraArrow__Spell_Alloc__recycle[this]=s__SasukeIndraArrow__Spell_Alloc__recycle[(0)] - set s__SasukeIndraArrow__Spell_Alloc__recycle[(0)]=this + function s__SasukeIndraArrow___Spell_deallocate takes integer this returns nothing + set s__SasukeIndraArrow___Spell_Alloc__recycle[this]=s__SasukeIndraArrow___Spell_Alloc__recycle[(0)] + set s__SasukeIndraArrow___Spell_Alloc__recycle[(0)]=this endfunction - function s__SasukeIndraArrow__Spell_destroy takes integer this returns nothing - call KillUnit(s__SasukeIndraArrow__Spell_arrow[this]) - call ShowUnit(s__SasukeIndraArrow__Spell_arrow[this], false) - set s__SasukeIndraArrow__Spell_caster[this]=null - set s__SasukeIndraArrow__Spell_arrow[this]=null - call s__SasukeIndraArrow__Spell_deallocate(this) + function s__SasukeIndraArrow___Spell_destroy takes integer this returns nothing + call KillUnit(s__SasukeIndraArrow___Spell_arrow[this]) + call ShowUnit(s__SasukeIndraArrow___Spell_arrow[this], false) + set s__SasukeIndraArrow___Spell_caster[this]=null + set s__SasukeIndraArrow___Spell_arrow[this]=null + call s__SasukeIndraArrow___Spell_deallocate(this) endfunction - function s__SasukeIndraArrow__Spell_dealDamage takes nothing returns boolean + function s__SasukeIndraArrow___Spell_dealDamage takes nothing returns boolean local real new_x local real new_y - if GetWidgetLife(GetFilterUnit()) > 0.405 and IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__SasukeIndraArrow__Spell_caster[s__SasukeIndraArrow__Spell_instance])) then + if GetWidgetLife(GetFilterUnit()) > 0.405 and IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(s__SasukeIndraArrow___Spell_caster[s__SasukeIndraArrow___Spell_instance])) then set new_x=GetUnitX(GetFilterUnit()) set new_y=GetUnitY(GetFilterUnit()) call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\Purge\\PurgeBuffTarget.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! - call UnitDamageTarget(s__SasukeIndraArrow__Spell_caster[s__SasukeIndraArrow__Spell_instance], GetFilterUnit(), 5.0 * GetHeroAgi(s__SasukeIndraArrow__Spell_caster[s__SasukeIndraArrow__Spell_instance], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) - call StunUnitTimed(s__SasukeIndraArrow__Spell_caster[s__SasukeIndraArrow__Spell_instance] , GetFilterUnit() , 2.0) + call UnitDamageTarget(s__SasukeIndraArrow___Spell_caster[s__SasukeIndraArrow___Spell_instance], GetFilterUnit(), 5.0 * GetHeroAgi(s__SasukeIndraArrow___Spell_caster[s__SasukeIndraArrow___Spell_instance], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + call StunUnitTimed(s__SasukeIndraArrow___Spell_caster[s__SasukeIndraArrow___Spell_instance] , GetFilterUnit() , 2.0) endif return false endfunction - function s__SasukeIndraArrow__Spell_explode takes nothing returns nothing + function s__SasukeIndraArrow___Spell_explode takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local integer i - local real arrow_x= GetUnitX(s__SasukeIndraArrow__Spell_arrow[this]) - local real arrow_y= GetUnitY(s__SasukeIndraArrow__Spell_arrow[this]) + local real arrow_x= GetUnitX(s__SasukeIndraArrow___Spell_arrow[this]) + local real arrow_y= GetUnitY(s__SasukeIndraArrow___Spell_arrow[this]) local real new_x local real new_y call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ), (( arrow_x )*1.0), (( arrow_y)*1.0))) // INLINED!! @@ -112196,41 +112196,41 @@ endfunction exitwhen i > 10 set new_x=(((arrow_x )*1.0) + Cos((( Deg2Rad(36 * i) )*1.0)) * (( 100.0)*1.0)) // INLINED!! set new_y=(((arrow_y )*1.0) + Sin((( Deg2Rad(36 * i) )*1.0)) * (( 100.0)*1.0)) // INLINED!! - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__SasukeIndraArrow__Spell_caster[this]), 'nser', new_x, new_y, GetRandomReal(0, 360)) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__SasukeIndraArrow___Spell_caster[this]), 'nser', new_x, new_y, GetRandomReal(0, 360)) call SetUnitTimeScale(bj_lastCreatedUnit, 0.7) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) set i=i + 1 endloop - call KillUnit(CreateUnit(GetOwningPlayer(s__SasukeIndraArrow__Spell_caster[this]), 'e01J', arrow_x, arrow_y, 270.0)) + call KillUnit(CreateUnit(GetOwningPlayer(s__SasukeIndraArrow___Spell_caster[this]), 'e01J', arrow_x, arrow_y, 270.0)) set bj_lastCreatedGroup=CreateGroup() - set s__SasukeIndraArrow__Spell_instance=this - call GroupEnumUnitsInRange(bj_lastCreatedGroup, arrow_x, arrow_y, 500.0, Filter(function s__SasukeIndraArrow__Spell_dealDamage)) + set s__SasukeIndraArrow___Spell_instance=this + call GroupEnumUnitsInRange(bj_lastCreatedGroup, arrow_x, arrow_y, 500.0, Filter(function s__SasukeIndraArrow___Spell_dealDamage)) call DestroyGroup(bj_lastCreatedGroup) - call s__SasukeIndraArrow__Spell_destroy(this) + call s__SasukeIndraArrow___Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__SasukeIndraArrow__Spell_move takes nothing returns nothing + function s__SasukeIndraArrow___Spell_move takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real arrow_x= GetUnitX(s__SasukeIndraArrow__Spell_arrow[this]) - local real arrow_y= GetUnitY(s__SasukeIndraArrow__Spell_arrow[this]) - local real new_x= (((arrow_x )*1.0) + Cos((( s__SasukeIndraArrow__Spell_angle[this] )*1.0)) * (( 75.0)*1.0)) // INLINED!! - local real new_y= (((arrow_y )*1.0) + Sin((( s__SasukeIndraArrow__Spell_angle[this] )*1.0)) * (( 75.0)*1.0)) // INLINED!! + local real arrow_x= GetUnitX(s__SasukeIndraArrow___Spell_arrow[this]) + local real arrow_y= GetUnitY(s__SasukeIndraArrow___Spell_arrow[this]) + local real new_x= (((arrow_x )*1.0) + Cos((( s__SasukeIndraArrow___Spell_angle[this] )*1.0)) * (( 75.0)*1.0)) // INLINED!! + local real new_y= (((arrow_y )*1.0) + Sin((( s__SasukeIndraArrow___Spell_angle[this] )*1.0)) * (( 75.0)*1.0)) // INLINED!! local integer i local boolean finish= false - set s__SasukeIndraArrow__Spell_count[this]=s__SasukeIndraArrow__Spell_count[this] + 1 + set s__SasukeIndraArrow___Spell_count[this]=s__SasukeIndraArrow___Spell_count[this] + 1 if IsTerrainPathable(new_x, new_y, PATHING_TYPE_FLYABILITY) then set finish=true else call DestroyEffect(AddSpecialEffect(("Abilities\\Weapons\\Bolt\\BoltImpact.mdl" ), (( arrow_x )*1.0), (( arrow_y)*1.0))) // INLINED!! call DestroyEffect(AddSpecialEffect(("Abilities\\Weapons\\AncientProtectorMissile\\AncientProtectorMissile.mdl" ), (( arrow_x )*1.0), (( arrow_y)*1.0))) // INLINED!! - call SetUnitX(s__SasukeIndraArrow__Spell_arrow[this], new_x) - call SetUnitY(s__SasukeIndraArrow__Spell_arrow[this], new_y) - if ModuloInteger(s__SasukeIndraArrow__Spell_count[this], 3) == 0 then - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__SasukeIndraArrow__Spell_caster[this]), 'e03L', new_x, new_y, Rad2Deg(s__SasukeIndraArrow__Spell_angle[this])) + call SetUnitX(s__SasukeIndraArrow___Spell_arrow[this], new_x) + call SetUnitY(s__SasukeIndraArrow___Spell_arrow[this], new_y) + if ModuloInteger(s__SasukeIndraArrow___Spell_count[this], 3) == 0 then + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__SasukeIndraArrow___Spell_caster[this]), 'e03L', new_x, new_y, Rad2Deg(s__SasukeIndraArrow___Spell_angle[this])) call SetUnitX(bj_lastCreatedUnit, new_x) call SetUnitY(bj_lastCreatedUnit, new_y) - call SetUnitFlyHeight(bj_lastCreatedUnit, GetUnitFlyHeight(s__SasukeIndraArrow__Spell_arrow[this]), 0) + call SetUnitFlyHeight(bj_lastCreatedUnit, GetUnitFlyHeight(s__SasukeIndraArrow___Spell_arrow[this]), 0) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) endif set bj_lastCreatedGroup=CreateGroup() @@ -112238,7 +112238,7 @@ endfunction loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__SasukeIndraArrow__Spell_caster[this])) and ( IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_HERO) == true or IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == true ) then + if GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__SasukeIndraArrow___Spell_caster[this])) and ( IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_HERO) == true or IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == true ) then set finish=true endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) @@ -112246,44 +112246,44 @@ endfunction call DestroyGroup(bj_lastCreatedGroup) endif if finish then - call KillUnit(s__SasukeIndraArrow__Spell_arrow[this]) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__SasukeIndraArrow__Spell_caster[this]), 'h06X', new_x, new_y, GetRandomReal(0, 360)) + call KillUnit(s__SasukeIndraArrow___Spell_arrow[this]) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__SasukeIndraArrow___Spell_caster[this]), 'h06X', new_x, new_y, GetRandomReal(0, 360)) call SetUnitTimeScale(bj_lastCreatedUnit, 2.0) call SetUnitScale(bj_lastCreatedUnit, 2.0, 2.0, 2.0) call KillUnit(bj_lastCreatedUnit) - call TimerStart(NewTimerEx(this), 0.3, false, function s__SasukeIndraArrow__Spell_explode) + call TimerStart(NewTimerEx(this), 0.3, false, function s__SasukeIndraArrow___Spell_explode) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__SasukeIndraArrow__Spell_delay takes nothing returns nothing + function s__SasukeIndraArrow___Spell_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__SasukeIndraArrow__Spell_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((sasuke_susanoo ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SasukeIndraArrow___Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((sasuke_susanoo ) , ( 0)) // INLINED!! call SetUnitTimeScale(sasuke_susanoo, 1.0) - set s__SasukeIndraArrow__Spell_arrow[this]=CreateUnit(GetOwningPlayer(s__SasukeIndraArrow__Spell_caster[this]), 'h06W', GetUnitX(s__SasukeIndraArrow__Spell_caster[this]), GetUnitY(s__SasukeIndraArrow__Spell_caster[this]), Rad2Deg(s__SasukeIndraArrow__Spell_angle[this])) - call SetUnitFlyHeight(s__SasukeIndraArrow__Spell_arrow[this], 200, 600) - call TimerStart(NewTimerEx(this), 0.03, true, function s__SasukeIndraArrow__Spell_move) + set s__SasukeIndraArrow___Spell_arrow[this]=CreateUnit(GetOwningPlayer(s__SasukeIndraArrow___Spell_caster[this]), 'h06W', GetUnitX(s__SasukeIndraArrow___Spell_caster[this]), GetUnitY(s__SasukeIndraArrow___Spell_caster[this]), Rad2Deg(s__SasukeIndraArrow___Spell_angle[this])) + call SetUnitFlyHeight(s__SasukeIndraArrow___Spell_arrow[this], 200, 600) + call TimerStart(NewTimerEx(this), 0.03, true, function s__SasukeIndraArrow___Spell_move) set udg_SusanooShoot=false call ReleaseTimer(GetExpiredTimer()) endfunction - function s__SasukeIndraArrow__Spell_actions takes nothing returns nothing - local integer this= s__SasukeIndraArrow__Spell_allocate() - set s__SasukeIndraArrow__Spell_caster[this]=GetTriggerUnit() + function s__SasukeIndraArrow___Spell_actions takes nothing returns nothing + local integer this= s__SasukeIndraArrow___Spell_allocate() + set s__SasukeIndraArrow___Spell_caster[this]=GetTriggerUnit() //call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Hiruzen: I'm the pillar for the next generation!|r") - set s__SasukeIndraArrow__Spell_angle[this]=Atan3(GetUnitX(s__SasukeIndraArrow__Spell_caster[this]) , GetUnitY(s__SasukeIndraArrow__Spell_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) - call s__PauseUnitEx__Pause_setPauseCounter((s__SasukeIndraArrow__Spell_caster[this] ) , ( 1)) // INLINED!! + set s__SasukeIndraArrow___Spell_angle[this]=Atan3(GetUnitX(s__SasukeIndraArrow___Spell_caster[this]) , GetUnitY(s__SasukeIndraArrow___Spell_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) + call s__PauseUnitEx___Pause_setPauseCounter((s__SasukeIndraArrow___Spell_caster[this] ) , ( 1)) // INLINED!! set udg_SusanooShoot=true - set s__SasukeIndraArrow__Spell_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((sasuke_susanoo ) , ( 1)) // INLINED!! + set s__SasukeIndraArrow___Spell_count[this]=0 + call s__PauseUnitEx___Pause_setPauseCounter((sasuke_susanoo ) , ( 1)) // INLINED!! call SetUnitTimeScale(sasuke_susanoo, 2.66) call SetUnitAnimation(sasuke_susanoo, "spell throw") - call TimerStart(NewTimerEx(this), 0.6, false, function s__SasukeIndraArrow__Spell_delay) + call TimerStart(NewTimerEx(this), 0.6, false, function s__SasukeIndraArrow___Spell_delay) endfunction - function s__SasukeIndraArrow__Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEvent2((s__SasukeIndraArrow__Spell_SPELL_ID ) , Filter(( function s__SasukeIndraArrow__Spell_actions))) // INLINED!! + function s__SasukeIndraArrow___Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEvent2((s__SasukeIndraArrow___Spell_SPELL_ID ) , Filter(( function s__SasukeIndraArrow___Spell_actions))) // INLINED!! endfunction @@ -112354,7 +112354,7 @@ function Trig_SasukeChidoriTargetCast_Actions takes nothing returns nothing //call PlayThematicMusic("HHQ.mp3") //call StopMusic(true) //call TriggerSleepAction(0.10) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! call SetUnitAnimation(GetTriggerUnit(), "stand ready") set udg_integers01[607]=1 loop @@ -112449,7 +112449,7 @@ function Trig_SasukeChidoriTarget_Actions takes nothing returns nothing call DisableTrigger(GetTriggeringTrigger()) set udg_reals01[201]=0.00 call SetUnitPathing(udg_units20[1], true) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units20[1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units20[1] ) , ( 0)) // INLINED!! set udg_units20[1]=null set udg_units20[2]=null else @@ -112681,9 +112681,9 @@ endfunction set i=0 loop exitwhen i > 8 - call KillUnit(sg__SasukeSenbon__senbons_get((this)*(9)+i)) - call ShowUnit(sg__SasukeSenbon__senbons_get((this)*(9)+i), false) - call sg__SasukeSenbon__senbons_set((this)*(9)+i,null) + call KillUnit(sg__SasukeSenbon___senbons_get((this)*(9)+i)) + call ShowUnit(sg__SasukeSenbon___senbons_get((this)*(9)+i), false) + call sg__SasukeSenbon___senbons_set((this)*(9)+i,null) set i=i + 1 endloop call DestroyGroup(s__SasukeChidoriSenbon_damaged[this]) @@ -112700,13 +112700,13 @@ endfunction set i=0 loop exitwhen i > 8 - set x=(((GetUnitX(sg__SasukeSenbon__senbons_get((this)*(9)+i)) )*1.0) + Cos((( Deg2Rad(GetUnitFacing(sg__SasukeSenbon__senbons_get((this)*(9)+i))) )*1.0)) * (( 25.0)*1.0)) // INLINED!! - set y=(((GetUnitY(sg__SasukeSenbon__senbons_get((this)*(9)+i)) )*1.0) + Sin((( Deg2Rad(GetUnitFacing(sg__SasukeSenbon__senbons_get((this)*(9)+i))) )*1.0)) * (( 25.0)*1.0)) // INLINED!! + set x=(((GetUnitX(sg__SasukeSenbon___senbons_get((this)*(9)+i)) )*1.0) + Cos((( Deg2Rad(GetUnitFacing(sg__SasukeSenbon___senbons_get((this)*(9)+i))) )*1.0)) * (( 25.0)*1.0)) // INLINED!! + set y=(((GetUnitY(sg__SasukeSenbon___senbons_get((this)*(9)+i)) )*1.0) + Sin((( Deg2Rad(GetUnitFacing(sg__SasukeSenbon___senbons_get((this)*(9)+i))) )*1.0)) * (( 25.0)*1.0)) // INLINED!! //if ModuloInteger(this.count, 3) == 0 then // call AddSpecialEffectEx("Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageDeathCaster.mdl", GetUnitX(senbons[this][i]), GetUnitY(senbons[this][i])) //endif - call SetUnitX(sg__SasukeSenbon__senbons_get((this)*(9)+i), x) - call SetUnitY(sg__SasukeSenbon__senbons_get((this)*(9)+i), y) + call SetUnitX(sg__SasukeSenbon___senbons_get((this)*(9)+i), x) + call SetUnitY(sg__SasukeSenbon___senbons_get((this)*(9)+i), y) set bj_lastCreatedGroup=CreateGroup() call GroupEnumUnitsInRange(bj_lastCreatedGroup, x, y, 110.0, null) loop @@ -112714,7 +112714,7 @@ endfunction exitwhen bj_lastCreatedUnit == null if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__SasukeChidoriSenbon_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitInGroup(bj_lastCreatedUnit, s__SasukeChidoriSenbon_damaged[this]) then call UnitDamageTarget(s__SasukeChidoriSenbon_caster[this], bj_lastCreatedUnit, ( 15 + GetHeroAgi(s__SasukeChidoriSenbon_caster[this], true) / 6.0 ) * GetUnitAbilityLevel(s__SasukeChidoriSenbon_caster[this], s__SasukeChidoriSenbon_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) - call DestroyEffect(AddSpecialEffect(("by_wood_effect_yubanmeiqin_lightning_dianjishanghai.mdx" ), (( GetUnitX(sg__SasukeSenbon__senbons_get((this)*(9)+i)) )*1.0), (( GetUnitY(sg__SasukeSenbon__senbons_get((this)*(9)+i)))*1.0))) // INLINED!! + call DestroyEffect(AddSpecialEffect(("by_wood_effect_yubanmeiqin_lightning_dianjishanghai.mdx" ), (( GetUnitX(sg__SasukeSenbon___senbons_get((this)*(9)+i)) )*1.0), (( GetUnitY(sg__SasukeSenbon___senbons_get((this)*(9)+i)))*1.0))) // INLINED!! call GroupAddUnit(s__SasukeChidoriSenbon_damaged[this], bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) @@ -112744,7 +112744,7 @@ endfunction set i=0 loop exitwhen i > 8 - call sg__SasukeSenbon__senbons_set((this)*(9)+i,CreateUnit(GetOwningPlayer(s__SasukeChidoriSenbon_caster[this]), 'h087', GetUnitX(s__SasukeChidoriSenbon_caster[this]), GetUnitY(s__SasukeChidoriSenbon_caster[this]), GetUnitFacing(s__SasukeChidoriSenbon_sasuke) - 30 + 3.33 * ( i + 1 ))) + call sg__SasukeSenbon___senbons_set((this)*(9)+i,CreateUnit(GetOwningPlayer(s__SasukeChidoriSenbon_caster[this]), 'h087', GetUnitX(s__SasukeChidoriSenbon_caster[this]), GetUnitY(s__SasukeChidoriSenbon_caster[this]), GetUnitFacing(s__SasukeChidoriSenbon_sasuke) - 30 + 3.33 * ( i + 1 ))) set i=i + 1 endloop call TimerStart(NewTimerEx(this), 0.03, true, function s__SasukeChidoriSenbon_periodic) @@ -112944,63 +112944,63 @@ endfunction //Implemented from module Alloc: - function s__SasukeCursedSealAbiltiies__Spell_allocate takes nothing returns integer + function s__SasukeCursedSealAbiltiies___Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__SasukeCursedSealAbiltiies__Spell_Alloc__recycle[(0)] == 0 ) then - set s__SasukeCursedSealAbiltiies__Spell_Alloc__instanceCount=s__SasukeCursedSealAbiltiies__Spell_Alloc__instanceCount + 1 - set this=s__SasukeCursedSealAbiltiies__Spell_Alloc__instanceCount + if ( s__SasukeCursedSealAbiltiies___Spell_Alloc__recycle[(0)] == 0 ) then + set s__SasukeCursedSealAbiltiies___Spell_Alloc__instanceCount=s__SasukeCursedSealAbiltiies___Spell_Alloc__instanceCount + 1 + set this=s__SasukeCursedSealAbiltiies___Spell_Alloc__instanceCount else - set this=s__SasukeCursedSealAbiltiies__Spell_Alloc__recycle[(0)] - set s__SasukeCursedSealAbiltiies__Spell_Alloc__recycle[(0)]=s__SasukeCursedSealAbiltiies__Spell_Alloc__recycle[s__SasukeCursedSealAbiltiies__Spell_Alloc__recycle[(0)]] + set this=s__SasukeCursedSealAbiltiies___Spell_Alloc__recycle[(0)] + set s__SasukeCursedSealAbiltiies___Spell_Alloc__recycle[(0)]=s__SasukeCursedSealAbiltiies___Spell_Alloc__recycle[s__SasukeCursedSealAbiltiies___Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__SasukeCursedSealAbiltiies__Spell_deallocate takes integer this returns nothing - set s__SasukeCursedSealAbiltiies__Spell_Alloc__recycle[this]=s__SasukeCursedSealAbiltiies__Spell_Alloc__recycle[(0)] - set s__SasukeCursedSealAbiltiies__Spell_Alloc__recycle[(0)]=this + function s__SasukeCursedSealAbiltiies___Spell_deallocate takes integer this returns nothing + set s__SasukeCursedSealAbiltiies___Spell_Alloc__recycle[this]=s__SasukeCursedSealAbiltiies___Spell_Alloc__recycle[(0)] + set s__SasukeCursedSealAbiltiies___Spell_Alloc__recycle[(0)]=this endfunction - function s__SasukeCursedSealAbiltiies__Spell_destroy takes integer this returns nothing - set s__SasukeCursedSealAbiltiies__Spell_caster[this]=null - call s__SasukeCursedSealAbiltiies__Spell_deallocate(this) + function s__SasukeCursedSealAbiltiies___Spell_destroy takes integer this returns nothing + set s__SasukeCursedSealAbiltiies___Spell_caster[this]=null + call s__SasukeCursedSealAbiltiies___Spell_deallocate(this) endfunction - function s__SasukeCursedSealAbiltiies__Spell_periodic takes nothing returns nothing + function s__SasukeCursedSealAbiltiies___Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call SetUnitAbilityLevel(s__SasukeCursedSealAbiltiies__Spell_caster[this], 'A097', GetUnitAbilityLevel(s__SasukeCursedSealAbiltiies__Spell_caster[this], 'A0DG')) - if GetUnitTypeId(s__SasukeCursedSealAbiltiies__Spell_caster[this]) != 'U00I' then - call SetPlayerAbilityAvailable(GetOwningPlayer(s__SasukeCursedSealAbiltiies__Spell_caster[this]), 'AHbn', true) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__SasukeCursedSealAbiltiies__Spell_caster[this]), 'A0DG', true) - call s__SasukeCursedSealAbiltiies__Spell_destroy(this) + call SetUnitAbilityLevel(s__SasukeCursedSealAbiltiies___Spell_caster[this], 'A097', GetUnitAbilityLevel(s__SasukeCursedSealAbiltiies___Spell_caster[this], 'A0DG')) + if GetUnitTypeId(s__SasukeCursedSealAbiltiies___Spell_caster[this]) != 'U00I' then + call SetPlayerAbilityAvailable(GetOwningPlayer(s__SasukeCursedSealAbiltiies___Spell_caster[this]), 'AHbn', true) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__SasukeCursedSealAbiltiies___Spell_caster[this]), 'A0DG', true) + call s__SasukeCursedSealAbiltiies___Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__SasukeCursedSealAbiltiies__Spell_delay takes nothing returns nothing + function s__SasukeCursedSealAbiltiies___Spell_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call SetPlayerAbilityAvailable(GetOwningPlayer(s__SasukeCursedSealAbiltiies__Spell_caster[this]), 'AHbn', false) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__SasukeCursedSealAbiltiies__Spell_caster[this]), 'A15R', false) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__SasukeCursedSealAbiltiies__Spell_caster[this]), 'A0DG', false) - call TimerStart(NewTimerEx(this), 0.03, true, function s__SasukeCursedSealAbiltiies__Spell_periodic) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__SasukeCursedSealAbiltiies___Spell_caster[this]), 'AHbn', false) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__SasukeCursedSealAbiltiies___Spell_caster[this]), 'A15R', false) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__SasukeCursedSealAbiltiies___Spell_caster[this]), 'A0DG', false) + call TimerStart(NewTimerEx(this), 0.03, true, function s__SasukeCursedSealAbiltiies___Spell_periodic) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__SasukeCursedSealAbiltiies__Spell_actions takes nothing returns nothing - local integer this= s__SasukeCursedSealAbiltiies__Spell_allocate() - set s__SasukeCursedSealAbiltiies__Spell_caster[this]=GetTriggerUnit() - if GetUnitTypeId(s__SasukeCursedSealAbiltiies__Spell_caster[this]) == 'U00H' then - call TimerStart(NewTimerEx(this), 1.5, false, function s__SasukeCursedSealAbiltiies__Spell_delay) + function s__SasukeCursedSealAbiltiies___Spell_actions takes nothing returns nothing + local integer this= s__SasukeCursedSealAbiltiies___Spell_allocate() + set s__SasukeCursedSealAbiltiies___Spell_caster[this]=GetTriggerUnit() + if GetUnitTypeId(s__SasukeCursedSealAbiltiies___Spell_caster[this]) == 'U00H' then + call TimerStart(NewTimerEx(this), 1.5, false, function s__SasukeCursedSealAbiltiies___Spell_delay) endif endfunction - function s__SasukeCursedSealAbiltiies__Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEvent2((s__SasukeCursedSealAbiltiies__Spell_SPELL_ID ) , Filter(( function s__SasukeCursedSealAbiltiies__Spell_actions))) // INLINED!! + function s__SasukeCursedSealAbiltiies___Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEvent2((s__SasukeCursedSealAbiltiies___Spell_SPELL_ID ) , Filter(( function s__SasukeCursedSealAbiltiies___Spell_actions))) // INLINED!! endfunction @@ -113017,8 +113017,8 @@ function Trig_SasukeChidoriBackstabCast_Actions takes nothing returns nothing set udg_unit04=GetSpellTargetUnit() set udg_unit11=GetTriggerUnit() call SetUnitPathing(udg_unit11, false) - call s__PauseUnitEx__Pause_setPauseCounter((udg_unit11 ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_unit04 ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_unit11 ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_unit04 ) , ( 1)) // INLINED!! call SetUnitTimeScale(GetTriggerUnit(), 10.00) call SetUnitAnimation(GetTriggerUnit(), "walk") call EnableTrigger(udg_trigger297) @@ -113089,9 +113089,9 @@ call AddSpecialEffectLocBJ((udg_locations03[138] ), ( "Abilities\\Spells\\Human\ call AddSpecialEffectLocBJ((udg_locations03[139] ), ( "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")) // INLINED!! call DestroyEffect(bj_lastCreatedEffect) call SetUnitTimeScalePercent(udg_unit11, 100.00) - call s__PauseUnitEx__Pause_setPauseCounter((udg_unit11 ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_unit11 ) , ( 0)) // INLINED!! call SetUnitPathing(udg_unit11, true) - call s__PauseUnitEx__Pause_setPauseCounter((udg_unit04 ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_unit04 ) , ( 0)) // INLINED!! call SetUnitAnimation(udg_unit04, "Death") call SetUnitPathing(udg_unit04, true) call StunUnitTimed(udg_unit11 , udg_unit04 , 3.0) @@ -113193,7 +113193,7 @@ function Trig_Kirin_INIT_Actions takes nothing returns nothing set udg_Kirin_Caster=GetTriggerUnit() set udg_Kirin_Point[1]=GetUnitLoc(udg_Kirin_Caster) set udg_Kirin_Point[2]=GetSpellTargetLoc() - call s__PauseUnitEx__Pause_setPauseCounter((udg_Kirin_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Kirin_Caster ) , ( 1)) // INLINED!! call CreateNUnitsAtLoc(1, 'h014', GetOwningPlayer(udg_Kirin_Caster), udg_Kirin_Point[2], bj_UNIT_FACING) call UnitApplyTimedLifeBJ(3.50, 'BTLF', GetLastCreatedUnit()) set bj_forLoopAIndex=1 @@ -113223,14 +113223,14 @@ call AddSpecialEffectLocBJ((udg_Kirin_Point[4] ), ( "Abilities\\Spells\\Other\\M call AddSpecialEffectTargetUnitBJ(("right,hand" ), ( udg_Kirin_Caster ), ( "Abilities\\Weapons\\FarseerMissile\\FarseerMissile.mdl")) // INLINED!! set udg_Kirin_Hand=GetLastCreatedEffectBJ() call TriggerSleepAction(0.25) - call s__PauseUnitEx__Pause_setPauseCounter((udg_Kirin_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Kirin_Caster ) , ( 0)) // INLINED!! if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Sasuke: It's over...|r") endif call IssueImmediateOrder(udg_Kirin_Caster, "stop") call SetUnitTimeScalePercent(udg_Kirin_Caster, 10.00) call SetUnitAnimation(udg_Kirin_Caster, "attack") - call s__PauseUnitEx__Pause_setPauseCounter((udg_Kirin_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Kirin_Caster ) , ( 1)) // INLINED!! call CreateNUnitsAtLoc(1, 'h010', GetOwningPlayer(udg_Kirin_Caster), udg_Kirin_Point[2], bj_UNIT_FACING) set udg_Kirin_Dummy=GetLastCreatedUnit() call TriggerSleepAction(0.35) @@ -113267,7 +113267,7 @@ endfunction function Trig_Kirin_Loop_Actions takes nothing returns nothing if ( Trig_Kirin_Loop_Func001C() ) then - call s__PauseUnitEx__Pause_setPauseCounter((udg_Kirin_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Kirin_Caster ) , ( 0)) // INLINED!! set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(udg_Kirin_Caster), 'e05R', GetUnitX(udg_Kirin_Dummy), GetUnitY(udg_Kirin_Dummy), 270) call KillUnit(bj_lastCreatedUnit) set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(udg_Kirin_Caster), 'e05R', GetUnitX(udg_Kirin_Dummy), GetUnitY(udg_Kirin_Dummy), 270) @@ -113370,35 +113370,35 @@ endfunction //Implemented from module Alloc: - function s__SasukeAdultRinnegan__Spell_allocate takes nothing returns integer + function s__SasukeAdultRinnegan___Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__SasukeAdultRinnegan__Spell_Alloc__recycle[(0)] == 0 ) then - set s__SasukeAdultRinnegan__Spell_Alloc__instanceCount=s__SasukeAdultRinnegan__Spell_Alloc__instanceCount + 1 - set this=s__SasukeAdultRinnegan__Spell_Alloc__instanceCount + if ( s__SasukeAdultRinnegan___Spell_Alloc__recycle[(0)] == 0 ) then + set s__SasukeAdultRinnegan___Spell_Alloc__instanceCount=s__SasukeAdultRinnegan___Spell_Alloc__instanceCount + 1 + set this=s__SasukeAdultRinnegan___Spell_Alloc__instanceCount else - set this=s__SasukeAdultRinnegan__Spell_Alloc__recycle[(0)] - set s__SasukeAdultRinnegan__Spell_Alloc__recycle[(0)]=s__SasukeAdultRinnegan__Spell_Alloc__recycle[s__SasukeAdultRinnegan__Spell_Alloc__recycle[(0)]] + set this=s__SasukeAdultRinnegan___Spell_Alloc__recycle[(0)] + set s__SasukeAdultRinnegan___Spell_Alloc__recycle[(0)]=s__SasukeAdultRinnegan___Spell_Alloc__recycle[s__SasukeAdultRinnegan___Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__SasukeAdultRinnegan__Spell_deallocate takes integer this returns nothing - set s__SasukeAdultRinnegan__Spell_Alloc__recycle[this]=s__SasukeAdultRinnegan__Spell_Alloc__recycle[(0)] - set s__SasukeAdultRinnegan__Spell_Alloc__recycle[(0)]=this + function s__SasukeAdultRinnegan___Spell_deallocate takes integer this returns nothing + set s__SasukeAdultRinnegan___Spell_Alloc__recycle[this]=s__SasukeAdultRinnegan___Spell_Alloc__recycle[(0)] + set s__SasukeAdultRinnegan___Spell_Alloc__recycle[(0)]=this endfunction - function s__SasukeAdultRinnegan__Spell_show takes nothing returns nothing + function s__SasukeAdultRinnegan___Spell_show takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real x local real y local integer i= 0 - call DestroyEffect(AddSpecialEffect(("war3mapImported\\DarkNova.mdx" ), (( s__SasukeAdultRinnegan__Spell_caster_x[this] )*1.0), (( s__SasukeAdultRinnegan__Spell_caster_y[this])*1.0))) // INLINED!! - call DestroyEffect(AddSpecialEffect(("war3mapImported\\DarkNova.mdx" ), (( s__SasukeAdultRinnegan__Spell_target_x[this] )*1.0), (( s__SasukeAdultRinnegan__Spell_target_y[this])*1.0))) // INLINED!! + call DestroyEffect(AddSpecialEffect(("war3mapImported\\DarkNova.mdx" ), (( s__SasukeAdultRinnegan___Spell_caster_x[this] )*1.0), (( s__SasukeAdultRinnegan___Spell_caster_y[this])*1.0))) // INLINED!! + call DestroyEffect(AddSpecialEffect(("war3mapImported\\DarkNova.mdx" ), (( s__SasukeAdultRinnegan___Spell_target_x[this] )*1.0), (( s__SasukeAdultRinnegan___Spell_target_y[this])*1.0))) // INLINED!! loop exitwhen i > 6 //set x = GetPolarX(this.target_x, Deg2Rad(36 * i), 100.0) @@ -113407,21 +113407,21 @@ endfunction //call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) set i=i + 1 endloop - call SetUnitPosition(s__SasukeAdultRinnegan__Spell_caster[this], s__SasukeAdultRinnegan__Spell_caster_x[this], s__SasukeAdultRinnegan__Spell_caster_y[this]) - call ShowUnit(s__SasukeAdultRinnegan__Spell_caster[this], true) - call SetUnitInvulnerable(s__SasukeAdultRinnegan__Spell_caster[this], false) - call s__PauseUnitEx__Pause_setPauseCounter((s__SasukeAdultRinnegan__Spell_caster[this] ) , ( 0)) // INLINED!! - call SelectUnitForPlayerSingle(s__SasukeAdultRinnegan__Spell_caster[this], GetOwningPlayer(s__SasukeAdultRinnegan__Spell_caster[this])) - call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( s__SasukeAdultRinnegan__Spell_target_x[this] )*1.0), (( s__SasukeAdultRinnegan__Spell_target_y[this])*1.0))) // INLINED!! - call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( s__SasukeAdultRinnegan__Spell_caster_x[this] )*1.0), (( s__SasukeAdultRinnegan__Spell_caster_y[this])*1.0))) // INLINED!! + call SetUnitPosition(s__SasukeAdultRinnegan___Spell_caster[this], s__SasukeAdultRinnegan___Spell_caster_x[this], s__SasukeAdultRinnegan___Spell_caster_y[this]) + call ShowUnit(s__SasukeAdultRinnegan___Spell_caster[this], true) + call SetUnitInvulnerable(s__SasukeAdultRinnegan___Spell_caster[this], false) + call s__PauseUnitEx___Pause_setPauseCounter((s__SasukeAdultRinnegan___Spell_caster[this] ) , ( 0)) // INLINED!! + call SelectUnitForPlayerSingle(s__SasukeAdultRinnegan___Spell_caster[this], GetOwningPlayer(s__SasukeAdultRinnegan___Spell_caster[this])) + call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( s__SasukeAdultRinnegan___Spell_target_x[this] )*1.0), (( s__SasukeAdultRinnegan___Spell_target_y[this])*1.0))) // INLINED!! + call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( s__SasukeAdultRinnegan___Spell_caster_x[this] )*1.0), (( s__SasukeAdultRinnegan___Spell_caster_y[this])*1.0))) // INLINED!! set bj_lastCreatedGroup=CreateGroup() - call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__SasukeAdultRinnegan__Spell_target_x[this], s__SasukeAdultRinnegan__Spell_target_y[this], 250.0, null) + call GroupEnumUnitsInRange(bj_lastCreatedGroup, s__SasukeAdultRinnegan___Spell_target_x[this], s__SasukeAdultRinnegan___Spell_target_y[this], 250.0, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__SasukeAdultRinnegan__Spell_caster[this])) and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then - call UnitDamageTarget(s__SasukeAdultRinnegan__Spell_caster[this], bj_lastCreatedUnit, 80.0 * GetUnitAbilityLevel(s__SasukeAdultRinnegan__Spell_caster[this], s__SasukeAdultRinnegan__Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) - call SetUnitPosition(bj_lastCreatedUnit, s__SasukeAdultRinnegan__Spell_caster_x[this], s__SasukeAdultRinnegan__Spell_caster_y[this]) + if GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__SasukeAdultRinnegan___Spell_caster[this])) and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then + call UnitDamageTarget(s__SasukeAdultRinnegan___Spell_caster[this], bj_lastCreatedUnit, 80.0 * GetUnitAbilityLevel(s__SasukeAdultRinnegan___Spell_caster[this], s__SasukeAdultRinnegan___Spell_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + call SetUnitPosition(bj_lastCreatedUnit, s__SasukeAdultRinnegan___Spell_caster_x[this], s__SasukeAdultRinnegan___Spell_caster_y[this]) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop @@ -113429,28 +113429,28 @@ endfunction //set bj_lastCreatedUnit = CreateUnit(GetOwningPlayer(this.caster), 'e007', this.target_x, this.target_y, 0) //call UnitAddAbility(bj_lastCreatedUnit, 'A0U5') //call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) - call s__SasukeAdultRinnegan__Spell_deallocate(this) + call s__SasukeAdultRinnegan___Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__SasukeAdultRinnegan__Spell_actions takes nothing returns nothing - local integer this= s__SasukeAdultRinnegan__Spell_allocate() - set s__SasukeAdultRinnegan__Spell_caster[this]=GetTriggerUnit() - set s__SasukeAdultRinnegan__Spell_caster_x[this]=GetUnitX(s__SasukeAdultRinnegan__Spell_caster[this]) - set s__SasukeAdultRinnegan__Spell_caster_y[this]=GetUnitY(s__SasukeAdultRinnegan__Spell_caster[this]) - set s__SasukeAdultRinnegan__Spell_target_x[this]=GetSpellTargetX() - set s__SasukeAdultRinnegan__Spell_target_y[this]=GetSpellTargetY() - call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( GetUnitX(s__SasukeAdultRinnegan__Spell_caster[this]) )*1.0), (( GetUnitY(s__SasukeAdultRinnegan__Spell_caster[this]))*1.0))) // INLINED!! - call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Undead\\DeathPact\\DeathPactTarget.mdl" ), (( GetUnitX(s__SasukeAdultRinnegan__Spell_caster[this]) )*1.0), (( GetUnitY(s__SasukeAdultRinnegan__Spell_caster[this]))*1.0))) // INLINED!! - call ShowUnit(s__SasukeAdultRinnegan__Spell_caster[this], false) - call SetUnitInvulnerable(s__SasukeAdultRinnegan__Spell_caster[this], true) - call s__PauseUnitEx__Pause_setPauseCounter((s__SasukeAdultRinnegan__Spell_caster[this] ) , ( 1)) // INLINED!! - call SetUnitAnimation(s__SasukeAdultRinnegan__Spell_caster[this], "attack") - call TimerStart(NewTimerEx(this), 0.5, false, function s__SasukeAdultRinnegan__Spell_show) + function s__SasukeAdultRinnegan___Spell_actions takes nothing returns nothing + local integer this= s__SasukeAdultRinnegan___Spell_allocate() + set s__SasukeAdultRinnegan___Spell_caster[this]=GetTriggerUnit() + set s__SasukeAdultRinnegan___Spell_caster_x[this]=GetUnitX(s__SasukeAdultRinnegan___Spell_caster[this]) + set s__SasukeAdultRinnegan___Spell_caster_y[this]=GetUnitY(s__SasukeAdultRinnegan___Spell_caster[this]) + set s__SasukeAdultRinnegan___Spell_target_x[this]=GetSpellTargetX() + set s__SasukeAdultRinnegan___Spell_target_y[this]=GetSpellTargetY() + call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( GetUnitX(s__SasukeAdultRinnegan___Spell_caster[this]) )*1.0), (( GetUnitY(s__SasukeAdultRinnegan___Spell_caster[this]))*1.0))) // INLINED!! + call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Undead\\DeathPact\\DeathPactTarget.mdl" ), (( GetUnitX(s__SasukeAdultRinnegan___Spell_caster[this]) )*1.0), (( GetUnitY(s__SasukeAdultRinnegan___Spell_caster[this]))*1.0))) // INLINED!! + call ShowUnit(s__SasukeAdultRinnegan___Spell_caster[this], false) + call SetUnitInvulnerable(s__SasukeAdultRinnegan___Spell_caster[this], true) + call s__PauseUnitEx___Pause_setPauseCounter((s__SasukeAdultRinnegan___Spell_caster[this] ) , ( 1)) // INLINED!! + call SetUnitAnimation(s__SasukeAdultRinnegan___Spell_caster[this], "attack") + call TimerStart(NewTimerEx(this), 0.5, false, function s__SasukeAdultRinnegan___Spell_show) endfunction - function s__SasukeAdultRinnegan__Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEvent2((s__SasukeAdultRinnegan__Spell_SPELL_ID ) , Filter(( function s__SasukeAdultRinnegan__Spell_actions))) // INLINED!! + function s__SasukeAdultRinnegan___Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEvent2((s__SasukeAdultRinnegan___Spell_SPELL_ID ) , Filter(( function s__SasukeAdultRinnegan___Spell_actions))) // INLINED!! endfunction @@ -113515,19 +113515,19 @@ endfunction function Trig_DragonFlame_Actions takes nothing returns nothing // call PlaySoundOnUnitBJ( gg_snd_gai_dynamic_entry_Q, 100.0, GetTriggerUnit() ) set udg_units14[3]=GetTriggerUnit() - set SasukeDragonFlame__angle=Rad2Deg(Atan3(GetUnitX(GetTriggerUnit()) , GetUnitY(GetTriggerUnit()) , GetSpellTargetX() , GetSpellTargetY())) + set SasukeDragonFlame___angle=Rad2Deg(Atan3(GetUnitX(GetTriggerUnit()) , GetUnitY(GetTriggerUnit()) , GetSpellTargetX() , GetSpellTargetY())) - set SasukeDragonFlame__dragon=CreateUnit(GetTriggerPlayer(), 'n01X', GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), SasukeDragonFlame__angle) - call SetUnitTimeScale(SasukeDragonFlame__dragon, 6.0) - call SetUnitAnimation(SasukeDragonFlame__dragon, "birth") - call SetUnitScale(SasukeDragonFlame__dragon, 0.4, 0.4, 0.4) + set SasukeDragonFlame___dragon=CreateUnit(GetTriggerPlayer(), 'n01X', GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), SasukeDragonFlame___angle) + call SetUnitTimeScale(SasukeDragonFlame___dragon, 6.0) + call SetUnitAnimation(SasukeDragonFlame___dragon, "birth") + call SetUnitScale(SasukeDragonFlame___dragon, 0.4, 0.4, 0.4) call TriggerSleepAction(0.1) - call SetUnitTimeScale(SasukeDragonFlame__dragon, 1.0) - call SetUnitAnimation(SasukeDragonFlame__dragon, "stand") + call SetUnitTimeScale(SasukeDragonFlame___dragon, 1.0) + call SetUnitAnimation(SasukeDragonFlame___dragon, "stand") - set SasukeDragonFlame__count=0 + set SasukeDragonFlame___count=0 - call EnableTrigger(SasukeDragonFlame__t2) + call EnableTrigger(SasukeDragonFlame___t2) endfunction function Trig_DragonFlame2_Func009Func001C takes nothing returns boolean @@ -113546,22 +113546,22 @@ function Trig_DragonFlame2_Actions takes nothing returns nothing local real x local real y local integer i - set SasukeDragonFlame__count=SasukeDragonFlame__count + 1 - if SasukeDragonFlame__count > 30 then - call DisableTrigger(SasukeDragonFlame__t2) - call KillUnit(SasukeDragonFlame__dragon) + set SasukeDragonFlame___count=SasukeDragonFlame___count + 1 + if SasukeDragonFlame___count > 30 then + call DisableTrigger(SasukeDragonFlame___t2) + call KillUnit(SasukeDragonFlame___dragon) call GroupClear(udg_groups03[0]) else - set udg_locations03[126]=PolarProjectionBJ(GetUnitLoc(SasukeDragonFlame__dragon), 25.00, SasukeDragonFlame__angle) - call SetUnitX(SasukeDragonFlame__dragon, GetLocationX(udg_locations03[126])) - call SetUnitY(SasukeDragonFlame__dragon, GetLocationY(udg_locations03[126])) - if ModuloInteger(SasukeDragonFlame__count, 3) == 0 then + set udg_locations03[126]=PolarProjectionBJ(GetUnitLoc(SasukeDragonFlame___dragon), 25.00, SasukeDragonFlame___angle) + call SetUnitX(SasukeDragonFlame___dragon, GetLocationX(udg_locations03[126])) + call SetUnitY(SasukeDragonFlame___dragon, GetLocationY(udg_locations03[126])) + if ModuloInteger(SasukeDragonFlame___count, 3) == 0 then set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(udg_units14[3]), 'n01D', GetLocationX(udg_locations03[126]), GetLocationY(udg_locations03[126]), GetUnitFacing(udg_units14[3])) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) call SetUnitScale(bj_lastCreatedUnit, 1.0, 1.0, 1.0) endif call RemoveLocation(udg_locations03[126]) - set udg_locations03[126]=GetUnitLoc(SasukeDragonFlame__dragon) + set udg_locations03[126]=GetUnitLoc(SasukeDragonFlame___dragon) call DestroyEffect((AddSpecialEffectLocBJ((udg_locations03[126] ), ( "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl")))) // INLINED!! set bj_wantDestroyGroup=true call ForGroupBJ(GetUnitsInRangeOfLocMatching(300.00, udg_locations03[126], Condition(function Trig_DragonFlame2_Func009Func001C)), function Trig_DragonFlame2_Func009A) @@ -113569,15 +113569,15 @@ function Trig_DragonFlame2_Actions takes nothing returns nothing endif endfunction -function SasukeDragonFlame__init takes nothing returns nothing - set SasukeDragonFlame__t1=CreateTrigger() - call TriggerRegisterAnyUnitEventBJ(SasukeDragonFlame__t1, EVENT_PLAYER_UNIT_SPELL_EFFECT) - call TriggerAddCondition(SasukeDragonFlame__t1, Condition(function Trig_DragonFlame_Conditions)) - call TriggerAddAction(SasukeDragonFlame__t1, function Trig_DragonFlame_Actions) - set SasukeDragonFlame__t2=CreateTrigger() - call DisableTrigger(SasukeDragonFlame__t2) - call TriggerRegisterTimerEventPeriodic(SasukeDragonFlame__t2, 0.03) - call TriggerAddAction(SasukeDragonFlame__t2, function Trig_DragonFlame2_Actions) +function SasukeDragonFlame___init takes nothing returns nothing + set SasukeDragonFlame___t1=CreateTrigger() + call TriggerRegisterAnyUnitEventBJ(SasukeDragonFlame___t1, EVENT_PLAYER_UNIT_SPELL_EFFECT) + call TriggerAddCondition(SasukeDragonFlame___t1, Condition(function Trig_DragonFlame_Conditions)) + call TriggerAddAction(SasukeDragonFlame___t1, function Trig_DragonFlame_Actions) + set SasukeDragonFlame___t2=CreateTrigger() + call DisableTrigger(SasukeDragonFlame___t2) + call TriggerRegisterTimerEventPeriodic(SasukeDragonFlame___t2, 0.03) + call TriggerAddAction(SasukeDragonFlame___t2, function Trig_DragonFlame2_Actions) endfunction // scope SasukeDragonFlame ends @@ -113592,8 +113592,8 @@ function Trig_SasukeGenjutsuKirito_INIT_Actions takes nothing returns nothing set udg_Hira_Caster=GetTriggerUnit() set udg_Hira_Target=GetSpellTargetUnit() call TriggerSleepAction(0.1) - call s__PauseUnitEx__Pause_setPauseCounter((udg_Hira_Target ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((udg_Hira_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Hira_Target ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Hira_Caster ) , ( 1)) // INLINED!! call SetUnitPathing(udg_Hira_Caster, false) set udg_Hira_Point[1]=GetUnitLoc(udg_Hira_Caster) call TerrainDeformationRippleBJ(1.00, false, udg_Hira_Point[1], 200.00, 200.00, 64.00, 1, 200.00) @@ -113606,9 +113606,9 @@ call AddSpecialEffectLocBJ((udg_Hira_Point[1] ), ( "blackblink.mdx")) // INLINED call SetUnitPositionLocFacingBJ(udg_Hira_Caster, udg_Hira_Point[2], ( 180.00 + AngleBetweenPoints(GetUnitLoc(udg_Hira_Caster), GetUnitLoc(udg_Hira_Target)) )) call ShowUnitShow(udg_Hira_Caster) call SelectUnitForPlayerSingle(udg_Hira_Caster, GetOwningPlayer(udg_Hira_Caster)) - call s__PauseUnitEx__Pause_setPauseCounter((udg_Hira_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Hira_Caster ) , ( 0)) // INLINED!! call IssueImmediateOrder(udg_Hira_Caster, "stop") - call s__PauseUnitEx__Pause_setPauseCounter((udg_Hira_Caster ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Hira_Caster ) , ( 1)) // INLINED!! call SetUnitAnimation(udg_Hira_Caster, "attack") call SetUnitTimeScalePercent(udg_Hira_Caster, 50) call SetUnitPathing(udg_Hira_Caster, true) @@ -113617,11 +113617,11 @@ call AddSpecialEffectLocBJ((udg_Hira_Point[1] ), ( "blackblink.mdx")) // INLINED call SetUnitScale(bj_lastCreatedUnit, 0.5, 0, 0) call SetUnitAnimation(bj_lastCreatedUnit, "birth") call TriggerSleepAction(0.75) - call s__PauseUnitEx__Pause_setPauseCounter((udg_Hira_Caster ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Hira_Caster ) , ( 0)) // INLINED!! call IssueImmediateOrder(udg_Hira_Target, "stop") call UnitDamageTargetBJ(udg_Hira_Caster, udg_Hira_Target, 2 * GetHeroAgi(udg_Hira_Caster, true) + 800 * I2R(GetUnitAbilityLevelSwapped('A11B', udg_Hira_Caster)), ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC) call SetUnitAnimation(udg_Hira_Target, "death") - call s__PauseUnitEx__Pause_setPauseCounter((udg_Hira_Target ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_Hira_Target ) , ( 0)) // INLINED!! call SetUnitTimeScalePercent(udg_Hira_Caster, 100.0) endfunction @@ -113811,8 +113811,8 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! endfunction function s__ShikamaruKagemaneExplosion_destroy takes integer this returns nothing - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruKagemaneExplosion_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruKagemaneExplosion_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruKagemaneExplosion_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruKagemaneExplosion_target[this] ) , ( 0)) // INLINED!! loop exitwhen s__ShikamaruKagemaneExplosion_count2[this] < 0 set s__ShikamaruKagemaneExplosion_count2[this]=s__ShikamaruKagemaneExplosion_count2[this] - 1 @@ -113862,7 +113862,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! local real distance= GetDistanceUnits(s__ShikamaruKagemaneExplosion_missile[this] , s__ShikamaruKagemaneExplosion_target[this]) call SetUnitX(s__ShikamaruKagemaneExplosion_missile[this], new_x) call SetUnitY(s__ShikamaruKagemaneExplosion_missile[this], new_y) - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruKagemaneExplosion_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruKagemaneExplosion_caster[this] ) , ( 1)) // INLINED!! set bj_lastCreatedEffect=AddSpecialEffect("ShadowbindTarget.mdx", new_x, new_y) call BlzSetSpecialEffectYaw(bj_lastCreatedEffect, angle) call BlzSetSpecialEffectScale(bj_lastCreatedEffect, 0.7) @@ -113875,7 +113875,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! set s__ShikamaruKagemaneExplosion_count[this]=0 set s__ShikamaruKagemaneExplosion_target_x[this]=GetUnitX(s__ShikamaruKagemaneExplosion_target[this]) set s__ShikamaruKagemaneExplosion_target_y[this]=GetUnitY(s__ShikamaruKagemaneExplosion_target[this]) - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruKagemaneExplosion_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruKagemaneExplosion_target[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__ShikamaruKagemaneExplosion_caster[this], "spell throw") set s__ShikamaruKagemaneExplosion_distance[this]=GetDistanceUnits(s__ShikamaruKagemaneExplosion_caster[this] , s__ShikamaruKagemaneExplosion_target[this]) call SetUnitX(s__ShikamaruKagemaneExplosion_missile[this], GetUnitX(s__ShikamaruKagemaneExplosion_target[this])) @@ -113896,8 +113896,8 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! set s__ShikamaruKagemaneExplosion_caster[this]=GetTriggerUnit() set s__ShikamaruKagemaneExplosion_target[this]=GetSpellTargetUnit() set s__ShikamaruKagemaneExplosion_missile[this]=GetInvisibleDummy(GetOwningPlayer(s__ShikamaruKagemaneExplosion_caster[this]) , GetUnitX(s__ShikamaruKagemaneExplosion_caster[this]) , GetUnitY(s__ShikamaruKagemaneExplosion_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruKagemaneExplosion_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruKagemaneExplosion_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruKagemaneExplosion_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruKagemaneExplosion_target[this] ) , ( 1)) // INLINED!! set s__ShikamaruKagemaneExplosion_count[this]=0 set s__ShikamaruKagemaneExplosion_count2[this]=0 call SetUnitAnimation(s__ShikamaruKagemaneExplosion_caster[this], "spell channel") @@ -113936,7 +113936,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! endfunction function s__ShikamaruKageNui_destroy takes integer this returns nothing - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruKageNui_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruKageNui_caster[this] ) , ( 0)) // INLINED!! loop exitwhen s__ShikamaruKageNui_count3[this] < 0 set s__ShikamaruKageNui_count3[this]=s__ShikamaruKageNui_count3[this] - 1 @@ -114034,7 +114034,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! set v=null call DestroyGroup(bj_lastCreatedGroup) set s__ShikamaruKageNui_count[this]=count - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruKageNui_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruKageNui_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__ShikamaruKageNui_caster[this], "spell channel") set s__ShikamaruKageNui_count2[this]=0 call TimerStartEx(NewTimerEx(this) , 0.02 , true , function s__ShikamaruKageNui_move , "ShikamaruKageNui_move") @@ -114081,7 +114081,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! loop set bj_lastCreatedUnit=FirstOfGroup(s__ShikamaruKageNuiExplosion_damaged[this]) exitwhen bj_lastCreatedUnit == null - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call UnitDamageTarget(s__ShikamaruKageNuiExplosion_caster[this], bj_lastCreatedUnit, 1 * GetHeroInt(s__ShikamaruKageNuiExplosion_caster[this], true) + 800.0 * GetUnitAbilityLevel(s__ShikamaruKageNuiExplosion_caster[this], s__ShikamaruKageNuiExplosion_SPELL_ID), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) call GroupRemoveUnit(s__ShikamaruKageNuiExplosion_damaged[this], bj_lastCreatedUnit) endloop @@ -114101,7 +114101,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! call DestroyEffect(bj_lastCreatedEffect) set i=i + 1 endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruKageNuiExplosion_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruKageNuiExplosion_caster[this] ) , ( 0)) // INLINED!! loop exitwhen s__ShikamaruKageNuiExplosion_count[this] < 0 set s__ShikamaruKageNuiExplosion_count[this]=s__ShikamaruKageNuiExplosion_count[this] - 1 @@ -114144,7 +114144,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__ShikamaruKageNuiExplosion_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! call GroupAddUnit(s__ShikamaruKageNuiExplosion_damaged[this], bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) @@ -114166,7 +114166,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! set s__ShikamaruKageNuiExplosion_target_x[this]=GetSpellTargetX() set s__ShikamaruKageNuiExplosion_target_y[this]=GetSpellTargetY() set s__ShikamaruKageNuiExplosion_missile[this]=GetInvisibleDummy(GetTriggerPlayer() , GetUnitX(s__ShikamaruKageNuiExplosion_caster[this]) , GetUnitY(s__ShikamaruKageNuiExplosion_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruKageNuiExplosion_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruKageNuiExplosion_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__ShikamaruKageNuiExplosion_caster[this], "spell channel") call TimerStartEx(NewTimerEx(this) , 0.02 , true , function s__ShikamaruKageNuiExplosion_move , "ShikamaruKageNuiExplosion_move") endfunction @@ -114207,7 +114207,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! loop set bj_lastCreatedUnit=FirstOfGroup(s__ShikamaruNewUltimate_damaged[this]) exitwhen bj_lastCreatedUnit == null - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call ShowUnit(bj_lastCreatedUnit, true) call SelectUnitForPlayerSingle(bj_lastCreatedUnit, GetOwningPlayer(bj_lastCreatedUnit)) call UnitDamageTarget(s__ShikamaruNewUltimate_caster[this], bj_lastCreatedUnit, 600 + 10 * GetHeroInt(s__ShikamaruNewUltimate_caster[this], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) @@ -114246,7 +114246,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! set s__ShikamaruNewUltimate_shadows2[this]=null set s__ShikamaruNewUltimate_missle[this]=null call GroupClear(s__ShikamaruNewUltimate_smoke) - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruNewUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruNewUltimate_caster[this] ) , ( 0)) // INLINED!! call TimerStartEx(NewTimerEx(this) , 1.0 , false , function s__ShikamaruNewUltimate_damage , "ShikamaruNewUltimate_damage") call ReleaseTimer(GetExpiredTimer()) endfunction @@ -114326,7 +114326,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 3.0) endif if s__ShikamaruNewUltimate_count[this] > 10 then - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruNewUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruNewUltimate_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__ShikamaruNewUltimate_caster[this], "spell") set s__ShikamaruNewUltimate_damaged[this]=CreateGroup() set bj_lastCreatedGroup=CreateGroup() @@ -114335,7 +114335,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__ShikamaruNewUltimate_caster[this])) and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false and GetWidgetLife(bj_lastCreatedUnit) > 0.405 then - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! call GroupAddUnit(s__ShikamaruNewUltimate_damaged[this], bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) @@ -114429,7 +114429,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! call SetPlayerAbilityAvailable(GetOwningPlayer(s__ShikamaruTrueKagemane_caster[this]), 'A0WM', true) call SetPlayerAbilityAvailable(GetOwningPlayer(s__ShikamaruTrueKagemane_caster[this]), 'A0CK', true) call SetPlayerAbilityAvailable(GetOwningPlayer(s__ShikamaruTrueKagemane_caster[this]), 'A0M7', true) - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruTrueKagemane_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruTrueKagemane_target[this] ) , ( 0)) // INLINED!! call GroupRemoveUnit(s__ShikamaruTrueKagemane_shadows[this], s__ShikamaruTrueKagemane_target[this]) loop set bj_lastCreatedUnit=FirstOfGroup(s__ShikamaruTrueKagemane_shadows[this]) @@ -114494,7 +114494,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! local real distance= GetDistanceUnits(s__ShikamaruTrueKagemane_missile[this] , s__ShikamaruTrueKagemane_target[this]) call SetUnitX(s__ShikamaruTrueKagemane_missile[this], new_x) call SetUnitY(s__ShikamaruTrueKagemane_missile[this], new_y) - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruTrueKagemane_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruTrueKagemane_caster[this] ) , ( 1)) // INLINED!! set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__ShikamaruTrueKagemane_caster[this]), 'hkni', new_x, new_y, Rad2Deg(angle)) call SetUnitTimeScale(bj_lastCreatedUnit, 0) call GroupAddUnit(s__ShikamaruTrueKagemane_shadows[this], bj_lastCreatedUnit) @@ -114502,8 +114502,8 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! set s__ShikamaruTrueKagemane_count[this]=0 call RecycleUnit(s__ShikamaruTrueKagemane_missile[this]) set s__ShikamaruTrueKagemane_missile[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruTrueKagemane_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruTrueKagemane_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruTrueKagemane_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruTrueKagemane_target[this] ) , ( 1)) // INLINED!! call GroupAddUnit(s__ShikamaruTrueKagemane_shadows[this], s__ShikamaruTrueKagemane_target[this]) call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__ShikamaruTrueKagemane_periodic , "ShikamaruTrueKagemane_periodic") call ReleaseTimer(GetExpiredTimer()) @@ -114523,7 +114523,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! //call SetUnitMoveSpeed(this.caster, 522) //call this.missile.detach() //call this.missile.setAngle(GetUnitX(this.target), GetUnitY(this.target)) - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruTrueKagemane_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruTrueKagemane_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__ShikamaruTrueKagemane_caster[this], "spell channel") call SetPlayerAbilityAvailable(GetOwningPlayer(s__ShikamaruTrueKagemane_caster[this]), 'Amls', false) call SetPlayerAbilityAvailable(GetOwningPlayer(s__ShikamaruTrueKagemane_caster[this]), 'A0AT', false) @@ -114581,8 +114581,8 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! function s__ShikamaruBreakNeck_dealDamage takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! call UnitDamageTarget(s__ShikamaruBreakNeck_caster[this], s__ShikamaruBreakNeck_target[this], 8 * GetHeroInt(s__ShikamaruBreakNeck_caster[this], true) + 800, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruBreakNeck_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruBreakNeck_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruBreakNeck_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruBreakNeck_target[this] ) , ( 0)) // INLINED!! //call StunUnitTimed(this.caster, this.target, 2.3) call s__ShikamaruBreakNeck_destroy(this) call ReleaseTimer(GetExpiredTimer()) @@ -114612,7 +114612,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! set s__ShikamaruBreakNeck_count[this]=s__ShikamaruBreakNeck_count[this] + 1 if GetDistanceUnits(s__ShikamaruBreakNeck_dummy[this] , s__ShikamaruBreakNeck_target[this]) < 200 or s__ShikamaruBreakNeck_count[this] > 100 then - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruBreakNeck_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruBreakNeck_target[this] ) , ( 1)) // INLINED!! set index=s__ShikamaruBreakNeck_count[this] - 1 set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__ShikamaruBreakNeck_caster[this]), 'e07D', s__s__ShikamaruBreakNeck_shadows_x[(this)*(1)+index], s__s__ShikamaruBreakNeck_shadows_y[(this)*(1)+index], 180 + Rad2Deg(s__s__ShikamaruBreakNeck_shadows_angle[(this)*(1)+index])) @@ -114634,7 +114634,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 10.0)*1.0)) // INLINED!! set s__ShikamaruBreakNeck_target[this]=GetSpellTargetUnit() set s__ShikamaruBreakNeck_dummy[this]=CreateUnit(GetTriggerPlayer(), 'e007', GetUnitX(s__ShikamaruBreakNeck_caster[this]), GetUnitY(s__ShikamaruBreakNeck_caster[this]), 270) set s__ShikamaruBreakNeck_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__ShikamaruBreakNeck_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShikamaruBreakNeck_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__ShikamaruBreakNeck_caster[this], "spell channel") call TimerStartEx(NewTimerEx(this) , 0.02 , true , function s__ShikamaruBreakNeck_move , "ShikamaruKageNui_move") endfunction @@ -114670,10 +114670,10 @@ function Trig_ShinoD_Actions takes nothing returns nothing set bj_forLoopAIndex=bj_forLoopAIndex + 1 endloop call RemoveLocation(udg_locations03[8]) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! call SetUnitInvulnerable(GetTriggerUnit(), true) call TriggerSleepAction(2.00) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! call SetUnitInvulnerable(GetTriggerUnit(), false) endfunction @@ -115298,7 +115298,7 @@ endfunction function s__ShisuiSilentKill_pause1 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__ShisuiSilentKill_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShisuiSilentKill_caster[this] ) , ( 0)) // INLINED!! call DestroyEffect(AddSpecialEffect(("war3mapImported\\Blood.mdl" ), (( GetUnitX(s__ShisuiSilentKill_target[this]) )*1.0), (( GetUnitY(s__ShisuiSilentKill_target[this]))*1.0))) // INLINED!! if GetUnitAbilityLevel(s__ShisuiSilentKill_caster[this], 'A0S7') > 0 then call UnitDamageTarget(s__ShisuiSilentKill_caster[this], s__ShisuiSilentKill_target[this], GetHeroAgi(s__ShisuiSilentKill_caster[this], true) * 12, true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, null) @@ -115369,7 +115369,7 @@ endfunction set this=s__ShisuiSilentKill_allocate() set s__ShisuiSilentKill_caster[this]=GetTriggerUnit() set s__ShisuiSilentKill_target[this]=target - call s__PauseUnitEx__Pause_setPauseCounter((s__ShisuiSilentKill_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShisuiSilentKill_caster[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.1, false, function s__ShisuiSilentKill_pause0) endif endfunction @@ -115387,46 +115387,46 @@ endfunction //Implemented from module Alloc: - function s__ShisuiHosenka__Spell_allocate takes nothing returns integer + function s__ShisuiHosenka___Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__ShisuiHosenka__Spell_Alloc__recycle[(0)] == 0 ) then - set s__ShisuiHosenka__Spell_Alloc__instanceCount=s__ShisuiHosenka__Spell_Alloc__instanceCount + 1 - set this=s__ShisuiHosenka__Spell_Alloc__instanceCount + if ( s__ShisuiHosenka___Spell_Alloc__recycle[(0)] == 0 ) then + set s__ShisuiHosenka___Spell_Alloc__instanceCount=s__ShisuiHosenka___Spell_Alloc__instanceCount + 1 + set this=s__ShisuiHosenka___Spell_Alloc__instanceCount else - set this=s__ShisuiHosenka__Spell_Alloc__recycle[(0)] - set s__ShisuiHosenka__Spell_Alloc__recycle[(0)]=s__ShisuiHosenka__Spell_Alloc__recycle[s__ShisuiHosenka__Spell_Alloc__recycle[(0)]] + set this=s__ShisuiHosenka___Spell_Alloc__recycle[(0)] + set s__ShisuiHosenka___Spell_Alloc__recycle[(0)]=s__ShisuiHosenka___Spell_Alloc__recycle[s__ShisuiHosenka___Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__ShisuiHosenka__Spell_deallocate takes integer this returns nothing - set s__ShisuiHosenka__Spell_Alloc__recycle[this]=s__ShisuiHosenka__Spell_Alloc__recycle[(0)] - set s__ShisuiHosenka__Spell_Alloc__recycle[(0)]=this + function s__ShisuiHosenka___Spell_deallocate takes integer this returns nothing + set s__ShisuiHosenka___Spell_Alloc__recycle[this]=s__ShisuiHosenka___Spell_Alloc__recycle[(0)] + set s__ShisuiHosenka___Spell_Alloc__recycle[(0)]=this endfunction - function s__ShisuiHosenka__Spell_periodic_damage takes nothing returns nothing + function s__ShisuiHosenka___Spell_periodic_damage takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - set s__ShisuiHosenka__Spell_count[this]=s__ShisuiHosenka__Spell_count[this] + 1 + set s__ShisuiHosenka___Spell_count[this]=s__ShisuiHosenka___Spell_count[this] + 1 - if s__ShisuiHosenka__Spell_count[this] > 33 * 4 then + if s__ShisuiHosenka___Spell_count[this] > 33 * 4 then - call DestroyGroup(s__ShisuiHosenka__Spell_damaged_units[this]) - call DestroyGroup(s__ShisuiHosenka__Spell_shurikens[this]) - set s__ShisuiHosenka__Spell_damaged_units[this]=null - set s__ShisuiHosenka__Spell_shurikens[this]=null - set s__ShisuiHosenka__Spell_caster[this]=null - call s__ShisuiHosenka__Spell_deallocate(this) + call DestroyGroup(s__ShisuiHosenka___Spell_damaged_units[this]) + call DestroyGroup(s__ShisuiHosenka___Spell_shurikens[this]) + set s__ShisuiHosenka___Spell_damaged_units[this]=null + set s__ShisuiHosenka___Spell_shurikens[this]=null + set s__ShisuiHosenka___Spell_caster[this]=null + call s__ShisuiHosenka___Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__ShisuiHosenka__Spell_periodic takes nothing returns nothing + function s__ShisuiHosenka___Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local group g local unit u @@ -115435,10 +115435,10 @@ endfunction local real new_x local real new_y local real offset - set s__ShisuiHosenka__Spell_count[this]=s__ShisuiHosenka__Spell_count[this] + 1 + set s__ShisuiHosenka___Spell_count[this]=s__ShisuiHosenka___Spell_count[this] + 1 set bj_lastCreatedGroup=CreateGroup() //if this.count >= 10 then - call GroupAddGroup(s__ShisuiHosenka__Spell_shurikens[this], bj_lastCreatedGroup) + call GroupAddGroup(s__ShisuiHosenka___Spell_shurikens[this], bj_lastCreatedGroup) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null @@ -115459,7 +115459,7 @@ endfunction loop set u=FirstOfGroup(g) exitwhen u == null - if IsUnitEnemy(u, GetOwningPlayer(s__ShisuiHosenka__Spell_caster[this])) and GetWidgetLife(u) > 0.405 and not IsUnitInGroup(u, s__ShisuiHosenka__Spell_damaged_units[this]) then + if IsUnitEnemy(u, GetOwningPlayer(s__ShisuiHosenka___Spell_caster[this])) and GetWidgetLife(u) > 0.405 and not IsUnitInGroup(u, s__ShisuiHosenka___Spell_damaged_units[this]) then //damage //call Damage(this.caster, u, 80*GetUnitAbilityLevel(this.caster, SPELL_ID), "katon", false) //call AddSpecialEffectEx("AnimationExplosion.mdx", GetUnitX(u), GetUnitY(u)) @@ -115467,14 +115467,14 @@ endfunction call BlzSetSpecialEffectHeight(bj_lastCreatedEffect, 40 + GetPointZ(GetUnitX(u) , GetUnitY(u))) call DestroyEffect(bj_lastCreatedEffect) - call UnitDamageTarget(s__ShisuiHosenka__Spell_caster[this], u, ( 90 * GetUnitAbilityLevel(s__ShisuiHosenka__Spell_caster[this], s__ShisuiHosenka__Spell_SPELL_ID) ), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + call UnitDamageTarget(s__ShisuiHosenka___Spell_caster[this], u, ( 90 * GetUnitAbilityLevel(s__ShisuiHosenka___Spell_caster[this], s__ShisuiHosenka___Spell_SPELL_ID) ), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) //set fires[this][GetUnitId(u)] = AddSpecialEffectTarget("Abilities\\Spells\\Orc\\LiquidFire\\Liquidfire.mdl", u, "origin") - call GroupAddUnit(s__ShisuiHosenka__Spell_damaged_units[this], u) + call GroupAddUnit(s__ShisuiHosenka___Spell_damaged_units[this], u) endif call GroupRemoveUnit(g, u) endloop call DestroyGroup(g) - if s__ShisuiHosenka__Spell_count[this] == 10 then + if s__ShisuiHosenka___Spell_count[this] == 10 then call SetUnitFlyHeight(bj_lastCreatedUnit, 0, GetUnitFlyHeight(bj_lastCreatedUnit)) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) @@ -115483,28 +115483,28 @@ endfunction call DestroyGroup(bj_lastCreatedGroup) set g=null set u=null - if s__ShisuiHosenka__Spell_count[this] > 15 then + if s__ShisuiHosenka___Spell_count[this] > 15 then loop - set bj_lastCreatedUnit=FirstOfGroup(s__ShisuiHosenka__Spell_shurikens[this]) + set bj_lastCreatedUnit=FirstOfGroup(s__ShisuiHosenka___Spell_shurikens[this]) exitwhen bj_lastCreatedUnit == null //call DestroyEffect(AddSpecialEffectEx("Abilities\\Spells\\Other\\Doom\\DoomDeath.mdl", GetUnitX(bj_lastCreatedUnit), GetUnitY(bj_lastCreatedUnit))) call KillUnit(bj_lastCreatedUnit) //call ShowUnit(bj_lastCreatedUnit, false) - call GroupRemoveUnit(s__ShisuiHosenka__Spell_shurikens[this], bj_lastCreatedUnit) + call GroupRemoveUnit(s__ShisuiHosenka___Spell_shurikens[this], bj_lastCreatedUnit) endloop - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__ShisuiHosenka__Spell_caster[this]), 'e007', GetUnitX(s__ShisuiHosenka__Spell_caster[this]), GetUnitY(s__ShisuiHosenka__Spell_caster[this]), 270.0) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__ShisuiHosenka___Spell_caster[this]), 'e007', GetUnitX(s__ShisuiHosenka___Spell_caster[this]), GetUnitY(s__ShisuiHosenka___Spell_caster[this]), 270.0) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) call UnitAddAbility(bj_lastCreatedUnit, 'A0RE') - call SetUnitAbilityLevel(bj_lastCreatedUnit, 'A0RE', GetUnitAbilityLevel(s__ShisuiHosenka__Spell_caster[this], s__ShisuiHosenka__Spell_SPELL_ID)) - call IssueTargetOrder(bj_lastCreatedUnit, "bloodlust", s__ShisuiHosenka__Spell_caster[this]) - set s__ShisuiHosenka__Spell_count[this]=0 - call TimerStart(NewTimerEx(this), 0.03, true, function s__ShisuiHosenka__Spell_periodic_damage) + call SetUnitAbilityLevel(bj_lastCreatedUnit, 'A0RE', GetUnitAbilityLevel(s__ShisuiHosenka___Spell_caster[this], s__ShisuiHosenka___Spell_SPELL_ID)) + call IssueTargetOrder(bj_lastCreatedUnit, "bloodlust", s__ShisuiHosenka___Spell_caster[this]) + set s__ShisuiHosenka___Spell_count[this]=0 + call TimerStart(NewTimerEx(this), 0.03, true, function s__ShisuiHosenka___Spell_periodic_damage) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__ShisuiHosenka__Spell_conditions takes nothing returns nothing - local integer this= s__ShisuiHosenka__Spell_allocate() + function s__ShisuiHosenka___Spell_conditions takes nothing returns nothing + local integer this= s__ShisuiHosenka___Spell_allocate() local real caster_x local real caster_y local real target_x= GetSpellTargetX() @@ -115514,30 +115514,30 @@ endfunction local real new_x local real new_y local integer i= 0 - set s__ShisuiHosenka__Spell_caster[this]=GetTriggerUnit() - set caster_x=GetUnitX(s__ShisuiHosenka__Spell_caster[this]) - set caster_y=GetUnitY(s__ShisuiHosenka__Spell_caster[this]) - set s__ShisuiHosenka__Spell_angle[this]=Rad2Deg(Atan2(( target_y - caster_y ), ( target_x - caster_x ))) //AngleBetweenPoints(loc1, loc2) - set s__ShisuiHosenka__Spell_count[this]=0 - set s__ShisuiHosenka__Spell_shurikens[this]=CreateGroup() - set s__ShisuiHosenka__Spell_damaged_units[this]=CreateGroup() - set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), 'n01N', GetUnitX(s__ShisuiHosenka__Spell_caster[this]), GetUnitY(s__ShisuiHosenka__Spell_caster[this]), s__ShisuiHosenka__Spell_angle[this]) + set s__ShisuiHosenka___Spell_caster[this]=GetTriggerUnit() + set caster_x=GetUnitX(s__ShisuiHosenka___Spell_caster[this]) + set caster_y=GetUnitY(s__ShisuiHosenka___Spell_caster[this]) + set s__ShisuiHosenka___Spell_angle[this]=Rad2Deg(Atan2(( target_y - caster_y ), ( target_x - caster_x ))) //AngleBetweenPoints(loc1, loc2) + set s__ShisuiHosenka___Spell_count[this]=0 + set s__ShisuiHosenka___Spell_shurikens[this]=CreateGroup() + set s__ShisuiHosenka___Spell_damaged_units[this]=CreateGroup() + set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), 'n01N', GetUnitX(s__ShisuiHosenka___Spell_caster[this]), GetUnitY(s__ShisuiHosenka___Spell_caster[this]), s__ShisuiHosenka___Spell_angle[this]) call SetUnitAnimation(bj_lastCreatedUnit, "birth") - call GroupAddUnit(s__ShisuiHosenka__Spell_shurikens[this], bj_lastCreatedUnit) + call GroupAddUnit(s__ShisuiHosenka___Spell_shurikens[this], bj_lastCreatedUnit) - call TimerStart(NewTimerEx(this), 0.03, true, function s__ShisuiHosenka__Spell_periodic) + call TimerStart(NewTimerEx(this), 0.03, true, function s__ShisuiHosenka___Spell_periodic) endfunction - function s__ShisuiHosenka__Spell_attack takes nothing returns nothing + function s__ShisuiHosenka___Spell_attack takes nothing returns nothing if GetUnitAbilityLevel(GetAttacker(), 'B04G') > 0 then call UnitDamageTarget(GetAttacker(), GetTriggerUnit(), 0.2 * GetHeroAgi(GetAttacker(), true) * GetUnitAbilityLevel(GetAttacker(), 'B04G'), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Other\\Doom\\DoomDeath.mdl" ), (( GetUnitX(GetTriggerUnit()) )*1.0), (( GetUnitY(GetTriggerUnit()))*1.0))) // INLINED!! endif endfunction - function s__ShisuiHosenka__Spell_onInit takes nothing returns nothing - call RegisterPlayerUnitEventForId(65 , EVENT_PLAYER_UNIT_ATTACKED , function s__ShisuiHosenka__Spell_attack) - call RegisterSpellEffectEventForId(65 , s__ShisuiHosenka__Spell_SPELL_ID , function s__ShisuiHosenka__Spell_conditions) + function s__ShisuiHosenka___Spell_onInit takes nothing returns nothing + call RegisterPlayerUnitEventForId(65 , EVENT_PLAYER_UNIT_ATTACKED , function s__ShisuiHosenka___Spell_attack) + call RegisterSpellEffectEventForId(65 , s__ShisuiHosenka___Spell_SPELL_ID , function s__ShisuiHosenka___Spell_conditions) endfunction // scope ShisuiHosenka ends @@ -115639,7 +115639,7 @@ function Trig_Kotoamatsukami_Actions takes nothing returns nothing set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(udg_komat_caster)) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! call GroupAddUnit(udg_komat_group, bj_lastCreatedUnit) call SetUnitVertexColor(bj_lastCreatedUnit, 100, 100, 100, 255) endif @@ -115669,7 +115669,7 @@ function Trig_Kotoamatsukami_Actions takes nothing returns nothing loop set bj_lastCreatedUnit=FirstOfGroup(udg_komat_group) exitwhen bj_lastCreatedUnit == null - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call SetUnitVertexColor(bj_lastCreatedUnit, 255, 255, 255, 255) call GroupRemoveUnit(udg_komat_group, bj_lastCreatedUnit) endloop @@ -115883,7 +115883,7 @@ endfunction if s__ShisuiSusanoo_count[this] >= 100 then call KillUnit(s__ShisuiSusanoo_susanoo[this]) set s__ShisuiSusanoo_susanoo[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__ShisuiSusanoo_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShisuiSusanoo_caster[this] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(s__ShisuiSusanoo_caster[this], false) loop set bj_lastCreatedUnit=FirstOfGroup(s__ShisuiSusanoo_needles[this]) @@ -115917,7 +115917,7 @@ endfunction set s__ShisuiSusanoo_caster[this]=GetTriggerUnit() set s__ShisuiSusanoo_angle[this]=Atan3(GetUnitX(s__ShisuiSusanoo_caster[this]) , GetUnitY(s__ShisuiSusanoo_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) set s__ShisuiSusanoo_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__ShisuiSusanoo_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShisuiSusanoo_caster[this] ) , ( 1)) // INLINED!! call SetUnitInvulnerable(s__ShisuiSusanoo_caster[this], true) call SetUnitFacing(s__ShisuiSusanoo_caster[this], Rad2Deg(s__ShisuiSusanoo_angle[this])) set s__ShisuiSusanoo_susanoo[this]=CreateUnit(GetTriggerPlayer(), 'h08L', GetUnitX(s__ShisuiSusanoo_caster[this]), GetUnitY(s__ShisuiSusanoo_caster[this]), Rad2Deg(s__ShisuiSusanoo_angle[this])) @@ -115943,75 +115943,75 @@ endfunction //Implemented from module Alloc: - function s__ShisuiNewSusanoo__Spell_allocate takes nothing returns integer + function s__ShisuiNewSusanoo___Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__ShisuiNewSusanoo__Spell_Alloc__recycle[(0)] == 0 ) then - set s__ShisuiNewSusanoo__Spell_Alloc__instanceCount=s__ShisuiNewSusanoo__Spell_Alloc__instanceCount + 1 - set this=s__ShisuiNewSusanoo__Spell_Alloc__instanceCount + if ( s__ShisuiNewSusanoo___Spell_Alloc__recycle[(0)] == 0 ) then + set s__ShisuiNewSusanoo___Spell_Alloc__instanceCount=s__ShisuiNewSusanoo___Spell_Alloc__instanceCount + 1 + set this=s__ShisuiNewSusanoo___Spell_Alloc__instanceCount else - set this=s__ShisuiNewSusanoo__Spell_Alloc__recycle[(0)] - set s__ShisuiNewSusanoo__Spell_Alloc__recycle[(0)]=s__ShisuiNewSusanoo__Spell_Alloc__recycle[s__ShisuiNewSusanoo__Spell_Alloc__recycle[(0)]] + set this=s__ShisuiNewSusanoo___Spell_Alloc__recycle[(0)] + set s__ShisuiNewSusanoo___Spell_Alloc__recycle[(0)]=s__ShisuiNewSusanoo___Spell_Alloc__recycle[s__ShisuiNewSusanoo___Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__ShisuiNewSusanoo__Spell_deallocate takes integer this returns nothing - set s__ShisuiNewSusanoo__Spell_Alloc__recycle[this]=s__ShisuiNewSusanoo__Spell_Alloc__recycle[(0)] - set s__ShisuiNewSusanoo__Spell_Alloc__recycle[(0)]=this + function s__ShisuiNewSusanoo___Spell_deallocate takes integer this returns nothing + set s__ShisuiNewSusanoo___Spell_Alloc__recycle[this]=s__ShisuiNewSusanoo___Spell_Alloc__recycle[(0)] + set s__ShisuiNewSusanoo___Spell_Alloc__recycle[(0)]=this endfunction - function s__ShisuiNewSusanoo__Spell_destroy takes integer this returns nothing - call DestroyTrigger(s__ShisuiNewSusanoo__Spell_dmgTrig[this]) - set s__ShisuiNewSusanoo__Spell_dmgTrig[this]=null - call KillUnit(s__ShisuiNewSusanoo__Spell_susanoo[this]) - call ShowUnit(s__ShisuiNewSusanoo__Spell_susanoo[this], false) - set s__ShisuiNewSusanoo__Spell_susanoo[this]=null - set s__ShisuiNewSusanoo__Spell_caster[this]=null - call s__ShisuiNewSusanoo__Spell_deallocate(this) + function s__ShisuiNewSusanoo___Spell_destroy takes integer this returns nothing + call DestroyTrigger(s__ShisuiNewSusanoo___Spell_dmgTrig[this]) + set s__ShisuiNewSusanoo___Spell_dmgTrig[this]=null + call KillUnit(s__ShisuiNewSusanoo___Spell_susanoo[this]) + call ShowUnit(s__ShisuiNewSusanoo___Spell_susanoo[this], false) + set s__ShisuiNewSusanoo___Spell_susanoo[this]=null + set s__ShisuiNewSusanoo___Spell_caster[this]=null + call s__ShisuiNewSusanoo___Spell_deallocate(this) endfunction - function s__ShisuiNewSusanoo__Spell_periodic takes nothing returns nothing + function s__ShisuiNewSusanoo___Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real fire_x local real fire_y local integer i= 0 local integer i_2 - if s__ShisuiNewSusanoo__Spell_count[this] < 150 then - set s__ShisuiNewSusanoo__Spell_count[this]=s__ShisuiNewSusanoo__Spell_count[this] + 10 + if s__ShisuiNewSusanoo___Spell_count[this] < 150 then + set s__ShisuiNewSusanoo___Spell_count[this]=s__ShisuiNewSusanoo___Spell_count[this] + 10 endif - call SetUnitAnimation(s__ShisuiNewSusanoo__Spell_caster[this], "stand") - call SetUnitFlyHeight(s__ShisuiNewSusanoo__Spell_caster[this], 300, 0) - call SetUnitX(s__ShisuiNewSusanoo__Spell_susanoo[this], GetUnitX(s__ShisuiNewSusanoo__Spell_caster[this])) - call SetUnitY(s__ShisuiNewSusanoo__Spell_susanoo[this], GetUnitY(s__ShisuiNewSusanoo__Spell_caster[this])) - call SetUnitFacing(s__ShisuiNewSusanoo__Spell_susanoo[this], GetUnitFacing(s__ShisuiNewSusanoo__Spell_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__ShisuiNewSusanoo__Spell_susanoo[this] ) , ( 1)) // INLINED!! - if IsUnitHidden(s__ShisuiNewSusanoo__Spell_caster[this]) then - call SetUnitVertexColor(s__ShisuiNewSusanoo__Spell_susanoo[this], 255, 255, 255, 0) + call SetUnitAnimation(s__ShisuiNewSusanoo___Spell_caster[this], "stand") + call SetUnitFlyHeight(s__ShisuiNewSusanoo___Spell_caster[this], 300, 0) + call SetUnitX(s__ShisuiNewSusanoo___Spell_susanoo[this], GetUnitX(s__ShisuiNewSusanoo___Spell_caster[this])) + call SetUnitY(s__ShisuiNewSusanoo___Spell_susanoo[this], GetUnitY(s__ShisuiNewSusanoo___Spell_caster[this])) + call SetUnitFacing(s__ShisuiNewSusanoo___Spell_susanoo[this], GetUnitFacing(s__ShisuiNewSusanoo___Spell_caster[this])) + call s__PauseUnitEx___Pause_setPauseCounter((s__ShisuiNewSusanoo___Spell_susanoo[this] ) , ( 1)) // INLINED!! + if IsUnitHidden(s__ShisuiNewSusanoo___Spell_caster[this]) then + call SetUnitVertexColor(s__ShisuiNewSusanoo___Spell_susanoo[this], 255, 255, 255, 0) else - call SetUnitVertexColor(s__ShisuiNewSusanoo__Spell_susanoo[this], 255, 255, 255, s__ShisuiNewSusanoo__Spell_count[this]) + call SetUnitVertexColor(s__ShisuiNewSusanoo___Spell_susanoo[this], 255, 255, 255, s__ShisuiNewSusanoo___Spell_count[this]) endif if not udg_SusanooDrill then - call SetUnitTimeScale(s__ShisuiNewSusanoo__Spell_susanoo[this], 0.7) - if GetUnitCurrentOrder(s__ShisuiNewSusanoo__Spell_caster[this]) == String2OrderIdBJ("smart") then - call SetUnitAnimationByIndex(s__ShisuiNewSusanoo__Spell_susanoo[this], 12) + call SetUnitTimeScale(s__ShisuiNewSusanoo___Spell_susanoo[this], 0.7) + if GetUnitCurrentOrder(s__ShisuiNewSusanoo___Spell_caster[this]) == String2OrderIdBJ("smart") then + call SetUnitAnimationByIndex(s__ShisuiNewSusanoo___Spell_susanoo[this], 12) else - call SetUnitAnimationByIndex(s__ShisuiNewSusanoo__Spell_susanoo[this], 1) - endif - endif - set s__ShisuiNewSusanoo__Spell_duration[this]=s__ShisuiNewSusanoo__Spell_duration[this] + 0.03 - if s__ShisuiNewSusanoo__Spell_duration[this] > 25 then //GetUnitAbilityLevel(this.caster, 'B05C') < 1 then - call SetUnitVertexColor(s__ShisuiNewSusanoo__Spell_caster[this], 255, 255, 255, 255) - call UnitRemoveAbility(s__ShisuiNewSusanoo__Spell_caster[this], 'A0YS') - call UnitRemoveAbility(s__ShisuiNewSusanoo__Spell_caster[this], 'A0ZB') - call UnitRemoveAbility(s__ShisuiNewSusanoo__Spell_caster[this], 'A10Q') - call SetPlayerAbilityAvailable(GetOwningPlayer(s__ShisuiNewSusanoo__Spell_caster[this]), 'A10Z', true) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__ShisuiNewSusanoo__Spell_caster[this]), 'A0RC', true) - call SetPlayerAbilityAvailable(GetOwningPlayer(s__ShisuiNewSusanoo__Spell_caster[this]), 'A0RD', true) + call SetUnitAnimationByIndex(s__ShisuiNewSusanoo___Spell_susanoo[this], 1) + endif + endif + set s__ShisuiNewSusanoo___Spell_duration[this]=s__ShisuiNewSusanoo___Spell_duration[this] + 0.03 + if s__ShisuiNewSusanoo___Spell_duration[this] > 25 then //GetUnitAbilityLevel(this.caster, 'B05C') < 1 then + call SetUnitVertexColor(s__ShisuiNewSusanoo___Spell_caster[this], 255, 255, 255, 255) + call UnitRemoveAbility(s__ShisuiNewSusanoo___Spell_caster[this], 'A0YS') + call UnitRemoveAbility(s__ShisuiNewSusanoo___Spell_caster[this], 'A0ZB') + call UnitRemoveAbility(s__ShisuiNewSusanoo___Spell_caster[this], 'A10Q') + call SetPlayerAbilityAvailable(GetOwningPlayer(s__ShisuiNewSusanoo___Spell_caster[this]), 'A10Z', true) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__ShisuiNewSusanoo___Spell_caster[this]), 'A0RC', true) + call SetPlayerAbilityAvailable(GetOwningPlayer(s__ShisuiNewSusanoo___Spell_caster[this]), 'A0RD', true) loop set i=i + 1 exitwhen i > 2 @@ -116019,76 +116019,76 @@ endfunction loop set i_2=i_2 + 1 exitwhen i_2 > 10 - set fire_x=GetUnitX(s__ShisuiNewSusanoo__Spell_caster[this]) + Cos(Deg2Rad(36 * i_2)) * ( 100 * i ) - set fire_y=GetUnitY(s__ShisuiNewSusanoo__Spell_caster[this]) + Sin(Deg2Rad(36 * i_2)) * ( 100 * i ) + set fire_x=GetUnitX(s__ShisuiNewSusanoo___Spell_caster[this]) + Cos(Deg2Rad(36 * i_2)) * ( 100 * i ) + set fire_y=GetUnitY(s__ShisuiNewSusanoo___Spell_caster[this]) + Sin(Deg2Rad(36 * i_2)) * ( 100 * i ) call DestroyEffect(AddSpecialEffect(("Effects\\s_Green_Fire.mdl" ), (( fire_x )*1.0), (( fire_y)*1.0))) // INLINED!! endloop endloop - call SetUnitFlyHeight(s__ShisuiNewSusanoo__Spell_caster[this], 0, 1500) + call SetUnitFlyHeight(s__ShisuiNewSusanoo___Spell_caster[this], 0, 1500) set i=0 - call s__ShisuiNewSusanoo__Spell_destroy(this) + call s__ShisuiNewSusanoo___Spell_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__ShisuiNewSusanoo__Spell_takeDamage takes nothing returns nothing - local integer this= s__ShisuiNewSusanoo__units_triggers2[(GetUnitUserData((GetTriggerUnit())))] // INLINED!! - if not s__ShisuiNewSusanoo__Spell_firstDmg[this] then - set s__ShisuiNewSusanoo__Spell_firstDmg[this]=true + function s__ShisuiNewSusanoo___Spell_takeDamage takes nothing returns nothing + local integer this= s__ShisuiNewSusanoo___units_triggers2[(GetUnitUserData((GetTriggerUnit())))] // INLINED!! + if not s__ShisuiNewSusanoo___Spell_firstDmg[this] then + set s__ShisuiNewSusanoo___Spell_firstDmg[this]=true endif - if s__ShisuiNewSusanoo__Spell_firstDmg[this] and GetUnitAbilityLevel(GetTriggerUnit(), 'B05C') > 0 then - if s__ShisuiNewSusanoo__Spell_hp[this] == - 1 then - set s__ShisuiNewSusanoo__Spell_hp[this]=GetUnitState(GetTriggerUnit(), UNIT_STATE_LIFE) + if s__ShisuiNewSusanoo___Spell_firstDmg[this] and GetUnitAbilityLevel(GetTriggerUnit(), 'B05C') > 0 then + if s__ShisuiNewSusanoo___Spell_hp[this] == - 1 then + set s__ShisuiNewSusanoo___Spell_hp[this]=GetUnitState(GetTriggerUnit(), UNIT_STATE_LIFE) else - set s__ShisuiNewSusanoo__Spell_damage[this]=s__ShisuiNewSusanoo__Spell_damage[this] + GetEventDamage() - call SetUnitLifeBJ(s__ShisuiNewSusanoo__Spell_susanoo[this], 8000 - s__ShisuiNewSusanoo__Spell_damage[this] + 1) - if s__ShisuiNewSusanoo__Spell_damage[this] > 8000 then + set s__ShisuiNewSusanoo___Spell_damage[this]=s__ShisuiNewSusanoo___Spell_damage[this] + GetEventDamage() + call SetUnitLifeBJ(s__ShisuiNewSusanoo___Spell_susanoo[this], 8000 - s__ShisuiNewSusanoo___Spell_damage[this] + 1) + if s__ShisuiNewSusanoo___Spell_damage[this] > 8000 then call UnitRemoveAbility(GetTriggerUnit(), 'B05C') endif - call SetUnitState(GetTriggerUnit(), UNIT_STATE_LIFE, s__ShisuiNewSusanoo__Spell_hp[this]) + call SetUnitState(GetTriggerUnit(), UNIT_STATE_LIFE, s__ShisuiNewSusanoo___Spell_hp[this]) endif endif endfunction - function s__ShisuiNewSusanoo__Spell_actions takes nothing returns nothing - local integer this= s__ShisuiNewSusanoo__Spell_allocate() + function s__ShisuiNewSusanoo___Spell_actions takes nothing returns nothing + local integer this= s__ShisuiNewSusanoo___Spell_allocate() local integer i= 0 - set s__ShisuiNewSusanoo__Spell_caster[this]=GetTriggerUnit() - set s__ShisuiNewSusanoo__Spell_susanoo[this]=CreateUnit(GetTriggerPlayer(), 'h040', GetUnitX(s__ShisuiNewSusanoo__Spell_caster[this]), GetUnitY(s__ShisuiNewSusanoo__Spell_caster[this]), GetUnitFacing(s__ShisuiNewSusanoo__Spell_caster[this])) - call SetUnitX(s__ShisuiNewSusanoo__Spell_susanoo[this], GetUnitX(s__ShisuiNewSusanoo__Spell_caster[this])) - call SetUnitY(s__ShisuiNewSusanoo__Spell_susanoo[this], GetUnitY(s__ShisuiNewSusanoo__Spell_caster[this])) - call SetUnitVertexColor(s__ShisuiNewSusanoo__Spell_susanoo[this], 255, 255, 255, 0) - call SetUnitPropWindow(s__ShisuiNewSusanoo__Spell_susanoo[this], 0) - set shisui_susanoo=s__ShisuiNewSusanoo__Spell_susanoo[this] - set s__ShisuiNewSusanoo__Spell_count[this]=0 + set s__ShisuiNewSusanoo___Spell_caster[this]=GetTriggerUnit() + set s__ShisuiNewSusanoo___Spell_susanoo[this]=CreateUnit(GetTriggerPlayer(), 'h040', GetUnitX(s__ShisuiNewSusanoo___Spell_caster[this]), GetUnitY(s__ShisuiNewSusanoo___Spell_caster[this]), GetUnitFacing(s__ShisuiNewSusanoo___Spell_caster[this])) + call SetUnitX(s__ShisuiNewSusanoo___Spell_susanoo[this], GetUnitX(s__ShisuiNewSusanoo___Spell_caster[this])) + call SetUnitY(s__ShisuiNewSusanoo___Spell_susanoo[this], GetUnitY(s__ShisuiNewSusanoo___Spell_caster[this])) + call SetUnitVertexColor(s__ShisuiNewSusanoo___Spell_susanoo[this], 255, 255, 255, 0) + call SetUnitPropWindow(s__ShisuiNewSusanoo___Spell_susanoo[this], 0) + set shisui_susanoo=s__ShisuiNewSusanoo___Spell_susanoo[this] + set s__ShisuiNewSusanoo___Spell_count[this]=0 call SetPlayerAbilityAvailable(GetTriggerPlayer(), 'A10Z', false) call SetPlayerAbilityAvailable(GetTriggerPlayer(), 'A0RC', false) call SetPlayerAbilityAvailable(GetTriggerPlayer(), 'A0RD', false) - call UnitAddAbility(s__ShisuiNewSusanoo__Spell_caster[this], 'A10Q') - call UnitAddAbility(s__ShisuiNewSusanoo__Spell_caster[this], 'A0ZB') - call UnitAddAbility(s__ShisuiNewSusanoo__Spell_caster[this], 'A0YS') - call UnitAddAbility(s__ShisuiNewSusanoo__Spell_caster[this], 'Arav') - call UnitRemoveAbility(s__ShisuiNewSusanoo__Spell_caster[this], 'Arav') - call SetUnitFlyHeight(s__ShisuiNewSusanoo__Spell_caster[this], 300, 1500) - call SetUnitVertexColor(s__ShisuiNewSusanoo__Spell_caster[this], 255, 255, 255, 0) + call UnitAddAbility(s__ShisuiNewSusanoo___Spell_caster[this], 'A10Q') + call UnitAddAbility(s__ShisuiNewSusanoo___Spell_caster[this], 'A0ZB') + call UnitAddAbility(s__ShisuiNewSusanoo___Spell_caster[this], 'A0YS') + call UnitAddAbility(s__ShisuiNewSusanoo___Spell_caster[this], 'Arav') + call UnitRemoveAbility(s__ShisuiNewSusanoo___Spell_caster[this], 'Arav') + call SetUnitFlyHeight(s__ShisuiNewSusanoo___Spell_caster[this], 300, 1500) + call SetUnitVertexColor(s__ShisuiNewSusanoo___Spell_caster[this], 255, 255, 255, 0) if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Shisui_T, 80, GetTriggerUnit()) call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Shisui: I fight for the justice in the shinobi world!|r") endif - set s__ShisuiNewSusanoo__Spell_hp[this]=- 1 //GetUnitState(this.caster, UNIT_STATE_LIFE) - set s__ShisuiNewSusanoo__Spell_damage[this]=0 - set s__ShisuiNewSusanoo__units_triggers2[(GetUnitUserData((s__ShisuiNewSusanoo__Spell_caster[this])))]= this // INLINED!! - set s__ShisuiNewSusanoo__Spell_firstDmg[this]=false - set s__ShisuiNewSusanoo__Spell_dmgTrig[this]=CreateTrigger() - set s__ShisuiNewSusanoo__Spell_duration[this]=0 - call TriggerRegisterUnitEvent(s__ShisuiNewSusanoo__Spell_dmgTrig[this], s__ShisuiNewSusanoo__Spell_caster[this], EVENT_UNIT_DAMAGED) - call TriggerAddAction(s__ShisuiNewSusanoo__Spell_dmgTrig[this], function s__ShisuiNewSusanoo__Spell_takeDamage) - call TimerStart(NewTimerEx(this), 0.03, true, function s__ShisuiNewSusanoo__Spell_periodic) + set s__ShisuiNewSusanoo___Spell_hp[this]=- 1 //GetUnitState(this.caster, UNIT_STATE_LIFE) + set s__ShisuiNewSusanoo___Spell_damage[this]=0 + set s__ShisuiNewSusanoo___units_triggers2[(GetUnitUserData((s__ShisuiNewSusanoo___Spell_caster[this])))]= this // INLINED!! + set s__ShisuiNewSusanoo___Spell_firstDmg[this]=false + set s__ShisuiNewSusanoo___Spell_dmgTrig[this]=CreateTrigger() + set s__ShisuiNewSusanoo___Spell_duration[this]=0 + call TriggerRegisterUnitEvent(s__ShisuiNewSusanoo___Spell_dmgTrig[this], s__ShisuiNewSusanoo___Spell_caster[this], EVENT_UNIT_DAMAGED) + call TriggerAddAction(s__ShisuiNewSusanoo___Spell_dmgTrig[this], function s__ShisuiNewSusanoo___Spell_takeDamage) + call TimerStart(NewTimerEx(this), 0.03, true, function s__ShisuiNewSusanoo___Spell_periodic) call AddLoadingBar(GetTriggerUnit() , 25.0) endfunction - function s__ShisuiNewSusanoo__Spell_critical takes nothing returns nothing + function s__ShisuiNewSusanoo___Spell_critical takes nothing returns nothing local integer chance= GetRandomInt(1, 3) if chance == 1 and GetUnitAbilityLevel(GetAttacker(), 'B05C') > 0 and IsUnitEnemy(GetTriggerUnit(), GetOwningPlayer(GetAttacker())) then call UnitDamageTarget(GetAttacker(), GetTriggerUnit(), 2.0 * GetHeroAgi(GetAttacker(), true) + 250, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) @@ -116096,9 +116096,9 @@ endfunction endif endfunction - function s__ShisuiNewSusanoo__Spell_onInit takes nothing returns nothing - call RegisterPlayerUnitEvent2((EVENT_PLAYER_UNIT_ATTACKED ) , Filter(( function s__ShisuiNewSusanoo__Spell_critical))) // INLINED!! - call RegisterSpellEffectEvent2((s__ShisuiNewSusanoo__Spell_SPELL_ID ) , Filter(( function s__ShisuiNewSusanoo__Spell_actions))) // INLINED!! + function s__ShisuiNewSusanoo___Spell_onInit takes nothing returns nothing + call RegisterPlayerUnitEvent2((EVENT_PLAYER_UNIT_ATTACKED ) , Filter(( function s__ShisuiNewSusanoo___Spell_critical))) // INLINED!! + call RegisterSpellEffectEvent2((s__ShisuiNewSusanoo___Spell_SPELL_ID ) , Filter(( function s__ShisuiNewSusanoo___Spell_actions))) // INLINED!! endfunction @@ -116333,7 +116333,7 @@ endfunction call KillUnit(s__ShisuiSusanooDrill_dummy[this]) call ShowUnit(s__ShisuiSusanooDrill_dummy[this], false) call SelectUnitForPlayerSingle(s__ShisuiSusanooDrill_caster[this], GetOwningPlayer(s__ShisuiSusanooDrill_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__ShisuiSusanooDrill_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShisuiSusanooDrill_caster[this] ) , ( 0)) // INLINED!! set udg_SusanooDrill=false call s__ShisuiSusanooDrill_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -116359,7 +116359,7 @@ endfunction set udg_SusanooDrill=true call SetUnitAnimation(shisui_susanoo, "spell four") call SetUnitTimeScale(shisui_susanoo, 1.4) - call s__PauseUnitEx__Pause_setPauseCounter((s__ShisuiSusanooDrill_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShisuiSusanooDrill_caster[this] ) , ( 1)) // INLINED!! set s__ShisuiSusanooDrill_count[this]=0 call TimerStartEx(NewTimerEx(this) , 0.05 , true , function s__ShisuiSusanooDrill_morph , "ShisuiSusanooDrill_morph") endfunction @@ -116440,7 +116440,7 @@ endfunction call TimerStart(NewTimerEx(this), 0.03, true, function s__ShisuiSpear_knockback) set s__ShisuiSpear_target[this]=bj_lastCreatedUnit set s__ShisuiSpear_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__ShisuiSpear_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShisuiSpear_caster[this] ) , ( 0)) // INLINED!! set bj_lastCreatedEffect=AddSpecialEffect("Effects\\s_Grass_Explosion.mdl", GetUnitX(s__ShisuiSpear_target[this]), GetUnitY(s__ShisuiSpear_target[this])) call BlzSetSpecialEffectScale(bj_lastCreatedEffect, 4.5) @@ -116454,7 +116454,7 @@ endfunction endloop call DestroyGroup(bj_lastCreatedGroup) if s__ShisuiSpear_count[this] > 900 / 35.0 then - call s__PauseUnitEx__Pause_setPauseCounter((s__ShisuiSpear_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShisuiSpear_caster[this] ) , ( 0)) // INLINED!! set udg_SusanooDrill=false call s__ShisuiSpear_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -116469,7 +116469,7 @@ endfunction set s__ShisuiSpear_angle[this]=Atan3(GetUnitX(s__ShisuiSpear_caster[this]) , GetUnitY(s__ShisuiSpear_caster[this]) , GetSpellTargetX() , GetSpellTargetY()) call SetUnitTimeScale(shisui_susanoo, 2.0) call SetUnitAnimation(shisui_susanoo, "spell three") - call s__PauseUnitEx__Pause_setPauseCounter((s__ShisuiSpear_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ShisuiSpear_caster[this] ) , ( 1)) // INLINED!! //call AddSpecialEffectEx("Effects\\s_Earth_Smash.mdx", GetUnitX(this.caster), GetUnitY(this.caster)) call TimerStart(NewTimerEx(this), 0.03, true, function s__ShisuiSpear_periodic) endfunction @@ -116556,12 +116556,12 @@ endfunction set i=0 loop exitwhen i > 8 - call KillUnit(s__ShizuneSenbonsS__senbons[(this)*(1)+i]) - call ShowUnit(s__ShizuneSenbonsS__senbons[(this)*(1)+i], false) - call KillUnit(s__ShizuneSenbonsS__senbons2[(this)*(1)+i]) - call ShowUnit(s__ShizuneSenbonsS__senbons2[(this)*(1)+i], false) - set s__ShizuneSenbonsS__senbons[(this)*(1)+i]= null - set s__ShizuneSenbonsS__senbons2[(this)*(1)+i]= null + call KillUnit(s__ShizuneSenbonsS___senbons[(this)*(1)+i]) + call ShowUnit(s__ShizuneSenbonsS___senbons[(this)*(1)+i], false) + call KillUnit(s__ShizuneSenbonsS___senbons2[(this)*(1)+i]) + call ShowUnit(s__ShizuneSenbonsS___senbons2[(this)*(1)+i], false) + set s__ShizuneSenbonsS___senbons[(this)*(1)+i]= null + set s__ShizuneSenbonsS___senbons2[(this)*(1)+i]= null set i=i + 1 endloop call DestroyGroup(s__ShizuneSenbons_damaged[this]) @@ -116592,12 +116592,12 @@ endfunction set i=0 loop exitwhen i > 8 - set x=(((GetUnitX(s__ShizuneSenbonsS__senbons[(this)*(1)+i]) )*1.0) + Cos((( Deg2Rad(GetUnitFacing(s__ShizuneSenbonsS__senbons[(this)*(1)+i])) )*1.0)) * (( 25.0)*1.0)) // INLINED!! - set y=(((GetUnitY(s__ShizuneSenbonsS__senbons[(this)*(1)+i]) )*1.0) + Sin((( Deg2Rad(GetUnitFacing(s__ShizuneSenbonsS__senbons[(this)*(1)+i])) )*1.0)) * (( 25.0)*1.0)) // INLINED!! - call SetUnitX(s__ShizuneSenbonsS__senbons[(this)*(1)+i], x) - call SetUnitY(s__ShizuneSenbonsS__senbons[(this)*(1)+i], y) - call SetUnitX(s__ShizuneSenbonsS__senbons2[(this)*(1)+i], x) - call SetUnitY(s__ShizuneSenbonsS__senbons2[(this)*(1)+i], y) + set x=(((GetUnitX(s__ShizuneSenbonsS___senbons[(this)*(1)+i]) )*1.0) + Cos((( Deg2Rad(GetUnitFacing(s__ShizuneSenbonsS___senbons[(this)*(1)+i])) )*1.0)) * (( 25.0)*1.0)) // INLINED!! + set y=(((GetUnitY(s__ShizuneSenbonsS___senbons[(this)*(1)+i]) )*1.0) + Sin((( Deg2Rad(GetUnitFacing(s__ShizuneSenbonsS___senbons[(this)*(1)+i])) )*1.0)) * (( 25.0)*1.0)) // INLINED!! + call SetUnitX(s__ShizuneSenbonsS___senbons[(this)*(1)+i], x) + call SetUnitY(s__ShizuneSenbonsS___senbons[(this)*(1)+i], y) + call SetUnitX(s__ShizuneSenbonsS___senbons2[(this)*(1)+i], x) + call SetUnitY(s__ShizuneSenbonsS___senbons2[(this)*(1)+i], y) set bj_lastCreatedGroup=CreateGroup() call GroupEnumUnitsInRange(bj_lastCreatedGroup, x, y, 110.0, null) loop @@ -116605,7 +116605,7 @@ endfunction exitwhen bj_lastCreatedUnit == null if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__ShizuneSenbons_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false and not IsUnitInGroup(bj_lastCreatedUnit, s__ShizuneSenbons_damaged[this]) then set u=CreateAbilityDummy(s__ShizuneSenbons_caster[this] , 'A0Z1') - call DestroyEffect(AddSpecialEffect(("war3mapImported\\wanhuajing.mdx" ), (( GetUnitX(s__ShizuneSenbonsS__senbons[(this)*(1)+i]) )*1.0), (( GetUnitY(s__ShizuneSenbonsS__senbons[(this)*(1)+i]))*1.0))) // INLINED!! + call DestroyEffect(AddSpecialEffect(("war3mapImported\\wanhuajing.mdx" ), (( GetUnitX(s__ShizuneSenbonsS___senbons[(this)*(1)+i]) )*1.0), (( GetUnitY(s__ShizuneSenbonsS___senbons[(this)*(1)+i]))*1.0))) // INLINED!! call GroupAddUnit(s__ShizuneSenbons_damaged[this], bj_lastCreatedUnit) set this2=s__ShizuneSenbons_allocate() set s__ShizuneSenbons_caster[this2]=s__ShizuneSenbons_caster[this] @@ -116638,8 +116638,8 @@ endfunction set i=0 loop exitwhen i > 8 - set s__ShizuneSenbonsS__senbons[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__ShizuneSenbons_caster[this]), 'h088', GetUnitX(s__ShizuneSenbons_caster[this]), GetUnitY(s__ShizuneSenbons_caster[this]), Rad2Deg(angle) - 30 + 6.66 * ( i + 1 )) - set s__ShizuneSenbonsS__senbons2[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__ShizuneSenbons_caster[this]), 'e02O', GetUnitX(s__ShizuneSenbons_caster[this]), GetUnitY(s__ShizuneSenbons_caster[this]), Rad2Deg(angle) - 30 + 6.66 * ( i + 1 )) + set s__ShizuneSenbonsS___senbons[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__ShizuneSenbons_caster[this]), 'h088', GetUnitX(s__ShizuneSenbons_caster[this]), GetUnitY(s__ShizuneSenbons_caster[this]), Rad2Deg(angle) - 30 + 6.66 * ( i + 1 )) + set s__ShizuneSenbonsS___senbons2[(this)*(1)+i]= CreateUnit(GetOwningPlayer(s__ShizuneSenbons_caster[this]), 'e02O', GetUnitX(s__ShizuneSenbons_caster[this]), GetUnitY(s__ShizuneSenbons_caster[this]), Rad2Deg(angle) - 30 + 6.66 * ( i + 1 )) set i=i + 1 endloop call SetUnitAnimation(s__ShizuneSenbons_caster[this], "attack") @@ -116820,43 +116820,43 @@ endfunction //Implemented from module Alloc: - function s__ShizuneNewSemi__Item_allocate takes nothing returns integer + function s__ShizuneNewSemi___Item_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__ShizuneNewSemi__Item_Alloc__recycle[(0)] == 0 ) then - set s__ShizuneNewSemi__Item_Alloc__instanceCount=s__ShizuneNewSemi__Item_Alloc__instanceCount + 1 - set this=s__ShizuneNewSemi__Item_Alloc__instanceCount + if ( s__ShizuneNewSemi___Item_Alloc__recycle[(0)] == 0 ) then + set s__ShizuneNewSemi___Item_Alloc__instanceCount=s__ShizuneNewSemi___Item_Alloc__instanceCount + 1 + set this=s__ShizuneNewSemi___Item_Alloc__instanceCount else - set this=s__ShizuneNewSemi__Item_Alloc__recycle[(0)] - set s__ShizuneNewSemi__Item_Alloc__recycle[(0)]=s__ShizuneNewSemi__Item_Alloc__recycle[s__ShizuneNewSemi__Item_Alloc__recycle[(0)]] + set this=s__ShizuneNewSemi___Item_Alloc__recycle[(0)] + set s__ShizuneNewSemi___Item_Alloc__recycle[(0)]=s__ShizuneNewSemi___Item_Alloc__recycle[s__ShizuneNewSemi___Item_Alloc__recycle[(0)]] endif return this endfunction - function s__ShizuneNewSemi__Item_deallocate takes integer this returns nothing - set s__ShizuneNewSemi__Item_Alloc__recycle[this]=s__ShizuneNewSemi__Item_Alloc__recycle[(0)] - set s__ShizuneNewSemi__Item_Alloc__recycle[(0)]=this + function s__ShizuneNewSemi___Item_deallocate takes integer this returns nothing + set s__ShizuneNewSemi___Item_Alloc__recycle[this]=s__ShizuneNewSemi___Item_Alloc__recycle[(0)] + set s__ShizuneNewSemi___Item_Alloc__recycle[(0)]=this endfunction - function s__ShizuneNewSemi__Item_destroy takes integer this returns nothing + function s__ShizuneNewSemi___Item_destroy takes integer this returns nothing local integer i= 0 - call DestroyGroup(s__ShizuneNewSemi__Item_damaged[this]) + call DestroyGroup(s__ShizuneNewSemi___Item_damaged[this]) loop set i=i + 1 exitwhen i > 6 - call RecycleUnit(s__ShizuneNewSemi__dummies[(this)*(1)+i]) - set s__ShizuneNewSemi__dummies[(this)*(1)+i]= null + call RecycleUnit(s__ShizuneNewSemi___dummies[(this)*(1)+i]) + set s__ShizuneNewSemi___dummies[(this)*(1)+i]= null endloop - set s__ShizuneNewSemi__Item_damaged[this]=null - set s__ShizuneNewSemi__Item_caster[this]=null - call s__ShizuneNewSemi__Item_deallocate(this) + set s__ShizuneNewSemi___Item_damaged[this]=null + set s__ShizuneNewSemi___Item_caster[this]=null + call s__ShizuneNewSemi___Item_deallocate(this) endfunction - function s__ShizuneNewSemi__Item_periodic takes nothing returns nothing + function s__ShizuneNewSemi___Item_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real unit_x local real unit_y @@ -116867,42 +116867,42 @@ endfunction local real new_x local real new_y local integer i= 0 - set s__ShizuneNewSemi__Item_count[this]=s__ShizuneNewSemi__Item_count[this] + 1 + set s__ShizuneNewSemi___Item_count[this]=s__ShizuneNewSemi___Item_count[this] + 1 loop set i=i + 1 exitwhen i > 6 - set unit_x=GetUnitX(s__ShizuneNewSemi__dummies[(this)*(1)+i]) - set unit_y=GetUnitY(s__ShizuneNewSemi__dummies[(this)*(1)+i]) - set new_x=unit_x + Cos(Deg2Rad(GetUnitFacing(s__ShizuneNewSemi__dummies[(this)*(1)+i]))) * 30 - set new_y=unit_y + Sin(Deg2Rad(GetUnitFacing(s__ShizuneNewSemi__dummies[(this)*(1)+i]))) * 30 - set x=(((new_x )*1.0) + Cos((( Deg2Rad(GetUnitFacing(s__ShizuneNewSemi__dummies[(this)*(1)+i])) + bj_PI )*1.0)) * (( 400)*1.0)) // INLINED!! - set y=(((new_y )*1.0) + Sin((( Deg2Rad(GetUnitFacing(s__ShizuneNewSemi__dummies[(this)*(1)+i])) + bj_PI )*1.0)) * (( 400)*1.0)) // INLINED!! - call SetUnitX(s__ShizuneNewSemi__dummies[(this)*(1)+i], new_x) - call SetUnitY(s__ShizuneNewSemi__dummies[(this)*(1)+i], new_y) + set unit_x=GetUnitX(s__ShizuneNewSemi___dummies[(this)*(1)+i]) + set unit_y=GetUnitY(s__ShizuneNewSemi___dummies[(this)*(1)+i]) + set new_x=unit_x + Cos(Deg2Rad(GetUnitFacing(s__ShizuneNewSemi___dummies[(this)*(1)+i]))) * 30 + set new_y=unit_y + Sin(Deg2Rad(GetUnitFacing(s__ShizuneNewSemi___dummies[(this)*(1)+i]))) * 30 + set x=(((new_x )*1.0) + Cos((( Deg2Rad(GetUnitFacing(s__ShizuneNewSemi___dummies[(this)*(1)+i])) + bj_PI )*1.0)) * (( 400)*1.0)) // INLINED!! + set y=(((new_y )*1.0) + Sin((( Deg2Rad(GetUnitFacing(s__ShizuneNewSemi___dummies[(this)*(1)+i])) + bj_PI )*1.0)) * (( 400)*1.0)) // INLINED!! + call SetUnitX(s__ShizuneNewSemi___dummies[(this)*(1)+i], new_x) + call SetUnitY(s__ShizuneNewSemi___dummies[(this)*(1)+i], new_y) set bj_lastCreatedGroup=CreateGroup() call GroupEnumUnitsInRange(bj_lastCreatedGroup, x, y, 200, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__ShizuneNewSemi__Item_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitInGroup(bj_lastCreatedUnit, s__ShizuneNewSemi__Item_damaged[this]) then + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__ShizuneNewSemi___Item_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitInGroup(bj_lastCreatedUnit, s__ShizuneNewSemi___Item_damaged[this]) then set unit_x_2=GetUnitX(bj_lastCreatedUnit) set unit_y_2=GetUnitY(bj_lastCreatedUnit) call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Undead\\DeathCoil\\DeathCoilSpecialArt.mdl" ), (( unit_x_2 )*1.0), (( unit_y_2)*1.0))) // INLINED!! - call UnitDamageTarget(s__ShizuneNewSemi__Item_caster[this], bj_lastCreatedUnit, 4 * GetHeroInt(s__ShizuneNewSemi__Item_caster[this], true) + 500 * GetUnitAbilityLevel(s__ShizuneNewSemi__Item_caster[this], s__ShizuneNewSemi__Item_SPELL_ID), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) - call GroupAddUnit(s__ShizuneNewSemi__Item_damaged[this], bj_lastCreatedUnit) + call UnitDamageTarget(s__ShizuneNewSemi___Item_caster[this], bj_lastCreatedUnit, 4 * GetHeroInt(s__ShizuneNewSemi___Item_caster[this], true) + 500 * GetUnitAbilityLevel(s__ShizuneNewSemi___Item_caster[this], s__ShizuneNewSemi___Item_SPELL_ID), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + call GroupAddUnit(s__ShizuneNewSemi___Item_damaged[this], bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) endloop - if s__ShizuneNewSemi__Item_count[this] >= 25 then - call s__ShizuneNewSemi__Item_destroy(this) + if s__ShizuneNewSemi___Item_count[this] >= 25 then + call s__ShizuneNewSemi___Item_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__ShizuneNewSemi__Item_actions takes nothing returns nothing - local integer this= s__ShizuneNewSemi__Item_allocate() + function s__ShizuneNewSemi___Item_actions takes nothing returns nothing + local integer this= s__ShizuneNewSemi___Item_allocate() local real caster_x local real caster_y local real target_x= GetSpellTargetX() @@ -116915,10 +116915,10 @@ endfunction if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Shizune_R, 100, GetTriggerUnit()) endif - set s__ShizuneNewSemi__Item_damaged[this]=CreateGroup() - set s__ShizuneNewSemi__Item_caster[this]=GetTriggerUnit() - set caster_x=GetUnitX(s__ShizuneNewSemi__Item_caster[this]) - set caster_y=GetUnitY(s__ShizuneNewSemi__Item_caster[this]) + set s__ShizuneNewSemi___Item_damaged[this]=CreateGroup() + set s__ShizuneNewSemi___Item_caster[this]=GetTriggerUnit() + set caster_x=GetUnitX(s__ShizuneNewSemi___Item_caster[this]) + set caster_y=GetUnitY(s__ShizuneNewSemi___Item_caster[this]) set angle=Atan2(( target_y - caster_y ), ( target_x - caster_x )) loop set i=i + 1 @@ -116929,15 +116929,15 @@ endfunction //call SetUnitX(bj_lastCreatedUnit, caster_x) //call SetUnitY(bj_lastCreatedUnit, caster_y) call SetUnitTimeScale(bj_lastCreatedUnit, 0.5) - set s__ShizuneNewSemi__dummies[(this)*(1)+i]= bj_lastCreatedUnit + set s__ShizuneNewSemi___dummies[(this)*(1)+i]= bj_lastCreatedUnit endloop - set s__ShizuneNewSemi__Item_count[this]=0 - set s__ShizuneNewSemi__Item_element[this]=GetRandomInt(1, 5) - call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__ShizuneNewSemi__Item_periodic , "ShizuneNewSemi_periodic") + set s__ShizuneNewSemi___Item_count[this]=0 + set s__ShizuneNewSemi___Item_element[this]=GetRandomInt(1, 5) + call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__ShizuneNewSemi___Item_periodic , "ShizuneNewSemi_periodic") endfunction - function s__ShizuneNewSemi__Item_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(74 , s__ShizuneNewSemi__Item_SPELL_ID , function s__ShizuneNewSemi__Item_actions) + function s__ShizuneNewSemi___Item_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(74 , s__ShizuneNewSemi___Item_SPELL_ID , function s__ShizuneNewSemi___Item_actions) endfunction @@ -116950,85 +116950,85 @@ endfunction //Implemented from module Alloc: - function s__ShizuneNewUltimate__Spell_allocate takes nothing returns integer + function s__ShizuneNewUltimate___Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__ShizuneNewUltimate__Spell_Alloc__recycle[(0)] == 0 ) then - set s__ShizuneNewUltimate__Spell_Alloc__instanceCount=s__ShizuneNewUltimate__Spell_Alloc__instanceCount + 1 - set this=s__ShizuneNewUltimate__Spell_Alloc__instanceCount + if ( s__ShizuneNewUltimate___Spell_Alloc__recycle[(0)] == 0 ) then + set s__ShizuneNewUltimate___Spell_Alloc__instanceCount=s__ShizuneNewUltimate___Spell_Alloc__instanceCount + 1 + set this=s__ShizuneNewUltimate___Spell_Alloc__instanceCount else - set this=s__ShizuneNewUltimate__Spell_Alloc__recycle[(0)] - set s__ShizuneNewUltimate__Spell_Alloc__recycle[(0)]=s__ShizuneNewUltimate__Spell_Alloc__recycle[s__ShizuneNewUltimate__Spell_Alloc__recycle[(0)]] + set this=s__ShizuneNewUltimate___Spell_Alloc__recycle[(0)] + set s__ShizuneNewUltimate___Spell_Alloc__recycle[(0)]=s__ShizuneNewUltimate___Spell_Alloc__recycle[s__ShizuneNewUltimate___Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__ShizuneNewUltimate__Spell_deallocate takes integer this returns nothing - set s__ShizuneNewUltimate__Spell_Alloc__recycle[this]=s__ShizuneNewUltimate__Spell_Alloc__recycle[(0)] - set s__ShizuneNewUltimate__Spell_Alloc__recycle[(0)]=this + function s__ShizuneNewUltimate___Spell_deallocate takes integer this returns nothing + set s__ShizuneNewUltimate___Spell_Alloc__recycle[this]=s__ShizuneNewUltimate___Spell_Alloc__recycle[(0)] + set s__ShizuneNewUltimate___Spell_Alloc__recycle[(0)]=this endfunction - function s__ShizuneNewUltimate__Spell_resetCooldown takes nothing returns nothing - call BlzEndUnitAbilityCooldown((s__UnitDex_Unit[((LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))))]), s__ShizuneNewUltimate__Spell_SPELL_ID) // INLINED!! + function s__ShizuneNewUltimate___Spell_resetCooldown takes nothing returns nothing + call BlzEndUnitAbilityCooldown((s__UnitDex_Unit[((LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))))]), s__ShizuneNewUltimate___Spell_SPELL_ID) // INLINED!! call ReleaseTimer(GetExpiredTimer()) endfunction - function s__ShizuneNewUltimate__Spell_end takes nothing returns nothing + function s__ShizuneNewUltimate___Spell_end takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real target_x= GetUnitX(s__ShizuneNewUltimate__Spell_target[this]) - local real target_y= GetUnitY(s__ShizuneNewUltimate__Spell_target[this]) + local real target_x= GetUnitX(s__ShizuneNewUltimate___Spell_target[this]) + local real target_y= GetUnitY(s__ShizuneNewUltimate___Spell_target[this]) local unit u local integer i= 0 - if IsUnitEnemy(s__ShizuneNewUltimate__Spell_target[this], GetOwningPlayer(s__ShizuneNewUltimate__Spell_caster[this])) then - call UnitDamageTarget(s__ShizuneNewUltimate__Spell_caster[this], s__ShizuneNewUltimate__Spell_target[this], 6 * GetHeroInt(s__ShizuneNewUltimate__Spell_caster[this], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + if IsUnitEnemy(s__ShizuneNewUltimate___Spell_target[this], GetOwningPlayer(s__ShizuneNewUltimate___Spell_caster[this])) then + call UnitDamageTarget(s__ShizuneNewUltimate___Spell_caster[this], s__ShizuneNewUltimate___Spell_target[this], 6 * GetHeroInt(s__ShizuneNewUltimate___Spell_caster[this], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) //set u = CreateAbilityDummy(this.caster, 'A0YE') //call IssueTargetOrder(u, "slow", this.target) //set u = null - call SetUnitAnimation(s__ShizuneNewUltimate__Spell_target[this], "death") - call SetUnitTimeScale(s__ShizuneNewUltimate__Spell_caster[this], 1.0) + call SetUnitAnimation(s__ShizuneNewUltimate___Spell_target[this], "death") + call SetUnitTimeScale(s__ShizuneNewUltimate___Spell_caster[this], 1.0) call DestroyEffect(AddSpecialEffect(("war3mapImported\\Blood.mdl" ), (( target_x )*1.0), (( target_y)*1.0))) // INLINED!! else call DestroyEffect(AddSpecialEffect(("war3mapImported\\Heal Green.mdx" ), (( target_x )*1.0), (( target_y)*1.0))) // INLINED!! - call SetUnitState(s__ShizuneNewUltimate__Spell_target[this], UNIT_STATE_LIFE, GetUnitState(s__ShizuneNewUltimate__Spell_target[this], UNIT_STATE_LIFE) + 5 * GetHeroInt(s__ShizuneNewUltimate__Spell_caster[this], true)) - set u=CreateAbilityDummy(s__ShizuneNewUltimate__Spell_caster[this] , 'A0YD') - call IssueTargetOrder(u, "bloodlust", s__ShizuneNewUltimate__Spell_caster[this]) - set u=CreateAbilityDummy(s__ShizuneNewUltimate__Spell_caster[this] , 'A0YD') - call IssueTargetOrder(u, "bloodlust", s__ShizuneNewUltimate__Spell_target[this]) + call SetUnitState(s__ShizuneNewUltimate___Spell_target[this], UNIT_STATE_LIFE, GetUnitState(s__ShizuneNewUltimate___Spell_target[this], UNIT_STATE_LIFE) + 5 * GetHeroInt(s__ShizuneNewUltimate___Spell_caster[this], true)) + set u=CreateAbilityDummy(s__ShizuneNewUltimate___Spell_caster[this] , 'A0YD') + call IssueTargetOrder(u, "bloodlust", s__ShizuneNewUltimate___Spell_caster[this]) + set u=CreateAbilityDummy(s__ShizuneNewUltimate___Spell_caster[this] , 'A0YD') + call IssueTargetOrder(u, "bloodlust", s__ShizuneNewUltimate___Spell_target[this]) set u=null endif - call SetUnitAnimation(s__ShizuneNewUltimate__Spell_caster[this], "stand") - call SetUnitTimeScale(s__ShizuneNewUltimate__Spell_caster[this], 1.0) - call DestroyEffect(s__ShizuneNewUltimate__Spell_e1[this]) - call DestroyEffect(s__ShizuneNewUltimate__Spell_e2[this]) - if s__ShizuneNewUltimate__Spell_charges > 0 then - set s__ShizuneNewUltimate__Spell_charges=s__ShizuneNewUltimate__Spell_charges - 1 - call TimerStart(NewTimerEx((GetUnitUserData((s__ShizuneNewUltimate__Spell_caster[this])))), 0.1, false, function s__ShizuneNewUltimate__Spell_resetCooldown) // INLINED!! + call SetUnitAnimation(s__ShizuneNewUltimate___Spell_caster[this], "stand") + call SetUnitTimeScale(s__ShizuneNewUltimate___Spell_caster[this], 1.0) + call DestroyEffect(s__ShizuneNewUltimate___Spell_e1[this]) + call DestroyEffect(s__ShizuneNewUltimate___Spell_e2[this]) + if s__ShizuneNewUltimate___Spell_charges > 0 then + set s__ShizuneNewUltimate___Spell_charges=s__ShizuneNewUltimate___Spell_charges - 1 + call TimerStart(NewTimerEx((GetUnitUserData((s__ShizuneNewUltimate___Spell_caster[this])))), 0.1, false, function s__ShizuneNewUltimate___Spell_resetCooldown) // INLINED!! endif - set s__ShizuneNewUltimate__Spell_e1[this]=null - set s__ShizuneNewUltimate__Spell_e2[this]=null - set s__ShizuneNewUltimate__Spell_caster[this]=null - set s__ShizuneNewUltimate__Spell_target[this]=null - call s__ShizuneNewUltimate__Spell_deallocate(this) + set s__ShizuneNewUltimate___Spell_e1[this]=null + set s__ShizuneNewUltimate___Spell_e2[this]=null + set s__ShizuneNewUltimate___Spell_caster[this]=null + set s__ShizuneNewUltimate___Spell_target[this]=null + call s__ShizuneNewUltimate___Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__ShizuneNewUltimate__Spell_periodic2 takes nothing returns nothing + function s__ShizuneNewUltimate___Spell_periodic2 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real caster_x= GetUnitX(s__ShizuneNewUltimate__Spell_caster[this]) - local real caster_y= GetUnitY(s__ShizuneNewUltimate__Spell_caster[this]) - local real new_x= caster_x + Cos(s__ShizuneNewUltimate__Spell_angle[this]) * 100 - local real new_y= caster_y + Sin(s__ShizuneNewUltimate__Spell_angle[this]) * 100 - set s__ShizuneNewUltimate__Spell_count[this]=s__ShizuneNewUltimate__Spell_count[this] + 1 + local real caster_x= GetUnitX(s__ShizuneNewUltimate___Spell_caster[this]) + local real caster_y= GetUnitY(s__ShizuneNewUltimate___Spell_caster[this]) + local real new_x= caster_x + Cos(s__ShizuneNewUltimate___Spell_angle[this]) * 100 + local real new_y= caster_y + Sin(s__ShizuneNewUltimate___Spell_angle[this]) * 100 + set s__ShizuneNewUltimate___Spell_count[this]=s__ShizuneNewUltimate___Spell_count[this] + 1 if not IsTerrainPathable(new_x, new_y, PATHING_TYPE_WALKABILITY) then - call SetUnitX(s__ShizuneNewUltimate__Spell_caster[this], new_x) - call SetUnitY(s__ShizuneNewUltimate__Spell_caster[this], new_y) + call SetUnitX(s__ShizuneNewUltimate___Spell_caster[this], new_x) + call SetUnitY(s__ShizuneNewUltimate___Spell_caster[this], new_y) endif - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__ShizuneNewUltimate__Spell_caster[this]), 'e02Z', caster_x, caster_y, GetUnitFacing(s__ShizuneNewUltimate__Spell_caster[this])) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__ShizuneNewUltimate___Spell_caster[this]), 'e02Z', caster_x, caster_y, GetUnitFacing(s__ShizuneNewUltimate___Spell_caster[this])) call SetUnitX(bj_lastCreatedUnit, caster_x) call SetUnitY(bj_lastCreatedUnit, caster_y) call SetUnitVertexColor(bj_lastCreatedUnit, 150, 150, 150, 100) @@ -117036,28 +117036,28 @@ endfunction call SetUnitAnimationByIndex(bj_lastCreatedUnit, 5) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 0.15) //call AddSpecialEffectEx("Abilities\\Weapons\\AncientProtectorMissile\\AncientProtectorMissile.mdl", new_x, new_y) - if s__ShizuneNewUltimate__Spell_count[this] >= 4 then - call SetUnitAnimation(s__ShizuneNewUltimate__Spell_caster[this], "stand") - call TimerStart(NewTimerEx(this), 0.05, false, function s__ShizuneNewUltimate__Spell_end) + if s__ShizuneNewUltimate___Spell_count[this] >= 4 then + call SetUnitAnimation(s__ShizuneNewUltimate___Spell_caster[this], "stand") + call TimerStart(NewTimerEx(this), 0.05, false, function s__ShizuneNewUltimate___Spell_end) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__ShizuneNewUltimate__Spell_periodic takes nothing returns nothing + function s__ShizuneNewUltimate___Spell_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - local real caster_x= GetUnitX(s__ShizuneNewUltimate__Spell_caster[this]) - local real caster_y= GetUnitY(s__ShizuneNewUltimate__Spell_caster[this]) - local real target_x= GetUnitX(s__ShizuneNewUltimate__Spell_target[this]) - local real target_y= GetUnitY(s__ShizuneNewUltimate__Spell_target[this]) + local real caster_x= GetUnitX(s__ShizuneNewUltimate___Spell_caster[this]) + local real caster_y= GetUnitY(s__ShizuneNewUltimate___Spell_caster[this]) + local real target_x= GetUnitX(s__ShizuneNewUltimate___Spell_target[this]) + local real target_y= GetUnitY(s__ShizuneNewUltimate___Spell_target[this]) local real angle= Atan2(( target_y - caster_y ), ( target_x - caster_x )) local real new_x= caster_x + Cos(angle) * 100 local real new_y= caster_y + Sin(angle) * 100 local real distance_x= new_x - target_x local real distance_y= new_y - target_y local real distance= SquareRoot(distance_x * distance_x + distance_y * distance_y) - call SetUnitX(s__ShizuneNewUltimate__Spell_caster[this], new_x) - call SetUnitY(s__ShizuneNewUltimate__Spell_caster[this], new_y) - set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__ShizuneNewUltimate__Spell_caster[this]), 'e02Z', caster_x, caster_y, GetUnitFacing(s__ShizuneNewUltimate__Spell_caster[this])) + call SetUnitX(s__ShizuneNewUltimate___Spell_caster[this], new_x) + call SetUnitY(s__ShizuneNewUltimate___Spell_caster[this], new_y) + set bj_lastCreatedUnit=CreateUnit(GetOwningPlayer(s__ShizuneNewUltimate___Spell_caster[this]), 'e02Z', caster_x, caster_y, GetUnitFacing(s__ShizuneNewUltimate___Spell_caster[this])) call SetUnitX(bj_lastCreatedUnit, caster_x) call SetUnitY(bj_lastCreatedUnit, caster_y) call SetUnitVertexColor(bj_lastCreatedUnit, 150, 150, 150, 100) @@ -117067,71 +117067,71 @@ endfunction //call AddSpecialEffectEx("Abilities\\Weapons\\AncientProtectorMissile\\AncientProtectorMissile.mdl", new_x, new_y) if distance <= 150 then call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Other\\Stampede\\StampedeMissileDeath.mdl" ), (( target_x )*1.0), (( target_y)*1.0))) // INLINED!! - set s__ShizuneNewUltimate__Spell_count[this]=0 - set s__ShizuneNewUltimate__Spell_angle[this]=angle - call TimerStart(NewTimerEx(this), 0.03, true, function s__ShizuneNewUltimate__Spell_periodic2) + set s__ShizuneNewUltimate___Spell_count[this]=0 + set s__ShizuneNewUltimate___Spell_angle[this]=angle + call TimerStart(NewTimerEx(this), 0.03, true, function s__ShizuneNewUltimate___Spell_periodic2) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__ShizuneNewUltimate__Spell_actions takes nothing returns nothing - local integer this= s__ShizuneNewUltimate__Spell_allocate() + function s__ShizuneNewUltimate___Spell_actions takes nothing returns nothing + local integer this= s__ShizuneNewUltimate___Spell_allocate() local real caster_x local real caster_y local real target_x local real target_y local real angle - set s__ShizuneNewUltimate__Spell_caster[this]=GetTriggerUnit() - set s__ShizuneNewUltimate__Spell_target[this]=GetSpellTargetUnit() - set caster_x=GetUnitX(s__ShizuneNewUltimate__Spell_caster[this]) - set caster_y=GetUnitY(s__ShizuneNewUltimate__Spell_caster[this]) - set target_x=GetUnitX(s__ShizuneNewUltimate__Spell_target[this]) - set target_y=GetUnitY(s__ShizuneNewUltimate__Spell_target[this]) + set s__ShizuneNewUltimate___Spell_caster[this]=GetTriggerUnit() + set s__ShizuneNewUltimate___Spell_target[this]=GetSpellTargetUnit() + set caster_x=GetUnitX(s__ShizuneNewUltimate___Spell_caster[this]) + set caster_y=GetUnitY(s__ShizuneNewUltimate___Spell_caster[this]) + set target_x=GetUnitX(s__ShizuneNewUltimate___Spell_target[this]) + set target_y=GetUnitY(s__ShizuneNewUltimate___Spell_target[this]) set angle=Atan2(( target_y - caster_y ), ( target_x - caster_x )) - call SetUnitX(s__ShizuneNewUltimate__Spell_caster[this], caster_x) - call SetUnitY(s__ShizuneNewUltimate__Spell_caster[this], caster_y) - call SetUnitTimeScale(s__ShizuneNewUltimate__Spell_caster[this], 3.0) - call SetUnitAnimationByIndex(s__ShizuneNewUltimate__Spell_caster[this], 5) - set s__ShizuneNewUltimate__Spell_e1[this]=AddSpecialEffectTarget("Effects\\s_Chakra_Blades.mdx", s__ShizuneNewUltimate__Spell_caster[this], "right,hand") - set s__ShizuneNewUltimate__Spell_e2[this]=AddSpecialEffectTarget("Effects\\s_Chakra_Blades.mdx", s__ShizuneNewUltimate__Spell_caster[this], "left,hand") + call SetUnitX(s__ShizuneNewUltimate___Spell_caster[this], caster_x) + call SetUnitY(s__ShizuneNewUltimate___Spell_caster[this], caster_y) + call SetUnitTimeScale(s__ShizuneNewUltimate___Spell_caster[this], 3.0) + call SetUnitAnimationByIndex(s__ShizuneNewUltimate___Spell_caster[this], 5) + set s__ShizuneNewUltimate___Spell_e1[this]=AddSpecialEffectTarget("Effects\\s_Chakra_Blades.mdx", s__ShizuneNewUltimate___Spell_caster[this], "right,hand") + set s__ShizuneNewUltimate___Spell_e2[this]=AddSpecialEffectTarget("Effects\\s_Chakra_Blades.mdx", s__ShizuneNewUltimate___Spell_caster[this], "left,hand") //if IsUnitVisible(this.caster, GetLocalPlayer()) then // call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Shizune: I must protect Tsunade-sama!|r") //endif - call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__ShizuneNewUltimate__Spell_periodic , "ShizuneNewUltimate_periodic") + call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__ShizuneNewUltimate___Spell_periodic , "ShizuneNewUltimate_periodic") endfunction - function s__ShizuneNewUltimate__Spell_removeCharges takes nothing returns nothing - set s__ShizuneNewUltimate__Spell_charges=0 - set s__ShizuneNewUltimate__Spell_cooldown=false - if BlzGetUnitAbilityCooldownRemaining((s__UnitDex_Unit[((LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))))]), s__ShizuneNewUltimate__Spell_SPELL_ID) == 0 then // INLINED!! - call BlzStartUnitAbilityCooldown((s__UnitDex_Unit[((LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))))]), s__ShizuneNewUltimate__Spell_SPELL_ID, 60) // INLINED!! + function s__ShizuneNewUltimate___Spell_removeCharges takes nothing returns nothing + set s__ShizuneNewUltimate___Spell_charges=0 + set s__ShizuneNewUltimate___Spell_cooldown=false + if BlzGetUnitAbilityCooldownRemaining((s__UnitDex_Unit[((LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))))]), s__ShizuneNewUltimate___Spell_SPELL_ID) == 0 then // INLINED!! + call BlzStartUnitAbilityCooldown((s__UnitDex_Unit[((LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))))]), s__ShizuneNewUltimate___Spell_SPELL_ID, 60) // INLINED!! endif call ReleaseTimer(GetExpiredTimer()) endfunction - function s__ShizuneNewUltimate__Spell_actions2 takes nothing returns nothing - if not s__ShizuneNewUltimate__Spell_cooldown then + function s__ShizuneNewUltimate___Spell_actions2 takes nothing returns nothing + if not s__ShizuneNewUltimate___Spell_cooldown then if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Shizune_T, 100, GetTriggerUnit()) endif - set s__ShizuneNewUltimate__Spell_charges=1 - set s__ShizuneNewUltimate__Spell_cooldown=true - call TimerStart(NewTimerEx((GetUnitUserData((GetTriggerUnit())))), 30.0, false, function s__ShizuneNewUltimate__Spell_removeCharges) // INLINED!! + set s__ShizuneNewUltimate___Spell_charges=1 + set s__ShizuneNewUltimate___Spell_cooldown=true + call TimerStart(NewTimerEx((GetUnitUserData((GetTriggerUnit())))), 30.0, false, function s__ShizuneNewUltimate___Spell_removeCharges) // INLINED!! endif endfunction - function s__ShizuneNewUltimate__Spell_death takes nothing returns nothing + function s__ShizuneNewUltimate___Spell_death takes nothing returns nothing if GetUnitTypeId(GetTriggerUnit()) == 'e02Z' then call ShowUnit(GetTriggerUnit(), false) endif endfunction - function s__ShizuneNewUltimate__Spell_onInit takes nothing returns nothing - set s__ShizuneNewUltimate__Spell_cooldown=false - call RegisterSpellEffectEventForId(74 , s__ShizuneNewUltimate__Spell_SPELL_ID , function s__ShizuneNewUltimate__Spell_actions) - call RegisterSpellEffectEventForId(74 , s__ShizuneNewUltimate__Spell_SPELL_ID , function s__ShizuneNewUltimate__Spell_actions2) - call RegisterPlayerUnitEventForId(74 , EVENT_PLAYER_UNIT_DEATH , function s__ShizuneNewUltimate__Spell_death) + function s__ShizuneNewUltimate___Spell_onInit takes nothing returns nothing + set s__ShizuneNewUltimate___Spell_cooldown=false + call RegisterSpellEffectEventForId(74 , s__ShizuneNewUltimate___Spell_SPELL_ID , function s__ShizuneNewUltimate___Spell_actions) + call RegisterSpellEffectEventForId(74 , s__ShizuneNewUltimate___Spell_SPELL_ID , function s__ShizuneNewUltimate___Spell_actions2) + call RegisterPlayerUnitEventForId(74 , EVENT_PLAYER_UNIT_DEATH , function s__ShizuneNewUltimate___Spell_death) endfunction @@ -117296,12 +117296,12 @@ endfunction call UnitDamageTarget(s__SuigetsuDrowning_caster[this], s__SuigetsuDrowning_target[this], ( GetHeroAgi(s__SuigetsuDrowning_caster[this], true) * GetUnitAbilityLevel(s__SuigetsuDrowning_caster[this], s__SuigetsuDrowning_SPELL_ID) ) / 66, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) endif if s__SuigetsuDrowning_count[this] > 66 then - call s__PauseUnitEx__Pause_setPauseCounter((s__SuigetsuDrowning_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SuigetsuDrowning_caster[this] ) , ( 0)) // INLINED!! call ShowUnit(s__SuigetsuDrowning_caster[this], true) call SetUnitInvulnerable(s__SuigetsuDrowning_caster[this], false) call DestroyEffect(AddSpecialEffect(("Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl" ), (( GetUnitX(s__SuigetsuDrowning_caster[this]) )*1.0), (( GetUnitY(s__SuigetsuDrowning_caster[this]))*1.0))) // INLINED!! call SelectUnitForPlayerSingle(s__SuigetsuDrowning_caster[this], GetOwningPlayer(s__SuigetsuDrowning_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__SuigetsuDrowning_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SuigetsuDrowning_target[this] ) , ( 0)) // INLINED!! call s__SuigetsuDrowning_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif @@ -117321,7 +117321,7 @@ endfunction call SetUnitY(s__SuigetsuDrowning_caster[this], y) set s__SuigetsuDrowning_count2[this]=s__SuigetsuDrowning_count2[this] + 1 if GetDistance(x , y , GetUnitX(s__SuigetsuDrowning_target[this]) , GetUnitY(s__SuigetsuDrowning_target[this])) <= 50 or s__SuigetsuDrowning_count2[this] >= 30 then - call s__PauseUnitEx__Pause_setPauseCounter((s__SuigetsuDrowning_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SuigetsuDrowning_target[this] ) , ( 1)) // INLINED!! set x=GetUnitX(s__SuigetsuDrowning_target[this]) set y=GetUnitY(s__SuigetsuDrowning_target[this]) //set i = 1 @@ -117347,7 +117347,7 @@ endfunction set s__SuigetsuDrowning_caster[this]=GetTriggerUnit() set s__SuigetsuDrowning_target[this]=GetSpellTargetUnit() call SetUnitInvulnerable(s__SuigetsuDrowning_caster[this], true) - call s__PauseUnitEx__Pause_setPauseCounter((s__SuigetsuDrowning_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SuigetsuDrowning_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__SuigetsuDrowning_caster[this], false) set s__SuigetsuDrowning_count[this]=0 set s__SuigetsuDrowning_count2[this]=0 @@ -117399,7 +117399,7 @@ endfunction call SetUnitY(s__SuigetsuSuika_caster[this], new_y) if distance <= 50 or s__SuigetsuSuika_count[this] >= 35 then call DestroyEffect(AddSpecialEffect(("Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl" ), (( GetUnitX(s__SuigetsuSuika_caster[this]) )*1.0), (( GetUnitY(s__SuigetsuSuika_caster[this]))*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__SuigetsuSuika_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SuigetsuSuika_caster[this] ) , ( 0)) // INLINED!! call ShowUnit(s__SuigetsuSuika_caster[this], true) call SetUnitAnimation(s__SuigetsuSuika_caster[this], "stand") call SelectUnitForPlayerSingle(s__SuigetsuSuika_caster[this], GetOwningPlayer(s__SuigetsuSuika_caster[this])) @@ -117415,7 +117415,7 @@ endfunction set s__SuigetsuSuika_target_x[this]=GetSpellTargetX() set s__SuigetsuSuika_target_y[this]=GetSpellTargetY() set s__SuigetsuSuika_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__SuigetsuSuika_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SuigetsuSuika_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__SuigetsuSuika_caster[this], false) call DestroyEffect(AddSpecialEffect(("Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl" ), (( GetUnitX(s__SuigetsuSuika_caster[this]) )*1.0), (( GetUnitY(s__SuigetsuSuika_caster[this]))*1.0))) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__SuigetsuSuika_periodic) @@ -117495,8 +117495,8 @@ endfunction call DestroyGroup(bj_lastCreatedGroup) //call StunUnitTimed(this.caster, this.target, 2.0) call SetUnitFlyHeight(s__SuigetsuGoshuiwan_caster[this], 0, 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__SuigetsuGoshuiwan_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__SuigetsuGoshuiwan_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SuigetsuGoshuiwan_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SuigetsuGoshuiwan_target[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__SuigetsuGoshuiwan_caster[this], "spell") call SetUnitAnimation(s__SuigetsuGoshuiwan_target[this], "death") set s__SuigetsuGoshuiwan_caster[this]=null @@ -117583,8 +117583,8 @@ endfunction if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Suigetsu_R, 100.0, GetTriggerUnit()) endif - call s__PauseUnitEx__Pause_setPauseCounter((s__SuigetsuGoshuiwan_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__SuigetsuGoshuiwan_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SuigetsuGoshuiwan_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__SuigetsuGoshuiwan_target[this] ) , ( 1)) // INLINED!! set s__SuigetsuGoshuiwan_count[this]=0 //call SetUnitTimeScale(this.caster, 5.0) //call SetUnitAnimationByIndex(this.caster, 2) @@ -117950,50 +117950,50 @@ endfunction //Implemented from module Alloc: - function s__TentenNewD__Spell_allocate takes nothing returns integer + function s__TentenNewD___Spell_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__TentenNewD__Spell_Alloc__recycle[(0)] == 0 ) then - set s__TentenNewD__Spell_Alloc__instanceCount=s__TentenNewD__Spell_Alloc__instanceCount + 1 - set this=s__TentenNewD__Spell_Alloc__instanceCount + if ( s__TentenNewD___Spell_Alloc__recycle[(0)] == 0 ) then + set s__TentenNewD___Spell_Alloc__instanceCount=s__TentenNewD___Spell_Alloc__instanceCount + 1 + set this=s__TentenNewD___Spell_Alloc__instanceCount else - set this=s__TentenNewD__Spell_Alloc__recycle[(0)] - set s__TentenNewD__Spell_Alloc__recycle[(0)]=s__TentenNewD__Spell_Alloc__recycle[s__TentenNewD__Spell_Alloc__recycle[(0)]] + set this=s__TentenNewD___Spell_Alloc__recycle[(0)] + set s__TentenNewD___Spell_Alloc__recycle[(0)]=s__TentenNewD___Spell_Alloc__recycle[s__TentenNewD___Spell_Alloc__recycle[(0)]] endif return this endfunction - function s__TentenNewD__Spell_deallocate takes integer this returns nothing - set s__TentenNewD__Spell_Alloc__recycle[this]=s__TentenNewD__Spell_Alloc__recycle[(0)] - set s__TentenNewD__Spell_Alloc__recycle[(0)]=this + function s__TentenNewD___Spell_deallocate takes integer this returns nothing + set s__TentenNewD___Spell_Alloc__recycle[this]=s__TentenNewD___Spell_Alloc__recycle[(0)] + set s__TentenNewD___Spell_Alloc__recycle[(0)]=this endfunction - function s__TentenNewD__Spell_finish takes nothing returns nothing + function s__TentenNewD___Spell_finish takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__TentenNewD__Spell_caster[this] ) , ( 0)) // INLINED!! - call SetUnitInvulnerable(s__TentenNewD__Spell_caster[this], false) - call KillUnit(s__TentenNewD__Spell_domo[this]) - set s__TentenNewD__Spell_domo[this]=null - call s__TentenNewD__Spell_deallocate(this) + call s__PauseUnitEx___Pause_setPauseCounter((s__TentenNewD___Spell_caster[this] ) , ( 0)) // INLINED!! + call SetUnitInvulnerable(s__TentenNewD___Spell_caster[this], false) + call KillUnit(s__TentenNewD___Spell_domo[this]) + set s__TentenNewD___Spell_domo[this]=null + call s__TentenNewD___Spell_deallocate(this) call ReleaseTimer(GetExpiredTimer()) endfunction - function s__TentenNewD__Spell_actions takes nothing returns nothing - local integer this= s__TentenNewD__Spell_allocate() - set s__TentenNewD__Spell_caster[this]=GetSpellTargetUnit() - set s__TentenNewD__Spell_domo[this]=CreateUnit(GetOwningPlayer(s__TentenNewD__Spell_caster[this]), 'e00B', GetUnitX(s__TentenNewD__Spell_caster[this]), GetUnitY(s__TentenNewD__Spell_caster[this]), GetUnitFacing(s__TentenNewD__Spell_caster[this])) - call SetUnitAnimation(s__TentenNewD__Spell_domo[this], "birth") - call s__PauseUnitEx__Pause_setPauseCounter((s__TentenNewD__Spell_caster[this] ) , ( 0)) // INLINED!! - call SetUnitAnimation(s__TentenNewD__Spell_caster[this], "spell") - call SetUnitInvulnerable(s__TentenNewD__Spell_caster[this], true) - call TimerStartEx(NewTimerEx(this) , 3.0 , false , function s__TentenNewD__Spell_finish , "TentenNewD_finish") + function s__TentenNewD___Spell_actions takes nothing returns nothing + local integer this= s__TentenNewD___Spell_allocate() + set s__TentenNewD___Spell_caster[this]=GetSpellTargetUnit() + set s__TentenNewD___Spell_domo[this]=CreateUnit(GetOwningPlayer(s__TentenNewD___Spell_caster[this]), 'e00B', GetUnitX(s__TentenNewD___Spell_caster[this]), GetUnitY(s__TentenNewD___Spell_caster[this]), GetUnitFacing(s__TentenNewD___Spell_caster[this])) + call SetUnitAnimation(s__TentenNewD___Spell_domo[this], "birth") + call s__PauseUnitEx___Pause_setPauseCounter((s__TentenNewD___Spell_caster[this] ) , ( 0)) // INLINED!! + call SetUnitAnimation(s__TentenNewD___Spell_caster[this], "spell") + call SetUnitInvulnerable(s__TentenNewD___Spell_caster[this], true) + call TimerStartEx(NewTimerEx(this) , 3.0 , false , function s__TentenNewD___Spell_finish , "TentenNewD_finish") endfunction - function s__TentenNewD__Spell_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(6 , s__TentenNewD__Spell_SPELL_ID , function s__TentenNewD__Spell_actions) + function s__TentenNewD___Spell_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(6 , s__TentenNewD___Spell_SPELL_ID , function s__TentenNewD___Spell_actions) endfunction @@ -118062,7 +118062,7 @@ endfunction call UnitDamageTarget(s__TentenDanceOfChains_caster[this], s__TentenDanceOfChains_target[this], GetHeroAgi(s__TentenDanceOfChains_caster[this], true) * GetUnitAbilityLevel(s__TentenDanceOfChains_caster[this], s__TentenDanceOfChains_SPELL_ID), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) call DestroyEffect(s__TentenDanceOfChains_bondage[this]) set s__TentenDanceOfChains_bondage[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__TentenDanceOfChains_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TentenDanceOfChains_target[this] ) , ( 0)) // INLINED!! call SetUnitPropWindow(s__TentenDanceOfChains_caster[this], s__TentenDanceOfChains_window[this]) call TimerStart(NewTimerEx(this), 0.02, true, function s__TentenDanceOfChains_knockback) call ReleaseTimer(GetExpiredTimer()) @@ -118110,19 +118110,19 @@ endfunction //call PauseUnit(this.caster, false) set s__TentenDanceOfChains_bondage[this]=AddSpecialEffectTarget("war3mapImported\\Bondage Blue SD.mdl", s__TentenDanceOfChains_target[this], "origin") call BlzSetSpecialEffectColor(s__TentenDanceOfChains_bondage[this], 20, 20, 30) - call s__PauseUnitEx__Pause_setPauseCounter((s__TentenDanceOfChains_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TentenDanceOfChains_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.02, true, function s__TentenDanceOfChains_pull) call ReleaseTimer(GetExpiredTimer()) elseif s__TentenDanceOfChains_count[this] > 30 then if s__TentenDanceOfChains_target[this] != null then - call s__PauseUnitEx__Pause_setPauseCounter((s__TentenDanceOfChains_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__TentenDanceOfChains_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TentenDanceOfChains_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TentenDanceOfChains_target[this] ) , ( 1)) // INLINED!! set s__TentenDanceOfChains_bondage[this]=AddSpecialEffectTarget("war3mapImported\\Bondage Blue SD.mdl", s__TentenDanceOfChains_target[this], "origin") call BlzSetSpecialEffectColor(s__TentenDanceOfChains_bondage[this], 20, 20, 30) call TimerStart(NewTimerEx(this), 0.02, true, function s__TentenDanceOfChains_pull) call ReleaseTimer(GetExpiredTimer()) else - call s__PauseUnitEx__Pause_setPauseCounter((s__TentenDanceOfChains_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TentenDanceOfChains_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__TentenDanceOfChains_caster[this], "stand") call SetUnitPropWindow(s__TentenDanceOfChains_caster[this], s__TentenDanceOfChains_window[this]) loop @@ -118174,7 +118174,7 @@ endfunction function Trig_TentenSoshoryu_Actions takes nothing returns nothing //call TriggerSleepAction(0.05) local location l= GetSpellTargetLoc() - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 1)) // INLINED!! set udg_locations03[400]=GetUnitLoc(GetTriggerUnit()) call SetUnitFlyHeight(GetTriggerUnit(), 300.00, 300.00) @@ -118214,7 +118214,7 @@ function Trig_TentenSoshoryu_Actions takes nothing returns nothing set udg_integers02[400]=udg_integers02[400] + 1 endloop call SetUnitFlyHeight(GetTriggerUnit(), 0.00, 3000.00) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! endfunction function InitTrig_TentenSoshoryu takes nothing returns nothing @@ -118327,7 +118327,7 @@ endfunction function s__TentenNewSemi_destroy takes integer this returns nothing - call s__PauseUnitEx__Pause_setPauseCounter((s__TentenNewSemi_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TentenNewSemi_caster[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__TentenNewSemi_caster[this], "stand") //call SetUnitPropWindow(this.caster, this.window) loop @@ -118372,7 +118372,7 @@ endfunction set s___TentenNewSemi_chains_x[s__TentenNewSemi_chains_x[this]+s__TentenNewSemi_count[this]]=new_x set s___TentenNewSemi_chains_y[s__TentenNewSemi_chains_y[this]+s__TentenNewSemi_count[this]]=new_y if s__TentenNewSemi_count3[this] > 40 then - call s__PauseUnitEx__Pause_setPauseCounter((s__TentenNewSemi_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TentenNewSemi_target[this] ) , ( 0)) // INLINED!! call StunUnitTimed(s__TentenNewSemi_caster[this] , s__TentenNewSemi_target[this] , 2.0) set i=0 loop @@ -118432,7 +118432,7 @@ endfunction if u != null then set s__TentenNewSemi_target[this]=u //call PauseUnit(this.caster, false) - call s__PauseUnitEx__Pause_setPauseCounter((s__TentenNewSemi_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TentenNewSemi_target[this] ) , ( 1)) // INLINED!! set s__TentenNewSemi_angle[this]=GetAngleUnits(s__TentenNewSemi_dummy[this] , s__TentenNewSemi_target[this]) set s__TentenNewSemi_count2[this]=R2I(Rad2Deg(s__TentenNewSemi_angle[this]) / 20.0) set s__TentenNewSemi_count3[this]=0 @@ -118457,7 +118457,7 @@ endfunction set s__TentenNewSemi_dummy[this]=CreateUnit(GetTriggerPlayer(), 'e007', GetUnitX(s__TentenNewSemi_caster[this]), GetUnitY(s__TentenNewSemi_caster[this]), 270.0) call SetUnitX(s__TentenNewSemi_dummy[this], GetUnitX(s__TentenNewSemi_caster[this])) call SetUnitY(s__TentenNewSemi_dummy[this], GetUnitY(s__TentenNewSemi_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__TentenNewSemi_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TentenNewSemi_caster[this] ) , ( 1)) // INLINED!! //call SetUnitPropWindow(this.caster, 0) call SetUnitAnimation(s__TentenNewSemi_caster[this], "spell") set s__TentenNewSemi_flyheight[this]=100 @@ -118535,45 +118535,45 @@ endfunction //Implemented from module Alloc: - function s__TentenBashosen__Item_allocate takes nothing returns integer + function s__TentenBashosen___Item_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__TentenBashosen__Item_Alloc__recycle[(0)] == 0 ) then - set s__TentenBashosen__Item_Alloc__instanceCount=s__TentenBashosen__Item_Alloc__instanceCount + 1 - set this=s__TentenBashosen__Item_Alloc__instanceCount + if ( s__TentenBashosen___Item_Alloc__recycle[(0)] == 0 ) then + set s__TentenBashosen___Item_Alloc__instanceCount=s__TentenBashosen___Item_Alloc__instanceCount + 1 + set this=s__TentenBashosen___Item_Alloc__instanceCount else - set this=s__TentenBashosen__Item_Alloc__recycle[(0)] - set s__TentenBashosen__Item_Alloc__recycle[(0)]=s__TentenBashosen__Item_Alloc__recycle[s__TentenBashosen__Item_Alloc__recycle[(0)]] + set this=s__TentenBashosen___Item_Alloc__recycle[(0)] + set s__TentenBashosen___Item_Alloc__recycle[(0)]=s__TentenBashosen___Item_Alloc__recycle[s__TentenBashosen___Item_Alloc__recycle[(0)]] endif return this endfunction - function s__TentenBashosen__Item_deallocate takes integer this returns nothing - set s__TentenBashosen__Item_Alloc__recycle[this]=s__TentenBashosen__Item_Alloc__recycle[(0)] - set s__TentenBashosen__Item_Alloc__recycle[(0)]=this + function s__TentenBashosen___Item_deallocate takes integer this returns nothing + set s__TentenBashosen___Item_Alloc__recycle[this]=s__TentenBashosen___Item_Alloc__recycle[(0)] + set s__TentenBashosen___Item_Alloc__recycle[(0)]=this endfunction - function s__TentenBashosen__Item_destroy takes integer this returns nothing + function s__TentenBashosen___Item_destroy takes integer this returns nothing local integer i= 0 loop set i=i + 1 exitwhen i > 6 - call KillUnit(s__TentenBashosen__dummies[(this)*(1)+i]) - set s__TentenBashosen__dummies[(this)*(1)+i]= null + call KillUnit(s__TentenBashosen___dummies[(this)*(1)+i]) + set s__TentenBashosen___dummies[(this)*(1)+i]= null endloop - call DestroyGroup(s__TentenBashosen__Item_damaged[this]) - call DestroyEffect(s__TentenBashosen__Item_bashosen[this]) - set s__TentenBashosen__Item_bashosen[this]=null - set s__TentenBashosen__Item_damaged[this]=null - set s__TentenBashosen__Item_caster[this]=null - call s__TentenBashosen__Item_deallocate(this) + call DestroyGroup(s__TentenBashosen___Item_damaged[this]) + call DestroyEffect(s__TentenBashosen___Item_bashosen[this]) + set s__TentenBashosen___Item_bashosen[this]=null + set s__TentenBashosen___Item_damaged[this]=null + set s__TentenBashosen___Item_caster[this]=null + call s__TentenBashosen___Item_deallocate(this) endfunction - function s__TentenBashosen__Item_periodic takes nothing returns nothing + function s__TentenBashosen___Item_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real unit_x local real unit_y @@ -118582,26 +118582,26 @@ endfunction local real new_x local real new_y local integer i= 0 - set s__TentenBashosen__Item_count[this]=s__TentenBashosen__Item_count[this] + 1 + set s__TentenBashosen___Item_count[this]=s__TentenBashosen___Item_count[this] + 1 loop set i=i + 1 exitwhen i > 6 - set unit_x=GetUnitX(s__TentenBashosen__dummies[(this)*(1)+i]) - set unit_y=GetUnitY(s__TentenBashosen__dummies[(this)*(1)+i]) - set new_x=unit_x + Cos(Deg2Rad(GetUnitFacing(s__TentenBashosen__dummies[(this)*(1)+i]))) * 50 - set new_y=unit_y + Sin(Deg2Rad(GetUnitFacing(s__TentenBashosen__dummies[(this)*(1)+i]))) * 50 - call SetUnitX(s__TentenBashosen__dummies[(this)*(1)+i], new_x) - call SetUnitY(s__TentenBashosen__dummies[(this)*(1)+i], new_y) - if ModuloInteger(s__TentenBashosen__Item_count[this], 4) == 0 then - if s__TentenBashosen__Item_element[this] == 1 then + set unit_x=GetUnitX(s__TentenBashosen___dummies[(this)*(1)+i]) + set unit_y=GetUnitY(s__TentenBashosen___dummies[(this)*(1)+i]) + set new_x=unit_x + Cos(Deg2Rad(GetUnitFacing(s__TentenBashosen___dummies[(this)*(1)+i]))) * 50 + set new_y=unit_y + Sin(Deg2Rad(GetUnitFacing(s__TentenBashosen___dummies[(this)*(1)+i]))) * 50 + call SetUnitX(s__TentenBashosen___dummies[(this)*(1)+i], new_x) + call SetUnitY(s__TentenBashosen___dummies[(this)*(1)+i], new_y) + if ModuloInteger(s__TentenBashosen___Item_count[this], 4) == 0 then + if s__TentenBashosen___Item_element[this] == 1 then call DestroyEffect(AddSpecialEffect(("Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! - elseif s__TentenBashosen__Item_element[this] == 2 then + elseif s__TentenBashosen___Item_element[this] == 2 then call DestroyEffect(AddSpecialEffect(("Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! - elseif s__TentenBashosen__Item_element[this] == 3 then + elseif s__TentenBashosen___Item_element[this] == 3 then call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! - elseif s__TentenBashosen__Item_element[this] == 4 then + elseif s__TentenBashosen___Item_element[this] == 4 then call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! - elseif s__TentenBashosen__Item_element[this] == 5 then + elseif s__TentenBashosen___Item_element[this] == 5 then call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Other\\Tornado\\TornadoElementalSmall.mdl" ), (( new_x )*1.0), (( new_y)*1.0))) // INLINED!! endif endif @@ -118610,58 +118610,58 @@ endfunction loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__TentenBashosen__Item_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitInGroup(bj_lastCreatedUnit, s__TentenBashosen__Item_damaged[this]) then + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__TentenBashosen___Item_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitInGroup(bj_lastCreatedUnit, s__TentenBashosen___Item_damaged[this]) then set unit_x_2=GetUnitX(bj_lastCreatedUnit) set unit_y_2=GetUnitY(bj_lastCreatedUnit) call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Other\\Incinerate\\FireLordDeathExplode.mdl" ), (( unit_x_2 )*1.0), (( unit_y_2)*1.0))) // INLINED!! - if s__TentenBashosen__Item_element[this] == 1 then - call UnitDamageTarget(s__TentenBashosen__Item_caster[this], bj_lastCreatedUnit, 5.0 * GetHeroAgi(s__TentenBashosen__Item_caster[this], true), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) - elseif s__TentenBashosen__Item_element[this] == 2 then - call UnitDamageTarget(s__TentenBashosen__Item_caster[this], bj_lastCreatedUnit, 5.0 * GetHeroAgi(s__TentenBashosen__Item_caster[this], true), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, null) - elseif s__TentenBashosen__Item_element[this] == 3 then - call UnitDamageTarget(s__TentenBashosen__Item_caster[this], bj_lastCreatedUnit, 5.0 * GetHeroAgi(s__TentenBashosen__Item_caster[this], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) - elseif s__TentenBashosen__Item_element[this] == 4 then - call UnitDamageTarget(s__TentenBashosen__Item_caster[this], bj_lastCreatedUnit, 5.0 * GetHeroAgi(s__TentenBashosen__Item_caster[this], true), true, false, ATTACK_TYPE_SIEGE, DAMAGE_TYPE_MAGIC, null) - elseif s__TentenBashosen__Item_element[this] == 5 then - call UnitDamageTarget(s__TentenBashosen__Item_caster[this], bj_lastCreatedUnit, 5.0 * GetHeroAgi(s__TentenBashosen__Item_caster[this], true), true, false, ATTACK_TYPE_SIEGE, DAMAGE_TYPE_MAGIC, null) + if s__TentenBashosen___Item_element[this] == 1 then + call UnitDamageTarget(s__TentenBashosen___Item_caster[this], bj_lastCreatedUnit, 5.0 * GetHeroAgi(s__TentenBashosen___Item_caster[this], true), true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_MAGIC, null) + elseif s__TentenBashosen___Item_element[this] == 2 then + call UnitDamageTarget(s__TentenBashosen___Item_caster[this], bj_lastCreatedUnit, 5.0 * GetHeroAgi(s__TentenBashosen___Item_caster[this], true), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, null) + elseif s__TentenBashosen___Item_element[this] == 3 then + call UnitDamageTarget(s__TentenBashosen___Item_caster[this], bj_lastCreatedUnit, 5.0 * GetHeroAgi(s__TentenBashosen___Item_caster[this], true), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + elseif s__TentenBashosen___Item_element[this] == 4 then + call UnitDamageTarget(s__TentenBashosen___Item_caster[this], bj_lastCreatedUnit, 5.0 * GetHeroAgi(s__TentenBashosen___Item_caster[this], true), true, false, ATTACK_TYPE_SIEGE, DAMAGE_TYPE_MAGIC, null) + elseif s__TentenBashosen___Item_element[this] == 5 then + call UnitDamageTarget(s__TentenBashosen___Item_caster[this], bj_lastCreatedUnit, 5.0 * GetHeroAgi(s__TentenBashosen___Item_caster[this], true), true, false, ATTACK_TYPE_SIEGE, DAMAGE_TYPE_MAGIC, null) endif - call GroupAddUnit(s__TentenBashosen__Item_damaged[this], bj_lastCreatedUnit) + call GroupAddUnit(s__TentenBashosen___Item_damaged[this], bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) endloop - if s__TentenBashosen__Item_count[this] >= 25 then + if s__TentenBashosen___Item_count[this] >= 25 then set i=0 loop set i=i + 1 exitwhen i > 6 - call SetUnitX(s__TentenBashosen__dummies[(this)*(1)+i], GetUnitX(s__TentenBashosen__Item_caster[this])) - call SetUnitY(s__TentenBashosen__dummies[(this)*(1)+i], GetUnitY(s__TentenBashosen__Item_caster[this])) + call SetUnitX(s__TentenBashosen___dummies[(this)*(1)+i], GetUnitX(s__TentenBashosen___Item_caster[this])) + call SetUnitY(s__TentenBashosen___dummies[(this)*(1)+i], GetUnitY(s__TentenBashosen___Item_caster[this])) endloop - if s__TentenBashosen__Item_element[this] < 5 then - call SetUnitAnimation(s__TentenBashosen__Item_caster[this], "spell") - set s__TentenBashosen__Item_element[this]=s__TentenBashosen__Item_element[this] + 1 - set s__TentenBashosen__Item_count[this]=0 - call GroupClear(s__TentenBashosen__Item_damaged[this]) + if s__TentenBashosen___Item_element[this] < 5 then + call SetUnitAnimation(s__TentenBashosen___Item_caster[this], "spell") + set s__TentenBashosen___Item_element[this]=s__TentenBashosen___Item_element[this] + 1 + set s__TentenBashosen___Item_count[this]=0 + call GroupClear(s__TentenBashosen___Item_damaged[this]) else - call s__PauseUnitEx__Pause_setPauseCounter((s__TentenBashosen__Item_caster[this] ) , ( 0)) // INLINED!! - call s__TentenBashosen__Item_destroy(this) + call s__PauseUnitEx___Pause_setPauseCounter((s__TentenBashosen___Item_caster[this] ) , ( 0)) // INLINED!! + call s__TentenBashosen___Item_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endif endfunction - function s__TentenBashosen__Item_delay takes nothing returns nothing + function s__TentenBashosen___Item_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__TentenBashosen__Item_caster[this] ) , ( 1)) // INLINED!! - call SetUnitAnimation(s__TentenBashosen__Item_caster[this], "spell") - call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__TentenBashosen__Item_periodic , "TentenBashosen_periodic") + call s__PauseUnitEx___Pause_setPauseCounter((s__TentenBashosen___Item_caster[this] ) , ( 1)) // INLINED!! + call SetUnitAnimation(s__TentenBashosen___Item_caster[this], "spell") + call TimerStartEx(NewTimerEx(this) , 0.03 , true , function s__TentenBashosen___Item_periodic , "TentenBashosen_periodic") call ReleaseTimer(GetExpiredTimer()) endfunction - function s__TentenBashosen__Item_actions takes nothing returns nothing - local integer this= s__TentenBashosen__Item_allocate() + function s__TentenBashosen___Item_actions takes nothing returns nothing + local integer this= s__TentenBashosen___Item_allocate() local real caster_x local real caster_y local real target_x= GetSpellTargetX() @@ -118669,10 +118669,10 @@ endfunction local real angle local real facing local integer i= 0 - set s__TentenBashosen__Item_damaged[this]=CreateGroup() - set s__TentenBashosen__Item_caster[this]=GetTriggerUnit() - set caster_x=GetUnitX(s__TentenBashosen__Item_caster[this]) - set caster_y=GetUnitY(s__TentenBashosen__Item_caster[this]) + set s__TentenBashosen___Item_damaged[this]=CreateGroup() + set s__TentenBashosen___Item_caster[this]=GetTriggerUnit() + set caster_x=GetUnitX(s__TentenBashosen___Item_caster[this]) + set caster_y=GetUnitY(s__TentenBashosen___Item_caster[this]) set angle=Atan2(( target_y - caster_y ), ( target_x - caster_x )) loop set i=i + 1 @@ -118681,18 +118681,18 @@ endfunction set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), XE_DUMMY_UNITID, caster_x, caster_y, facing) call SetUnitX(bj_lastCreatedUnit, caster_x) call SetUnitY(bj_lastCreatedUnit, caster_y) - set s__TentenBashosen__dummies[(this)*(1)+i]= bj_lastCreatedUnit + set s__TentenBashosen___dummies[(this)*(1)+i]= bj_lastCreatedUnit endloop //call PauseUnit(this.caster, true) - set s__TentenBashosen__Item_bashosen[this]=AddSpecialEffectTarget("narutowarruveer.mdx", s__TentenBashosen__Item_caster[this], "right hand") + set s__TentenBashosen___Item_bashosen[this]=AddSpecialEffectTarget("narutowarruveer.mdx", s__TentenBashosen___Item_caster[this], "right hand") //call SetUnitAnimation(this.caster, "spell") - set s__TentenBashosen__Item_count[this]=0 - set s__TentenBashosen__Item_element[this]=1 - call TimerStartEx(NewTimerEx(this) , 0.05 , false , function s__TentenBashosen__Item_delay , "TentenBashosen_delay") + set s__TentenBashosen___Item_count[this]=0 + set s__TentenBashosen___Item_element[this]=1 + call TimerStartEx(NewTimerEx(this) , 0.05 , false , function s__TentenBashosen___Item_delay , "TentenBashosen_delay") endfunction - function s__TentenBashosen__Item_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(6 , s__TentenBashosen__Item_SPELL_ID , function s__TentenBashosen__Item_actions) + function s__TentenBashosen___Item_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(6 , s__TentenBashosen___Item_SPELL_ID , function s__TentenBashosen___Item_actions) endfunction @@ -119038,7 +119038,7 @@ endfunction set bj_lastCreatedUnit=FirstOfGroup(s__TemariKaimatachi_units[this]) exitwhen bj_lastCreatedUnit == null call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl" ), (( GetUnitX(bj_lastCreatedUnit) )*1.0), (( GetUnitY(bj_lastCreatedUnit))*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call SetUnitAnimation(bj_lastCreatedUnit, "death") call UnitDamageTarget(s__TemariKaimatachi_caster[this], bj_lastCreatedUnit, GetUnitAbilityLevel(s__TemariKaimatachi_caster[this], s__TemariKaimatachi_SPELL_ID) * GetHeroAgi(s__TemariKaimatachi_caster[this], true), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, WEAPON_TYPE_WHOKNOWS) call GroupRemoveUnit(s__TemariKaimatachi_units[this], bj_lastCreatedUnit) @@ -119120,7 +119120,7 @@ endfunction call SetUnitTimeScale(u2, 1.4) call SetUnitAnimation(u2, "birth") call GroupAddUnit(s__TemariKaimatachi_tornadoes[this], u2) //CreateDummy(GetOwningPlayer(this.caster), GetUnitX(u), GetUnitY(u), GetUnitFacing(u), 1.0, 0, 0, 3.0, "Abilities\\Spells\\NightElf\\Cyclone\\CycloneTarget.mdl", true)) - call s__PauseUnitEx__Pause_setPauseCounter((u ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((u ) , ( 1)) // INLINED!! call SetUnitFlyHeight(u, 400.0, 1200.0) call GroupAddUnit(s__TemariKaimatachi_units[this], u) if IsUnitType(u, UNIT_TYPE_HERO) == true and not IsUnitIllusion(u) then @@ -119450,7 +119450,7 @@ endfunction set s__TobiramaNewQ_count[this]=s__TobiramaNewQ_count[this] + 1 if s__TobiramaNewQ_count[this] > 26 then call SetUnitTimeScale(s__TobiramaNewQ_caster[this], 1.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__TobiramaNewQ_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TobiramaNewQ_caster[this] ) , ( 0)) // INLINED!! call KillUnit(s__TobiramaNewQ_wave[this]) call DestroyGroup(s__TobiramaNewQ_damaged[this]) set s__TobiramaNewQ_damaged[this]=null @@ -119470,7 +119470,7 @@ endfunction set s__TobiramaNewQ_wave[this]=(CreateUnit((GetTriggerPlayer() ), ( 'h05T' ), (( GetUnitX(s__TobiramaNewQ_caster[this]) )*1.0), (( GetUnitY(s__TobiramaNewQ_caster[this]) )*1.0), (( Rad2Deg(s__TobiramaNewQ_angle[this]))*1.0))) // INLINED!! call SetUnitAnimation(s__TobiramaNewQ_wave[this], "stand") call SetUnitTimeScale(s__TobiramaNewQ_caster[this], 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__TobiramaNewQ_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TobiramaNewQ_caster[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__TobiramaNewQ_periodic) endfunction @@ -119539,7 +119539,7 @@ endfunction if s__TobiramaNewW_count[this] > 35 then - call s__PauseUnitEx__Pause_setPauseCounter((s__TobiramaNewW_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TobiramaNewW_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__TobiramaNewW_caster[this], 1.0) loop @@ -119570,7 +119570,7 @@ endfunction set bj_lastCreatedUnit=CreateAbilityDummy(s__TobiramaNewW_caster[this] , 'A0EJ') call IssueTargetOrder(bj_lastCreatedUnit, "innerfire", s__TobiramaNewW_caster[this]) call UnitApplyTimedLife(bj_lastCreatedUnit, 'BTLF', 2.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__TobiramaNewW_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TobiramaNewW_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__TobiramaNewW_caster[this], "spell one") call SetUnitTimeScale(s__TobiramaNewW_caster[this], 0.5) set s__TobiramaNewW_tornadoes[this]=CreateGroup() @@ -119675,14 +119675,14 @@ endfunction function s__TobiramaNewE_pause takes nothing returns nothing local unit u= (s__UnitDex_Unit[((LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))))]) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((u ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((u ) , ( 1)) // INLINED!! call ReleaseTimer(GetExpiredTimer()) set u=null endfunction function s__TobiramaNewE_unpause takes nothing returns nothing local unit u= (s__UnitDex_Unit[((LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))))]) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((u ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((u ) , ( 0)) // INLINED!! call ReleaseTimer(GetExpiredTimer()) set u=null endfunction @@ -119806,14 +119806,14 @@ endfunction loop exitwhen i > 11 if IsPlayerEnemy(Player(i), GetOwningPlayer(s__TobiramaNewR_caster[this])) and GetDistanceUnits(udg_units33[i + 1] , s__TobiramaNewR_caster[this]) < 300 then - set s__TobiramaDarkness__show[i]= true + set s__TobiramaDarkness___show[i]= true else - set s__TobiramaDarkness__show[i]= false + set s__TobiramaDarkness___show[i]= false endif set i=i + 1 endloop set alpha=100 - if s__TobiramaDarkness__show[GetPlayerId(GetLocalPlayer())] then + if s__TobiramaDarkness___show[GetPlayerId(GetLocalPlayer())] then set alpha=0 endif //call CinematicFadeBJ(2,3.00,"ReplaceableTextures\\CameraMasks\\White_mask.blp",0,0,0,alpha) @@ -119827,7 +119827,7 @@ endfunction local integer i= 0 loop exitwhen i > 11 - set s__TobiramaDarkness__show[i]= false + set s__TobiramaDarkness___show[i]= false set i=i + 1 endloop if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then @@ -119888,7 +119888,7 @@ endfunction local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local integer i= 0 //call StunUnitTimed(this.caster, this.target, 2.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__TobiramaHiraishingiri_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TobiramaHiraishingiri_caster[this] ) , ( 0)) // INLINED!! //call PauseUnit(this.target, false) //call SetUnitAnimation(this.target, "death") call DestroyEffect(s__TobiramaHiraishingiri_sword[this]) @@ -119974,7 +119974,7 @@ endfunction set s__TobiramaHiraishingiri_damaged[this]=CreateGroup() set s__TobiramaHiraishingiri_count[this]=0 set s__TobiramaHiraishingiri_secondspell[this]=false - call s__PauseUnitEx__Pause_setPauseCounter((s__TobiramaHiraishingiri_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TobiramaHiraishingiri_caster[this] ) , ( 1)) // INLINED!! //call PauseUnit(this.target, true) call SetUnitAnimation(s__TobiramaHiraishingiri_caster[this], "spell throw") set s__TobiramaHiraishingiri_sword[this]=AddSpecialEffectTarget("", s__TobiramaHiraishingiri_caster[this], "right hand") @@ -120329,7 +120329,7 @@ endfunction endloop call DestroyGroup(s__TobiramaKibakuFuda_tags[this]) set s__TobiramaKibakuFuda_tags[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__TobiramaKibakuFuda_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TobiramaKibakuFuda_caster[this] ) , ( 0)) // INLINED!! call ShowUnit(s__TobiramaKibakuFuda_caster[this], true) call KillUnit(s__TobiramaKibakuFuda_dummy[this]) set s__TobiramaKibakuFuda_dummy[this]=null @@ -120345,7 +120345,7 @@ endfunction function s__TobiramaKibakuFuda_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__TobiramaKibakuFuda_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TobiramaKibakuFuda_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__TobiramaKibakuFuda_caster[this], false) call TimerStart(NewTimerEx(this), 0.05, true, function s__TobiramaKibakuFuda_periodic) call ReleaseTimer(GetExpiredTimer()) @@ -120496,7 +120496,7 @@ endfunction endloop call DestroyGroup(s__EdoTobiramaKibakuFuda_tags[this]) set s__EdoTobiramaKibakuFuda_tags[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__EdoTobiramaKibakuFuda_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__EdoTobiramaKibakuFuda_caster[this] ) , ( 0)) // INLINED!! call ShowUnit(s__EdoTobiramaKibakuFuda_caster[this], true) call KillUnit(s__EdoTobiramaKibakuFuda_dummy[this]) set s__EdoTobiramaKibakuFuda_dummy[this]=null @@ -120512,7 +120512,7 @@ endfunction function s__EdoTobiramaKibakuFuda_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__EdoTobiramaKibakuFuda_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__EdoTobiramaKibakuFuda_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__EdoTobiramaKibakuFuda_caster[this], false) call TimerStart(NewTimerEx(this), 0.05, true, function s__EdoTobiramaKibakuFuda_periodic) call ReleaseTimer(GetExpiredTimer()) @@ -120872,8 +120872,8 @@ endfunction local real target_y= GetUnitY(s__TobiramaHiraishingiri2_target[this]) local integer i= 0 call StunUnitTimed(s__TobiramaHiraishingiri2_caster[this] , s__TobiramaHiraishingiri2_target[this] , 2.0) - call s__PauseUnitEx__Pause_setPauseCounter((s__TobiramaHiraishingiri2_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__TobiramaHiraishingiri2_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TobiramaHiraishingiri2_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TobiramaHiraishingiri2_target[this] ) , ( 0)) // INLINED!! call SetUnitAnimation(s__TobiramaHiraishingiri2_target[this], "death") call DestroyEffect(s__TobiramaHiraishingiri2_sword[this]) call DestroyEffect(AddSpecialEffect(("Units\\Undead\\Abomination\\AbominationExplosion.mdl" ), (( target_x )*1.0), (( target_y)*1.0))) // INLINED!! @@ -120948,8 +120948,8 @@ endfunction set s__TobiramaHiraishingiri2_target[this]=GetSpellTargetUnit() set s__TobiramaHiraishingiri2_angle[this]=GetAngleUnits(s__TobiramaHiraishingiri2_caster[this] , s__TobiramaHiraishingiri2_target[this]) set s__TobiramaHiraishingiri2_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__TobiramaHiraishingiri2_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__TobiramaHiraishingiri2_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TobiramaHiraishingiri2_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TobiramaHiraishingiri2_target[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__TobiramaHiraishingiri2_caster[this], "spell throw") set s__TobiramaHiraishingiri2_sword[this]=AddSpecialEffectTarget("", s__TobiramaHiraishingiri2_caster[this], "right hand") call TimerStart(NewTimerEx(this), 0.03, true, function s__TobiramaHiraishingiri2_periodic) @@ -121100,7 +121100,7 @@ endfunction call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - call s__PauseUnitEx__Pause_setPauseCounter((s__TobiramaNewUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TobiramaNewUltimate_caster[this] ) , ( 0)) // INLINED!! set s__TobiramaNewUltimate_count[this]=0 call TimerStart(NewTimerEx(this), 0.03, true, function s__TobiramaNewUltimate_hide) call ReleaseTimer(GetExpiredTimer()) @@ -121127,7 +121127,7 @@ endfunction local integer this= s__TobiramaNewUltimate_allocate() set s__TobiramaNewUltimate_caster[this]=GetTriggerUnit() set s__TobiramaNewUltimate_target[this]=GetSpellTargetUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__TobiramaNewUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__TobiramaNewUltimate_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__TobiramaNewUltimate_caster[this], false) call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( GetUnitX(s__TobiramaNewUltimate_caster[this]) )*1.0), (( GetUnitY(s__TobiramaNewUltimate_caster[this]))*1.0))) // INLINED!! call TimerStart(NewTimerEx(this), 0.2, false, function s__TobiramaNewUltimate_teleport) @@ -121537,43 +121537,43 @@ endfunction //Implemented from module Alloc: - function s__ToruneSemi__Item_allocate takes nothing returns integer + function s__ToruneSemi___Item_allocate takes nothing returns integer local integer this //call BJDebugMsg("Alloc: " + I2S(instanceCount)) - if ( s__ToruneSemi__Item_Alloc__recycle[(0)] == 0 ) then - set s__ToruneSemi__Item_Alloc__instanceCount=s__ToruneSemi__Item_Alloc__instanceCount + 1 - set this=s__ToruneSemi__Item_Alloc__instanceCount + if ( s__ToruneSemi___Item_Alloc__recycle[(0)] == 0 ) then + set s__ToruneSemi___Item_Alloc__instanceCount=s__ToruneSemi___Item_Alloc__instanceCount + 1 + set this=s__ToruneSemi___Item_Alloc__instanceCount else - set this=s__ToruneSemi__Item_Alloc__recycle[(0)] - set s__ToruneSemi__Item_Alloc__recycle[(0)]=s__ToruneSemi__Item_Alloc__recycle[s__ToruneSemi__Item_Alloc__recycle[(0)]] + set this=s__ToruneSemi___Item_Alloc__recycle[(0)] + set s__ToruneSemi___Item_Alloc__recycle[(0)]=s__ToruneSemi___Item_Alloc__recycle[s__ToruneSemi___Item_Alloc__recycle[(0)]] endif return this endfunction - function s__ToruneSemi__Item_deallocate takes integer this returns nothing - set s__ToruneSemi__Item_Alloc__recycle[this]=s__ToruneSemi__Item_Alloc__recycle[(0)] - set s__ToruneSemi__Item_Alloc__recycle[(0)]=this + function s__ToruneSemi___Item_deallocate takes integer this returns nothing + set s__ToruneSemi___Item_Alloc__recycle[this]=s__ToruneSemi___Item_Alloc__recycle[(0)] + set s__ToruneSemi___Item_Alloc__recycle[(0)]=this endfunction - function s__ToruneSemi__Item_destroy takes integer this returns nothing + function s__ToruneSemi___Item_destroy takes integer this returns nothing local integer i= 0 - call DestroyGroup(s__ToruneSemi__Item_damaged[this]) + call DestroyGroup(s__ToruneSemi___Item_damaged[this]) loop set i=i + 1 exitwhen i > 6 - call RecycleUnit(s__ToruneSemi__dummies[(this)*(1)+i]) - set s__ToruneSemi__dummies[(this)*(1)+i]= null + call RecycleUnit(s__ToruneSemi___dummies[(this)*(1)+i]) + set s__ToruneSemi___dummies[(this)*(1)+i]= null endloop - set s__ToruneSemi__Item_damaged[this]=null - set s__ToruneSemi__Item_caster[this]=null - call s__ToruneSemi__Item_deallocate(this) + set s__ToruneSemi___Item_damaged[this]=null + set s__ToruneSemi___Item_caster[this]=null + call s__ToruneSemi___Item_deallocate(this) endfunction - function s__ToruneSemi__Item_periodic takes nothing returns nothing + function s__ToruneSemi___Item_periodic takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! local real unit_x local real unit_y @@ -121582,40 +121582,40 @@ endfunction local real new_x local real new_y local integer i= 0 - set s__ToruneSemi__Item_count[this]=s__ToruneSemi__Item_count[this] + 1 + set s__ToruneSemi___Item_count[this]=s__ToruneSemi___Item_count[this] + 1 loop set i=i + 1 exitwhen i > 6 - set unit_x=GetUnitX(s__ToruneSemi__dummies[(this)*(1)+i]) - set unit_y=GetUnitY(s__ToruneSemi__dummies[(this)*(1)+i]) - set new_x=unit_x + Cos(Deg2Rad(GetUnitFacing(s__ToruneSemi__dummies[(this)*(1)+i]))) * 30 - set new_y=unit_y + Sin(Deg2Rad(GetUnitFacing(s__ToruneSemi__dummies[(this)*(1)+i]))) * 30 - call SetUnitX(s__ToruneSemi__dummies[(this)*(1)+i], new_x) - call SetUnitY(s__ToruneSemi__dummies[(this)*(1)+i], new_y) + set unit_x=GetUnitX(s__ToruneSemi___dummies[(this)*(1)+i]) + set unit_y=GetUnitY(s__ToruneSemi___dummies[(this)*(1)+i]) + set new_x=unit_x + Cos(Deg2Rad(GetUnitFacing(s__ToruneSemi___dummies[(this)*(1)+i]))) * 30 + set new_y=unit_y + Sin(Deg2Rad(GetUnitFacing(s__ToruneSemi___dummies[(this)*(1)+i]))) * 30 + call SetUnitX(s__ToruneSemi___dummies[(this)*(1)+i], new_x) + call SetUnitY(s__ToruneSemi___dummies[(this)*(1)+i], new_y) set bj_lastCreatedGroup=CreateGroup() call GroupEnumUnitsInRange(bj_lastCreatedGroup, new_x, new_y, 200, null) loop set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null - if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__ToruneSemi__Item_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitInGroup(bj_lastCreatedUnit, s__ToruneSemi__Item_damaged[this]) then + if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__ToruneSemi___Item_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitInGroup(bj_lastCreatedUnit, s__ToruneSemi___Item_damaged[this]) then set unit_x_2=GetUnitX(bj_lastCreatedUnit) set unit_y_2=GetUnitY(bj_lastCreatedUnit) call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Undead\\DeathCoil\\DeathCoilSpecialArt.mdl" ), (( unit_x_2 )*1.0), (( unit_y_2)*1.0))) // INLINED!! - call UnitDamageTarget(s__ToruneSemi__Item_caster[this], bj_lastCreatedUnit, 4 * GetHeroInt(s__ToruneSemi__Item_caster[this], true) + 500 * GetUnitAbilityLevel(s__ToruneSemi__Item_caster[this], s__ToruneSemi__Item_SPELL_ID), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) - call GroupAddUnit(s__ToruneSemi__Item_damaged[this], bj_lastCreatedUnit) + call UnitDamageTarget(s__ToruneSemi___Item_caster[this], bj_lastCreatedUnit, 4 * GetHeroInt(s__ToruneSemi___Item_caster[this], true) + 500 * GetUnitAbilityLevel(s__ToruneSemi___Item_caster[this], s__ToruneSemi___Item_SPELL_ID), true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_MAGIC, null) + call GroupAddUnit(s__ToruneSemi___Item_damaged[this], bj_lastCreatedUnit) endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) endloop - if s__ToruneSemi__Item_count[this] >= 25 then - call s__ToruneSemi__Item_destroy(this) + if s__ToruneSemi___Item_count[this] >= 25 then + call s__ToruneSemi___Item_destroy(this) call ReleaseTimer(GetExpiredTimer()) endif endfunction - function s__ToruneSemi__Item_actions takes nothing returns nothing - local integer this= s__ToruneSemi__Item_allocate() + function s__ToruneSemi___Item_actions takes nothing returns nothing + local integer this= s__ToruneSemi___Item_allocate() local real caster_x local real caster_y local real target_x= GetSpellTargetX() @@ -121626,10 +121626,10 @@ endfunction if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call PlaySoundOnUnitBJ(gg_snd_Torune_R, 100, GetTriggerUnit()) endif - set s__ToruneSemi__Item_damaged[this]=CreateGroup() - set s__ToruneSemi__Item_caster[this]=GetTriggerUnit() - set caster_x=GetUnitX(s__ToruneSemi__Item_caster[this]) - set caster_y=GetUnitY(s__ToruneSemi__Item_caster[this]) + set s__ToruneSemi___Item_damaged[this]=CreateGroup() + set s__ToruneSemi___Item_caster[this]=GetTriggerUnit() + set caster_x=GetUnitX(s__ToruneSemi___Item_caster[this]) + set caster_y=GetUnitY(s__ToruneSemi___Item_caster[this]) set angle=Atan2(( target_y - caster_y ), ( target_x - caster_x )) loop set i=i + 1 @@ -121640,15 +121640,15 @@ endfunction call SetUnitX(bj_lastCreatedUnit, caster_x) call SetUnitY(bj_lastCreatedUnit, caster_y) call SetUnitTimeScale(bj_lastCreatedUnit, 0.5) - set s__ToruneSemi__dummies[(this)*(1)+i]= bj_lastCreatedUnit + set s__ToruneSemi___dummies[(this)*(1)+i]= bj_lastCreatedUnit endloop - set s__ToruneSemi__Item_count[this]=0 - set s__ToruneSemi__Item_element[this]=GetRandomInt(1, 5) - call TimerStart(NewTimerEx(this), 0.02, true, function s__ToruneSemi__Item_periodic) + set s__ToruneSemi___Item_count[this]=0 + set s__ToruneSemi___Item_element[this]=GetRandomInt(1, 5) + call TimerStart(NewTimerEx(this), 0.02, true, function s__ToruneSemi___Item_periodic) endfunction - function s__ToruneSemi__Item_onInit takes nothing returns nothing - call RegisterSpellEffectEventForId(72 , s__ToruneSemi__Item_SPELL_ID , function s__ToruneSemi__Item_actions) + function s__ToruneSemi___Item_onInit takes nothing returns nothing + call RegisterSpellEffectEventForId(72 , s__ToruneSemi___Item_SPELL_ID , function s__ToruneSemi___Item_actions) endfunction @@ -122072,7 +122072,7 @@ endfunction set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null if GetWidgetLife(bj_lastCreatedUnit) > 0.405 and not IsUnitInGroup(bj_lastCreatedUnit, s__UtakataD_units[this]) and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! if IsUnitAlly(bj_lastCreatedUnit, GetOwningPlayer(s__UtakataD_caster[this])) then call SetUnitInvulnerable(bj_lastCreatedUnit, true) endif @@ -122085,7 +122085,7 @@ endfunction loop set bj_lastCreatedUnit=FirstOfGroup(s__UtakataD_units[this]) exitwhen bj_lastCreatedUnit == null - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! if IsUnitAlly(bj_lastCreatedUnit, GetOwningPlayer(s__UtakataD_caster[this])) then call SetUnitInvulnerable(bj_lastCreatedUnit, false) endif @@ -122094,7 +122094,7 @@ endfunction call DestroyGroup(s__UtakataD_units[this]) set s__UtakataD_units[this]=null set s__UtakataD_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__UtakataD_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__UtakataD_caster[this] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(s__UtakataD_caster[this], false) call TimerStart(NewTimerEx(this), 0.03, true, function s__UtakataD_fade) call ReleaseTimer(GetExpiredTimer()) @@ -122109,7 +122109,7 @@ endfunction call SetUnitVertexColor(s__UtakataD_bubble[this], 120, 200, 240, 255) set s__UtakataD_units[this]=CreateGroup() set s__UtakataD_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__UtakataD_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__UtakataD_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__UtakataD_caster[this], "attack spell") call SetUnitInvulnerable(s__UtakataD_caster[this], true) call TimerStart(NewTimerEx(this), 0.03, true, function s__UtakataD_periodic) @@ -122181,7 +122181,7 @@ endfunction call SetUnitFlyHeight(s__UtakataSemi_bubble[this], GetUnitFlyHeight(s__UtakataSemi_bubble[this]) + 2, 0) set s__UtakataSemi_count[this]=s__UtakataSemi_count[this] + 1 if s__UtakataSemi_count[this] > 35 then - call s__PauseUnitEx__Pause_setPauseCounter((s__UtakataSemi_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__UtakataSemi_target[this] ) , ( 0)) // INLINED!! call SetUnitFlyHeight(s__UtakataSemi_target[this], 0, 0) call KillUnit(s__UtakataSemi_bubble[this]) call ShowUnit(s__UtakataSemi_bubble[this], false) @@ -122218,7 +122218,7 @@ endfunction call TimerStart(NewTimerEx(this), 0.03, true, function s__UtakataSemi_drown) call ReleaseTimer(GetExpiredTimer()) set s__UtakataSemi_target[this]=bj_lastCreatedUnit - call s__PauseUnitEx__Pause_setPauseCounter((s__UtakataSemi_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__UtakataSemi_target[this] ) , ( 1)) // INLINED!! exitwhen true endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) @@ -122238,7 +122238,7 @@ endfunction call SetUnitScale(s__UtakataSemi_bubble[this], 1.2 * s__UtakataSemi_count[this], 0, 0) if s__UtakataSemi_count[this] == 5 then set s__UtakataSemi_count[this]=0 - call s__PauseUnitEx__Pause_setPauseCounter((s__UtakataSemi_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__UtakataSemi_caster[this] ) , ( 0)) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__UtakataSemi_periodic) call ReleaseTimer(GetExpiredTimer()) endif @@ -122256,7 +122256,7 @@ endfunction call SetUnitVertexColor(s__UtakataSemi_bubble[this], 120, 200, 240, 0) call SetUnitFlyHeight(s__UtakataSemi_bubble[this], 130, 0) call SetUnitScale(s__UtakataSemi_bubble[this], 0, 0, 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__UtakataSemi_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__UtakataSemi_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__UtakataSemi_caster[this], "attack spell") call TimerStart(NewTimerEx(this), 0.03, true, function s__UtakataSemi_grow) endfunction @@ -122412,13 +122412,13 @@ endfunction endif if s__UtakataE_count[this] > 13.3 + 1.16 * GetUnitAbilityLevel(s__UtakataE_caster[this], s__UtakataE_SPELL_ID) then call SetUnitFlyHeight(s__UtakataE_caster[this], 0, 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__UtakataE_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__UtakataE_caster[this] ) , ( 0)) // INLINED!! call KillUnit(s__UtakataE_bubble[this]) call ShowUnit(s__UtakataE_bubble[this], false) loop set bj_lastCreatedUnit=FirstOfGroup(s__UtakataE_allies[this]) exitwhen bj_lastCreatedUnit == null - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call SetUnitFlyHeight(bj_lastCreatedUnit, 0, 0) call GroupRemoveUnit(s__UtakataE_allies[this], bj_lastCreatedUnit) endloop @@ -122437,7 +122437,7 @@ endfunction call SetUnitVertexColor(s__UtakataE_bubble[this], 120, 200, 240, 255) call SetUnitScale(s__UtakataE_bubble[this], 9.0, 0, 0) call SetUnitFlyHeight(s__UtakataE_bubble[this], 200, 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__UtakataE_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__UtakataE_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__UtakataE_caster[this], "attack spell") call UnitAddAbility(s__UtakataE_caster[this], 'Arav') call UnitRemoveAbility(s__UtakataE_caster[this], 'Arav') @@ -122452,7 +122452,7 @@ endfunction if GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitAlly(bj_lastCreatedUnit, GetTriggerPlayer()) and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_HERO) == true and bj_lastCreatedUnit != s__UtakataE_caster[this] then call SetUnitPosition(bj_lastCreatedUnit, GetUnitX(s__UtakataE_caster[this]), GetUnitY(s__UtakataE_caster[this])) call SetUnitFacing(bj_lastCreatedUnit, GetUnitFacing(s__UtakataE_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! call UnitAddAbility(bj_lastCreatedUnit, 'Arav') call UnitRemoveAbility(bj_lastCreatedUnit, 'Arav') call SetUnitFlyHeight(bj_lastCreatedUnit, 150, 0) @@ -122762,7 +122762,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! set s__UtakataUltimate_sixtails[this]=null call DestroyGroup(s__UtakataUltimate_damaged[this]) set s__UtakataUltimate_damaged[this]=null - call s__PauseUnitEx__Pause_setPauseCounter((s__UtakataUltimate_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__UtakataUltimate_caster[this] ) , ( 0)) // INLINED!! call ShowUnit(s__UtakataUltimate_caster[this], true) call SelectUnitForPlayerSingle(s__UtakataUltimate_caster[this], GetOwningPlayer(s__UtakataUltimate_caster[this])) set i=0 @@ -122789,7 +122789,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! set s__UtakataUltimate_damaged[this]=CreateGroup() set s__UtakataUltimate_caster[this]=GetTriggerUnit() call ShowUnit(s__UtakataUltimate_caster[this], false) - call s__PauseUnitEx__Pause_setPauseCounter((s__UtakataUltimate_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__UtakataUltimate_caster[this] ) , ( 1)) // INLINED!! if IsUnitVisible(GetTriggerUnit(), GetLocalPlayer()) then call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Utakata: My only reason for fighting, is to protect my own life.|r") call PlaySoundOnUnitBJ(gg_snd_Utakata_T, 100, GetTriggerUnit()) @@ -122841,7 +122841,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! set bj_lastCreatedUnit=FirstOfGroup(s__YamanakaSlashes_damaged[this]) if bj_lastCreatedUnit == null then - call s__PauseUnitEx__Pause_setPauseCounter((s__YamanakaSlashes_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YamanakaSlashes_caster[this] ) , ( 0)) // INLINED!! call UnitRemoveAbility(s__YamanakaSlashes_caster[this], 'A02Q') call s__YamanakaSlashes_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -122873,7 +122873,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - call s__PauseUnitEx__Pause_setPauseCounter((s__YamanakaSlashes_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YamanakaSlashes_caster[this] ) , ( 1)) // INLINED!! call UnitAddAbility(s__YamanakaSlashes_caster[this], 'A02Q') call TimerStart(NewTimerEx(this), 0.05, true, function s__YamanakaSlashes_periodic) endfunction @@ -122971,8 +122971,8 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! function s__YamanakaTech_delay2 takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__YamanakaTech_caster[this] ) , ( 0)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__YamanakaTech_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YamanakaTech_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YamanakaTech_target[this] ) , ( 0)) // INLINED!! if GetUnitTypeId(s__YamanakaTech_target[this]) != 'n00Q' then call SetUnitAnimation(s__YamanakaTech_target[this], "death") endif @@ -123003,7 +123003,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! call SelectUnitForPlayerSingle(s__YamanakaTech_caster[this], GetOwningPlayer(s__YamanakaTech_caster[this])) call SetUnitFacing(s__YamanakaTech_caster[this], Rad2Deg(angle) + 180) call SetUnitAnimation(s__YamanakaTech_caster[this], "attack") - call s__PauseUnitEx__Pause_setPauseCounter((s__YamanakaTech_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YamanakaTech_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.01, false, function s__YamanakaTech_damage) call ReleaseTimer(GetExpiredTimer()) endfunction @@ -123013,7 +123013,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! set s__YamanakaTech_caster[this]=GetTriggerUnit() set s__YamanakaTech_target[this]=GetSpellTargetUnit() call DestroyEffect(AddSpecialEffect(("blackblink.mdx" ), (( GetUnitX(s__YamanakaTech_caster[this]) )*1.0), (( GetUnitY(s__YamanakaTech_caster[this]))*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__YamanakaTech_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YamanakaTech_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__YamanakaTech_caster[this], false) call UnitAddAbility(s__YamanakaTech_caster[this], 'A02Q') call TimerStart(NewTimerEx(this), 0.5, false, function s__YamanakaTech_delay) @@ -123085,7 +123085,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! function s__YamanakaBindingPupppet_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__YamanakaBindingPupppet_periodic) - call s__PauseUnitEx__Pause_setPauseCounter((s__YamanakaBindingPupppet_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YamanakaBindingPupppet_target[this] ) , ( 0)) // INLINED!! call ReleaseTimer(GetExpiredTimer()) endfunction @@ -123108,7 +123108,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! //set bj_lastCreatedUnit = CreateAbilityDummy(this.caster, 'A12Y') //call SetUnitAbilityLevel(bj_lastCreatedUnit, 'A12Y', GetUnitAbilityLevel(this.caster, SPELL_ID)) //call IssueTargetOrder(bj_lastCreatedUnit, "faeriefire", this.target) - call s__PauseUnitEx__Pause_setPauseCounter((s__YamanakaBindingPupppet_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YamanakaBindingPupppet_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.1, false, function s__YamanakaBindingPupppet_delay) endfunction @@ -123168,7 +123168,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! function s__YamanakaBinding_delay takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! call TimerStart(NewTimerEx(this), 0.03, true, function s__YamanakaBinding_periodic) - call s__PauseUnitEx__Pause_setPauseCounter((s__YamanakaBinding_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YamanakaBinding_target[this] ) , ( 0)) // INLINED!! call ReleaseTimer(GetExpiredTimer()) endfunction @@ -123185,7 +123185,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! set bj_lastCreatedUnit=CreateAbilityDummy(s__YamanakaBinding_caster[this] , 'A12Y') call SetUnitAbilityLevel(bj_lastCreatedUnit, 'A12Y', GetUnitAbilityLevel(s__YamanakaBinding_caster[this], s__YamanakaBinding_SPELL_ID)) call IssueTargetOrder(bj_lastCreatedUnit, "faeriefire", s__YamanakaBinding_target[this]) - call s__PauseUnitEx__Pause_setPauseCounter((s__YamanakaBinding_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YamanakaBinding_target[this] ) , ( 1)) // INLINED!! call TimerStart(NewTimerEx(this), 0.1, false, function s__YamanakaBinding_delay) endfunction @@ -123473,7 +123473,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! function s__YamatoNewD__Spell_finish takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__YamatoNewD__Spell_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YamatoNewD__Spell_caster[this] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(s__YamatoNewD__Spell_caster[this], false) call KillUnit(s__YamatoNewD__Spell_domo[this]) set s__YamatoNewD__Spell_domo[this]=null @@ -123489,7 +123489,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! set s__YamatoNewD__Spell_caster[this]=GetSpellTargetUnit() set s__YamatoNewD__Spell_domo[this]=CreateUnit(GetOwningPlayer(s__YamatoNewD__Spell_caster[this]), 'e03F', GetUnitX(s__YamatoNewD__Spell_caster[this]), GetUnitY(s__YamatoNewD__Spell_caster[this]), GetUnitFacing(s__YamatoNewD__Spell_caster[this])) call SetUnitAnimation(s__YamatoNewD__Spell_domo[this], "birth") - call s__PauseUnitEx__Pause_setPauseCounter((s__YamatoNewD__Spell_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YamatoNewD__Spell_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__YamatoNewD__Spell_caster[this], "spell") call SetUnitInvulnerable(s__YamatoNewD__Spell_caster[this], true) call TimerStart(NewTimerEx(this), 3.0, false, function s__YamatoNewD__Spell_finish) @@ -125582,7 +125582,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! call DestroyGroup(bj_lastCreatedGroup) call SlowArea(s__YugitoJump_caster[this] , s__YugitoJump_target_x[this] , s__YugitoJump_target_y[this] , 300) call SetUnitFlyHeight(s__YugitoJump_caster[this], 0, 0) - call s__PauseUnitEx__Pause_setPauseCounter((s__YugitoJump_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YugitoJump_caster[this] ) , ( 0)) // INLINED!! call SetUnitTimeScale(s__YugitoJump_caster[this], 1.0) call s__YugitoJump_deallocate(this) call ReleaseTimer(GetExpiredTimer()) @@ -125596,7 +125596,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! set s__YugitoJump_target_y[this]=GetSpellTargetY() set s__YugitoJump_dist[this]=GetDistance(GetUnitX(s__YugitoJump_caster[this]) , GetUnitY(s__YugitoJump_caster[this]) , s__YugitoJump_target_x[this] , s__YugitoJump_target_y[this]) set s__YugitoJump_first[this]=GetSpellAbilityId() == s__YugitoJump_SPELL_ID - call s__PauseUnitEx__Pause_setPauseCounter((s__YugitoJump_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YugitoJump_caster[this] ) , ( 1)) // INLINED!! //call SetUnitAnimation(this.caster, "spell two") call SetUnitAnimationByIndex(s__YugitoJump_caster[this], 5) call SetUnitTimeScale(s__YugitoJump_caster[this], 1.7) @@ -125649,10 +125649,10 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! call UnitDamageTarget(s__YugitoClawsStorm_caster[this], bj_lastCreatedUnit, ( GetHeroAgi(s__YugitoClawsStorm_caster[this], true) / 2 ) * GetUnitAbilityLevel(s__YugitoClawsStorm_caster[this], s__YugitoClawsStorm_SPELL_ID), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, null) call DestroyEffect(AddSpecialEffect(("Objects\\Spawnmodels\\Orc\\Orcblood\\BattrollBlood.mdl" ), (( GetUnitX(bj_lastCreatedUnit) )*1.0), (( GetUnitY(bj_lastCreatedUnit))*1.0))) // INLINED!! call SetUnitAnimation(bj_lastCreatedUnit, "death") - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call GroupRemoveUnit(s__YugitoClawsStorm_damaged[this], bj_lastCreatedUnit) endloop - call s__PauseUnitEx__Pause_setPauseCounter((s__YugitoClawsStorm_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YugitoClawsStorm_caster[this] ) , ( 0)) // INLINED!! call SlowArea(s__YugitoClawsStorm_caster[this] , GetUnitX(s__YugitoClawsStorm_caster[this]) , GetUnitY(s__YugitoClawsStorm_caster[this]) , 350) call DestroyGroup(s__YugitoClawsStorm_damaged[this]) set s__YugitoClawsStorm_damaged[this]=null @@ -125674,12 +125674,12 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! exitwhen bj_lastCreatedUnit == null if IsUnitEnemy(bj_lastCreatedUnit, GetOwningPlayer(s__YugitoClawsStorm_caster[this])) and GetWidgetLife(bj_lastCreatedUnit) > 0.405 and IsUnitType(bj_lastCreatedUnit, UNIT_TYPE_STRUCTURE) == false then call GroupAddUnit(s__YugitoClawsStorm_damaged[this], bj_lastCreatedUnit) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! endif call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) endloop call DestroyGroup(bj_lastCreatedGroup) - call s__PauseUnitEx__Pause_setPauseCounter((s__YugitoClawsStorm_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YugitoClawsStorm_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimation(s__YugitoClawsStorm_caster[this], "spell one") call SetUnitTimeScale(s__YugitoClawsStorm_caster[this], 2.0) call TimerStart(NewTimerEx(this), 0.1, true, function s__YugitoClawsStorm_periodic) @@ -125718,7 +125718,7 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! function s__YugitoClawCombo_finish takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__YugitoClawCombo_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YugitoClawCombo_caster[this] ) , ( 0)) // INLINED!! call SetUnitFlyHeight(s__YugitoClawCombo_caster[this], 0, 6000) call StunUnitTimed(s__YugitoClawCombo_caster[this] , s__YugitoClawCombo_target[this] , 1.0) //call SlowArea(this.caster, GetUnitX(this.target), GetUnitY(this.target), 300) @@ -125753,8 +125753,8 @@ call s__effectTimed_create((bj_lastCreatedEffect ) , (( 0.3)*1.0)) // INLINED!! call DestroyEffect(AddSpecialEffect(("Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl" ), (( GetUnitX(GetSpellTargetUnit()) )*1.0), (( GetUnitY(GetSpellTargetUnit()))*1.0))) // INLINED!! set s__YugitoClawCombo_caster[this]=GetTriggerUnit() set s__YugitoClawCombo_target[this]=GetSpellTargetUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__YugitoClawCombo_caster[this] ) , ( 1)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__YugitoClawCombo_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YugitoClawCombo_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__YugitoClawCombo_target[this] ) , ( 1)) // INLINED!! call SetUnitTimeScale(s__YugitoClawCombo_caster[this], 1.0) call SetUnitAnimationByIndex(s__YugitoClawCombo_caster[this], 6) call SetUnitFlyHeight(s__YugitoClawCombo_caster[this], 600, 6000) @@ -126088,7 +126088,7 @@ endfunction function s__ZabuzaDemonSlash_destroy takes integer this returns nothing call DestroyEffect(AddSpecialEffect(("war3mapImported\\Ground Crack.mdx" ), (( GetUnitX(s__ZabuzaDemonSlash_target[this]) )*1.0), (( GetUnitY(s__ZabuzaDemonSlash_target[this]))*1.0))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__ZabuzaDemonSlash_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ZabuzaDemonSlash_target[this] ) , ( 0)) // INLINED!! call UnitDamageTarget(s__ZabuzaDemonSlash_caster[this], s__ZabuzaDemonSlash_target[this], GetHeroAgi(s__ZabuzaDemonSlash_caster[this], true) * GetUnitAbilityLevel(s__ZabuzaDemonSlash_caster[this], s__ZabuzaDemonSlash_SPELL_ID), true, false, ATTACK_TYPE_MAGIC, DAMAGE_TYPE_MAGIC, null) set s__ZabuzaDemonSlash_caster[this]=null set s__ZabuzaDemonSlash_target[this]=null @@ -126119,7 +126119,7 @@ endfunction function s__ZabuzaDemonSlash_startKnockback takes nothing returns nothing local integer this= (LoadInteger(TimerUtils__ht, 0, GetHandleId((GetExpiredTimer())))) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__ZabuzaDemonSlash_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ZabuzaDemonSlash_caster[this] ) , ( 0)) // INLINED!! call DestroyEffect(s__ZabuzaDemonSlash_e[this]) call SetUnitTimeScale(s__ZabuzaDemonSlash_caster[this], 1.0) set s__ZabuzaDemonSlash_count[this]=0 @@ -126148,7 +126148,7 @@ endfunction call SetUnitFacing(s__ZabuzaDemonSlash_demon[this], Rad2Deg(angle)) set s__ZabuzaDemonSlash_angle[this]=angle if GetDistanceUnits(s__ZabuzaDemonSlash_caster[this] , s__ZabuzaDemonSlash_target[this]) <= 50 then - call s__PauseUnitEx__Pause_setPauseCounter((s__ZabuzaDemonSlash_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ZabuzaDemonSlash_target[this] ) , ( 1)) // INLINED!! set s__ZabuzaDemonSlash_e[this]=(AddSpecialEffectTarget(("Abilities\\Weapons\\ZigguratMissile\\ZigguratMissile.mdl" ), ( s__ZabuzaDemonSlash_caster[this] ), ( "weapon"))) // INLINED!! call SetUnitAnimation(s__ZabuzaDemonSlash_caster[this], "attack") call KillUnit(s__ZabuzaDemonSlash_demon[this]) @@ -126170,7 +126170,7 @@ endfunction set new_y=(((GetUnitY(s__ZabuzaDemonSlash_caster[this]) )*1.0) + Sin((( angle )*1.0)) * (( 50)*1.0)) // INLINED!! set s__ZabuzaDemonSlash_demon[this]=CreateUnit(GetTriggerPlayer(), 'h05N', new_x, new_y, GetUnitFacing(s__ZabuzaDemonSlash_caster[this])) call SetUnitVertexColor((s__ZabuzaDemonSlash_demon[this] ), ( 255 ), ( 255 ), ( 255 ), ( 150)) // INLINED!! - call s__PauseUnitEx__Pause_setPauseCounter((s__ZabuzaDemonSlash_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ZabuzaDemonSlash_caster[this] ) , ( 1)) // INLINED!! call SetUnitAnimationByIndex(s__ZabuzaDemonSlash_caster[this], 1) call SetUnitTimeScale(s__ZabuzaDemonSlash_caster[this], 2.0) call SetUnitAnimation(s__ZabuzaDemonSlash_demon[this], "attack") @@ -126735,7 +126735,7 @@ endfunction local integer i call SetUnitX(s__ZetsuDevour_target[this], GetUnitX(s__ZetsuDevour_caster[this])) call SetUnitY(s__ZetsuDevour_target[this], GetUnitY(s__ZetsuDevour_caster[this])) - call s__PauseUnitEx__Pause_setPauseCounter((s__ZetsuDevour_target[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ZetsuDevour_target[this] ) , ( 0)) // INLINED!! call ShowUnit(s__ZetsuDevour_target[this], true) call IssueImmediateOrder(s__ZetsuDevour_target[this], "stop") call SelectUnitForPlayerSingle(s__ZetsuDevour_target[this], GetOwningPlayer(s__ZetsuDevour_target[this])) @@ -126751,7 +126751,7 @@ endfunction local integer i set s__ZetsuDevour_target[this]=GetSpellTargetUnit() set s__ZetsuDevour_caster[this]=GetTriggerUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__ZetsuDevour_target[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ZetsuDevour_target[this] ) , ( 1)) // INLINED!! call ShowUnit(s__ZetsuDevour_target[this], false) call DestroyEffect(AddSpecialEffect(("Objects\\Spawnmodels\\NightElf\\NECancelDeath\\NECancelDeath.mdl" ), (( GetUnitX(s__ZetsuDevour_target[this]) )*1.0), (( GetUnitY(s__ZetsuDevour_target[this]))*1.0))) // INLINED!! call TimerStart(NewTimerEx(this), 3.0, false, function s__ZetsuDevour_finish) @@ -127053,7 +127053,7 @@ endfunction call SetUnitX(s__ZetsuSpore_caster[this], GetUnitX(s__ZetsuSpore_target[this])) call SetUnitY(s__ZetsuSpore_caster[this], GetUnitY(s__ZetsuSpore_target[this])) if GetWidgetLife(s__ZetsuSpore_target[this]) <= 0.405 or GetUnitAbilityLevel(s__ZetsuSpore_target[this], 'B03X') == 0 then - call s__PauseUnitEx__Pause_setPauseCounter((s__ZetsuSpore_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ZetsuSpore_caster[this] ) , ( 0)) // INLINED!! call ShowUnit(s__ZetsuSpore_caster[this], true) call SelectUnitForPlayerSingle(s__ZetsuSpore_caster[this], GetOwningPlayer(s__ZetsuSpore_caster[this])) call IssueImmediateOrder(s__ZetsuSpore_caster[this], "stop") @@ -127079,7 +127079,7 @@ endfunction local integer this= s__ZetsuSpore_allocate() set s__ZetsuSpore_caster[this]=GetTriggerUnit() set s__ZetsuSpore_target[this]=GetSpellTargetUnit() - call s__PauseUnitEx__Pause_setPauseCounter((s__ZetsuSpore_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__ZetsuSpore_caster[this] ) , ( 1)) // INLINED!! call ShowUnit(s__ZetsuSpore_caster[this], false) set bj_lastCreatedUnit=CreateUnit(GetTriggerPlayer(), 'e007', GetUnitX(s__ZetsuSpore_target[this]), GetUnitY(s__ZetsuSpore_target[this]), 270.0) call UnitAddAbility(bj_lastCreatedUnit, 'A02E') @@ -127672,7 +127672,7 @@ function Trig_TeamDuelTimerExpired_FinishTeamDuel takes nothing returns nothing if IsPlayerInForce(Player(i), udg_TeamDuelPlayers) then call SetUnitPosition(udg_units33[i + 1], x, y) endif - call s__PauseUnitEx__Pause_setPauseCounter((udg_units33[i + 1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units33[i + 1] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(udg_units33[i + 1], false) call SetPlayerAbilityAvailableBJ(true, 'ANcl', Player(i)) endif @@ -127714,7 +127714,7 @@ function Trig_TeamDuelTimerExpired_CheckIfTeamDuelIsOver takes nothing returns n set i=0 loop if IsPlayerInForce(Player(i), udg_TeamDuelPlayers) then - call s__PauseUnitEx__Pause_setPauseCounter((udg_units33[i + 1] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units33[i + 1] ) , ( 1)) // INLINED!! call SetUnitInvulnerable(udg_units33[i + 1], true) endif set i=i + 1 @@ -127761,7 +127761,7 @@ function Trig_TeamDuelTimerExpired_FinishTeamDuel2 takes nothing returns nothing if GetWidgetLife(udg_units33[i + 1]) < 0.405 then call ReviveHero(udg_units33[i + 1], x, y, false) endif - call s__PauseUnitEx__Pause_setPauseCounter((udg_units33[i + 1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units33[i + 1] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(udg_units33[i + 1], false) endif call SetPlayerAbilityAvailableBJ(true, 'ANcl', Player(i)) @@ -127850,7 +127850,7 @@ function Trig_TeamDuelTimerExpired_Actions takes nothing returns nothing if GetWidgetLife(udg_units33[i + 1]) < 0.405 then call ReviveHero(udg_units33[i + 1], x, y, false) endif - call s__PauseUnitEx__Pause_setPauseCounter((udg_units33[i + 1] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units33[i + 1] ) , ( 1)) // INLINED!! call SetUnitInvulnerable(udg_units33[i + 1], true) call SetPlayerAbilityAvailableBJ(false, 'ANcl', Player(i)) //if (IsPlayerAlly(Player(i), Player(3)) and count_konoha < min) or (IsPlayerAlly(Player(i), Player(7)) and count_oto < min) or (IsPlayerAlly(Player(i), Player(11)) and count_akat < min) then @@ -127881,7 +127881,7 @@ function Trig_TeamDuelTimerExpired_Actions takes nothing returns nothing //if GetWidgetLife(udg_units33[i + 1]) <= 0.405 then call ReviveHero(udg_units33[i + 1], x, y, false) //endif - call s__PauseUnitEx__Pause_setPauseCounter((udg_units33[i + 1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units33[i + 1] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(udg_units33[i + 1], false) call SetUnitPosition(udg_units33[i + 1], x, y) call SetUnitFacing(udg_units33[i + 1], 270.0) @@ -129424,7 +129424,7 @@ function Trig_Duel_receiver_answer_Copy_Func001Func005Func020A takes nothing ret endif call UnitRemoveBuffsBJ(bj_REMOVEBUFFS_ALL, GetEnumUnit()) call SetUnitInvulnerable(GetEnumUnit(), true) - call s__PauseUnitEx__Pause_setPauseCounter((GetEnumUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetEnumUnit() ) , ( 1)) // INLINED!! else endif endfunction @@ -129478,13 +129478,13 @@ function Trig_Duel_receiver_answer_Copy_Func001Func005Func023A takes nothing ret endif call UnitRemoveBuffsBJ(bj_REMOVEBUFFS_ALL, GetEnumUnit()) call SetUnitInvulnerable(GetEnumUnit(), true) - call s__PauseUnitEx__Pause_setPauseCounter((GetEnumUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetEnumUnit() ) , ( 1)) // INLINED!! else endif endfunction function Trig_Duel_receiver_answer_Copy_Func001Func005Func038A takes nothing returns nothing - call s__PauseUnitEx__Pause_setPauseCounter((GetEnumUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetEnumUnit() ) , ( 0)) // INLINED!! call SetUnitInvulnerable(GetEnumUnit(), false) endfunction @@ -129719,7 +129719,7 @@ endfunction function Trig_Duel_winner_Func005A takes nothing returns nothing if ( Trig_Duel_winner_Func005Func001C() ) then - call s__PauseUnitEx__Pause_setPauseCounter((GetEnumUnit() ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetEnumUnit() ) , ( 1)) // INLINED!! call SetUnitInvulnerable(GetEnumUnit(), true) else endif @@ -129734,7 +129734,7 @@ endfunction function Trig_Duel_winner_Func013A takes nothing returns nothing if ( Trig_Duel_winner_Func013Func001C() ) then - call s__PauseUnitEx__Pause_setPauseCounter((GetEnumUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetEnumUnit() ) , ( 0)) // INLINED!! call SetUnitInvulnerable(GetEnumUnit(), false) else call RemoveUnit(GetEnumUnit()) @@ -130135,7 +130135,7 @@ endfunction loop exitwhen i == 11 if s__s__TeamDuel_PLAYER_STATE[i] != 0 then - call s__PauseUnitEx__Pause_setPauseCounter((udg_units33[i + 1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units33[i + 1] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(udg_units33[i + 1], false) endif set i=i + 1 @@ -130178,7 +130178,7 @@ endfunction endif call SetUnitState(udg_units33[i + 1], UNIT_STATE_LIFE, GetUnitState(udg_units33[i + 1], UNIT_STATE_MAX_LIFE)) call SetUnitState(udg_units33[i + 1], UNIT_STATE_MANA, GetUnitState(udg_units33[i + 1], UNIT_STATE_MAX_MANA)) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units33[i + 1] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units33[i + 1] ) , ( 1)) // INLINED!! call SetUnitInvulnerable(udg_units33[i + 1], true) call UnitResetCooldown(udg_units33[i + 1]) endif @@ -130224,7 +130224,7 @@ endfunction exitwhen bj_lastCreatedUnit == null call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) if GetOwningPlayer(bj_lastCreatedUnit) != Player(PLAYER_NEUTRAL_PASSIVE) then - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 0)) // INLINED!! call SetUnitInvulnerable(bj_lastCreatedUnit, false) if IsUnitAlly(bj_lastCreatedUnit, Player(3)) then call SetUnitPosition(bj_lastCreatedUnit, GetRectCenterX(gg_rct_fonte_konoha), GetRectCenterY(gg_rct_fonte_konoha)) @@ -130273,7 +130273,7 @@ endfunction set bj_lastCreatedUnit=FirstOfGroup(bj_lastCreatedGroup) exitwhen bj_lastCreatedUnit == null call GroupRemoveUnit(bj_lastCreatedGroup, bj_lastCreatedUnit) - call s__PauseUnitEx__Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((bj_lastCreatedUnit ) , ( 1)) // INLINED!! call SetUnitInvulnerable(bj_lastCreatedUnit, true) endloop call DestroyGroup(bj_lastCreatedGroup) @@ -131331,22 +131331,22 @@ endfunction - function s__SendGoldAndCystal___Command_receiveCrystal takes nothing returns nothing + function s__SendGoldAndCystal__Command_receiveCrystal takes nothing returns nothing local integer id= 0 local integer i loop exitwhen id > 11 - if GetClickedDialog() == s__SendGoldAndCystal___cd[id] then + if GetClickedDialog() == s__SendGoldAndCystal__cd[id] then set i=0 loop exitwhen i > 11 - if GetClickedButton() == s__SendGoldAndCystal___cb[(id)*(12)+i] then - if s__SendGoldAndCystal___c[id] > GetPlayerState(Player(id), PLAYER_STATE_RESOURCE_LUMBER) then - set s__SendGoldAndCystal___c[id]= GetPlayerState(Player(id), PLAYER_STATE_RESOURCE_LUMBER) + if GetClickedButton() == s__SendGoldAndCystal__cb[(id)*(12)+i] then + if s__SendGoldAndCystal__c[id] > GetPlayerState(Player(id), PLAYER_STATE_RESOURCE_LUMBER) then + set s__SendGoldAndCystal__c[id]= GetPlayerState(Player(id), PLAYER_STATE_RESOURCE_LUMBER) endif - call SetPlayerState(Player(id), PLAYER_STATE_RESOURCE_LUMBER, GetPlayerState(Player(id), PLAYER_STATE_RESOURCE_LUMBER) - s__SendGoldAndCystal___c[id]) - call SetPlayerState(Player(i), PLAYER_STATE_RESOURCE_LUMBER, GetPlayerState(Player(i), PLAYER_STATE_RESOURCE_LUMBER) + s__SendGoldAndCystal___c[id]) - call DisplayTextToPlayer(Player(i), 0, 0, GetPlayerName(Player(id)) + " |cff87ceebsent you |r|cffffcc00" + I2S(s__SendGoldAndCystal___c[id]) + "|r|cff87ceeb crystal.|r") + call SetPlayerState(Player(id), PLAYER_STATE_RESOURCE_LUMBER, GetPlayerState(Player(id), PLAYER_STATE_RESOURCE_LUMBER) - s__SendGoldAndCystal__c[id]) + call SetPlayerState(Player(i), PLAYER_STATE_RESOURCE_LUMBER, GetPlayerState(Player(i), PLAYER_STATE_RESOURCE_LUMBER) + s__SendGoldAndCystal__c[id]) + call DisplayTextToPlayer(Player(i), 0, 0, GetPlayerName(Player(id)) + " |cff87ceebsent you |r|cffffcc00" + I2S(s__SendGoldAndCystal__c[id]) + "|r|cff87ceeb crystal.|r") endif set i=i + 1 endloop @@ -131355,26 +131355,26 @@ endfunction endloop endfunction - function s__SendGoldAndCystal___Command_receiveGold takes nothing returns nothing + function s__SendGoldAndCystal__Command_receiveGold takes nothing returns nothing local integer id= 0 local integer i loop exitwhen id > 11 - if GetClickedDialog() == s__SendGoldAndCystal___gd[id] then + if GetClickedDialog() == s__SendGoldAndCystal__gd[id] then set i=0 loop exitwhen i > 11 - if GetClickedButton() == s__SendGoldAndCystal___gb[(id)*(12)+i] then - if s__SendGoldAndCystal___g[id] > GetPlayerState(Player(id), PLAYER_STATE_RESOURCE_GOLD) then - set s__SendGoldAndCystal___g[id]= GetPlayerState(Player(id), PLAYER_STATE_RESOURCE_GOLD) + if GetClickedButton() == s__SendGoldAndCystal__gb[(id)*(12)+i] then + if s__SendGoldAndCystal__g[id] > GetPlayerState(Player(id), PLAYER_STATE_RESOURCE_GOLD) then + set s__SendGoldAndCystal__g[id]= GetPlayerState(Player(id), PLAYER_STATE_RESOURCE_GOLD) endif - if s__SendGoldAndCystal___given[id] + s__SendGoldAndCystal___g[id] > 5000 then - set s__SendGoldAndCystal___g[id]= 5000 - s__SendGoldAndCystal___given[id] + if s__SendGoldAndCystal__given[id] + s__SendGoldAndCystal__g[id] > 5000 then + set s__SendGoldAndCystal__g[id]= 5000 - s__SendGoldAndCystal__given[id] endif - call SetPlayerState(Player(id), PLAYER_STATE_RESOURCE_GOLD, GetPlayerState(Player(id), PLAYER_STATE_RESOURCE_GOLD) - s__SendGoldAndCystal___g[id]) - call SetPlayerState(Player(i), PLAYER_STATE_RESOURCE_GOLD, GetPlayerState(Player(i), PLAYER_STATE_RESOURCE_GOLD) + s__SendGoldAndCystal___g[id]) - call DisplayTextToPlayer(Player(i), 0, 0, GetPlayerName(Player(id)) + " |cff87ceebsent you |r|cffffcc00" + I2S(s__SendGoldAndCystal___g[id]) + "|r|cff87ceeb gold.|r") - set s__SendGoldAndCystal___given[id]= s__SendGoldAndCystal___given[id] + s__SendGoldAndCystal___g[id] + call SetPlayerState(Player(id), PLAYER_STATE_RESOURCE_GOLD, GetPlayerState(Player(id), PLAYER_STATE_RESOURCE_GOLD) - s__SendGoldAndCystal__g[id]) + call SetPlayerState(Player(i), PLAYER_STATE_RESOURCE_GOLD, GetPlayerState(Player(i), PLAYER_STATE_RESOURCE_GOLD) + s__SendGoldAndCystal__g[id]) + call DisplayTextToPlayer(Player(i), 0, 0, GetPlayerName(Player(id)) + " |cff87ceebsent you |r|cffffcc00" + I2S(s__SendGoldAndCystal__g[id]) + "|r|cff87ceeb gold.|r") + set s__SendGoldAndCystal__given[id]= s__SendGoldAndCystal__given[id] + s__SendGoldAndCystal__g[id] endif set i=i + 1 endloop @@ -131383,18 +131383,18 @@ endfunction endloop endfunction - function s__SendGoldAndCystal___Command_sendCrystal takes nothing returns nothing + function s__SendGoldAndCystal__Command_sendCrystal takes nothing returns nothing local integer amount= S2I(SubStringBJ(GetEventPlayerChatString(), 4, 10)) local integer id= GetPlayerId(GetTriggerPlayer()) local integer i= 0 local integer count= 0 - set s__SendGoldAndCystal___c[id]= amount - call DialogClear(s__SendGoldAndCystal___cd[id]) - call DialogSetMessage(s__SendGoldAndCystal___cd[id], "Choose a player to send crystal") + set s__SendGoldAndCystal__c[id]= amount + call DialogClear(s__SendGoldAndCystal__cd[id]) + call DialogSetMessage(s__SendGoldAndCystal__cd[id], "Choose a player to send crystal") loop exitwhen i > 11 if i != 3 and i != 7 and i != 11 and GetPlayerController(Player(i)) == MAP_CONTROL_USER and GetPlayerSlotState(Player(i)) == PLAYER_SLOT_STATE_PLAYING and IsPlayerAlly(Player(i), GetTriggerPlayer()) and i != id then - set s__SendGoldAndCystal___cb[(id)*(12)+i]= DialogAddButton(s__SendGoldAndCystal___cd[id], GetPlayerName(Player(i)), 0) + set s__SendGoldAndCystal__cb[(id)*(12)+i]= DialogAddButton(s__SendGoldAndCystal__cd[id], GetPlayerName(Player(i)), 0) set count=count + 1 endif set i=i + 1 @@ -131402,11 +131402,11 @@ endfunction if count == 0 then call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "|cffff0000You don't have any ally to send crystal to.|r") else - call DialogDisplay(GetTriggerPlayer(), s__SendGoldAndCystal___cd[id], true) + call DialogDisplay(GetTriggerPlayer(), s__SendGoldAndCystal__cd[id], true) endif endfunction - function s__SendGoldAndCystal___Command_sendGold takes nothing returns nothing + function s__SendGoldAndCystal__Command_sendGold takes nothing returns nothing local integer amount= S2I(SubStringBJ(GetEventPlayerChatString(), 4, 10)) local integer id= GetPlayerId(GetTriggerPlayer()) local integer i= 0 @@ -131414,13 +131414,13 @@ endfunction if SubStringBJ(GetEventPlayerChatString(), 1, 4) == "-gen" then return endif - set s__SendGoldAndCystal___g[id]= amount - call DialogClear(s__SendGoldAndCystal___gd[id]) - call DialogSetMessage(s__SendGoldAndCystal___gd[id], "Choose a player to send gold") + set s__SendGoldAndCystal__g[id]= amount + call DialogClear(s__SendGoldAndCystal__gd[id]) + call DialogSetMessage(s__SendGoldAndCystal__gd[id], "Choose a player to send gold") loop exitwhen i > 11 if i != 3 and i != 7 and i != 11 and GetPlayerController(Player(i)) == MAP_CONTROL_USER and GetPlayerSlotState(Player(i)) == PLAYER_SLOT_STATE_PLAYING and IsPlayerAlly(Player(i), GetTriggerPlayer()) and i != id then - set s__SendGoldAndCystal___gb[(id)*(12)+i]= DialogAddButton(s__SendGoldAndCystal___gd[id], GetPlayerName(Player(i)), 0) + set s__SendGoldAndCystal__gb[(id)*(12)+i]= DialogAddButton(s__SendGoldAndCystal__gd[id], GetPlayerName(Player(i)), 0) set count=count + 1 endif set i=i + 1 @@ -131428,11 +131428,11 @@ endfunction if count == 0 then call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "|cffff0000You don't have any ally to send gold to.|r") else - call DialogDisplay(GetTriggerPlayer(), s__SendGoldAndCystal___gd[id], true) + call DialogDisplay(GetTriggerPlayer(), s__SendGoldAndCystal__gd[id], true) endif endfunction - function s__SendGoldAndCystal___Command_onInit takes nothing returns nothing + function s__SendGoldAndCystal__Command_onInit takes nothing returns nothing local trigger t1= CreateTrigger() local trigger t2= CreateTrigger() local trigger t3= CreateTrigger() @@ -131444,18 +131444,18 @@ endfunction if i != 3 and i != 7 and i != 11 then call TriggerRegisterPlayerChatEvent(t1, Player(i), "-g", false) call TriggerRegisterPlayerChatEvent(t2, Player(i), "-c", false) - set s__SendGoldAndCystal___gd[i]= DialogCreate() - set s__SendGoldAndCystal___cd[i]= DialogCreate() - call TriggerRegisterDialogEventBJ(t3, s__SendGoldAndCystal___gd[i]) - call TriggerRegisterDialogEventBJ(t4, s__SendGoldAndCystal___cd[i]) + set s__SendGoldAndCystal__gd[i]= DialogCreate() + set s__SendGoldAndCystal__cd[i]= DialogCreate() + call TriggerRegisterDialogEventBJ(t3, s__SendGoldAndCystal__gd[i]) + call TriggerRegisterDialogEventBJ(t4, s__SendGoldAndCystal__cd[i]) endif - set s__SendGoldAndCystal___given[i]= 0 + set s__SendGoldAndCystal__given[i]= 0 set i=i + 1 endloop - call TriggerAddAction(t1, function s__SendGoldAndCystal___Command_sendGold) - call TriggerAddAction(t2, function s__SendGoldAndCystal___Command_sendCrystal) - call TriggerAddAction(t3, function s__SendGoldAndCystal___Command_receiveGold) - call TriggerAddAction(t4, function s__SendGoldAndCystal___Command_receiveCrystal) + call TriggerAddAction(t1, function s__SendGoldAndCystal__Command_sendGold) + call TriggerAddAction(t2, function s__SendGoldAndCystal__Command_sendCrystal) + call TriggerAddAction(t3, function s__SendGoldAndCystal__Command_receiveGold) + call TriggerAddAction(t4, function s__SendGoldAndCystal__Command_receiveCrystal) endfunction @@ -131625,7 +131625,7 @@ endfunction call UnitRemoveBuffs(udg_units33[s__Killme_id[this] + 1], true, true) call UnitDamageTarget(udg_units33[s__Killme_id[this] + 1], udg_units33[s__Killme_id[this] + 1], 9999999.0, true, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_UNIVERSAL, null) call KillUnit(udg_units33[s__Killme_id[this] + 1]) - call s__PauseUnitEx__Pause_setPauseCounter((udg_units33[s__Killme_id[this] + 1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units33[s__Killme_id[this] + 1] ) , ( 0)) // INLINED!! call ShowUnit(udg_units33[s__Killme_id[this] + 1], true) call SetUnitFlyHeight(udg_units33[s__Killme_id[this] + 1], 0, 0) call SetUnitVertexColor(udg_units33[s__Killme_id[this] + 1], 255, 255, 255, 255) @@ -135533,7 +135533,7 @@ endfunction call UnitAddItem(u, it) endif set udg_SmartBank_Active=false - elseif udg_quickcast[id] == false and IsUnitPaused(u) == false and (s__PauseUnitEx__Pause_getPauseCounter((u))) <= 0 and IsUnitHidden(u) == false then // INLINED!! + elseif udg_quickcast[id] == false and IsUnitPaused(u) == false and (s__PauseUnitEx___Pause_getPauseCounter((u))) <= 0 and IsUnitHidden(u) == false then // INLINED!! set it=UnitItemInSlotBJ(u, i) set u2=null call UnitUseItem(u, it) @@ -137604,31 +137604,31 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son endfunction - function s__AHSS___Team_create takes string name returns integer - local integer this= s__AHSS___Team__allocate() - set s__AHSS___Team_name[this]=name - set s__AHSS___Team_count[this]=0 + function s__AHSS__Team_create takes string name returns integer + local integer this= s__AHSS__Team__allocate() + set s__AHSS__Team_name[this]=name + set s__AHSS__Team_count[this]=0 return this endfunction - function s__AHSS___Team_addPlayer takes integer this,integer whichPlayer returns nothing - set s___AHSS___Team_players[s__AHSS___Team_players[this]+s__AHSS___Team_count[this]]=whichPlayer - set s__AHSS___Team_count[this]=s__AHSS___Team_count[this] + 1 + function s__AHSS__Team_addPlayer takes integer this,integer whichPlayer returns nothing + set s___AHSS__Team_players[s__AHSS__Team_players[this]+s__AHSS__Team_count[this]]=whichPlayer + set s__AHSS__Team_count[this]=s__AHSS__Team_count[this] + 1 endfunction - function s__AHSS___Team_setSpawningSpot takes integer this,rect whichRect returns nothing - set s__AHSS___Team_spawningSpot[this]=whichRect + function s__AHSS__Team_setSpawningSpot takes integer this,rect whichRect returns nothing + set s__AHSS__Team_spawningSpot[this]=whichRect endfunction - function s__AHSS___Team_getName takes integer this returns string - return s__AHSS___Team_name[this] + function s__AHSS__Team_getName takes integer this returns string + return s__AHSS__Team_name[this] endfunction - function s__AHSS___Team_getPlayer takes integer this,integer index returns integer - return s___AHSS___Team_players[s__AHSS___Team_players[this]+index] + function s__AHSS__Team_getPlayer takes integer this,integer index returns integer + return s___AHSS__Team_players[s__AHSS__Team_players[this]+index] endfunction - function s__AHSS___Team_getSpawningSpot takes integer this returns rect - return s__AHSS___Team_spawningSpot[this] + function s__AHSS__Team_getSpawningSpot takes integer this returns rect + return s__AHSS__Team_spawningSpot[this] endfunction - function s__AHSS___Team_getSize takes integer this returns integer - return s__AHSS___Team_count[this] + function s__AHSS__Team_getSize takes integer this returns integer + return s__AHSS__Team_count[this] endfunction @@ -137639,7 +137639,7 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son endfunction function s__AHSS_Teams_createTeam takes integer this,string name returns nothing - set s___AHSS_Teams_teams[s__AHSS_Teams_teams[this]+s__AHSS_Teams_count[this]]=s__AHSS___Team_create(name) + set s___AHSS_Teams_teams[s__AHSS_Teams_teams[this]+s__AHSS_Teams_count[this]]=s__AHSS__Team_create(name) set s__AHSS_Teams_count[this]=s__AHSS_Teams_count[this] + 1 endfunction @@ -137647,14 +137647,14 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son if s__AHSS_Teams_count[this] == 0 then return endif - call s__AHSS___Team_addPlayer(s___AHSS_Teams_teams[s__AHSS_Teams_teams[this]+s__AHSS_Teams_count[this] - 1],whichPlayer) + call s__AHSS__Team_addPlayer(s___AHSS_Teams_teams[s__AHSS_Teams_teams[this]+s__AHSS_Teams_count[this] - 1],whichPlayer) endfunction function s__AHSS_Teams_setSpawningSpot takes integer this,rect whichRect returns nothing if s__AHSS_Teams_count[this] == 0 then return endif - set s__AHSS___Team_spawningSpot[(s___AHSS_Teams_teams[s__AHSS_Teams_teams[this]+s__AHSS_Teams_count[this] - 1])]=(whichRect) // INLINED!! + set s__AHSS__Team_spawningSpot[(s___AHSS_Teams_teams[s__AHSS_Teams_teams[this]+s__AHSS_Teams_count[this] - 1])]=(whichRect) // INLINED!! endfunction function s__AHSS_Teams_getTeam takes integer this,integer index returns integer @@ -137669,88 +137669,88 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son local integer i= 0 loop exitwhen i >= s__AHSS_Teams_count[this] - call s__AHSS___Team_deallocate(s___AHSS_Teams_teams[s__AHSS_Teams_teams[this]+i]) + call s__AHSS__Team_deallocate(s___AHSS_Teams_teams[s__AHSS_Teams_teams[this]+i]) set i=i + 1 endloop endfunction - function s__AHSS___Hero_create takes string whichName,integer heroId returns integer - local integer this= s__AHSS___Hero__allocate() - set s__AHSS___Hero_name[this]=whichName - set s__AHSS___Hero_description[this]="" - set s__AHSS___Hero_heroid[this]=heroId - set s__AHSS___Hero_icon[this]='OTip' - set s__AHSS___Hero_modelAlternate[this]=false - set s__AHSS___Hero_iconPath[this]=null + function s__AHSS__Hero_create takes string whichName,integer heroId returns integer + local integer this= s__AHSS__Hero__allocate() + set s__AHSS__Hero_name[this]=whichName + set s__AHSS__Hero_description[this]="" + set s__AHSS__Hero_heroid[this]=heroId + set s__AHSS__Hero_icon[this]='OTip' + set s__AHSS__Hero_modelAlternate[this]=false + set s__AHSS__Hero_iconPath[this]=null return this endfunction - function s__AHSS___Hero_setStr takes integer this,real initial,real lvl returns nothing - set s__AHSS___Hero_strength[this]=initial - set s__AHSS___Hero_strengthLvl[this]=lvl + function s__AHSS__Hero_setStr takes integer this,real initial,real lvl returns nothing + set s__AHSS__Hero_strength[this]=initial + set s__AHSS__Hero_strengthLvl[this]=lvl endfunction - function s__AHSS___Hero_setAgi takes integer this,real initial,real lvl returns nothing - set s__AHSS___Hero_agility[this]=initial - set s__AHSS___Hero_agilityLvl[this]=lvl + function s__AHSS__Hero_setAgi takes integer this,real initial,real lvl returns nothing + set s__AHSS__Hero_agility[this]=initial + set s__AHSS__Hero_agilityLvl[this]=lvl endfunction - function s__AHSS___Hero_setInt takes integer this,real initial,real lvl returns nothing - set s__AHSS___Hero_intelligence[this]=initial - set s__AHSS___Hero_intelligenceLvl[this]=lvl + function s__AHSS__Hero_setInt takes integer this,real initial,real lvl returns nothing + set s__AHSS__Hero_intelligence[this]=initial + set s__AHSS__Hero_intelligenceLvl[this]=lvl endfunction - function s__AHSS___Hero_setDescription takes integer this,string whichDescription returns nothing - set s__AHSS___Hero_description[this]=whichDescription + function s__AHSS__Hero_setDescription takes integer this,string whichDescription returns nothing + set s__AHSS__Hero_description[this]=whichDescription endfunction - function s__AHSS___Hero_setModel takes integer this,string path,real scale returns nothing - set s__AHSS___Hero_modelPath[this]=path - set s__AHSS___Hero_modelScale[this]=scale + function s__AHSS__Hero_setModel takes integer this,string path,real scale returns nothing + set s__AHSS__Hero_modelPath[this]=path + set s__AHSS__Hero_modelScale[this]=scale endfunction - function s__AHSS___Hero_setModelAlternate takes integer this,boolean b returns nothing - set s__AHSS___Hero_modelAlternate[this]=b + function s__AHSS__Hero_setModelAlternate takes integer this,boolean b returns nothing + set s__AHSS__Hero_modelAlternate[this]=b endfunction - function s__AHSS___Hero_setIcon takes integer this,integer whichIcon returns nothing - set s__AHSS___Hero_icon[this]=whichIcon + function s__AHSS__Hero_setIcon takes integer this,integer whichIcon returns nothing + set s__AHSS__Hero_icon[this]=whichIcon endfunction - function s__AHSS___Hero_setIconPath takes integer this,string path returns nothing - set s__AHSS___Hero_iconPath[this]=path + function s__AHSS__Hero_setIconPath takes integer this,string path returns nothing + set s__AHSS__Hero_iconPath[this]=path endfunction - function s__AHSS___Hero_getName takes integer this returns string - return s__AHSS___Hero_name[this] + function s__AHSS__Hero_getName takes integer this returns string + return s__AHSS__Hero_name[this] endfunction - function s__AHSS___Hero_getStr takes integer this returns real - return s__AHSS___Hero_strength[this] + function s__AHSS__Hero_getStr takes integer this returns real + return s__AHSS__Hero_strength[this] endfunction - function s__AHSS___Hero_getStrLvl takes integer this returns real - return s__AHSS___Hero_strengthLvl[this] + function s__AHSS__Hero_getStrLvl takes integer this returns real + return s__AHSS__Hero_strengthLvl[this] endfunction - function s__AHSS___Hero_getAgi takes integer this returns real - return s__AHSS___Hero_agility[this] + function s__AHSS__Hero_getAgi takes integer this returns real + return s__AHSS__Hero_agility[this] endfunction - function s__AHSS___Hero_getAgiLvl takes integer this returns real - return s__AHSS___Hero_agilityLvl[this] + function s__AHSS__Hero_getAgiLvl takes integer this returns real + return s__AHSS__Hero_agilityLvl[this] endfunction - function s__AHSS___Hero_getInt takes integer this returns real - return s__AHSS___Hero_intelligence[this] + function s__AHSS__Hero_getInt takes integer this returns real + return s__AHSS__Hero_intelligence[this] endfunction - function s__AHSS___Hero_getIntLvl takes integer this returns real - return s__AHSS___Hero_intelligenceLvl[this] + function s__AHSS__Hero_getIntLvl takes integer this returns real + return s__AHSS__Hero_intelligenceLvl[this] endfunction - function s__AHSS___Hero_getDescription takes integer this returns string - return s__AHSS___Hero_description[this] + function s__AHSS__Hero_getDescription takes integer this returns string + return s__AHSS__Hero_description[this] endfunction - function s__AHSS___Hero_getHeroid takes integer this returns integer - return s__AHSS___Hero_heroid[this] + function s__AHSS__Hero_getHeroid takes integer this returns integer + return s__AHSS__Hero_heroid[this] endfunction - function s__AHSS___Hero_getModelPath takes integer this returns string - return s__AHSS___Hero_modelPath[this] + function s__AHSS__Hero_getModelPath takes integer this returns string + return s__AHSS__Hero_modelPath[this] endfunction - function s__AHSS___Hero_getModelScale takes integer this returns real - return s__AHSS___Hero_modelScale[this] + function s__AHSS__Hero_getModelScale takes integer this returns real + return s__AHSS__Hero_modelScale[this] endfunction - function s__AHSS___Hero_isModelAlternate takes integer this returns boolean - return s__AHSS___Hero_modelAlternate[this] + function s__AHSS__Hero_isModelAlternate takes integer this returns boolean + return s__AHSS__Hero_modelAlternate[this] endfunction - function s__AHSS___Hero_getIcon takes integer this returns integer - return s__AHSS___Hero_icon[this] + function s__AHSS__Hero_getIcon takes integer this returns integer + return s__AHSS__Hero_icon[this] endfunction @@ -137764,7 +137764,7 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son if s__AHSS_Heroes_count[this] >= s__AHSS_Configurations_MAX_SLOTS then return endif - set s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this]]=s__AHSS___Hero_create(name , id) + set s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this]]=s__AHSS__Hero_create(name , id) set s__s__AHSS_Configurations_HERO_NAMES[s__AHSS_Heroes_count[this]]= name set s__s__AHSS_Configurations_HERO_IDS[s__AHSS_Heroes_count[this]]= id call SaveInteger(Table__ht, (s__AHSS_Configurations_HERO_BY_ID), (id), ( s__AHSS_Heroes_count[this])) // INLINED!! @@ -137775,49 +137775,49 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son if s__AHSS_Heroes_count[this] == 0 then return endif - call s__AHSS___Hero_setStr(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],initial , lvl) + call s__AHSS__Hero_setStr(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],initial , lvl) endfunction function s__AHSS_Heroes_setAgi takes integer this,real initial,real lvl returns nothing if s__AHSS_Heroes_count[this] == 0 then return endif - call s__AHSS___Hero_setAgi(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],initial , lvl) + call s__AHSS__Hero_setAgi(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],initial , lvl) endfunction function s__AHSS_Heroes_setInt takes integer this,real initial,real lvl returns nothing if s__AHSS_Heroes_count[this] == 0 then return endif - call s__AHSS___Hero_setInt(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],initial , lvl) + call s__AHSS__Hero_setInt(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],initial , lvl) endfunction function s__AHSS_Heroes_setDescription takes integer this,string whichDescription returns nothing if s__AHSS_Heroes_count[this] == 0 then return endif - set s__AHSS___Hero_description[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(whichDescription) // INLINED!! + set s__AHSS__Hero_description[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(whichDescription) // INLINED!! endfunction function s__AHSS_Heroes_setModel takes integer this,string path,real scale returns nothing if s__AHSS_Heroes_count[this] == 0 then return endif - call s__AHSS___Hero_setModel(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],path , scale) + call s__AHSS__Hero_setModel(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],path , scale) endfunction function s__AHSS_Heroes_setModelAlternate takes integer this,boolean b returns nothing if s__AHSS_Heroes_count[this] == 0 then return endif - set s__AHSS___Hero_modelAlternate[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(b) // INLINED!! + set s__AHSS__Hero_modelAlternate[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(b) // INLINED!! endfunction function s__AHSS_Heroes_setIcon takes integer this,integer whichIcon returns nothing if s__AHSS_Heroes_count[this] == 0 then return endif - set s__AHSS___Hero_icon[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(whichIcon) // INLINED!! + set s__AHSS__Hero_icon[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(whichIcon) // INLINED!! endfunction function s__AHSS_Heroes_setIconPath takes integer this,string path returns nothing if s__AHSS_Heroes_count[this] == 0 then return endif - set s__AHSS___Hero_iconPath[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(path) // INLINED!! + set s__AHSS__Hero_iconPath[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(path) // INLINED!! set s__s__AHSS_Configurations_HERO_ICONS[s__AHSS_Heroes_count[this] - 1]= path endfunction @@ -137833,7 +137833,7 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son local integer i= 0 loop exitwhen i >= s__AHSS_Heroes_count[this] - call s__AHSS___Hero_deallocate(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+i]) + call s__AHSS__Hero_deallocate(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+i]) set i=i + 1 endloop endfunction @@ -137937,59 +137937,59 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son - function s__AHSS___TeamIcon_destroy takes integer this returns nothing + function s__AHSS__TeamIcon_destroy takes integer this returns nothing local integer i= 0 loop exitwhen i > 11 - if s___AHSS___TeamIcon_icons[s__AHSS___TeamIcon_icons[this]+i] != null then - call RemoveDestructable(s___AHSS___TeamIcon_icons[s__AHSS___TeamIcon_icons[this]+i]) - set s___AHSS___TeamIcon_icons[s__AHSS___TeamIcon_icons[this]+i]=null + if s___AHSS__TeamIcon_icons[s__AHSS__TeamIcon_icons[this]+i] != null then + call RemoveDestructable(s___AHSS__TeamIcon_icons[s__AHSS__TeamIcon_icons[this]+i]) + set s___AHSS__TeamIcon_icons[s__AHSS__TeamIcon_icons[this]+i]=null endif set i=i + 1 endloop endfunction - function s__AHSS___PlayerSelection_create takes integer whichPlayer,integer unitid,real x,real y,real red,real green,real blue returns integer - local integer this= s__AHSS___PlayerSelection__allocate() - set s__AHSS___PlayerSelection_whichPlayer[this]=whichPlayer - set s__AHSS___PlayerSelection_selectionBox[this]=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE), unitid, x, y, 270) - call h__SetUnitVertexColorBJ(s__AHSS___PlayerSelection_selectionBox[this], R2I(red * 100), R2I(green * 100), R2I(blue * 100), 0) - call UnitAddAbility(s__AHSS___PlayerSelection_selectionBox[this], 'Arav') - call UnitRemoveAbility(s__AHSS___PlayerSelection_selectionBox[this], 'Arav') - call SetUnitFlyHeight(s__AHSS___PlayerSelection_selectionBox[this], 500 + 12 - whichPlayer, 0) - call SetUnitX(s__AHSS___PlayerSelection_selectionBox[this], x) - call SetUnitY(s__AHSS___PlayerSelection_selectionBox[this], y) - set s__AHSS___PlayerSelection_row[this]=0 - set s__AHSS___PlayerSelection_column[this]=0 - return this - endfunction - function s__AHSS___PlayerSelection_setRow takes integer this,integer whichRow returns nothing - set s__AHSS___PlayerSelection_row[this]=whichRow + function s__AHSS__PlayerSelection_create takes integer whichPlayer,integer unitid,real x,real y,real red,real green,real blue returns integer + local integer this= s__AHSS__PlayerSelection__allocate() + set s__AHSS__PlayerSelection_whichPlayer[this]=whichPlayer + set s__AHSS__PlayerSelection_selectionBox[this]=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE), unitid, x, y, 270) + call h__SetUnitVertexColorBJ(s__AHSS__PlayerSelection_selectionBox[this], R2I(red * 100), R2I(green * 100), R2I(blue * 100), 0) + call UnitAddAbility(s__AHSS__PlayerSelection_selectionBox[this], 'Arav') + call UnitRemoveAbility(s__AHSS__PlayerSelection_selectionBox[this], 'Arav') + call SetUnitFlyHeight(s__AHSS__PlayerSelection_selectionBox[this], 500 + 12 - whichPlayer, 0) + call SetUnitX(s__AHSS__PlayerSelection_selectionBox[this], x) + call SetUnitY(s__AHSS__PlayerSelection_selectionBox[this], y) + set s__AHSS__PlayerSelection_row[this]=0 + set s__AHSS__PlayerSelection_column[this]=0 + return this + endfunction + function s__AHSS__PlayerSelection_setRow takes integer this,integer whichRow returns nothing + set s__AHSS__PlayerSelection_row[this]=whichRow endfunction - function s__AHSS___PlayerSelection_setColumn takes integer this,integer whichColumn returns nothing - set s__AHSS___PlayerSelection_column[this]=whichColumn + function s__AHSS__PlayerSelection_setColumn takes integer this,integer whichColumn returns nothing + set s__AHSS__PlayerSelection_column[this]=whichColumn endfunction - function s__AHSS___PlayerSelection_setPos takes integer this,real x,real y returns nothing - call SetUnitPosition(s__AHSS___PlayerSelection_selectionBox[this], x, y) + function s__AHSS__PlayerSelection_setPos takes integer this,real x,real y returns nothing + call SetUnitPosition(s__AHSS__PlayerSelection_selectionBox[this], x, y) endfunction - function s__AHSS___PlayerSelection_setX takes integer this,real x returns nothing - call SetUnitX(s__AHSS___PlayerSelection_selectionBox[this], x) + function s__AHSS__PlayerSelection_setX takes integer this,real x returns nothing + call SetUnitX(s__AHSS__PlayerSelection_selectionBox[this], x) endfunction - function s__AHSS___PlayerSelection_setY takes integer this,real y returns nothing - call SetUnitY(s__AHSS___PlayerSelection_selectionBox[this], y) + function s__AHSS__PlayerSelection_setY takes integer this,real y returns nothing + call SetUnitY(s__AHSS__PlayerSelection_selectionBox[this], y) endfunction - function s__AHSS___PlayerSelection_getRow takes integer this returns integer - return s__AHSS___PlayerSelection_row[this] + function s__AHSS__PlayerSelection_getRow takes integer this returns integer + return s__AHSS__PlayerSelection_row[this] endfunction - function s__AHSS___PlayerSelection_getColumn takes integer this returns integer - return s__AHSS___PlayerSelection_column[this] + function s__AHSS__PlayerSelection_getColumn takes integer this returns integer + return s__AHSS__PlayerSelection_column[this] endfunction - function s__AHSS___PlayerSelection_getUnit takes integer this returns unit - return s__AHSS___PlayerSelection_selectionBox[this] + function s__AHSS__PlayerSelection_getUnit takes integer this returns unit + return s__AHSS__PlayerSelection_selectionBox[this] endfunction - function s__AHSS___PlayerSelection_destroy takes integer this returns nothing - call RemoveUnit(s__AHSS___PlayerSelection_selectionBox[this]) - set s__AHSS___PlayerSelection_selectionBox[this]=null + function s__AHSS__PlayerSelection_destroy takes integer this returns nothing + call RemoveUnit(s__AHSS__PlayerSelection_selectionBox[this]) + set s__AHSS__PlayerSelection_selectionBox[this]=null endfunction //textmacro instance: CREATE_ATT_STAT("str") @@ -138071,8 +138071,8 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! set j=0 loop - exitwhen j > ( (s__AHSS___Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! - set id=(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! + exitwhen j > ( (s__AHSS__Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! + set id=(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! if GetPlayerSlotState(Player(id)) == PLAYER_SLOT_STATE_PLAYING and ( GetPlayerController(Player(id)) == MAP_CONTROL_USER or ( GetPlayerController(Player(id)) == MAP_CONTROL_COMPUTER and (s__AHSS_Options_bots[(s__AHSS_Graphics_options[this])]) ) ) then // INLINED!! if not s___AHSS_Graphics_selectionUsed[s__AHSS_Graphics_selectionUsed[this]+id] then call sc__AHSS_Graphics_selectHeroRandom(this , id) @@ -138099,10 +138099,10 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! set j=0 loop - exitwhen j > ( (s__AHSS___Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! - set id=(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! + exitwhen j > ( (s__AHSS__Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! + set id=(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! if GetPlayerSlotState(Player(id)) == PLAYER_SLOT_STATE_PLAYING and ( GetPlayerController(Player(id)) == MAP_CONTROL_USER or ( GetPlayerController(Player(id)) == MAP_CONTROL_COMPUTER and (s__AHSS_Options_bots[(s__AHSS_Graphics_options[this])]) ) ) then // INLINED!! - set index=(s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) // INLINED!! + set index=(s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) // INLINED!! set s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]=CreateDestructableZ((s__AHSS_Paths_emptyIcon[(s__AHSS_Graphics_paths[this])]), GetDestructableX(s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]), GetDestructableY(s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]), 500, 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! call RemoveDestructable(s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]) set s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]=null @@ -138127,9 +138127,9 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son set s__s__AHSS_Graphics_availableHeroesId[index]= 'N010' endif set bj_lastCreatedUnit=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE), s__s__AHSS_Graphics_availableHeroesId[index], GetRectCenterX(gg_rct_fonte), GetRectCenterY(gg_rct_fonte), 270) - call SetUnitPosition(bj_lastCreatedUnit, GetRectCenterX((s__AHSS___Team_spawningSpot[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))])), GetRectCenterY((s__AHSS___Team_spawningSpot[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]))) // INLINED!! + call SetUnitPosition(bj_lastCreatedUnit, GetRectCenterX((s__AHSS__Team_spawningSpot[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))])), GetRectCenterY((s__AHSS__Team_spawningSpot[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]))) // INLINED!! call ResetToGameCameraForPlayer(Player(id), 0) - call PanCameraToTimedForPlayer(Player(id), GetRectCenterX((s__AHSS___Team_spawningSpot[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))])), GetRectCenterY((s__AHSS___Team_spawningSpot[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))])), 0) // INLINED!! + call PanCameraToTimedForPlayer(Player(id), GetRectCenterX((s__AHSS__Team_spawningSpot[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))])), GetRectCenterY((s__AHSS__Team_spawningSpot[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))])), 0) // INLINED!! call SelectUnitForPlayerSingle(bj_lastCreatedUnit, Player(id)) call SetUnitOwner(bj_lastCreatedUnit, Player(id), true) call ForceAddPlayer(udg_forces01[1], Player(id)) @@ -138162,7 +138162,7 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son //------------------------------------------------------------------ function s__AHSS_Graphics_hideSelection takes integer this,integer playerid returns nothing local integer i= playerid - call SetUnitScale((s__AHSS___PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]), 0, 0, 0) // INLINED!! + call SetUnitScale((s__AHSS__PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]), 0, 0, 0) // INLINED!! set s___AHSS_Graphics_isHidden[s__AHSS_Graphics_isHidden[this]+playerid]=true //textmacro instance: DESTROY_MODELS() if s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+i] != null then @@ -138213,7 +138213,7 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son //end of: DESTROY_STAT("int", "Int") endfunction function s__AHSS_Graphics_showSelection takes integer this,integer playerid returns nothing - call SetUnitScale((s__AHSS___PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]), 0.66, 0.66, 0.66) // INLINED!! + call SetUnitScale((s__AHSS__PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]), 0.66, 0.66, 0.66) // INLINED!! set s___AHSS_Graphics_isHidden[s__AHSS_Graphics_isHidden[this]+playerid]=false endfunction function s__AHSS_Graphics_createTeamIcon takes integer this,integer playerid,integer index,boolean remove returns nothing @@ -138226,17 +138226,17 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! set j=0 loop - exitwhen j > ( (s__AHSS___Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! - if (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == playerid then // INLINED!! - set x=GetDestructableX(s___AHSS___TeamIcon_icons[s__AHSS___TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]) - set y=GetDestructableY(s___AHSS___TeamIcon_icons[s__AHSS___TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]) - call RemoveDestructable(s___AHSS___TeamIcon_icons[s__AHSS___TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]) + exitwhen j > ( (s__AHSS__Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! + if (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == playerid then // INLINED!! + set x=GetDestructableX(s___AHSS__TeamIcon_icons[s__AHSS__TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]) + set y=GetDestructableY(s___AHSS__TeamIcon_icons[s__AHSS__TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]) + call RemoveDestructable(s___AHSS__TeamIcon_icons[s__AHSS__TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]) if remove then - set s___AHSS___TeamIcon_icons[s__AHSS___TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]=CreateDestructable((s__AHSS___Hero_icon[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), x, y, 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! - set s___AHSS___TeamIcon_iconsId[s__AHSS___TeamIcon_iconsId[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]=(s__AHSS___Hero_icon[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) // INLINED!! + set s___AHSS__TeamIcon_icons[s__AHSS__TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]=CreateDestructable((s__AHSS__Hero_icon[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), x, y, 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! + set s___AHSS__TeamIcon_iconsId[s__AHSS__TeamIcon_iconsId[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]=(s__AHSS__Hero_icon[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) // INLINED!! else - set s___AHSS___TeamIcon_icons[s__AHSS___TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]=CreateDestructable((s__AHSS_Paths_emptyIcon[(s__AHSS_Graphics_paths[this])]), x, y, 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! - set s___AHSS___TeamIcon_iconsId[s__AHSS___TeamIcon_iconsId[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]=(s__AHSS_Paths_emptyIcon[(s__AHSS_Graphics_paths[this])]) // INLINED!! + set s___AHSS__TeamIcon_icons[s__AHSS__TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]=CreateDestructable((s__AHSS_Paths_emptyIcon[(s__AHSS_Graphics_paths[this])]), x, y, 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! + set s___AHSS__TeamIcon_iconsId[s__AHSS__TeamIcon_iconsId[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]=(s__AHSS_Paths_emptyIcon[(s__AHSS_Graphics_paths[this])]) // INLINED!! endif return endif @@ -138287,7 +138287,7 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son loop exitwhen i > 11 if s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+i] != 0 then - call s__AHSS___PlayerSelection_destroy(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+i]) + call s__AHSS__PlayerSelection_destroy(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+i]) endif if s___AHSS_Graphics_modifier[s__AHSS_Graphics_modifier[this]+i] != null then call FogModifierStop(s___AHSS_Graphics_modifier[s__AHSS_Graphics_modifier[this]+i]) @@ -138363,9 +138363,9 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son set x=GetUnitX(s__AHSS_Graphics_dummy[this]) - 100 set j=0 loop - exitwhen j > ( (s__AHSS___Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! - call RemoveDestructable(s___AHSS___TeamIcon_icons[s__AHSS___TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]) - set s___AHSS___TeamIcon_icons[s__AHSS___TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]=CreateDestructable(s___AHSS___TeamIcon_iconsId[s__AHSS___TeamIcon_iconsId[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j], x, y, 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]) * 2, 1) // INLINED!! + exitwhen j > ( (s__AHSS__Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! + call RemoveDestructable(s___AHSS__TeamIcon_icons[s__AHSS__TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]) + set s___AHSS__TeamIcon_icons[s__AHSS__TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]=CreateDestructable(s___AHSS__TeamIcon_iconsId[s__AHSS__TeamIcon_iconsId[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j], x, y, 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]) * 2, 1) // INLINED!! set x=x + iconSize * 2 set j=j + 1 endloop @@ -138417,8 +138417,8 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! set j=0 loop - exitwhen j > ( (s__AHSS___Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! - set id=(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! + exitwhen j > ( (s__AHSS__Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! + set id=(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! if GetPlayerSlotState(Player(id)) == PLAYER_SLOT_STATE_PLAYING and GetPlayerController(Player(id)) == MAP_CONTROL_USER then call s__AHSS_Graphics_showSelection(this , id) endif @@ -138459,9 +138459,9 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! set j=0 loop - exitwhen j > ( (s__AHSS___Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! - if GetPlayerController(Player((s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]))) == MAP_CONTROL_USER and GetPlayerSlotState(Player((s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]))) == PLAYER_SLOT_STATE_PLAYING then // INLINED!! - if not s___AHSS_Graphics_selectionUsed[s__AHSS_Graphics_selectionUsed[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])] then // INLINED!! + exitwhen j > ( (s__AHSS__Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! + if GetPlayerController(Player((s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]))) == MAP_CONTROL_USER and GetPlayerSlotState(Player((s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]))) == PLAYER_SLOT_STATE_PLAYING then // INLINED!! + if not s___AHSS_Graphics_selectionUsed[s__AHSS_Graphics_selectionUsed[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])] then // INLINED!! return false endif endif @@ -138479,9 +138479,9 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! set j=0 loop - exitwhen j > ( (s__AHSS___Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! - if GetPlayerController(Player((s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]))) == MAP_CONTROL_USER and GetPlayerSlotState(Player((s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]))) == PLAYER_SLOT_STATE_PLAYING then // INLINED!! - if not s___AHSS_Graphics_draftUsed[s__AHSS_Graphics_draftUsed[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])] then // INLINED!! + exitwhen j > ( (s__AHSS__Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! + if GetPlayerController(Player((s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]))) == MAP_CONTROL_USER and GetPlayerSlotState(Player((s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]))) == PLAYER_SLOT_STATE_PLAYING then // INLINED!! + if not s___AHSS_Graphics_draftUsed[s__AHSS_Graphics_draftUsed[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])] then // INLINED!! return false endif endif @@ -138528,12 +138528,12 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son exitwhen s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+random] != null and s__s__AHSS_Graphics_availableHeroesAttribute[random] == s__s__AHSS_Graphics_playersAttribute[id] endloop call sc__AHSS_Graphics_showHero(this , id , random) - set s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]=(random / (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])])) // INLINED!! + set s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]=(random / (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])])) // INLINED!! loop exitwhen random < (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) // INLINED!! set random=random - (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) // INLINED!! endloop - set s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]=(random) // INLINED!! + set s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]=(random) // INLINED!! call sc__AHSS_Graphics_updateCursor(this , id) call sc__AHSS_Graphics_pressEscActions(this , id) endif @@ -138542,12 +138542,12 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son local integer index if not s__AHSS_Graphics_gameStarted[this] then if s__AHSS_Graphics_dummy[this] != null and IsPlayerInForce(Player(id), s__AHSS_Graphics_cameraForce) then - if (s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) == - 1 then // INLINED!! + if (s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) == - 1 then // INLINED!! if s__AHSS_Graphics_allowPick[this] then call s__AHSS_Graphics_selectHeroRandom(this , id) endif else - set index=(s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) // INLINED!! + set index=(s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) // INLINED!! if s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index] == null then if GetLocalPlayer() == GetTriggerPlayer() then call PlaySoundBJ((s__AHSS_Options_error[(s__AHSS_Graphics_options[this])])) // INLINED!! @@ -138572,7 +138572,7 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son endif call s__AHSS_Graphics_showSelection(this , id) call s__AHSS_Graphics_createTeamIcon(this , id , index , false) - set s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]=CreateDestructableZ((s__AHSS___Hero_icon[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), GetDestructableX(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]), GetDestructableY(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]), 500, 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! + set s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]=CreateDestructableZ((s__AHSS__Hero_icon[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), GetDestructableX(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]), GetDestructableY(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]), 500, 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! call RemoveDestructable(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]) set s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]=null set s__s__AHSS_Graphics_availableHeroes[index]= true @@ -138586,7 +138586,7 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son endif set s___AHSS_Graphics_draftUsed[s__AHSS_Graphics_draftUsed[this]+id]=true - set s___AHSS_Graphics_bannedHeroIcons[s__AHSS_Graphics_bannedHeroIcons[this]+s__AHSS_Graphics_countBanned[this]]=CreateDestructable((s__AHSS___Hero_icon[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), GetDestructableX(s___AHSS_Graphics_bannedEmptyIcons[s__AHSS_Graphics_bannedEmptyIcons[this]+s__AHSS_Graphics_countBanned[this]]), GetDestructableY(s___AHSS_Graphics_bannedEmptyIcons[s__AHSS_Graphics_bannedEmptyIcons[this]+s__AHSS_Graphics_countBanned[this]]), 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! + set s___AHSS_Graphics_bannedHeroIcons[s__AHSS_Graphics_bannedHeroIcons[this]+s__AHSS_Graphics_countBanned[this]]=CreateDestructable((s__AHSS__Hero_icon[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), GetDestructableX(s___AHSS_Graphics_bannedEmptyIcons[s__AHSS_Graphics_bannedEmptyIcons[this]+s__AHSS_Graphics_countBanned[this]]), GetDestructableY(s___AHSS_Graphics_bannedEmptyIcons[s__AHSS_Graphics_bannedEmptyIcons[this]+s__AHSS_Graphics_countBanned[this]]), 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! call RemoveDestructable(s___AHSS_Graphics_bannedEmptyIcons[s__AHSS_Graphics_bannedEmptyIcons[this]+s__AHSS_Graphics_countBanned[this]]) set s___AHSS_Graphics_bannedEmptyIcons[s__AHSS_Graphics_bannedEmptyIcons[this]+s__AHSS_Graphics_countBanned[this]]=null set s__AHSS_Graphics_countBanned[this]=s__AHSS_Graphics_countBanned[this] + 1 @@ -138621,83 +138621,83 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son local integer index if s__AHSS_Graphics_dummy[this] != null and s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid] != 0 and IsPlayerInForce(Player(playerid), s__AHSS_Graphics_cameraForce) and (s__ArrowKey_eventKeyPressed) and not s___AHSS_Graphics_selectionUsed[s__AHSS_Graphics_selectionUsed[this]+playerid] then // INLINED!! call sc__AHSS_Graphics_moveCursor(this , playerid) - set index=(s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) // INLINED!! + set index=(s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) // INLINED!! call sc__AHSS_Graphics_showHero(this , playerid , index) endif endfunction function s__AHSS_Graphics_moveLeft takes integer this,integer playerid,integer index returns nothing local integer i - if (s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) == 0 then // INLINED!! + if (s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) == 0 then // INLINED!! set i=0 loop exitwhen i >= ( (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) - 1 ) or ( s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index + i] == null and s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index + i] == null ) // INLINED!! set i=i + 1 endloop - set s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(i) // INLINED!! + set s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(i) // INLINED!! else - set s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=((s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) - 1) // INLINED!! + set s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=((s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) - 1) // INLINED!! endif endfunction function s__AHSS_Graphics_moveRight takes integer this,integer playerid,integer index returns nothing local integer i - if (s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) >= ( (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) - 1 ) or ( s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index + 1] == null and s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index + 1] == null ) then // INLINED!! - set s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(0) // INLINED!! + if (s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) >= ( (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) - 1 ) or ( s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index + 1] == null and s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index + 1] == null ) then // INLINED!! + set s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(0) // INLINED!! else - set s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=((s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) + 1) // INLINED!! + set s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=((s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) + 1) // INLINED!! endif endfunction function s__AHSS_Graphics_moveDown takes integer this,integer playerid,integer index returns nothing local integer i - if (s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) == - 1 then // INLINED!! - set s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(0) // INLINED!! + if (s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) == - 1 then // INLINED!! + set s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(0) // INLINED!! set i=0 loop exitwhen i >= (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) or ( s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+i] == null and s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+i] == null ) // INLINED!! set i=i + 1 endloop - set s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(( i - 1 ) / 2) // INLINED!! + set s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(( i - 1 ) / 2) // INLINED!! elseif s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index + (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])])] == null and s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index + (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])])] == null then // INLINED!! - set s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(- 1) // INLINED!! + set s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(- 1) // INLINED!! else - set s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=((s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) + 1) // INLINED!! + set s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=((s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) + 1) // INLINED!! endif endfunction function s__AHSS_Graphics_moveUp takes integer this,integer playerid,integer index returns nothing local integer i - if (s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) == 0 then // INLINED!! - set s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(- 1) // INLINED!! - elseif (s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) == - 1 then // INLINED!! + if (s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) == 0 then // INLINED!! + set s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(- 1) // INLINED!! + elseif (s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) == - 1 then // INLINED!! set i=0 loop exitwhen s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+i * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])])] == null and s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+i * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])])] == null // INLINED!! set i=i + 1 endloop - set s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(i - 1) // INLINED!! + set s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(i - 1) // INLINED!! set i=0 loop - exitwhen s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+(s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + i] == null and s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+(s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + i] == null // INLINED!! + exitwhen s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+(s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + i] == null and s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+(s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + i] == null // INLINED!! set i=i + 1 endloop - set s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(( i - 1 ) / 2) // INLINED!! + set s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=(( i - 1 ) / 2) // INLINED!! else - set s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=((s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) - 1) // INLINED!! + set s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]=((s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) - 1) // INLINED!! endif endfunction function s__AHSS_Graphics_updateCursor takes integer this,integer playerid returns nothing - local integer index= (s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) // INLINED!! + local integer index= (s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) // INLINED!! local integer i - if (s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) == - 1 then // INLINED!! - call SetUnitPosition(s__AHSS___PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])], ((GetDestructableX(s__AHSS_Graphics_randomIcon[this]) )*1.0), (( GetDestructableY(s__AHSS_Graphics_randomIcon[this]))*1.0)) // INLINED!! + if (s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) == - 1 then // INLINED!! + call SetUnitPosition(s__AHSS__PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])], ((GetDestructableX(s__AHSS_Graphics_randomIcon[this]) )*1.0), (( GetDestructableY(s__AHSS_Graphics_randomIcon[this]))*1.0)) // INLINED!! else if s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index] != null then - call SetUnitPosition(s__AHSS___PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])], ((GetDestructableX(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]) )*1.0), (( GetDestructableY(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]))*1.0)) // INLINED!! + call SetUnitPosition(s__AHSS__PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])], ((GetDestructableX(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]) )*1.0), (( GetDestructableY(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]))*1.0)) // INLINED!! else - call SetUnitPosition(s__AHSS___PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])], ((GetDestructableX(s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]) )*1.0), (( GetDestructableY(s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]))*1.0)) // INLINED!! + call SetUnitPosition(s__AHSS__PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])], ((GetDestructableX(s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]) )*1.0), (( GetDestructableY(s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]))*1.0)) // INLINED!! endif endif if GetLocalPlayer() == Player(playerid) then @@ -138711,7 +138711,7 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son if s___AHSS_Graphics_isHidden[s__AHSS_Graphics_isHidden[this]+playerid] or ( not s__AHSS_Graphics_allowPick[this] and not s__AHSS_Graphics_draftPick[this] ) then return endif - set index=(s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) // INLINED!! + set index=(s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) // INLINED!! if (s__ArrowKey_eventKey) == 0 then // INLINED!! call s__AHSS_Graphics_moveLeft(this , playerid , index) elseif (s__ArrowKey_eventKey) == 1 then // INLINED!! @@ -138797,15 +138797,15 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son if GetLocalPlayer() != Player(playerid) then set s="" else - set s=(s__AHSS___Hero_modelPath[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) // INLINED!! + set s=(s__AHSS__Hero_modelPath[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) // INLINED!! endif set s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid]=AddSpecialEffect(s, x - 100, y) call BlzSetSpecialEffectHeight(s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid], 100) call BlzSetSpecialEffectPitch(s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid], Deg2Rad(- 90)) call BlzSetSpecialEffectYaw(s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid], Deg2Rad(270)) - call BlzSetSpecialEffectScale(s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid], 2.0 + (s__AHSS___Hero_modelScale[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])) // INLINED!! + call BlzSetSpecialEffectScale(s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid], 2.0 + (s__AHSS__Hero_modelScale[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])) // INLINED!! //call BlzPlaySpecialEffect(this.heroesModels[playerid], ANIM_TYPE_SPELL) - if (s__AHSS___Hero_modelAlternate[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! + if (s__AHSS__Hero_modelAlternate[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! call BlzSpecialEffectAddSubAnimation(s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid], SUBANIM_TYPE_ALTERNATE_EX) call BlzPlaySpecialEffect(s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid], ANIM_TYPE_STAND) endif @@ -138813,7 +138813,7 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son set x=x + 600 set y=y + 500 set s___AHSS_Graphics_heroesName[s__AHSS_Graphics_heroesName[this]+playerid]=CreateTextTag() - call SetTextTagText(s___AHSS_Graphics_heroesName[s__AHSS_Graphics_heroesName[this]+playerid], (s__AHSS___Hero_name[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), TextTagSize2Height(16)) // INLINED!! + call SetTextTagText(s___AHSS_Graphics_heroesName[s__AHSS_Graphics_heroesName[this]+playerid], (s__AHSS__Hero_name[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), TextTagSize2Height(16)) // INLINED!! call SetTextTagPos(s___AHSS_Graphics_heroesName[s__AHSS_Graphics_heroesName[this]+playerid], x, y, 0) call SetTextTagColor(s___AHSS_Graphics_heroesName[s__AHSS_Graphics_heroesName[this]+playerid], 255, 255, 255, 255) //CREATE STATS INFO @@ -138827,9 +138827,9 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son set x=GetDestructableX(s___AHSS_Graphics_strIcon[s__AHSS_Graphics_strIcon[this]+playerid]) + 50 set y=GetDestructableY(s___AHSS_Graphics_strIcon[s__AHSS_Graphics_strIcon[this]+playerid]) - 15 set s___AHSS_Graphics_strText[s__AHSS_Graphics_strText[this]+playerid]=CreateTextTag() - call SetTextTagText(s___AHSS_Graphics_strText[s__AHSS_Graphics_strText[this]+playerid], I2S(R2I((s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]))) + " + " + SubString(R2S((s__AHSS___Hero_strengthLvl[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])), 0, 3) + " x lvl", TextTagSize2Height(13)) // INLINED!! + call SetTextTagText(s___AHSS_Graphics_strText[s__AHSS_Graphics_strText[this]+playerid], I2S(R2I((s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]))) + " + " + SubString(R2S((s__AHSS__Hero_strengthLvl[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])), 0, 3) + " x lvl", TextTagSize2Height(13)) // INLINED!! call SetTextTagPos(s___AHSS_Graphics_strText[s__AHSS_Graphics_strText[this]+playerid], x, y, 0) - if (s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! + if (s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! call SetTextTagColor(s___AHSS_Graphics_strText[s__AHSS_Graphics_strText[this]+playerid], 255, 0, 0, 255) else call SetTextTagColor(s___AHSS_Graphics_strText[s__AHSS_Graphics_strText[this]+playerid], 255, 255, 255, 255) @@ -138847,9 +138847,9 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son set x=GetDestructableX(s___AHSS_Graphics_agiIcon[s__AHSS_Graphics_agiIcon[this]+playerid]) + 50 set y=GetDestructableY(s___AHSS_Graphics_agiIcon[s__AHSS_Graphics_agiIcon[this]+playerid]) - 15 set s___AHSS_Graphics_agiText[s__AHSS_Graphics_agiText[this]+playerid]=CreateTextTag() - call SetTextTagText(s___AHSS_Graphics_agiText[s__AHSS_Graphics_agiText[this]+playerid], I2S(R2I((s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]))) + " + " + SubString(R2S((s__AHSS___Hero_agilityLvl[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])), 0, 3) + " x lvl", TextTagSize2Height(13)) // INLINED!! + call SetTextTagText(s___AHSS_Graphics_agiText[s__AHSS_Graphics_agiText[this]+playerid], I2S(R2I((s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]))) + " + " + SubString(R2S((s__AHSS__Hero_agilityLvl[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])), 0, 3) + " x lvl", TextTagSize2Height(13)) // INLINED!! call SetTextTagPos(s___AHSS_Graphics_agiText[s__AHSS_Graphics_agiText[this]+playerid], x, y, 0) - if (s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! + if (s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! call SetTextTagColor(s___AHSS_Graphics_agiText[s__AHSS_Graphics_agiText[this]+playerid], 255, 0, 0, 255) else call SetTextTagColor(s___AHSS_Graphics_agiText[s__AHSS_Graphics_agiText[this]+playerid], 255, 255, 255, 255) @@ -138867,9 +138867,9 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son set x=GetDestructableX(s___AHSS_Graphics_intIcon[s__AHSS_Graphics_intIcon[this]+playerid]) + 50 set y=GetDestructableY(s___AHSS_Graphics_intIcon[s__AHSS_Graphics_intIcon[this]+playerid]) - 15 set s___AHSS_Graphics_intText[s__AHSS_Graphics_intText[this]+playerid]=CreateTextTag() - call SetTextTagText(s___AHSS_Graphics_intText[s__AHSS_Graphics_intText[this]+playerid], I2S(R2I((s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]))) + " + " + SubString(R2S((s__AHSS___Hero_intelligenceLvl[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])), 0, 3) + " x lvl", TextTagSize2Height(13)) // INLINED!! + call SetTextTagText(s___AHSS_Graphics_intText[s__AHSS_Graphics_intText[this]+playerid], I2S(R2I((s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]))) + " + " + SubString(R2S((s__AHSS__Hero_intelligenceLvl[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])), 0, 3) + " x lvl", TextTagSize2Height(13)) // INLINED!! call SetTextTagPos(s___AHSS_Graphics_intText[s__AHSS_Graphics_intText[this]+playerid], x, y, 0) - if (s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! + if (s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! call SetTextTagColor(s___AHSS_Graphics_intText[s__AHSS_Graphics_intText[this]+playerid], 255, 0, 0, 255) else call SetTextTagColor(s___AHSS_Graphics_intText[s__AHSS_Graphics_intText[this]+playerid], 255, 255, 255, 255) @@ -138885,9 +138885,9 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son //end of: STAT_TEXT("int", "Int") //CREATE HERO INFO set x=x - 100 - set y=y - 200 - ( 20 * s__AHSS_Graphics_countLines((s__AHSS___Hero_description[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])) ) // INLINED!! + set y=y - 200 - ( 20 * s__AHSS_Graphics_countLines((s__AHSS__Hero_description[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])) ) // INLINED!! set s___AHSS_Graphics_descriptionText[s__AHSS_Graphics_descriptionText[this]+playerid]=CreateTextTag() - call SetTextTagText(s___AHSS_Graphics_descriptionText[s__AHSS_Graphics_descriptionText[this]+playerid], (s__AHSS___Hero_description[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), TextTagSize2Height(9)) // INLINED!! + call SetTextTagText(s___AHSS_Graphics_descriptionText[s__AHSS_Graphics_descriptionText[this]+playerid], (s__AHSS__Hero_description[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), TextTagSize2Height(9)) // INLINED!! call SetTextTagPos(s___AHSS_Graphics_descriptionText[s__AHSS_Graphics_descriptionText[this]+playerid], x, y, 0) call SetTextTagColor(s___AHSS_Graphics_descriptionText[s__AHSS_Graphics_descriptionText[this]+playerid], 255, 255, 255, 255) //HIDE INFO FROM OTHER PLAYERS @@ -138940,14 +138940,14 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son set i=0 loop exitwhen i > ( (s__AHSS_Heroes_count[(s__AHSS_Graphics_heroes[this])]) - 1 ) // INLINED!! - set s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+i]=CreateDestructableZ((s__AHSS___Hero_icon[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]), GetDestructableX(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+i]), GetDestructableY(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+i]), 500, 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! + set s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+i]=CreateDestructableZ((s__AHSS__Hero_icon[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]), GetDestructableX(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+i]), GetDestructableY(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+i]), 500, 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! call RemoveDestructable(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+i]) set s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+i]=null set s__s__AHSS_Graphics_availableHeroes[i]= true - set s__s__AHSS_Graphics_availableHeroesId[i]= (s__AHSS___Hero_heroid[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) // INLINED!! - if (s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) >= (s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) and (s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) >= (s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) then // INLINED!! + set s__s__AHSS_Graphics_availableHeroesId[i]= (s__AHSS__Hero_heroid[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) // INLINED!! + if (s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) >= (s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) and (s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) >= (s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) then // INLINED!! set s__s__AHSS_Graphics_availableHeroesAttribute[i]= 0 - elseif (s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) >= (s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) and (s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) >= (s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) then // INLINED!! + elseif (s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) >= (s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) and (s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) >= (s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(i)]))]) then // INLINED!! set s__s__AHSS_Graphics_availableHeroesAttribute[i]= 1 else set s__s__AHSS_Graphics_availableHeroesAttribute[i]= 2 @@ -138968,14 +138968,14 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son set i=0 loop exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! - set s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]=s__AHSS___TeamIcon__allocate() + set s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]=s__AHSS__TeamIcon__allocate() set y=y - ( s__AHSS_Graphics_ICON_SIZE * (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]) ) - iconSize // INLINED!! set x=GetUnitX(s__AHSS_Graphics_dummy[this]) - 950 set j=0 loop - exitwhen j > ( (s__AHSS___Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! - set s___AHSS___TeamIcon_icons[s__AHSS___TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]=CreateDestructable((s__AHSS_Paths_emptyIcon[(s__AHSS_Graphics_paths[this])]), x, y, 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! - set s___AHSS___TeamIcon_iconsId[s__AHSS___TeamIcon_iconsId[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]=(s__AHSS_Paths_emptyIcon[(s__AHSS_Graphics_paths[this])]) // INLINED!! + exitwhen j > ( (s__AHSS__Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! + set s___AHSS__TeamIcon_icons[s__AHSS__TeamIcon_icons[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]=CreateDestructable((s__AHSS_Paths_emptyIcon[(s__AHSS_Graphics_paths[this])]), x, y, 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! + set s___AHSS__TeamIcon_iconsId[s__AHSS__TeamIcon_iconsId[s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]]+j]=(s__AHSS_Paths_emptyIcon[(s__AHSS_Graphics_paths[this])]) // INLINED!! set x=x + iconSize set j=j + 1 endloop @@ -139066,8 +139066,8 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! set j=0 loop - exitwhen j > ( (s__AHSS___Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! - set id=(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! + exitwhen j > ( (s__AHSS__Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! + set id=(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! if GetPlayerSlotState(Player(id)) == PLAYER_SLOT_STATE_PLAYING and GetPlayerController(Player(id)) == MAP_CONTROL_USER then call s__AHSS_Graphics_showHero(this , i , 0) endif @@ -139085,7 +139085,7 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! set y=y - ( 128 * (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]) ) - 10 // INLINED!! set s___AHSS_Graphics_teamsText[s__AHSS_Graphics_teamsText[this]+i]=CreateTextTag() - call SetTextTagText(s___AHSS_Graphics_teamsText[s__AHSS_Graphics_teamsText[this]+i], (s__AHSS___Team_name[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]), TextTagSize2Height(12)) // INLINED!! + call SetTextTagText(s___AHSS_Graphics_teamsText[s__AHSS_Graphics_teamsText[this]+i], (s__AHSS__Team_name[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]), TextTagSize2Height(12)) // INLINED!! call SetTextTagPos(s___AHSS_Graphics_teamsText[s__AHSS_Graphics_teamsText[this]+i], x, y, 0) call SetTextTagColor(s___AHSS_Graphics_teamsText[s__AHSS_Graphics_teamsText[this]+i], 255, 255, 255, 255) set i=i + 1 @@ -139114,55 +139114,55 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! set j=0 loop - exitwhen j > ( (s__AHSS___Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! - set id=(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! + exitwhen j > ( (s__AHSS__Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! + set id=(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! if GetPlayerSlotState(Player(id)) == PLAYER_SLOT_STATE_PLAYING then if GetPlayerController(Player(id)) == MAP_CONTROL_USER or ( GetPlayerController(Player(id)) == MAP_CONTROL_COMPUTER and (s__AHSS_Options_bots[(s__AHSS_Graphics_options[this])]) ) then // INLINED!! - if (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 0 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(0 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 1.00 , 0.01 , 0.01) // INLINED!! + if (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 0 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(0 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 1.00 , 0.01 , 0.01) // INLINED!! //textmacro instance: COND("1", "0.00","0.25","1.00") - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 1 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(1 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.00 , 0.25 , 1.00) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 1 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(1 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.00 , 0.25 , 1.00) // INLINED!! //end of: COND("1", "0.00","0.25","1.00") //textmacro instance: COND("2", "0.09","0.90","0.70") - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 2 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(2 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.09 , 0.90 , 0.70) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 2 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(2 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.09 , 0.90 , 0.70) // INLINED!! //end of: COND("2", "0.09","0.90","0.70") //textmacro instance: COND("3", "0.32","0.00","0.50") - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 3 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(3 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.32 , 0.00 , 0.50) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 3 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(3 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.32 , 0.00 , 0.50) // INLINED!! //end of: COND("3", "0.32","0.00","0.50") //textmacro instance: COND("4", "1.00","0.98","0.40") - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 4 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(4 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 1.00 , 0.98 , 0.40) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 4 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(4 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 1.00 , 0.98 , 0.40) // INLINED!! //end of: COND("4", "1.00","0.98","0.40") //textmacro instance: COND("5", "0.99","0.72","0.05") - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 5 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(5 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.99 , 0.72 , 0.05) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 5 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(5 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.99 , 0.72 , 0.05) // INLINED!! //end of: COND("5", "0.99","0.72","0.05") //textmacro instance: COND("6", "0.12","0.75","0.00") - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 6 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(6 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.12 , 0.75 , 0.00) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 6 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(6 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.12 , 0.75 , 0.00) // INLINED!! //end of: COND("6", "0.12","0.75","0.00") //textmacro instance: COND("7", "0.89","0.35","0.69") - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 7 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(7 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.89 , 0.35 , 0.69) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 7 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(7 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.89 , 0.35 , 0.69) // INLINED!! //end of: COND("7", "0.89","0.35","0.69") //textmacro instance: COND("8", "0.58","0.58","0.58") - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 8 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(8 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.58 , 0.58 , 0.58) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 8 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(8 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.58 , 0.58 , 0.58) // INLINED!! //end of: COND("8", "0.58","0.58","0.58") //textmacro instance: COND("9", "0.49","0.74","0.94") - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 9 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(9 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.49 , 0.74 , 0.94) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 9 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(9 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.49 , 0.74 , 0.94) // INLINED!! //end of: COND("9", "0.49","0.74","0.94") //textmacro instance: COND("10","0.06","0.38","0.27") - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 10 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(10 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.06 , 0.38 , 0.27) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 10 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(10 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.06 , 0.38 , 0.27) // INLINED!! //end of: COND("10","0.06","0.38","0.27") //textmacro instance: COND("11","0.30","0.16","0.01") - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 11 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(11 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.30 , 0.16 , 0.01) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 11 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(11 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.30 , 0.16 , 0.01) // INLINED!! //end of: COND("11","0.30","0.16","0.01") endif endif @@ -139184,8 +139184,8 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! set j=0 loop - exitwhen j > ( (s__AHSS___Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! - set id=(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! + exitwhen j > ( (s__AHSS__Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! + set id=(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! if GetPlayerSlotState(Player(id)) == PLAYER_SLOT_STATE_PLAYING then if GetPlayerController(Player(id)) == MAP_CONTROL_USER then if allRandom then @@ -139232,7 +139232,7 @@ call sc__AHSS_Heroes_addHero(s__AHSS_Configurations_heroes,"Uzumaki Boruto, Son set i=0 loop exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! - call s__AHSS___TeamIcon_destroy(s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]) + call s__AHSS__TeamIcon_destroy(s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]) call DestroyTextTag(s___AHSS_Graphics_teamsText[s__AHSS_Graphics_teamsText[this]+i]) set s___AHSS_Graphics_teamsText[s__AHSS_Graphics_teamsText[this]+i]=null set i=i + 1 @@ -139878,7 +139878,7 @@ function Trig_HeroDeath_FinishTeamDuel takes nothing returns nothing if IsPlayerInForce(Player(i), udg_TeamDuelPlayers) then call SetUnitPosition(udg_units33[i + 1], x, y) endif - call s__PauseUnitEx__Pause_setPauseCounter((udg_units33[i + 1] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units33[i + 1] ) , ( 0)) // INLINED!! call SetUnitInvulnerable(udg_units33[i + 1], false) call SetPlayerAbilityAvailableBJ(true, 'ANcl', Player(i)) call UnitResetCooldown(udg_units33[i + 1]) @@ -139923,7 +139923,7 @@ function Trig_HeroDeath_CheckIfTeamDuelIsOver takes nothing returns nothing set i=0 loop if IsPlayerInForce(Player(i), udg_TeamDuelPlayers) then - call s__PauseUnitEx__Pause_setPauseCounter((udg_units33[i + 1] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units33[i + 1] ) , ( 1)) // INLINED!! call SetUnitInvulnerable(udg_units33[i + 1], true) endif set i=i + 1 @@ -140826,7 +140826,7 @@ elseif ( GetUnitTypeId(udg_units33[GetPlayerId(pk) + 1]) == 'H035' or GetUnitTyp endif set udg_units33[GetPlayerId(GetOwningPlayer(GetTriggerUnit())) + 1]=GetTriggerUnit() call ShowUnit(GetTriggerUnit(), true) - call s__PauseUnitEx__Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((GetTriggerUnit() ) , ( 0)) // INLINED!! call SetUnitVertexColor((GetTriggerUnit() ), ( 255 ), ( 255 ), ( 255 ), ( 255)) // INLINED!! call SetUnitInvulnerable(GetTriggerUnit(), false) call UnitRemoveAbility(GetTriggerUnit(), 'Avul') @@ -140838,7 +140838,7 @@ elseif ( GetUnitTypeId(udg_units33[GetPlayerId(pk) + 1]) == 'H035' or GetUnitTyp call SetUnitPropWindow(GetTriggerUnit(), udg_HeroWindow[GetUnitPointValue(GetTriggerUnit())]) endif if udg_TeamDuelOn and not IsPlayerInForce(GetTriggerPlayer(), udg_TeamDuelPlayers) then - call s__PauseUnitEx__Pause_setPauseCounter((udg_units33[GetPlayerId(GetOwningPlayer(GetTriggerUnit())) + 1] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((udg_units33[GetPlayerId(GetOwningPlayer(GetTriggerUnit())) + 1] ) , ( 1)) // INLINED!! call SetUnitInvulnerable(udg_units33[GetPlayerId(GetOwningPlayer(GetTriggerUnit())) + 1], true) endif endif @@ -141083,7 +141083,7 @@ endfunction local real dur - call s__PauseUnitEx__Pause_setPauseCounter((s__FixTransformations_caster[this] ) , ( 0)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__FixTransformations_caster[this] ) , ( 0)) // INLINED!! call ReleaseTimer(GetExpiredTimer()) if s__Movespeed__get_duration(ms) > 0 then @@ -141120,7 +141120,7 @@ endfunction call UnitRemoveBuffs(GetTriggerUnit(), false, true) call UnitAddAbility(GetTriggerUnit(), 'Avul') call UnitMakeAbilityPermanent(GetTriggerUnit(), true, 'Avul') - call s__PauseUnitEx__Pause_setPauseCounter((s__FixTransformations_caster[this] ) , ( 1)) // INLINED!! + call s__PauseUnitEx___Pause_setPauseCounter((s__FixTransformations_caster[this] ) , ( 1)) // INLINED!! if GetSpellAbilityId() == 'A0O5' or GetSpellAbilityId() == 'ANg2' then call TimerStartEx(NewTimerEx(this) , 0.01 , false , function s__FixTransformations_removeInvul , "FixTransformations.removeInvul") else @@ -148555,22 +148555,22 @@ function main takes nothing returns nothing call CreateAllUnits() call InitBlizzard() -call ExecuteFunc("jasshelper__initstructs1082628265") +call ExecuteFunc("jasshelper__initstructs209889468") call ExecuteFunc("BoundSentinel__init") call ExecuteFunc("ItemTable__init") call ExecuteFunc("PowerupSentinel__onInit") call ExecuteFunc("PreventSave__onInit") call ExecuteFunc("TimerUtils__init") call ExecuteFunc("UIMath__Init") -call ExecuteFunc("AutoBuyS___init") +call ExecuteFunc("AutoBuyS__init") call ExecuteFunc("RegisterPlayerUnitEvent_init") call ExecuteFunc("UnitUtils__init") -call GaiYagai__init() -call MinatoRasengan___init() -call MinatoInstantLight___init() -call MinatoMarkedKunai___init() -call Mu___init() -call SasukeDragonFlame__init() +call GaiYagai___init() +call MinatoRasengan__init() +call MinatoInstantLight__init() +call MinatoMarkedKunai__init() +call Mu__init() +call SasukeDragonFlame___init() call InitGlobals() call InitCustomTriggers() @@ -148667,12 +148667,12 @@ local integer id=f__arg_integer2 exitwhen s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+random] != null and s__s__AHSS_Graphics_availableHeroesAttribute[random] == s__s__AHSS_Graphics_playersAttribute[id] endloop call sc__AHSS_Graphics_showHero(this , id , random) - set s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]=(random / (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])])) // INLINED!! + set s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]=(random / (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])])) // INLINED!! loop exitwhen random < (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) // INLINED!! set random=random - (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) // INLINED!! endloop - set s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]=(random) // INLINED!! + set s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]=(random) // INLINED!! call sc__AHSS_Graphics_updateCursor(this , id) call sc__AHSS_Graphics_pressEscActions(this , id) endif @@ -148684,12 +148684,12 @@ local integer id=f__arg_integer2 local integer index if not s__AHSS_Graphics_gameStarted[this] then if s__AHSS_Graphics_dummy[this] != null and IsPlayerInForce(Player(id), s__AHSS_Graphics_cameraForce) then - if (s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) == - 1 then // INLINED!! + if (s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) == - 1 then // INLINED!! if s__AHSS_Graphics_allowPick[this] then call s__AHSS_Graphics_selectHeroRandom(this , id) endif else - set index=(s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) // INLINED!! + set index=(s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+id])]) // INLINED!! if s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index] == null then if GetLocalPlayer() == GetTriggerPlayer() then call PlaySoundBJ((s__AHSS_Options_error[(s__AHSS_Graphics_options[this])])) // INLINED!! @@ -148715,7 +148715,7 @@ return true endif call s__AHSS_Graphics_showSelection(this , id) call s__AHSS_Graphics_createTeamIcon(this , id , index , false) - set s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]=CreateDestructableZ((s__AHSS___Hero_icon[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), GetDestructableX(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]), GetDestructableY(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]), 500, 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! + set s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]=CreateDestructableZ((s__AHSS__Hero_icon[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), GetDestructableX(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]), GetDestructableY(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]), 500, 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! call RemoveDestructable(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]) set s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]=null set s__s__AHSS_Graphics_availableHeroes[index]= true @@ -148728,7 +148728,7 @@ return true call PlaySoundBJ((s__AHSS_Options_ok[(s__AHSS_Graphics_options[this])])) // INLINED!! endif set s___AHSS_Graphics_draftUsed[s__AHSS_Graphics_draftUsed[this]+id]=true - set s___AHSS_Graphics_bannedHeroIcons[s__AHSS_Graphics_bannedHeroIcons[this]+s__AHSS_Graphics_countBanned[this]]=CreateDestructable((s__AHSS___Hero_icon[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), GetDestructableX(s___AHSS_Graphics_bannedEmptyIcons[s__AHSS_Graphics_bannedEmptyIcons[this]+s__AHSS_Graphics_countBanned[this]]), GetDestructableY(s___AHSS_Graphics_bannedEmptyIcons[s__AHSS_Graphics_bannedEmptyIcons[this]+s__AHSS_Graphics_countBanned[this]]), 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! + set s___AHSS_Graphics_bannedHeroIcons[s__AHSS_Graphics_bannedHeroIcons[this]+s__AHSS_Graphics_countBanned[this]]=CreateDestructable((s__AHSS__Hero_icon[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), GetDestructableX(s___AHSS_Graphics_bannedEmptyIcons[s__AHSS_Graphics_bannedEmptyIcons[this]+s__AHSS_Graphics_countBanned[this]]), GetDestructableY(s___AHSS_Graphics_bannedEmptyIcons[s__AHSS_Graphics_bannedEmptyIcons[this]+s__AHSS_Graphics_countBanned[this]]), 270, (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]), 1) // INLINED!! call RemoveDestructable(s___AHSS_Graphics_bannedEmptyIcons[s__AHSS_Graphics_bannedEmptyIcons[this]+s__AHSS_Graphics_countBanned[this]]) set s___AHSS_Graphics_bannedEmptyIcons[s__AHSS_Graphics_bannedEmptyIcons[this]+s__AHSS_Graphics_countBanned[this]]=null set s__AHSS_Graphics_countBanned[this]=s__AHSS_Graphics_countBanned[this] + 1 @@ -148766,7 +148766,7 @@ function sa__AHSS_Graphics_pressKey takes nothing returns boolean local integer index if s__AHSS_Graphics_dummy[this] != null and s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid] != 0 and IsPlayerInForce(Player(playerid), s__AHSS_Graphics_cameraForce) and (s__ArrowKey_eventKeyPressed) and not s___AHSS_Graphics_selectionUsed[s__AHSS_Graphics_selectionUsed[this]+playerid] then // INLINED!! call sc__AHSS_Graphics_moveCursor(this , playerid) - set index=(s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) // INLINED!! + set index=(s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) // INLINED!! call sc__AHSS_Graphics_showHero(this , playerid , index) endif return true @@ -148774,15 +148774,15 @@ endfunction function sa__AHSS_Graphics_updateCursor takes nothing returns boolean local integer this=f__arg_integer1 local integer playerid=f__arg_integer2 - local integer index= (s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) // INLINED!! + local integer index= (s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) // INLINED!! local integer i - if (s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) == - 1 then // INLINED!! - call SetUnitPosition(s__AHSS___PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])], ((GetDestructableX(s__AHSS_Graphics_randomIcon[this]) )*1.0), (( GetDestructableY(s__AHSS_Graphics_randomIcon[this]))*1.0)) // INLINED!! + if (s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) == - 1 then // INLINED!! + call SetUnitPosition(s__AHSS__PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])], ((GetDestructableX(s__AHSS_Graphics_randomIcon[this]) )*1.0), (( GetDestructableY(s__AHSS_Graphics_randomIcon[this]))*1.0)) // INLINED!! else if s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index] != null then - call SetUnitPosition(s__AHSS___PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])], ((GetDestructableX(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]) )*1.0), (( GetDestructableY(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]))*1.0)) // INLINED!! + call SetUnitPosition(s__AHSS__PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])], ((GetDestructableX(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]) )*1.0), (( GetDestructableY(s___AHSS_Graphics_emptyIcon[s__AHSS_Graphics_emptyIcon[this]+index]))*1.0)) // INLINED!! else - call SetUnitPosition(s__AHSS___PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])], ((GetDestructableX(s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]) )*1.0), (( GetDestructableY(s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]))*1.0)) // INLINED!! + call SetUnitPosition(s__AHSS__PlayerSelection_selectionBox[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])], ((GetDestructableX(s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]) )*1.0), (( GetDestructableY(s___AHSS_Graphics_heroesIcon[s__AHSS_Graphics_heroesIcon[this]+index]))*1.0)) // INLINED!! endif endif if GetLocalPlayer() == Player(playerid) then @@ -148798,7 +148798,7 @@ local integer playerid=f__arg_integer2 if s___AHSS_Graphics_isHidden[s__AHSS_Graphics_isHidden[this]+playerid] or ( not s__AHSS_Graphics_allowPick[this] and not s__AHSS_Graphics_draftPick[this] ) then return true endif - set index=(s__AHSS___PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS___PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) // INLINED!! + set index=(s__AHSS__PlayerSelection_column[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) * (s__AHSS_Options_iconsByLine[(s__AHSS_Graphics_options[this])]) + (s__AHSS__PlayerSelection_row[(s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+playerid])]) // INLINED!! if (s__ArrowKey_eventKey) == 0 then // INLINED!! call s__AHSS_Graphics_moveLeft(this , playerid , index) elseif (s__ArrowKey_eventKey) == 1 then // INLINED!! @@ -148864,21 +148864,21 @@ local integer index=f__arg_integer3 if GetLocalPlayer() != Player(playerid) then set s="" else - set s=(s__AHSS___Hero_modelPath[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) // INLINED!! + set s=(s__AHSS__Hero_modelPath[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) // INLINED!! endif set s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid]=AddSpecialEffect(s, x - 100, y) call BlzSetSpecialEffectHeight(s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid], 100) call BlzSetSpecialEffectPitch(s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid], Deg2Rad(- 90)) call BlzSetSpecialEffectYaw(s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid], Deg2Rad(270)) - call BlzSetSpecialEffectScale(s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid], 2.0 + (s__AHSS___Hero_modelScale[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])) // INLINED!! - if (s__AHSS___Hero_modelAlternate[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! + call BlzSetSpecialEffectScale(s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid], 2.0 + (s__AHSS__Hero_modelScale[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])) // INLINED!! + if (s__AHSS__Hero_modelAlternate[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! call BlzSpecialEffectAddSubAnimation(s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid], SUBANIM_TYPE_ALTERNATE_EX) call BlzPlaySpecialEffect(s___AHSS_Graphics_heroesModels[s__AHSS_Graphics_heroesModels[this]+playerid], ANIM_TYPE_STAND) endif set x=x + 600 set y=y + 500 set s___AHSS_Graphics_heroesName[s__AHSS_Graphics_heroesName[this]+playerid]=CreateTextTag() - call SetTextTagText(s___AHSS_Graphics_heroesName[s__AHSS_Graphics_heroesName[this]+playerid], (s__AHSS___Hero_name[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), TextTagSize2Height(16)) // INLINED!! + call SetTextTagText(s___AHSS_Graphics_heroesName[s__AHSS_Graphics_heroesName[this]+playerid], (s__AHSS__Hero_name[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), TextTagSize2Height(16)) // INLINED!! call SetTextTagPos(s___AHSS_Graphics_heroesName[s__AHSS_Graphics_heroesName[this]+playerid], x, y, 0) call SetTextTagColor(s___AHSS_Graphics_heroesName[s__AHSS_Graphics_heroesName[this]+playerid], 255, 255, 255, 255) set y=y - 100 @@ -148890,9 +148890,9 @@ local integer index=f__arg_integer3 set x=GetDestructableX(s___AHSS_Graphics_strIcon[s__AHSS_Graphics_strIcon[this]+playerid]) + 50 set y=GetDestructableY(s___AHSS_Graphics_strIcon[s__AHSS_Graphics_strIcon[this]+playerid]) - 15 set s___AHSS_Graphics_strText[s__AHSS_Graphics_strText[this]+playerid]=CreateTextTag() - call SetTextTagText(s___AHSS_Graphics_strText[s__AHSS_Graphics_strText[this]+playerid], I2S(R2I((s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]))) + " + " + SubString(R2S((s__AHSS___Hero_strengthLvl[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])), 0, 3) + " x lvl", TextTagSize2Height(13)) // INLINED!! + call SetTextTagText(s___AHSS_Graphics_strText[s__AHSS_Graphics_strText[this]+playerid], I2S(R2I((s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]))) + " + " + SubString(R2S((s__AHSS__Hero_strengthLvl[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])), 0, 3) + " x lvl", TextTagSize2Height(13)) // INLINED!! call SetTextTagPos(s___AHSS_Graphics_strText[s__AHSS_Graphics_strText[this]+playerid], x, y, 0) - if (s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! + if (s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! call SetTextTagColor(s___AHSS_Graphics_strText[s__AHSS_Graphics_strText[this]+playerid], 255, 0, 0, 255) else call SetTextTagColor(s___AHSS_Graphics_strText[s__AHSS_Graphics_strText[this]+playerid], 255, 255, 255, 255) @@ -148908,9 +148908,9 @@ local integer index=f__arg_integer3 set x=GetDestructableX(s___AHSS_Graphics_agiIcon[s__AHSS_Graphics_agiIcon[this]+playerid]) + 50 set y=GetDestructableY(s___AHSS_Graphics_agiIcon[s__AHSS_Graphics_agiIcon[this]+playerid]) - 15 set s___AHSS_Graphics_agiText[s__AHSS_Graphics_agiText[this]+playerid]=CreateTextTag() - call SetTextTagText(s___AHSS_Graphics_agiText[s__AHSS_Graphics_agiText[this]+playerid], I2S(R2I((s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]))) + " + " + SubString(R2S((s__AHSS___Hero_agilityLvl[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])), 0, 3) + " x lvl", TextTagSize2Height(13)) // INLINED!! + call SetTextTagText(s___AHSS_Graphics_agiText[s__AHSS_Graphics_agiText[this]+playerid], I2S(R2I((s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]))) + " + " + SubString(R2S((s__AHSS__Hero_agilityLvl[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])), 0, 3) + " x lvl", TextTagSize2Height(13)) // INLINED!! call SetTextTagPos(s___AHSS_Graphics_agiText[s__AHSS_Graphics_agiText[this]+playerid], x, y, 0) - if (s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! + if (s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! call SetTextTagColor(s___AHSS_Graphics_agiText[s__AHSS_Graphics_agiText[this]+playerid], 255, 0, 0, 255) else call SetTextTagColor(s___AHSS_Graphics_agiText[s__AHSS_Graphics_agiText[this]+playerid], 255, 255, 255, 255) @@ -148926,9 +148926,9 @@ local integer index=f__arg_integer3 set x=GetDestructableX(s___AHSS_Graphics_intIcon[s__AHSS_Graphics_intIcon[this]+playerid]) + 50 set y=GetDestructableY(s___AHSS_Graphics_intIcon[s__AHSS_Graphics_intIcon[this]+playerid]) - 15 set s___AHSS_Graphics_intText[s__AHSS_Graphics_intText[this]+playerid]=CreateTextTag() - call SetTextTagText(s___AHSS_Graphics_intText[s__AHSS_Graphics_intText[this]+playerid], I2S(R2I((s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]))) + " + " + SubString(R2S((s__AHSS___Hero_intelligenceLvl[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])), 0, 3) + " x lvl", TextTagSize2Height(13)) // INLINED!! + call SetTextTagText(s___AHSS_Graphics_intText[s__AHSS_Graphics_intText[this]+playerid], I2S(R2I((s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]))) + " + " + SubString(R2S((s__AHSS__Hero_intelligenceLvl[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])), 0, 3) + " x lvl", TextTagSize2Height(13)) // INLINED!! call SetTextTagPos(s___AHSS_Graphics_intText[s__AHSS_Graphics_intText[this]+playerid], x, y, 0) - if (s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS___Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! + if (s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_strength[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_agility[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) and (s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) >= (s__AHSS__Hero_intelligence[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]) then // INLINED!! call SetTextTagColor(s___AHSS_Graphics_intText[s__AHSS_Graphics_intText[this]+playerid], 255, 0, 0, 255) else call SetTextTagColor(s___AHSS_Graphics_intText[s__AHSS_Graphics_intText[this]+playerid], 255, 255, 255, 255) @@ -148942,9 +148942,9 @@ local integer index=f__arg_integer3 endif endif set x=x - 100 - set y=y - 200 - ( 20 * s__AHSS_Graphics_countLines((s__AHSS___Hero_description[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])) ) // INLINED!! + set y=y - 200 - ( 20 * s__AHSS_Graphics_countLines((s__AHSS__Hero_description[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))])) ) // INLINED!! set s___AHSS_Graphics_descriptionText[s__AHSS_Graphics_descriptionText[this]+playerid]=CreateTextTag() - call SetTextTagText(s___AHSS_Graphics_descriptionText[s__AHSS_Graphics_descriptionText[this]+playerid], (s__AHSS___Hero_description[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), TextTagSize2Height(9)) // INLINED!! + call SetTextTagText(s___AHSS_Graphics_descriptionText[s__AHSS_Graphics_descriptionText[this]+playerid], (s__AHSS__Hero_description[((s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[(s__AHSS_Graphics_heroes[this])]+(index)]))]), TextTagSize2Height(9)) // INLINED!! call SetTextTagPos(s___AHSS_Graphics_descriptionText[s__AHSS_Graphics_descriptionText[this]+playerid], x, y, 0) call SetTextTagColor(s___AHSS_Graphics_descriptionText[s__AHSS_Graphics_descriptionText[this]+playerid], 255, 255, 255, 255) if GetLocalPlayer() != Player(playerid) then @@ -148974,8 +148974,8 @@ local integer this=f__arg_this exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! set j=0 loop - exitwhen j > ( (s__AHSS___Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! - set id=(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! + exitwhen j > ( (s__AHSS__Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! + set id=(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! if GetPlayerSlotState(Player(id)) == PLAYER_SLOT_STATE_PLAYING and GetPlayerController(Player(id)) == MAP_CONTROL_USER then call s__AHSS_Graphics_showHero(this , i , 0) endif @@ -148995,7 +148995,7 @@ local integer this=f__arg_this exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! set y=y - ( 128 * (s__AHSS_Options_iconScale[(s__AHSS_Graphics_options[this])]) ) - 10 // INLINED!! set s___AHSS_Graphics_teamsText[s__AHSS_Graphics_teamsText[this]+i]=CreateTextTag() - call SetTextTagText(s___AHSS_Graphics_teamsText[s__AHSS_Graphics_teamsText[this]+i], (s__AHSS___Team_name[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]), TextTagSize2Height(12)) // INLINED!! + call SetTextTagText(s___AHSS_Graphics_teamsText[s__AHSS_Graphics_teamsText[this]+i], (s__AHSS__Team_name[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]), TextTagSize2Height(12)) // INLINED!! call SetTextTagPos(s___AHSS_Graphics_teamsText[s__AHSS_Graphics_teamsText[this]+i], x, y, 0) call SetTextTagColor(s___AHSS_Graphics_teamsText[s__AHSS_Graphics_teamsText[this]+i], 255, 255, 255, 255) set i=i + 1 @@ -149026,34 +149026,34 @@ local integer this=f__arg_this exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! set j=0 loop - exitwhen j > ( (s__AHSS___Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! - set id=(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! + exitwhen j > ( (s__AHSS__Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! + set id=(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! if GetPlayerSlotState(Player(id)) == PLAYER_SLOT_STATE_PLAYING then if GetPlayerController(Player(id)) == MAP_CONTROL_USER or ( GetPlayerController(Player(id)) == MAP_CONTROL_COMPUTER and (s__AHSS_Options_bots[(s__AHSS_Graphics_options[this])]) ) then // INLINED!! - if (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 0 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(0 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 1.00 , 0.01 , 0.01) // INLINED!! - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 1 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(1 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.00 , 0.25 , 1.00) // INLINED!! - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 2 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(2 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.09 , 0.90 , 0.70) // INLINED!! - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 3 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(3 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.32 , 0.00 , 0.50) // INLINED!! - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 4 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(4 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 1.00 , 0.98 , 0.40) // INLINED!! - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 5 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(5 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.99 , 0.72 , 0.05) // INLINED!! - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 6 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(6 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.12 , 0.75 , 0.00) // INLINED!! - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 7 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(7 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.89 , 0.35 , 0.69) // INLINED!! - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 8 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(8 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.58 , 0.58 , 0.58) // INLINED!! - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 9 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(9 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.49 , 0.74 , 0.94) // INLINED!! - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 10 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(10 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.06 , 0.38 , 0.27) // INLINED!! - elseif (s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 11 then // INLINED!! - set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS___PlayerSelection_create(11 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.30 , 0.16 , 0.01) // INLINED!! + if (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 0 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(0 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 1.00 , 0.01 , 0.01) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 1 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(1 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.00 , 0.25 , 1.00) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 2 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(2 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.09 , 0.90 , 0.70) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 3 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(3 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.32 , 0.00 , 0.50) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 4 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(4 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 1.00 , 0.98 , 0.40) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 5 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(5 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.99 , 0.72 , 0.05) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 6 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(6 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.12 , 0.75 , 0.00) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 7 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(7 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.89 , 0.35 , 0.69) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 8 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(8 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.58 , 0.58 , 0.58) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 9 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(9 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.49 , 0.74 , 0.94) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 10 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(10 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.06 , 0.38 , 0.27) // INLINED!! + elseif (s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) == 11 then // INLINED!! + set s___AHSS_Graphics_selections[s__AHSS_Graphics_selections[this]+(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)])]=s__AHSS__PlayerSelection_create(11 , (s__AHSS_Paths_selection[(s__AHSS_Graphics_paths[this])]) , x , y , 0.30 , 0.16 , 0.01) // INLINED!! endif endif endif @@ -149077,8 +149077,8 @@ local boolean allRandom=f__arg_boolean1 exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! set j=0 loop - exitwhen j > ( (s__AHSS___Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! - set id=(s___AHSS___Team_players[s__AHSS___Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! + exitwhen j > ( (s__AHSS__Team_count[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]) - 1 ) // INLINED!! + set id=(s___AHSS__Team_players[s__AHSS__Team_players[((s___AHSS_Teams_teams[s__AHSS_Teams_teams[(s__AHSS_Graphics_teams[this])]+(i)]))]+(j)]) // INLINED!! if GetPlayerSlotState(Player(id)) == PLAYER_SLOT_STATE_PLAYING then if GetPlayerController(Player(id)) == MAP_CONTROL_USER then if allRandom then @@ -149125,7 +149125,7 @@ local integer this=f__arg_this set i=0 loop exitwhen i > ( (s__AHSS_Teams_count[(s__AHSS_Graphics_teams[this])]) - 1 ) // INLINED!! - call s__AHSS___TeamIcon_destroy(s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]) + call s__AHSS__TeamIcon_destroy(s___AHSS_Graphics_teamsIcon[s__AHSS_Graphics_teamsIcon[this]+i]) call DestroyTextTag(s___AHSS_Graphics_teamsText[s__AHSS_Graphics_teamsText[this]+i]) set s___AHSS_Graphics_teamsText[s__AHSS_Graphics_teamsText[this]+i]=null set i=i + 1 @@ -149319,7 +149319,7 @@ local integer id=f__arg_integer1 if s__AHSS_Heroes_count[this] >= s__AHSS_Configurations_MAX_SLOTS then return true endif - set s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this]]=s__AHSS___Hero_create(name , id) + set s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this]]=s__AHSS__Hero_create(name , id) set s__s__AHSS_Configurations_HERO_NAMES[s__AHSS_Heroes_count[this]]= name set s__s__AHSS_Configurations_HERO_IDS[s__AHSS_Heroes_count[this]]= id call SaveInteger(Table__ht, (s__AHSS_Configurations_HERO_BY_ID), (id), ( s__AHSS_Heroes_count[this])) // INLINED!! @@ -149333,7 +149333,7 @@ local real lvl=f__arg_real2 if s__AHSS_Heroes_count[this] == 0 then return true endif - call s__AHSS___Hero_setStr(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],initial , lvl) + call s__AHSS__Hero_setStr(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],initial , lvl) return true endfunction function sa__AHSS_Heroes_setAgi takes nothing returns boolean @@ -149343,7 +149343,7 @@ local real lvl=f__arg_real2 if s__AHSS_Heroes_count[this] == 0 then return true endif - call s__AHSS___Hero_setAgi(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],initial , lvl) + call s__AHSS__Hero_setAgi(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],initial , lvl) return true endfunction function sa__AHSS_Heroes_setInt takes nothing returns boolean @@ -149353,7 +149353,7 @@ local real lvl=f__arg_real2 if s__AHSS_Heroes_count[this] == 0 then return true endif - call s__AHSS___Hero_setInt(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],initial , lvl) + call s__AHSS__Hero_setInt(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],initial , lvl) return true endfunction function sa__AHSS_Heroes_setDescription takes nothing returns boolean @@ -149362,7 +149362,7 @@ local string whichDescription=f__arg_string1 if s__AHSS_Heroes_count[this] == 0 then return true endif - set s__AHSS___Hero_description[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(whichDescription) // INLINED!! + set s__AHSS__Hero_description[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(whichDescription) // INLINED!! return true endfunction function sa__AHSS_Heroes_setModel takes nothing returns boolean @@ -149372,7 +149372,7 @@ local real scale=f__arg_real1 if s__AHSS_Heroes_count[this] == 0 then return true endif - call s__AHSS___Hero_setModel(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],path , scale) + call s__AHSS__Hero_setModel(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1],path , scale) return true endfunction function sa__AHSS_Heroes_setModelAlternate takes nothing returns boolean @@ -149381,7 +149381,7 @@ local boolean b=f__arg_boolean1 if s__AHSS_Heroes_count[this] == 0 then return true endif - set s__AHSS___Hero_modelAlternate[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(b) // INLINED!! + set s__AHSS__Hero_modelAlternate[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(b) // INLINED!! return true endfunction function sa__AHSS_Heroes_setIcon takes nothing returns boolean @@ -149390,7 +149390,7 @@ local integer whichIcon=f__arg_integer1 if s__AHSS_Heroes_count[this] == 0 then return true endif - set s__AHSS___Hero_icon[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(whichIcon) // INLINED!! + set s__AHSS__Hero_icon[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(whichIcon) // INLINED!! return true endfunction function sa__AHSS_Heroes_setIconPath takes nothing returns boolean @@ -149399,7 +149399,7 @@ local string path=f__arg_string1 if s__AHSS_Heroes_count[this] == 0 then return true endif - set s__AHSS___Hero_iconPath[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(path) // INLINED!! + set s__AHSS__Hero_iconPath[(s___AHSS_Heroes_heroes[s__AHSS_Heroes_heroes[this]+s__AHSS_Heroes_count[this] - 1])]=(path) // INLINED!! set s__s__AHSS_Configurations_HERO_ICONS[s__AHSS_Heroes_count[this] - 1]= path return true endfunction @@ -149413,7 +149413,7 @@ endfunction function sa__AHSS_Teams_createTeam takes nothing returns boolean local integer this=f__arg_this local string name=f__arg_string1 - set s___AHSS_Teams_teams[s__AHSS_Teams_teams[this]+s__AHSS_Teams_count[this]]=s__AHSS___Team_create(name) + set s___AHSS_Teams_teams[s__AHSS_Teams_teams[this]+s__AHSS_Teams_count[this]]=s__AHSS__Team_create(name) set s__AHSS_Teams_count[this]=s__AHSS_Teams_count[this] + 1 return true endfunction @@ -149423,7 +149423,7 @@ local integer whichPlayer=f__arg_integer1 if s__AHSS_Teams_count[this] == 0 then return true endif - call s__AHSS___Team_addPlayer(s___AHSS_Teams_teams[s__AHSS_Teams_teams[this]+s__AHSS_Teams_count[this] - 1],whichPlayer) + call s__AHSS__Team_addPlayer(s___AHSS_Teams_teams[s__AHSS_Teams_teams[this]+s__AHSS_Teams_count[this] - 1],whichPlayer) return true endfunction function sa__AHSS_Teams_setSpawningSpot takes nothing returns boolean @@ -149878,7 +149878,7 @@ function sa___prototype112_SetUnitVertexColorBJEx takes nothing returns boolean return true endfunction -function jasshelper__initstructs1082628265 takes nothing returns nothing +function jasshelper__initstructs209889468 takes nothing returns nothing set st__AHSS_Graphics_create=CreateTrigger() call TriggerAddCondition(st__AHSS_Graphics_create,Condition( function sa__AHSS_Graphics_create)) set st__AHSS_Graphics_selectHeroRandom=CreateTrigger() @@ -150167,7 +150167,7 @@ call ExecuteFunc("s__Camera__CamInit_Camera__CamInitModule__onInit") call ExecuteFunc("s__Dialog_Dialog__DialogInit__onInit") -call ExecuteFunc("s__PauseUnitEx__Pause_PauseUnitEx__PauseM__onInit") +call ExecuteFunc("s__PauseUnitEx___Pause_PauseUnitEx___PauseM__onInit") call ExecuteFunc("s__RegisterNativeEvent__NativeEvent_RegisterNativeEvent__NativeEventInit__onInit") @@ -151134,7 +151134,7 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__DamageSys_onInit") call ExecuteFunc("s__Damage_onInit") - call ExecuteFunc("s__xepreload__init_onInit") + call ExecuteFunc("s__xepreload___init_onInit") call ExecuteFunc("s__Movespeed_onInit") call ExecuteFunc("s__JiroboPrison_Spell_onInit") call ExecuteFunc("s__OhnokiKeijuugan_onInit") @@ -151283,17 +151283,17 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__IchigoD_onInit") call ExecuteFunc("s__IchigoSlash_onInit") call ExecuteFunc("s__IchigoAttacks_onInit") - call ExecuteFunc("s__IchigoAbiltiies__Spell_onInit") + call ExecuteFunc("s__IchigoAbiltiies___Spell_onInit") call ExecuteFunc("s__AnkoSkinChange_onInit") call ExecuteFunc("s__AnkoHebi_onInit") call ExecuteFunc("s__AnkoKaton_onInit") call ExecuteFunc("s__AnkoGenjutsu_onInit") call ExecuteFunc("s__AnkoSeneiJashu_onInit") call ExecuteFunc("s__AnkoUltimate_onInit") - call ExecuteFunc("s__Ox__Spell_onInit") + call ExecuteFunc("s__Ox___Spell_onInit") call ExecuteFunc("s__Dog_onInit") call ExecuteFunc("s__Cloak_onInit") - call ExecuteFunc("s__Crab__Spell_onInit") + call ExecuteFunc("s__Crab___Spell_onInit") call ExecuteFunc("s__Bird_onInit") call ExecuteFunc("s__Panda_onInit") call ExecuteFunc("s__AsumaChakraBlades_onInit") @@ -151315,12 +151315,12 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__DanzoShuriken_onInit") call ExecuteFunc("s__DanzoNewSemi_onInit") call ExecuteFunc("s__DanzoMissile_onInit") - call ExecuteFunc("s__DanzoNewIzanagiSM__DanzoNewNewIzanagi_onInit") + call ExecuteFunc("s__DanzoNewIzanagiSM___DanzoNewNewIzanagi_onInit") call ExecuteFunc("s__DaruiRaiton_onInit") call ExecuteFunc("s__DaruiNewSuiton_onInit") call ExecuteFunc("s__DaruiNewE_onInit") call ExecuteFunc("s__DaruiBlackLightning_onInit") - call ExecuteFunc("s__DaruiLaserCircus__Spell_onInit") + call ExecuteFunc("s__DaruiLaserCircus___Spell_onInit") call ExecuteFunc("s__DaruiBlackPanther_onInit") call ExecuteFunc("s__DeidaraBeautyOfDestruction_onInit") call ExecuteFunc("s__DeidaraEternalExplosion_onInit") @@ -151337,14 +151337,14 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__FuuAssault_onInit") call ExecuteFunc("s__FuuPowder_onInit") call ExecuteFunc("s__FuuUltimate_onInit") - call ExecuteFunc("s__GaaraSandShield__Spell_onInit") + call ExecuteFunc("s__GaaraSandShield___Spell_onInit") call ExecuteFunc("s__GaaraNewQ_onInit") call ExecuteFunc("s__GaaraFly_onInit") call ExecuteFunc("s__GaaraNewSemi_onInit") call ExecuteFunc("s__SabakuSotaisonDie_onInit") call ExecuteFunc("s__GaaraUltimate_onInit") call ExecuteFunc("s__GaaraUltimateChoice_onInit") - call ExecuteFunc("s__GaiOmoteRenge__Spell_onInit") + call ExecuteFunc("s__GaiOmoteRenge___Spell_onInit") call ExecuteFunc("s__HachimonLifeDrain_onInit") call ExecuteFunc("s__GaiEighthGates_onInit") call ExecuteFunc("s__GaiEveningElephant_onInit") @@ -151387,8 +151387,8 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__HashiramaUltimateChoice_onInit") call ExecuteFunc("s__HashiramaNewKoutan_onInit") call ExecuteFunc("s__EdoHashiramaGate___Spell_onInit") - call ExecuteFunc("s__EdoTenseiHashiramaStatue___Spell_onInit") - call ExecuteFunc("s__HayateSwordStrike___Spell_onInit") + call ExecuteFunc("s__EdoTenseiHashiramaStatue__Spell_onInit") + call ExecuteFunc("s__HayateSwordStrike__Spell_onInit") call ExecuteFunc("s__HayateExplosiveKunai_onInit") call ExecuteFunc("s__HayateNewSemi_onInit") call ExecuteFunc("s__HayateUltimate_onInit") @@ -151411,7 +151411,7 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__HiruzenSemiUltimateChoice_onInit") call ExecuteFunc("s__HiruzenLevel_onInit") call ExecuteFunc("s__HiruzenKongoRoheki_onInit") - call ExecuteFunc("s__HiruzenCageNew___Spell_onInit") + call ExecuteFunc("s__HiruzenCageNew__Spell_onInit") call ExecuteFunc("s__InoNewSemi_onInit") call ExecuteFunc("s__InoNewChouShinka_onInit") call ExecuteFunc("s__InoNewD_onInit") @@ -151437,12 +151437,12 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__ItachiRevanSlashNew_onInit") call ExecuteFunc("s__ItachiRevanKaton_onInit") call ExecuteFunc("s__ItachiRevanCrow_onInit") - call ExecuteFunc("s__RevanCrowRNew___Spell_onInit") + call ExecuteFunc("s__RevanCrowRNew__Spell_onInit") call ExecuteFunc("s__ItachiRevanCrowClone_onInit") call ExecuteFunc("s__ItachiRing2_onInit") call ExecuteFunc("s__JirayaNewW_onInit") - call ExecuteFunc("s__JirayaFrogCart___Spell_onInit") - call ExecuteFunc("s__JirayaOodamaRasengan___Spell_onInit") + call ExecuteFunc("s__JirayaFrogCart__Spell_onInit") + call ExecuteFunc("s__JirayaOodamaRasengan__Spell_onInit") call ExecuteFunc("s__JiraiyaDies_onInit") call ExecuteFunc("s__JiroboBoulder_onInit") call ExecuteFunc("s__JirobuEarthquake_onInit") @@ -151450,7 +151450,7 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__JiroboGolem_onInit") call ExecuteFunc("s__JiroboGolemBoulder_onInit") call ExecuteFunc("s__JuugoCursedSealAbiltiies_onInit") - call ExecuteFunc("s__JuugoChains___JuugoSpell_onInit") + call ExecuteFunc("s__JuugoChains__JuugoSpell_onInit") call ExecuteFunc("s__JuugoCelular_onInit") call ExecuteFunc("s__JuugoAbsorption_onInit") call ExecuteFunc("s__JuugoNewUltimate_onInit") @@ -151458,24 +151458,24 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__JuugoAxeFist_onInit") call ExecuteFunc("s__JuugoNewPistolFist_onInit") call ExecuteFunc("s__JuugoNewFury_onInit") - call ExecuteFunc("s__KabutoSpells___KabutoPoison_onInit") - call ExecuteFunc("s__KabutoEdoTensei___Spell_onInit") - call ExecuteFunc("s__KabutoSennin___Spell_onInit") + call ExecuteFunc("s__KabutoSpells__KabutoPoison_onInit") + call ExecuteFunc("s__KabutoEdoTensei__Spell_onInit") + call ExecuteFunc("s__KabutoSennin__Spell_onInit") call ExecuteFunc("s__KabutoNewD_onInit") call ExecuteFunc("s__KabutoPull_onInit") - call ExecuteFunc("s__KabutoSawarabi___Spell_onInit") - call ExecuteFunc("s__KabutoMukiTensei___Spell_onInit") - call ExecuteFunc("s__KabutoDoton___Spell_onInit") - call ExecuteFunc("s__KabutoHakugeki___Spell_onInit") + call ExecuteFunc("s__KabutoSawarabi__Spell_onInit") + call ExecuteFunc("s__KabutoMukiTensei__Spell_onInit") + call ExecuteFunc("s__KabutoDoton__Spell_onInit") + call ExecuteFunc("s__KabutoHakugeki__Spell_onInit") call ExecuteFunc("s__KabutoNervous_onInit") call ExecuteFunc("s__KabutoKidomaruNet_onInit") call ExecuteFunc("s__KaguyaFly_onInit") call ExecuteFunc("s__KaguyaLavaDimension_onInit") call ExecuteFunc("s__KaguyaTeleport_onInit") - call ExecuteFunc("s__KaguyaLava___Spell_onInit") - call ExecuteFunc("s__KaguyaPunch___Spell_onInit") + call ExecuteFunc("s__KaguyaLava__Spell_onInit") + call ExecuteFunc("s__KaguyaPunch__Spell_onInit") call ExecuteFunc("s__KaguyaSemi_onInit") - call ExecuteFunc("s__KaguyaUltimate___Spell_onInit") + call ExecuteFunc("s__KaguyaUltimate__Spell_onInit") call ExecuteFunc("s__KaguyaDimensionTravel___Spell_onInit") call ExecuteFunc("s__KaguyaUltimateChoice_onInit") call ExecuteFunc("s__KakashiLightningClone_onInit") @@ -151605,13 +151605,13 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__MeiCriticalStrike_onInit") call ExecuteFunc("s__MeiSuriyuudan_onInit") call ExecuteFunc("s__MeiNewKomu_onInit") - call ExecuteFunc("s__MeiLavaPit___Spell_onInit") + call ExecuteFunc("s__MeiLavaPit__Spell_onInit") call ExecuteFunc("s__MifuneD_onInit") - call ExecuteFunc("s__MifuneQ___Spell_onInit") - call ExecuteFunc("s__MifuneNewW___Spell_onInit") + call ExecuteFunc("s__MifuneQ__Spell_onInit") + call ExecuteFunc("s__MifuneNewW__Spell_onInit") call ExecuteFunc("s__KenjutsuFlash_onInit") - call ExecuteFunc("s__MifuneR___Spell_onInit") - call ExecuteFunc("s__MifuneT___Spell_onInit") + call ExecuteFunc("s__MifuneR__Spell_onInit") + call ExecuteFunc("s__MifuneT__Spell_onInit") call ExecuteFunc("s__MifuneCooldown_onInit") call ExecuteFunc("s__MinatoUltimateChoice_onInit") call ExecuteFunc("s__MinatoHiraishin_onInit") @@ -151620,28 +151620,28 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__EnableKyuubiChakraModeMinato_onInit") call ExecuteFunc("s__MinatoKunaiD_onInit") call ExecuteFunc("s__MinatoJouninD_onInit") - call ExecuteFunc("s__MinatoJouninRasengan___Spell_onInit") - call ExecuteFunc("s__MinatoJouninHiraishin___Spell_onInit") - call ExecuteFunc("s__MinatoJouninNewShunshin___Spell_onInit") - call ExecuteFunc("s__MinatoJouninRenNoDan___Spell_onInit") - call ExecuteFunc("s__MinatoJouninYellowFlash___Spell_onInit") - call ExecuteFunc("s__MinatoFexterRenNoDan___Spell_onInit") + call ExecuteFunc("s__MinatoJouninRasengan__Spell_onInit") + call ExecuteFunc("s__MinatoJouninHiraishin__Spell_onInit") + call ExecuteFunc("s__MinatoJouninNewShunshin__Spell_onInit") + call ExecuteFunc("s__MinatoJouninRenNoDan__Spell_onInit") + call ExecuteFunc("s__MinatoJouninYellowFlash__Spell_onInit") + call ExecuteFunc("s__MinatoFexterRenNoDan__Spell_onInit") call ExecuteFunc("s__MinatoFexterNewE_onInit") call ExecuteFunc("s__MinatoFexterYellowFlash_onInit") call ExecuteFunc("s__MinatoFexterSenninMode_onInit") call ExecuteFunc("s__MinatoFexterSemiUltimateChoice_onInit") - call ExecuteFunc("s__MinatoFexterGamabunta___Spell_onInit") + call ExecuteFunc("s__MinatoFexterGamabunta__Spell_onInit") call ExecuteFunc("s__MinatoFexterUltimateChoice_onInit") - call ExecuteFunc("s__MinatoFexterUltimate___Spell_onInit") + call ExecuteFunc("s__MinatoFexterUltimate__Spell_onInit") call ExecuteFunc("s__MuFly_onInit") - call ExecuteFunc("s__MuNormalJinton___Spell_onInit") - call ExecuteFunc("s__MuSlam___Spell_onInit") - call ExecuteFunc("s__MuCylindricalJinton___Spell_onInit") + call ExecuteFunc("s__MuNormalJinton__Spell_onInit") + call ExecuteFunc("s__MuSlam__Spell_onInit") + call ExecuteFunc("s__MuCylindricalJinton__Spell_onInit") call ExecuteFunc("s__MuuInvisibility_onInit") call ExecuteFunc("s__MuBunretsu_onInit") call ExecuteFunc("s__NagatoSixPaths_onInit") call ExecuteFunc("s__NagatoShinraTenSeiChannel_onInit") - call ExecuteFunc("s__NagatoDevaTarget___Spell_onInit") + call ExecuteFunc("s__NagatoDevaTarget__Spell_onInit") call ExecuteFunc("s__NagatoAsuraTarget__Spell_onInit") call ExecuteFunc("s__NagatoAnimalTarget__Spell_onInit") call ExecuteFunc("s__NagatoAnimalArea_onInit") @@ -151779,15 +151779,15 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__SasukeGenjutsu_onInit") call ExecuteFunc("s__SasukeAmenotejikara_onInit") call ExecuteFunc("s__SasukeChidoriEiso_onInit") - call ExecuteFunc("s__SasukeKagutsuchi__Spell_onInit") + call ExecuteFunc("s__SasukeKagutsuchi___Spell_onInit") call ExecuteFunc("s__SasukeUltimateChoice_onInit") call ExecuteFunc("s__SasukeChibakuTensei_onInit") - call ExecuteFunc("s__SasukeNewSusanoo__Spell_onInit") - call ExecuteFunc("s__SasukeIndraArrow__Spell_onInit") + call ExecuteFunc("s__SasukeNewSusanoo___Spell_onInit") + call ExecuteFunc("s__SasukeIndraArrow___Spell_onInit") call ExecuteFunc("s__SasukeChidoriSenbon_onInit") call ExecuteFunc("s__SasukeDragonFlame_onInit") - call ExecuteFunc("s__SasukeCursedSealAbiltiies__Spell_onInit") - call ExecuteFunc("s__SasukeAdultRinnegan__Spell_onInit") + call ExecuteFunc("s__SasukeCursedSealAbiltiies___Spell_onInit") + call ExecuteFunc("s__SasukeAdultRinnegan___Spell_onInit") call ExecuteFunc("s__SasukeBlackChidori_onInit") call ExecuteFunc("s__SasukeBonesPassive_onInit") call ExecuteFunc("s__ShikamaruKagemaneNew_onInit") @@ -151801,10 +151801,10 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__ShinoUltimateChoice_onInit") call ExecuteFunc("s__ShinoPassive_onInit") call ExecuteFunc("s__ShisuiSilentKill_onInit") - call ExecuteFunc("s__ShisuiHosenka__Spell_onInit") + call ExecuteFunc("s__ShisuiHosenka___Spell_onInit") call ExecuteFunc("s__ShisuiGenjutsu_onInit") call ExecuteFunc("s__ShisuiSusanoo_onInit") - call ExecuteFunc("s__ShisuiNewSusanoo__Spell_onInit") + call ExecuteFunc("s__ShisuiNewSusanoo___Spell_onInit") call ExecuteFunc("s__ShisuiUltimateChoice_onInit") call ExecuteFunc("s__ShisuiFlame_onInit") call ExecuteFunc("s__ShisuiSusanooDrill_onInit") @@ -151813,8 +151813,8 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__ShizuneSenbons_onInit") call ExecuteFunc("s__ShizuneTonton_onInit") call ExecuteFunc("s__ShizuneShield_onInit") - call ExecuteFunc("s__ShizuneNewSemi__Item_onInit") - call ExecuteFunc("s__ShizuneNewUltimate__Spell_onInit") + call ExecuteFunc("s__ShizuneNewSemi___Item_onInit") + call ExecuteFunc("s__ShizuneNewUltimate___Spell_onInit") call ExecuteFunc("s__SuigetsuSuiryuudan_onInit") call ExecuteFunc("s__SuigetsuDrowning_onInit") call ExecuteFunc("s__SuigetsuSuika_onInit") @@ -151822,10 +151822,10 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__SuigetsuDemonFish_onInit") call ExecuteFunc("s__SuigetsuNewWave_onInit") call ExecuteFunc("s__SuigetsuUltimateChoice_onInit") - call ExecuteFunc("s__TentenNewD__Spell_onInit") + call ExecuteFunc("s__TentenNewD___Spell_onInit") call ExecuteFunc("s__TentenDanceOfChains_onInit") call ExecuteFunc("s__TentenNewSemi_onInit") - call ExecuteFunc("s__TentenBashosen__Item_onInit") + call ExecuteFunc("s__TentenBashosen___Item_onInit") call ExecuteFunc("s__TentenUltimateChoice_onInit") call ExecuteFunc("s__TemariPassive_onInit") call ExecuteFunc("s__TemariStormWallNew_onInit") @@ -151851,7 +151851,7 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__ToruneDome_onInit") call ExecuteFunc("s__ToruneTornado_onInit") call ExecuteFunc("s__ToruneAssassination_onInit") - call ExecuteFunc("s__ToruneSemi__Item_onInit") + call ExecuteFunc("s__ToruneSemi___Item_onInit") call ExecuteFunc("s__ToruneUltimate_onInit") call ExecuteFunc("s__ToruneNewQ_onInit") call ExecuteFunc("s__ToruneNewMode_onInit") @@ -151908,7 +151908,7 @@ call ExecuteFunc("s__AmaTimer_CTLEnd__onInit") call ExecuteFunc("s__FixTeamDuelLocations_onInit") call ExecuteFunc("s__MissionARankReward_onInit") call ExecuteFunc("s__TeamDuel_onInit") - call ExecuteFunc("s__SendGoldAndCystal___Command_onInit") + call ExecuteFunc("s__SendGoldAndCystal__Command_onInit") call ExecuteFunc("s__BuyAttributes_onInit") call ExecuteFunc("s__Killme_onInit") call ExecuteFunc("s__MoveSpeedBug_onInit") diff --git a/NarutoNinpou.w3m/war3map.w3a b/NarutoNinpou.w3m/war3map.w3a index 2fb8e7bdaf518d7d9487dd4deaf1b6aae5e96c46..2eff387b40bc47658fd99ee85434140b0b892cb8 100644 GIT binary patch delta 124 zcmWN=NeY5c0DxhhKAW^bn+KcB(uPM!ysqGtiWV*YI|OdJL=c_GGqecugD?MnL|(ij zFffr=lqgf7N(~!_It`k%aPerIvmqj8%Z@#Vm-<~~ TqIL2XSCtu3pU%g}^QO{2a3(1k delta 128 zcmWN=M-GBO06@`D?AY62L8PcyW-^2*O!EB_y8 z=opw(s8XX&gC;F3+H~mBqtAdLBgRaaBCwe;XTcJO6)tN$d;&r?Y}pa9=fIKEOMX*B WoiBNkMWPTlndxS%RGdHW^7;cE>ME1~ diff --git a/NarutoNinpou.w3m/war3map.w3i b/NarutoNinpou.w3m/war3map.w3i index 5402b70412e40547c13fe43728c46754441fea01..c30a660b2a8dbd4abfcb2e89f12dc04793b8c88e 100644 GIT binary patch delta 14 VcmaFH@r;92o`HcOeOTR6J59Uh#=v%B4aAVo0S_Nl>b#Mrx%_>ZL&%U(L&c z_L9FUnBSWEveUMD3OR-fzgq!iecExA{LnorXe1));?Cz+Ke22|z2!2_!+q3y>lRHm zv6&&Zu$5u9(PBG0Xfwi2Mj2xl@22`1Uk0S+?7Ar3Rm5sq?^UOs=K? delta 412 zcmWN=H%|g_7{KA2Cx;yn%YmY2FX(yL5DPYJC}2aee+8q9BPMU+>h|AUG;w7xVKZ(n zjxHn&CN6#qe^2tf{@v?O%!?)!qD!T?#1OYsNww5St<*`qG>AvM;*&=4OOrH9i?qI( zHzn=4cv~{RHT4rqdQ|@13MnTWu$1*_dzJI0yVS=^B&Z6y&#xXcj;*e9QA4E)@vutY z8SaNf*<^r0wy~WdcCeEcyV%Vh_Og%t9N-{_ILt6dI7*vibQs|{CpgI|PBY3G#yHD4 z&U1lrE^>*>T;VDcT;n=7xXCRhxy>D>m}Z8%+~YnEc*rb|c+4D6c*--L^MaSfMEUAh F{R2~9v*`c; diff --git a/NarutoNinpou.w3m/war3map.wpm b/NarutoNinpou.w3m/war3map.wpm index 7de02d416531c1becbf9828d30609915fe4b61f6..69e6f039c3a7f809e70d8c6cca7c7949af12fbc4 100644 GIT binary patch delta 1042 zcmb7?L1@!p6vuh*D)lx&8AftzQa##;DM+YKP5fKrmcI3yr~f`~6F!phdw%SZD5zxU6V|9g(DI<{)h z!E+2$H=HVY-I$@(<9t~2kf!kg%y|otm-=pOKwDrBdfDr7D2or6!Hx>lHaxes6c_G+!~=eqY56nA|} zCw~L0QX9lkpve-JDV~F2*DQ5WcuI`^Qy&AvWwM8Hj1x-B@(|WrOCyL?vX-$zv5q=9 zSybKWW`Tk)kfkPIL5An>4D5hhz_UQbU7||iG0c)ZiwcD`@yE&vFz1fHNXwOrc%u{S z5@URG4#i@hjRvUX_wrNhK#^|G@|f8>CGE@jtRwEqcASnS;uJG<@(pC9a}^(M?bpIx zOSliU9B-CN(a|KpWQ5Uup}5~_d3w|@DsEKEbC9MR){+%XFB&uW-%ZlEiR(*VpU^43 z#q-eaK+gkTq2eK4mdP+Jrw2p>+UbL=Q+!^STl5aK(MA&Ac~FwyD@g62c(?iWHPHJf z&_hoh9=EfCDY9eiCGD`Nd&`*RO;#xQD6+I<^0&jgaGK&Zaf19YF+s7$k$2wd{eTHF ZEI2?>6Et!x-c$d&&=<`k0wo{O+AsgRcp3lz delta 1217 zcmb7^L1@%K6oz?kLI@$0bX{v}SDS6uc9k`56}0R@_9D1FNIVKsx+oM8X%8MmwB%3^ zf?nSOXieP%CVca8te<@ROVST(x+Aitsra%3%lMdmRuxRYnA@K0bO3D}ne zObMW;3@Hj=H@Eh)k9}v~0!0d{6ukh`Xp7J^`G{gIKNa0<)med@JED;{-ZNEp4WB>A X8X$lq>=0{qZjtSkrjwB)ELi^uG25auwe`1;*E@q?MpT?ZeOyI>0Skp-K@pDy;+Opix>bKVh)S| delta 38 wcmV+>0NMZdf)V$E5rDJ-qp<-1horFqx1_NG-guXGE&~pSkSYVWkSYY{7EaL*;s5{u diff --git a/NarutoNinpou.w3m/war3map.wts b/NarutoNinpou.w3m/war3map.wts index 2916f293..d9e1480f 100644 --- a/NarutoNinpou.w3m/war3map.wts +++ b/NarutoNinpou.w3m/war3map.wts @@ -137459,7 +137459,7 @@ STRING 22661 } STRING 22662 -// Abilities: A1EL (Iron Fan Critical), EditorSuffix (Editor Suffix) +// Abilities: S009 (Endurance Aura), EditorSuffix (Editor Suffix) { (Iron Fan) } @@ -160269,7 +160269,7 @@ Same with The Heaven Sword and Heaven 8 Mirror, it is one of the three strongest } STRING 26470 -// Abilities: S009 (Endurance Aura), EditorSuffix (Editor Suffix) +// Abilities: A1EL (Iron Fan Critical), EditorSuffix (Editor Suffix) { (Iron Fan) }