- Joined
- Dec 25, 2018
- Messages
- 110
Point of my trigger is to gain armor whenever Defend is active while draining 20 mana per second but I am having some issues.
Problems:
This part is not detected, its purpose is to remove mana per second cost and armor when Stop Defending is used.
If I do this in seperate trigger then theres issues with multiple units with this spell:
(2.50 seconds acts as 'cooldown')
Another issue is this mana per second cost:
For example unit 1 uses defend and then unit 2 uses defend= unit 1 doesnt lose mana, unit 2 loses 40 mana.
I tried setting up local variables but perhaps I failed, if anyone could be so kind to help me fix this code.
Its my first trigger and I would really like to get it working...
Problems:
This part is not detected, its purpose is to remove mana per second cost and armor when Stop Defending is used.
If I do this in seperate trigger then theres issues with multiple units with this spell:
(2.50 seconds acts as 'cooldown')
Another issue is this mana per second cost:
For example unit 1 uses defend and then unit 2 uses defend= unit 1 doesnt lose mana, unit 2 loses 40 mana.
I tried setting up local variables but perhaps I failed, if anyone could be so kind to help me fix this code.
Its my first trigger and I would really like to get it working...