Hello. Would like to know why this trigger does not work to keep the caster only have the buff on one target unit at a time,
I cast the spell and the buff applies but when I cast it on a different unit the buff on the former target does not get removed.
-
Hunters Mark
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Hunter's Mark
-
-
Actions
-
Unit - Remove Hunter's Mark buff from (Load (Key marked) of (Key (Triggering unit)) in HashTable_SA)
-
Set tempLoc = (Position of (Triggering unit))
-
Unit - Create 1 dummy for (Owner of (Triggering unit)) at tempLoc facing 0.00 degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Add dummy Hunter's Mark (Neutral Hostile) to (Last created unit)
-
Unit - Order (Last created unit) to Night Elf Druid Of The Talon - Faerie Fire (Target unit of ability being cast)
-
Hashtable - Save Handle Of(Target unit of ability being cast) as (Key marked) of (Key (Triggering unit)) in HashTable_SA
-
Custom script: call RemoveLocation(udg_tempLoc)
-
-
I cast the spell and the buff applies but when I cast it on a different unit the buff on the former target does not get removed.