Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
( mà up lâu lắm nên chịu vậy :P )
có nghĩa caster sẽ move về hướng ngược lại


( nghe nói thì hơi giống phân thân thường :P )
)
) Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Spell
Actions
Set Caster = (Casting unit)
Set Target = (Target unit of ability being cast)
Unit - Pause Caster
Unit - Pause Target
Wait 0.50 seconds
Special Effect - Create a special effect at (Position of Caster) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
Special Effect - Destroy (Last created special effect)
Unit - Hide Caster
Unit - Move Caster instantly to ((Position of Target) offset by 150.00 towards 0.00 degrees), facing 180.00 degrees
Wait 0.50 seconds
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Unit - Create 1 Dummy for (Owner of Caster) at ((Position of Target) offset by 150.00 towards ((Real((Integer A))) x 90.00) degrees) facing (Position of Target)
Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
Special Effect - Destroy (Last created special effect)
Animation - Play (Last created unit)'s attack slam animation
Set Dummy[(Integer A)] = (Last created unit)
Wait 0.01 seconds
Animation - Change Dummy[(Integer A)]'s animation speed to 10.00% of its original speed
Wait 0.10 seconds
Unit - Unhide Caster
Animation - Play Caster's attack slam animation
Special Effect - Create a special effect attached to the chest of Caster using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
Special Effect - Destroy (Last created special effect)
Wait 0.01 seconds
Animation - Change Caster's animation speed to 10.00% of its original speed
Wait 1.00 seconds
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Animation - Change Dummy[(Integer A)]'s animation speed to 100.00% of its original speed
Wait 0.10 seconds
Unit - Cause Caster to damage Target, dealing (100.00 x (Real((Level of Spell for Caster)))) damage of attack type Spells and damage type Normal
Special Effect - Create a special effect attached to the weapon of Dummy[(Integer A)] using Abilities\Weapons\PhoenixMissile\Phoenix_Missile.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect attached to the overhead of Target using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Special Effect - Destroy (Last created special effect)
Animation - Play Target's death animation
Wait 0.10 seconds
Unit - Remove Dummy[(Integer A)] from the game
Special Effect - Create a special effect at (Position of Dummy[(Integer A)]) using Abilities\Spells\Orc\MirrorImage\MirrorImageDeathCaster.mdl
Special Effect - Destroy (Last created special effect)
Animation - Change Caster's animation speed to 100.00% of its original speed
Wait 0.10 seconds
Unit - Cause Caster to damage Target, dealing (100.00 x (Real((Level of Spell for Caster)))) damage of attack type Spells and damage type Normal
Special Effect - Create a special effect attached to the weapon of Caster using Abilities\Weapons\PhoenixMissile\Phoenix_Missile.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect attached to the overhead of Target using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Special Effect - Destroy (Last created special effect)
Animation - Play Target's death animation
Selection - Select Caster for (Owner of Caster)
Unit - Unpause Caster
Unit - Unpause Target


)
, (hoặc dùng tornado trong war rồi chỉnh cho nó hơi dỏ 1 tí cũng được :P) Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Bladestorm
Actions
Set BladeStormCaster = (Casting unit)
Set Point = (Target point of ability being cast)
Unit - Pause BladeStormCaster
Animation - Play BladeStormCaster's attack walk stand spin animation
Unit - Create 1 TornadoDummy for (Owner of BladeStormCaster) at (Position of BladeStormCaster) facing Default building facing degrees
Set Tornado = (Last created unit)
Unit - Turn collision for BladeStormCaster Off
Trigger - Turn on BladeStorm Move Caster <gen>
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Integer((Distance between (Position of BladeStormCaster) and Point))) Less than or equal to 80
Then - Actions
Unit - Unpause BladeStormCaster
Animation - Reset BladeStormCaster's animation
Unit - Kill Tornado
Unit - Turn collision for BladeStormCaster On
Custom script: call RemoveLocation(udg_Point)
Trigger - Turn off (This trigger)
Else - Actions
Unit - Move BladeStormCaster instantly to ((Position of BladeStormCaster) offset by 40.00 towards (Angle from (Position of BladeStormCaster) to Point) degrees)
Unit - Move Tornado instantly to (Position of BladeStormCaster)
Special Effect - Create a special effect at (Position of BladeStormCaster) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Position of BladeStormCaster) using Objects\Spawnmodels\NightElf\NEDeathMedium\NEDeath.mdl
Special Effect - Destroy (Last created special effect)
Unit Group - Pick every unit in (Units within 180.00 of (Position of BladeStormCaster) matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of BladeStormCaster)) Equal to True)))) and do (Actions)
Loop - Actions
Unit - Cause BladeStormCaster to damage (Picked unit), dealing (100.00 x (Real((Level of Bladestorm for BladeStormCaster)))) damage of attack type Spells and damage type Normal

, map đã attach ở dưới, các bạn down về xem
, có thắc mắc gì xin hỏi :PTạo 1 trigger nữa với tên tùy bạnEvents
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Summon Guardian Sheep
Actions
Set GS_Caster = (Casting unit)
Unit - Create 1 Flying Sheep for (Owner of GS_Caster) at (Position of GS_Caster) facing Default building facing degrees(tạo cừu bay)
Set GS = (Last created unit)
Unit - Add Healing Sheep to GS(Healing Sheep chính là tên ability Healing Wave vừa tạo,dòng này giúp add cho con cừu cái Healing Wave)
Unit - Set level of Healing Sheep for GS to (Level of Summon Guardian Sheep for GS_Caster)(Dòng này giúp chỉnh lv của abilities Healing Sheep theo lv của Summon Guardian Sheep)
Unit - Add a 5.00 second Generic expiration timer to GS(cho thời gian sống của cừu là 5s
Và bây giờ chiêm ngưỡng thành qả điEvents
Time - Every 1.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(GS is alive) Equal to True(Dòng này có nghĩa là check GS(con cừu) vẫn còn sống hay ko)
Then - Actions
Unit - Order GS to Orc Shadow Hunter - Healing Wave GS_Caster(Ra lênh cho Gs(con cừu) cast Healing Wave
Else - Actions
For Each Integer A form 1 to 5, do:
Order GS to Orc ShadowHunter-Healing Wave Random Unit IN( Units Within 500 Range of GS Matching(Matching Unit Belongs to An Ally of Owner of GS
Wait 1 second
Order GS to Orc ShadowHunter-Healing Wave Random Unit IN( Units Within 500 Range of GS Matching(Matching Unit Belongs to An Ally of Owner of GS
Wait 1 second \\ Sau mỗi vòng lặp cách nhau 1s
.
.(cho giá trị từ 1-100 random là 30%)Mã:If - Conditions (Random integer number between 1 and 100) Less than or equal to 30