Name | Type | is_array | initial_value |
bool | boolean | Yes | |
Caster | unit | Yes | |
Casting_Unit | unit | No | |
Cheat1 | button | No | |
Cheat2 | button | No | |
Cheat3 | button | No | |
CountDown | timerdialog | Yes | |
degrees | real | Yes | |
Dialog | dialog | Yes | |
DialogButton | button | No | |
DialogButton2 | button | No | |
DialogButton3 | button | No | |
DialogCheats | dialog | No | |
DialognEW | button | Yes | |
Direction | real | Yes | |
Duel_boolean | boolean | No | |
ForceStop | effect | No | |
FPS | integer | Yes | |
FPSTransportArray | unit | Yes | |
heroes | integer | Yes | |
Heroes | unit | Yes | |
heroes2 | unit | Yes | |
i | integer | No | |
LeaderBoard | real | No | |
LeaderBoard2 | leaderboard | No | |
LeaderBoard3 | leaderboard | No | |
LeaderBoard_board | leaderboard | Yes | |
LeaderBoardTimer | leaderboard | Yes | |
Minutes | integer | No | |
P1Cam | player | No | |
PickUnit | unit | No | |
PlayerColor | string | Yes | |
PlayerColorNames | string | Yes | |
Point_target | location | No | |
Point_TSDamagePoint | location | No | |
Random_Pick | integer | No | |
RandomGOLD | integer | No | |
RandomMonster | integer | No | |
RandomRickRoll | integer | No | |
RandomSFXFlameCaster | integer | No | |
RandomSkill | integer | No | |
Real_TSCircleAngle | real | No | |
ReviveTimer | timer | No | |
ReviveTimerWindow | timerdialog | No | |
Seconds | integer | No | |
SecretSpellButton | button | Yes | |
SecretSpellDialog | dialog | No | |
Set_MUI | unit | No | |
SFCaster | unit | Yes | |
SFMaxIdex | integer | No | |
SFTarget | unit | Yes | |
Sfx | effect | No | |
SFX | effect | Yes | |
Sfx2 | effect | No | |
Sound | sound | Yes | |
Special__Effect | effect | Yes | |
SpecialEffect | effect | Yes | |
SurUnitArray | unit | Yes | |
Target | unit | No | |
TargetedUnit | unit | No | |
Team1Kills | integer | No | |
TempLoc001 | location | Yes | |
TempLoc01 | location | No | |
TempLoc02 | location | No | |
TempLoc03 | location | No | |
temppoint | location | Yes | |
temppoint2 | location | Yes | |
Time | unit | No | |
Unit | unit | No | |
Unit_CastingUnit | unit | No | |
UnitVarCaster | unit | No | |
UnitVarTarget | unit | No | |
WinKills | integer | No |
function Trig_Shdow_Fury_Conditions takes nothing returns boolean
return GetSpellAbilityId() == 'A000'
endfunction
function Trig_Shdow_Fury_Actions takes nothing returns nothing
local unit caster = GetTriggerUnit()
local unit target = GetSpellTargetUnit()
local effect eff
local effect eff2
local integer i = 0
call PolledWait(.01)
call SetUnitInvulnerable(caster,true)
call PauseUnit(caster,true)
call SetUnitTimeScale(caster,2.)
set eff = AddSpecialEffectTarget("Abilities\\Weapons\\PhoenixMissile\\Phoenix_Missile_mini.mdl",caster,"hand right")
set eff2 = AddSpecialEffectTarget("Abilities\\Weapons\\PhoenixMissile\\Phoenix_Missile_mini.mdl",caster,"hand left")
loop
exitwhen i >= 20
call TriggerSleepAction(.20)
call SetUnitAnimation(caster,"attack")
call SetUnitPosition(caster,GetUnitX(target),GetUnitY(target))
call SetUnitFacing(caster,Atan2(GetUnitY(target)-GetUnitY(caster),GetUnitX(target)-GetUnitX(caster))*bj_RADTODEG)
call UnitDamageTarget(caster,target,50.,true,false,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_NORMAL,null)
call DestroyEffect(AddSpecialEffectTarget("Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl",caster,"origin"))
call DestroyEffect(AddSpecialEffectTarget("Objects\\Spawnmodels\\Critters\\Albatross\\CritterBloddAlbatross.mdl",target,"chest"))
if GetWidgetLife(target) < 60. then
call SetUnitAnimation(caster,"attack")
call PauseUnit(target,true)
call SetUnitTimeScale(caster,.25)
call SetUnitTimeScale(target,.1)
call PolledWait(1.85)
call SetUnitAnimation(target,"death")
call DestroyEffect(AddSpecialEffectTarget("Abilities\\Spells\\Other\\Stampede\\StampedeMissileDeath.mdl",target,"chest"))
call DestroyEffect(AddSpecialEffect("Abilities\\Weapons\\MeatwagonMissile\\MeatwagonMissile.mdl",GetUnitX(target),GetUnitY(target)))
call SetUnitTimeScale(target,1.)
call PolledWait(.01)
call SetUnitExploded(target,true)
call UnitDamageTarget(caster,target,150.,true,false,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_NORMAL,null)
call PolledWait(1.)
exitwhen true
endif
set i = i + 1
endloop
call SetUnitAnimation(caster,"stand")
call SetUnitInvulnerable(caster,false)
call PauseUnit(caster,false)
call SetUnitTimeScale(caster,1.)
call DestroyEffect(eff)
call DestroyEffect(eff2)
set eff = null
set eff2 = null
set caster = null
set target = null
endfunction
function InitTrig_Shdow_Fury takes nothing returns nothing
set gg_trg_Shdow_Fury = CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Shdow_Fury,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(gg_trg_Shdow_Fury,Condition(function Trig_Shdow_Fury_Conditions))
call TriggerAddAction(gg_trg_Shdow_Fury,function Trig_Shdow_Fury_Actions)
endfunction