Dragonmangia
Donkey Kong
- 8/5/09
- 372
- 3
Bạn nào giúp mình làm Spell mà mình "hiến 500 HP" để chưởng đối phương (giống như chiu Double Edge trong DotA nhưng có điều mình mất nhìu HP hơn nó
)
Rất mog được giúp đỡ
)Rất mog được giúp đỡ

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.
)
Bạn nào giúp mình làm Spell mà mình "hiến 500 HP" để chưởng đối phương (giống như chiu Double Edge trong DotA nhưng có điều mình mất nhìu HP hơn nó)
Rất mog được giúp đỡ![]()
Double Edge
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Double Edge
Actions
Unit - Cause (Triggering unit) to damage (Triggering unit), dealing 500.00 damage of attack type Spells and damage type Fire
Bạn nào giúp mình làm Spell mà mình "hiến 500 HP" để chưởng đối phương (giống như chiu Double Edge trong DotA nhưng có điều mình mất nhìu HP hơn nó

Untitled Trigger 001
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Life Drain
Actions
Set LifeDrain_Caster = (Casting unit)
Set LifeDrain_Target = (Target point of issued order)
Set LifeDrain_Unit[3] = (Target unit of ability being cast)
Unit - Create 1 Sorceress for Player 12 (Brown) at LifeDrain_Target facing Default building facing degrees
Set LifeDrain_Unit[1] = (Last created unit)
Unit - Create 1 Sorceress for (Owner of LifeDrain_Caster) at (Position of LifeDrain_Caster) facing Default building facing degrees
Set LifeDrain_Unit[2] = (Last created unit)
Unit - Order LifeDrain_Unit[2] to Neutral Dark Ranger - Life Drain LifeDrain_Unit[3]
Unit - Order LifeDrain_Unit[1] to Neutral Dark Ranger - Life Drain LifeDrain_Caster
Wait 8.00 seconds
Unit - Remove LifeDrain_Unit[1] from the game
Unit - Remove LifeDrain_Unit[2] from the game
Chả cần wait 8 sec đâu,cho lệnh add 8 xxx(dạng timer,vd Water Elemental,Generic..) Timer to Last Created unit sau mỗi lệnh create là đc rùiUntitled Trigger 001
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Life Drain
Actions
Set LifeDrain_Caster = (Casting unit)
Set LifeDrain_Target = (Target point of issued order)
Set LifeDrain_Unit[3] = (Target unit of ability being cast)
Unit - Create 1 Sorceress for Player 12 (Brown) at LifeDrain_Target facing Default building facing degrees
Set LifeDrain_Unit[1] = (Last created unit)
Unit - Create 1 Sorceress for (Owner of LifeDrain_Caster) at (Position of LifeDrain_Caster) facing Default building facing degrees
Set LifeDrain_Unit[2] = (Last created unit)
Unit - Order LifeDrain_Unit[2] to Neutral Dark Ranger - Life Drain LifeDrain_Unit[3]
Unit - Order LifeDrain_Unit[1] to Neutral Dark Ranger - Life Drain LifeDrain_Caster
Wait 8.00 seconds
Unit - Remove LifeDrain_Unit[1] from the game
Unit - Remove LifeDrain_Unit[2] from the game
@kitagawa: ấn cái Campaigns Editor(F7) rồi open cái DemoCampaign.w3n ra trong đó có cách save đó.
Unit-Create 1 Thrall......at <Region>....


Cho tui hỏi cách nào làm cho quân bạn không hiện trên bản đồ vậy:(
Hjc đang cần gấp cho map Kasthal Quest :(
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Unit - Create 1 [B]unit nào đó[/B] for [B]Player nào đó[/B] at [B]vị trí nào đó[/B] facing (Position of (Target unit of ability being casting))
Phần tui tô khác màu là phần sai
Chả cần wait 8 sec đâu,cho lệnh add 8 xxx(dạng timer,vd Water Elemental,Generic..) Timer to Last Created unit sau mỗi lệnh create là đc rùi