so i had this working before as an AoE ability, but i converted into something else, and its single target now, but it stops working, can someone tell me whats wrong?
i changed the targetunit variable to triggering unit and it worked, so it makes me think its something wrong with the target unit of ability being cast event response
Code:
cast beserk
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to (Autarch)Surgical Strike
Actions
Set Surgical_TargetUnit = (Target unit of ability being cast)
Unit - Add (dummyspell)(Autarch_strike) dmg increase to Surgical_TargetUnit
Unit - Set level of (dummyspell)(Autarch_strike) dmg increase for Surgical_TargetUnit to (Level of (Autarch)Surgical Strike for (Triggering unit))
Unit - Order Surgical_TargetUnit to Orc Troll Berserker - Berserk
Unit - Remove (dummyspell)(Autarch_strike) dmg increase from Surgical_TargetUnit