I have a problem with these two triggers when they are applied together, but alone they do what they are supposed to do. Whenever they both are applied for some reason at the very end where I want the multiboard to display the values of the ribosome integer, it won't change in game, but if i disable the other trigger then it will work. What is wrong here?
-
Cell Survival Level Two Vacoules
-
Events
- Unit - A unit Finishes casting an ability
-
Conditions
- (Ability being cast) Equal to |c0001FF26Cell Survival|r
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of |c0001FF26Cell Survival|r for (Casting unit)) Equal to 2
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Vacuoleinterger[(Player number of (Owner of (Casting unit)))] Less than or equal to 5
-
Then - Actions
- Set CancelSpellinterger = (Player number of (Owner of (Casting unit)))
- Unit - Change ownership of (Casting unit) to Neutral Passive and Retain color
- Unit - Change ownership of (Casting unit) to (Player(CancelSpellinterger)) and Retain color
- Selection - Add (Triggering unit) to selection for (Player(CancelSpellinterger))
- Game - Display to (Player group((Owner of (Casting unit)))) the text: You do not have eno...
-
Else - Actions
- Unit - Set level of |c0001FF26Cell Survival|r for (Casting unit) to 3
- Set Vacuoleinterger[(Player number of (Owner of (Casting unit)))] = (Vacuoleinterger[(Player number of (Owner of (Casting unit)))] - 6)
- Player - Set the current research level of |c0001FF26Cell Survival|r to ((Current research level of |c0001FF26Cell Survival|r for (Owner of (Casting unit))) + 1) for (Owner of (Casting unit))
-
For each (Integer A) from 0 to Vacuoleinterger[(Player number of (Owner of (Casting unit)))], do (Actions)
-
Loop - Actions
- Multiboard - Set the text for (Last created multiboard) item in column 2, row ((Player number of (Owner of (Casting unit))) + 1) to (String((Integer A)))
-
Loop - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- Game - Force (Owner of (Casting unit)) to press Escape/Cancel
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Cell Survival Level Two Ribosomes
-
Events
- Unit - A unit Finishes casting an ability
-
Conditions
- (Ability being cast) Equal to |c0001FF26Cell Survival|r
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of |c0001FF26Cell Survival|r for (Casting unit)) Equal to 2
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Ribosomeinterger[(Player number of (Owner of (Casting unit)))] Less than or equal to 1
-
Then - Actions
- Set CancelSpellinterger = (Player number of (Owner of (Casting unit)))
- Unit - Change ownership of (Casting unit) to Neutral Passive and Retain color
- Unit - Change ownership of (Casting unit) to (Player(CancelSpellinterger)) and Retain color
- Selection - Add (Triggering unit) to selection for (Player(CancelSpellinterger))
- Game - Display to (Player group((Owner of (Casting unit)))) the text: You do not have eno...
-
Else - Actions
- Set Ribosomeinterger[(Player number of (Owner of (Casting unit)))] = (Ribosomeinterger[(Player number of (Owner of (Casting unit)))] - 2)
-
For each (Integer A) from 0 to Ribosomeinterger[(Player number of (Owner of (Casting unit)))], do (Actions)
-
Loop - Actions
- Multiboard - Set the text for (Last created multiboard) item in column 3, row ((Player number of (Owner of (Casting unit))) + 1) to (String((Integer A)))
-
Loop - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- Game - Force (Owner of (Casting unit)) to press Escape/Cancel
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events