I've made a trigger where a unit can switch between 3 different stances but the unit will only switch between 2 stances.
Here's the trigger I'm having trouble with:
Here's the trigger I'm having trouble with:
-
Attune Element Water to Fire
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Attune Fire (R)
-
Actions
- Set Elementalist_UnitWF = (Triggering unit)
- Set Elementalist_Level = (Hero level of Elementalist_UnitWF)
- Set Elementalist_QSkills = (Level of Snap Freeze for Elementalist_UnitWF)
- Set Elementalist_WSkills = (Level of Frost Armor for Elementalist_UnitWF)
- Unit - Remove Elementalist_UnitWF from the game
- Unit - Create 1 Elementalist (Fire) for (Owner of Elementalist_UnitWF) at (Position of Elementalist_UnitWF) facing Default building facing degrees
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Snap Freeze for (Triggering unit)) Greater than or equal to 1
-
Then - Actions
- Unit - Add Fireball to (Last created unit)
- Unit - Set level of Fireball for (Last created unit) to Elementalist_QSkills
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Frost Armor for (Triggering unit)) Greater than or equal to 1
-
Then - Actions
- Unit - Add Draining Flame to (Last created unit)
- Unit - Set level of Draining Flame for (Last created unit) to Elementalist_WSkills
- Else - Actions
-
If - Conditions
- Hero - Set (Last created unit) Hero-level to Elementalist_Level, Hide level-up graphics
- Hero - Modify unspent skill points of (Last created unit): Set to 0 points
- Unit - Add Attune Water (E) to (Last created unit)
- Unit - Add Attune Air (R) to (Last created unit)
- Selection - Select (Last created unit) for (Owner of Elementalist_UnitWF)
-
Events