hi, i need help with a spell i made based on wow called earth shield, the spell consists that when you recieve damage you will be healed X health, and only happens 1 time each X seconds. i made a trigger so it works, but on multiplayer doesnt works is 2 units have the same buff, this is the trigger i made, and i know why isnt MUI, i would like to know how to make this trigger work for many players at the same time. thanks
Code:
escudo de tierra
Acontecimientos
Unidad - A unit Es atacado
Condiciones
((Attacked unit) has buff Earth shield ) Igual a True
Acciones
Unidad - Set life of (Attacked unit) to ((Vida of (Attacked unit)) + 800.00)
Detonador - Turn off (This trigger)
Wait 4.00 seconds
Detonador - Turn on (This trigger)