Hi, I'm making a hero for my AoS/Arena like map. The hero is a black dragon and I have a problem with his third spell because I'm a noob world editor .
"Blight is famous for his poisonous breath. He spits a neurotoxin from the two acid glands that are located inside his mouth on either side of the tongue. The neurotoxin requires 3 seconds to get into the foe's blood and then it paralyzes the victim."
The Ability is based on Orb of Lightning (new) and the 2nd ability is based on Cripple. Here's what i want: after the hero's attack, wait 3 seconds and stun the target. So far I'm here:
oh btw.. i know it's not Mui but I don't care just help me pls.
"Blight is famous for his poisonous breath. He spits a neurotoxin from the two acid glands that are located inside his mouth on either side of the tongue. The neurotoxin requires 3 seconds to get into the foe's blood and then it paralyzes the victim."
The Ability is based on Orb of Lightning (new) and the 2nd ability is based on Cripple. Here's what i want: after the hero's attack, wait 3 seconds and stun the target. So far I'm here:
Trigger:
- Poison Breath
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Poison Breath (Effect)
- Actions
- Set Breath_time = 3
- Set Breath_unit = (Target unit of ability being cast)
- Set Breath_caster = (Owner of (Casting unit))
- Set Breath_lvl = (Level of (Ability being cast) for (Casting unit))
- Trigger - Turn on Poison Breath2 <gen>
- Events
Trigger:
- Poison Breath2
- Events
- Time - Every 1.00 seconds of game time
- Conditions
- (Breath_unit has buff Poison Breath ) Equal to True
- Actions
- Set Breath_time = (Breath_time - 1)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Breath_time Equal to 0
- Then - Actions
- Unit - Remove Poison Breath buff from Breath_unit
- Unit - Create 1 Dummy for Breath_caster at (Position of Breath_unit) facing Default building facing degrees
- Unit - Add Poison Breath (Damage) to (Last created unit)
- Unit - Set level of Poison Breath (Damage) for (Last created unit) to Breath_lvl
- Unit - Order (Last created unit) to Neutral - Firebolt Breath_unit
- Unit - Add a 4.00 second Generic expiration timer to (Last created unit)
- Trigger - Turn off (This trigger)
- Else - Actions
- If - Conditions
- Events
oh btw.. i know it's not Mui but I don't care just help me pls.