Ability cooldont triggers!

Grobak

New Member
Reaction score
1
Hi!

I've made a charge ability based on searing arrows so my knight deals a huge damage on his first hit. It has a 10 sec cooldown. But i want to make it go on cooldown again if the knight hits someone, so he will only be able to use his charge if he does not attack anyone for 10 seconds. The problem is i cant find a trigger that puts his ability on cooldown whenever he makes an attack. If someone knows a solution plz help!
 

Dirac

22710180
Reaction score
147
There is no function / action that puts abilities on cooldown, you would have to code the whole thing if you want it to work.
Other thing you can do is to disable the ability for the player (i don't know how is it called in the GUI menu but it's under player) for 10 seconds after the hero attacks a target
 

Grobak

New Member
Reaction score
1
Meanwhile I've found a solution. I gave the knight 10 manapoints with 1 regen per sec, and made a trigger that removes all his mana after an attack, resulting in a perfect charge like ability. Thx for the reply anyways.
 
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