Jump to content

Recommended Posts

1 hour ago, Findeh said:

If i get it right, in your example


double cooldownTimer

Will be a constant, right?

But the problem is, it may be different, it's not a constant for the same spell. Spell may be different level (lvl 1 heal may be 1,5s cast and the same lvl 6 spell may be 3,5s cast). Spell cast time may be buffed by talants, or may be not buffed, depending on character. Cast time may be hited back by incoming damage or kicked. If it was hitted back, delay should be longer, if it was kicked, it should be shorter. In a word, it's complicated.

 

sure it was just a sample how it could be done not a copy paste solution :) And normaly it should be just used if you want to manipulate the known cooldown of each spell.

Edited by iMod

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...