Ability based on life of unit

ROTS19

TH.net Regular
Reaction score
12
I have a unit that i made gain an ability when its health reaches low enough. That works, but i wanted to make it so that when it is repaired to a life greater than that specified health value it loses the ability. And for some reason, the ability isn't being removed.

Trigger:
  • TRep
    • Events
      • Unit - A unit Stops casting an ability
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Target unit of ability being cast)) Equal to Arcane Tower
          • (Unit-type of (Target unit of ability being cast)) Equal to Guard Tower
      • (Life of (Target unit of ability being cast)) Greater than 166.67
    • Actions
      • Unit - Remove Critical Strike (Neutral Hostile) from (Target unit of ability being cast)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top