- Joined
- Mar 8, 2009
- Messages
- 975
Hi hivers, i´m a really n00b in triggers... i´m doing my first spell with triggers, but its doesnt works. I dont knows why.
The Idea:
In my map you are a wolfmaster, obviously, you can summon wolf.
This wolfs are called Night Wolfs, when you cast another skill, called High Moon, all the Night Wolfs be replaced with Moon Wolf (Another unit) and your hero receive a attack bonus, after 20 seconds, the ability over and the wolfs are killed.
This is my trigger, but its doesnt work... fix it for me plz...
Please... i need help.
PS: Sorry for my caveman english...
The Idea:
In my map you are a wolfmaster, obviously, you can summon wolf.
This wolfs are called Night Wolfs, when you cast another skill, called High Moon, all the Night Wolfs be replaced with Moon Wolf (Another unit) and your hero receive a attack bonus, after 20 seconds, the ability over and the wolfs are killed.
This is my trigger, but its doesnt work... fix it for me plz...
-
High Moon
-
Events
- Unit - A unit start the effect of an ability
-
Conditions
- (Ability being cast) Equal to High Moon
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Level of High Moon for Picked unit Equal to 1
-
Then - Actions
- Unit Group - Pick every unit in (Units of Type NightWolf) and do (Unit - Replace (Triggering unit ) with a MooWolf using the default new unit life and mana)
- Unit Add Attack Bonus(+16) to WolfMaster 0062 <gen>
- Wait 20.00 game-time seconds
- Unit Group - Pick every unit in (Units of Type NightWolf) and do (Unit - Kill (Triggering unit))
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Level of High Moon for Picked unit Equal to 2
-
Then - Actions
- Unit Group - Pick every unit in (Units of Type NightWolf) and do (Unit - Replace (Triggering unit ) with a MooWolf using the default new unit life and mana)
- Unit Add Attack Bonus(+32) to WolfMaster 0062 <gen>
- Wait 20.00 game-time seconds
- Unit Group - Pick every unit in (Units of Type NightWolf) and do (Unit - Kill (Triggering unit))
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Please... i need help.
PS: Sorry for my caveman english...
Last edited: