I have these triggers. They are supposed to limit a summon to only 1 but they wont. Please help. +rep. Pharoh is an integer(variable). and Pharohh is an unit(variable)
1:
1:
- Pharoh
- Events
- Unit - Nephri'thos 011 Is Issued An Orded With No Target
- Conditions
- (ability being cast) equal to Feral Buddy
- Pharoh equal to 0
- Actions
- Set Pharohh equal to (summoned unit)
- Set Pharoh equal to 1
- Pharoh 1
- Events
- Unit - Nephri'thos 011 Is Issued An Orded With No Target
- Conditions
- (ability being cast) equal to Feral Buddy
- Actions
- If (Pharoh equal to 1) then do (Remove (summoned unit) from the game) else do (do nothing)
- Pharoh 2
- Events
- Unit - a unit dies
- Conditions
- (Dying unit) equal to Pharohh
- Actions
- Set Pharoh equal to 0