Cloak which will only decloak upon reaching 25% HP

X-maul

AKA: Demtrod
Reaction score
201
Hi there
Do any of you people got any idea how I would create an ability which would make a unit cloaked for 10 seconds, but would be decloaked upon reaching 25% hp?
(Able to take aoe damage and get the effects, just not get decloaked from it)
 

Dave312

Censored for your safe viewing
Reaction score
269
You need to add a validator to the cloak behaviour (Behaviour: Validators (Remove) + property). You don't need to bother creating a new validator as there is some basic ones that will cover your needs. Add either "Life > 1/4 HP" or "Life < 1/4 HP" depending on whether it should cancel when life drops below 25% or becomes greater than 25%.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top