- Joined
- Jul 23, 2018
- Messages
- 243
-
Unholy Resurrection
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Unholy Resurrection
-
Or - Any (Conditions) are true
-
Conditions
-
(Unit-type of (Casting unit)) Equal to <Hero>
-
(Unit-type of (Casting unit)) Equal to <Hero AI>
-
-
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of (Ability being cast) for (Casting unit)) Equal to 1
-
-
Then - Actions
-
Unit Group - Pick every unit in (Units owned by (Owner of (Casting unit)) of type Reviver) and do (Actions)
-
Loop - Actions
-
Unit - Set level of Resurrection for (Picked unit) to 1
-
Unit - Set level of Animate Dead for (Picked unit) to 1
-
Unit - Order (Picked unit) to Human Paladin - Resurrection
-
-
-
Unit Group - Pick every unit in (Units owned by (Owner of (Casting unit)) of type Reviver) and do (Actions)
-
Loop - Actions
-
Unit - Set level of Resurrection for (Picked unit) to 1
-
Unit - Set level of Animate Dead for (Picked unit) to 1
-
Unit - Order (Picked unit) to Undead Death Knight - Animate Dead
-
Game - Display to (All players) the text: Success
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of (Ability being cast) for (Casting unit)) Equal to 2
-
-
Then - Actions
-
Unit Group - Pick every unit in (Units owned by (Owner of (Casting unit)) of type Reviver) and do (Actions)
-
Loop - Actions
-
Unit - Set level of Resurrection for (Picked unit) to 2
-
Unit - Set level of Animate Dead for (Picked unit) to 2
-
Unit - Order (Picked unit) to Human Paladin - Resurrection
-
-
-
Unit Group - Pick every unit in (Units owned by (Owner of (Casting unit)) of type Reviver) and do (Actions)
-
Loop - Actions
-
Unit - Set level of Resurrection for (Picked unit) to 2
-
Unit - Set level of Animate Dead for (Picked unit) to 2
-
Unit - Order (Picked unit) to Undead Death Knight - Animate Dead
-
Game - Display to (All players) the text: Success
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of (Ability being cast) for (Casting unit)) Equal to 3
-
-
Then - Actions
-
Unit Group - Pick every unit in (Units owned by (Owner of (Casting unit)) of type Reviver) and do (Actions)
-
Loop - Actions
-
Unit - Set level of Resurrection for (Picked unit) to 3
-
Unit - Set level of Animate Dead for (Picked unit) to 3
-
Unit - Order (Picked unit) to Human Paladin - Resurrection
-
-
-
Unit Group - Pick every unit in (Units owned by (Owner of (Casting unit)) of type Reviver ) and do (Actions)
-
Loop - Actions
-
Unit - Set level of Resurrection for (Picked unit) to 3
-
Unit - Set level of Animate Dead for (Picked unit) to 3
-
Unit - Order (Picked unit) to Undead Death Knight - Animate Dead
-
Game - Display to (All players) the text: Success
-
-
-
-
Else - Actions
-
Game - Display to (All players) the text: Fail
-
-
-
-
-
-
-
-
I made an ability based on Feral Spirits from Far Seer and it summons a dummy unit. When the hero begins casting the ability, the trigger orders the dummy unit to cast Animate Dead and Resurrection. But the problem is the dummy unit only cast one ability instead of 2 at the same time. I already tried using wait action, and put issue order in the same Pick unit action. Those game messages are for letting me know if the ability works or not. The dummy is a peasant, and a normal unit. The 2 abilities the dummy unit cast are set to false for "Hero Ability" and "Item Ability". Does anyone know how to solve this? I appreciate all helps.
Last edited: