Channel All
事件
Unit - A unit 开始一种技能的效果
环境
(Ability being cast) 等于 通魔 (All)
动作
Trigger - Turn off (This trigger)
-------- Begin --------
Set a_HLW_untHero = (Casting unit)
Set a_HLW_ptSrc = (Position of a_HLW_untHero)
Set a_HLW_fFace = (Angle from a_HLW_ptSrc to (Target point of ability being cast))
-------- Start --------
For each (Integer a_HLW_iLoop) from 0 to 12, do (Actions)
Loop - 动作
Set a_HLW_fPos = 0.00
For each (Integer iLoop) from 0 to 10, do (Actions)
Loop - 动作
-------- 当fPos超过范围时退出循环 --------
Custom script: exitwhen udg_a_HLW_fPos > 1800
-------- Angle --------
Set fAngle = (((Real(a_HLW_iLoop)) * 30.00) + (180.00 * (a_HLW_fPos / 600.00)))
-------- Dist --------
Set X = (0.00 + a_HLW_fPos)
Set Y = (240.00 * (Sin(fAngle)))
-------- Location --------
Custom script: set udg_ptTemp = PolarProjectionExBJ(udg_a_HLW_ptSrc, udg_a_HLW_fFace, udg_X, udg_Y)
-------- Effect --------
Special Effect - Create a special effect at ptTemp using Abilities\Spells\Other\Doom\DoomDeath.mdl
Special Effect - Destroy (Last created special effect)
-------- Free --------
Custom script: call RemoveLocation(udg_ptTemp)
Custom script: set udg_ptTemp = null
-------- Next --------
Set a_HLW_fPos = (a_HLW_fPos + 60.00)
-------- Loop --------
Set iLoop = 0
Wait 0.20 game-time seconds
-------- Free --------
Custom script: set udg_a_HLW_untHero = null
Custom script: set udg_a_HLW_ptSrc = null
-------- End --------
Trigger - Turn on (This trigger)
事件
Unit - A unit 开始一种技能的效果
环境
(Ability being cast) 等于 通魔 (All)
动作
Trigger - Turn off (This trigger)
-------- Begin --------
Set a_HLW_untHero = (Casting unit)
Set a_HLW_ptSrc = (Position of a_HLW_untHero)
Set a_HLW_fFace = (Angle from a_HLW_ptSrc to (Target point of ability being cast))
-------- Start --------
For each (Integer a_HLW_iLoop) from 0 to 12, do (Actions)
Loop - 动作
Set a_HLW_fPos = 0.00
For each (Integer iLoop) from 0 to 10, do (Actions)
Loop - 动作
-------- 当fPos超过范围时退出循环 --------
Custom script: exitwhen udg_a_HLW_fPos > 1800
-------- Angle --------
Set fAngle = (((Real(a_HLW_iLoop)) * 30.00) + (180.00 * (a_HLW_fPos / 600.00)))
-------- Dist --------
Set X = (0.00 + a_HLW_fPos)
Set Y = (240.00 * (Sin(fAngle)))
-------- Location --------
Custom script: set udg_ptTemp = PolarProjectionExBJ(udg_a_HLW_ptSrc, udg_a_HLW_fFace, udg_X, udg_Y)
-------- Effect --------
Special Effect - Create a special effect at ptTemp using Abilities\Spells\Other\Doom\DoomDeath.mdl
Special Effect - Destroy (Last created special effect)
-------- Free --------
Custom script: call RemoveLocation(udg_ptTemp)
Custom script: set udg_ptTemp = null
-------- Next --------
Set a_HLW_fPos = (a_HLW_fPos + 60.00)
-------- Loop --------
Set iLoop = 0
Wait 0.20 game-time seconds
-------- Free --------
Custom script: set udg_a_HLW_untHero = null
Custom script: set udg_a_HLW_ptSrc = null
-------- End --------
Trigger - Turn on (This trigger)