WordEditor
C O N T R A
- 8/9/08
- 1,509
- 53
Cái Replay không có map nên không xem được ::( còn mấy cái kia mình chỉ hiểu được cái chidori, còn mấy cái mà giậm chân, mọc gai, sư phụ, nước đen gì đó đọc không hiểu nổi 
Thôi thì giúp spell Chidori vậy
Đầu tiên làm vài cái Variables, sau đó thêm 2trigger :hug:
Chidori


Thôi thì giúp spell Chidori vậy

Đầu tiên làm vài cái Variables, sau đó thêm 2trigger :hug:
Chidori
Chidori Move CasterEvents
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Chidori
Actions
Set ChidoriCaster = (Casting unit)
Set ChidoriTarget = (Target unit of ability being cast)
Unit - Pause ChidoriTarget
Unit - Pause ChidoriCaster
Unit - Make ChidoriCaster Invulnerable
Unit - Make ChidoriTarget Invulnerable
Unit - Turn collision for ChidoriCaster Off
Special Effect - Create a special effect attached to the hand right of ChidoriCaster using Abilities\Weapons\FarseerMissile\FarseerMissile.mdl
Set SPECIAL_EFFECTS[1] = (Last created special effect)
Animation - Play ChidoriCaster's attack 1 animation
Wait 0.03 seconds
Animation - Change ChidoriCaster's animation speed to 0.00% of its original speed
Trigger - Turn on Chidori Move Caster <gen>
Wait ((Distance between (Position of ChidoriCaster) and (Position of ChidoriTarget)) / 950.00) seconds
Trigger - Turn off Chidori Move Caster <gen>
Unit - Unpause ChidoriCaster
Unit - Make ChidoriCaster Vulnerable
Unit - Make ChidoriTarget Vulnerable
Special Effect - Create a special effect at (Position of ChidoriTarget) using Doodads\Cinematic\Lightningbolt\Lightningbolt.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Position of ChidoriTarget) using Abilities\Weapons\Bolt\BoltImpact.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Position of ChidoriTarget) using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Animation - Change ChidoriCaster's animation speed to 100.00% of its original speed
Unit - Cause ChidoriCaster to damage ChidoriTarget, dealing (xxx.00 x (Real((Level of Chidori for ChidoriCaster)))) damage of attack type Spells and damage type Normal
If (All Conditions are True) then do (Then Actions) else do (Else Actions)//Chidori khi Sasuke biến hình
If - Conditions
(Unit-type of ChidoriCaster) Equal to Uchiha Sasuke ( lúc đã biến )
Then - Actions
Unit Group - Pick every unit in (Units within (((Real((Level of Chidori for ChidoriCaster))) x 100.00) + 400.00) of (Position of RasenganCaster) matching (((Matching unit) belongs to an enemy of (Owner of ChidoriCaster)) Equal to True)) and do (Unit - Cause ChidoriCaster to damage (Picked unit), dealing (((Real((Level of Chidori for ChidoriCaster))) x 100.00) + 200.00) damage of attack type Spells and damage type Normal)
For each (Integer A) from 1 to 9, do (Actions)
Loop - Actions
Unit - Create 1 Dummy Lightning for Neutral Passive at ((Position of ChidoriCaster) offset by 200.00 towards (40.00 x (Real((Integer A)))) degrees) facing Default building facing degrees//Tạo 1 Dummy hình Tia sét, đặt tên là Dummy Lightning
Unit - Create 1 Dummy Lightning for Neutral Passive at ((Position of ChidoriCaster) offset by 350.00 towards (40.00 x (Real((Integer A)))) degrees) facing Default building facing degrees
Unit - Create 1 Dummy Lightning for Neutral Passive at ((Position of ChidoriCaster) offset by 500.00 towards (40.00 x (Real((Integer A)))) degrees) facing Default building facing degrees
Unit - Create 1 Dummy Lightning for Neutral Passive at ((Position of ChidoriCaster) offset by 650.00 towards (40.00 x (Real((Integer A)))) degrees) facing Default building facing degrees
Unit - Create 1 Dummy Lightning for Neutral Passive at ((Position of ChidoriCaster) offset by 800.00 towards (40.00 x (Real((Integer A)))) degrees) facing Default building facing degrees
Else - Actions
Special Effect - Destroy SPECIAL_EFFECTS[1]
Unit - Turn collision for ChidoriCaster On
Wait 2.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Dummy Lightning)) and do (Unit - Remove (Picked unit) from the game)
Unit - Unpause ChidoriTarget
Mấy cái change animation speed là dùng cho model Sasuke cầm kiếm ( giống trong "map tong hop" để lúc rút kiếm ra thì pause lại giống như đang cast spellEvents
Time - Every 0.04 seconds of game time
Conditions
Actions
Unit - Move ChidoriCaster instantly to ((Position of ChidoriCaster) offset by 30.00 towards (Angle from (Position of ChidoriCaster) to (Position of ChidoriTarget)) degrees)
Special Effect - Create a special effect attached to the hand right of ChidoriCaster using Abilities\Weapons\Bolt\BoltImpact.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Position of ChidoriCaster) using Abilities\Weapons\AncientProtectorMissile\AncientProtectorMissile.mdl
Special Effect - Destroy (Last created special effect)



