Adding a cooldown to defend?

MintJulep

New Member
Reaction score
4
I'm trying to make an ability based off of defend, but the problem is that the "Cooldown" field in the Defend ability doesn't seem to be working. No matter what I set it, the unit can still defend and undefend as much as they want. Ideally, what I'd like is for a unit to be able to cast defend and undefend once each without interference, but after undefending they'll see that they have to wait another 50 or so seconds before being able to defend again.
 

k0sA

New Member
Reaction score
9
You could add a trigger for this, when the ability is being cast you check if its defend, if it is just run this trigger:

Code:
Unit - Reset ability cooldowns for (Casting unit)

This is if you do not have any other abilities with cooldowns. If you do have other cooldown abilitys you could try removing and adding it ;)
 
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