if i kill a enemy summon then i get a food (Killing Summons) but if i kill an ally then i also get a food (Killing Summons) how to fix that?
Trigger:
- Player Kills
- Events
- Unit - A unit Dies
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Triggering unit) is A Hero) Equal to True
- ((Triggering unit) is Not an Ally) Equal to True <- this is where i need help
- Then - Actions
- Player - Add 1 to (Owner of (Killing unit)) Current lumber
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Triggering unit) is Summoned) Equal to True
- ((Triggering unit) is Not an Ally) Equal to True <- this is where i need help
- Then - Actions
- Player - Add 1 to (Owner of (Killing unit)) Food used
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events