hi, how i can do a condition that says "a unit stops an spezific ability" coz i have
the ability tranquility in a trigger but when i interrupt the spell the healing is going on and that is not the sense of it
here the trigger:
tranqulity Kopieren
Ereignisse
Einheit - A unit Startet den Effekt einer Fähigkeit
Bedingungen
(Ability being cast) Gleich Tranquiliy
Aktionen
Wait 3.00 seconds
Einheitengruppe - Pick every unit in (Units in (Region centered at (Position of (Triggering unit)) with size (600.00, 600.00))) and do (Actions)
Schleifen - Aktionen
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
'IF'-Bedingungen
(Ability being cast) Gleich Tranquiliy
((Picked unit) belongs to an ally of (Owner of (Casting unit))) Gleich True
((Picked unit) is alive) Gleich True
'THEN'-Aktionen
Einheit - Set life of (Picked unit) to ((Leben of (Picked unit)) + (Real((((Intelligenz of (Triggering unit) (Einschließen bonuses)) x 2) + SpelldamageP[(Player number of Speller)]))))
Schwebender Text - Create floating text that reads (String((((Intelligenz of (Triggering unit) (Einschließen bonuses)) x 2) + SpelldamageP[(Player number of Speller)]))) above (Picked unit) with Z offset 5.00, using font size 8.00, color (0.00%, 100.00%, 0.00%), and 0.00% transparency
Schwebender Text - Set the velocity of (Last created floating text) to 100.00 towards 95.00 degrees
-------- - --------
Schwebender Text - Change (Last created floating text): Deaktivieren permanence
Schwebender Text - Change the lifespan of (Last created floating text) to 1.40 seconds
Schwebender Text - Change the fading age of (Last created floating text) to 0.65 seconds
-------- - --------
'ELSE'-Aktionen
Do nothing
the action x5
the ability tranquility in a trigger but when i interrupt the spell the healing is going on and that is not the sense of it
here the trigger:
tranqulity Kopieren
Ereignisse
Einheit - A unit Startet den Effekt einer Fähigkeit
Bedingungen
(Ability being cast) Gleich Tranquiliy
Aktionen
Wait 3.00 seconds
Einheitengruppe - Pick every unit in (Units in (Region centered at (Position of (Triggering unit)) with size (600.00, 600.00))) and do (Actions)
Schleifen - Aktionen
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
'IF'-Bedingungen
(Ability being cast) Gleich Tranquiliy
((Picked unit) belongs to an ally of (Owner of (Casting unit))) Gleich True
((Picked unit) is alive) Gleich True
'THEN'-Aktionen
Einheit - Set life of (Picked unit) to ((Leben of (Picked unit)) + (Real((((Intelligenz of (Triggering unit) (Einschließen bonuses)) x 2) + SpelldamageP[(Player number of Speller)]))))
Schwebender Text - Create floating text that reads (String((((Intelligenz of (Triggering unit) (Einschließen bonuses)) x 2) + SpelldamageP[(Player number of Speller)]))) above (Picked unit) with Z offset 5.00, using font size 8.00, color (0.00%, 100.00%, 0.00%), and 0.00% transparency
Schwebender Text - Set the velocity of (Last created floating text) to 100.00 towards 95.00 degrees
-------- - --------
Schwebender Text - Change (Last created floating text): Deaktivieren permanence
Schwebender Text - Change the lifespan of (Last created floating text) to 1.40 seconds
Schwebender Text - Change the fading age of (Last created floating text) to 0.65 seconds
-------- - --------
'ELSE'-Aktionen
Do nothing
the action x5