Change ability cooldown at runtime #748
nightm4re94
started this conversation in
Old Forum
Replies: 1 comment
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). Ability myAbility;
...
myAbility.getAttributes().cooldown().setBaseValue(1000); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022).
Posted: 2021-05-05 13:52:12
User: Quintennij [] (age: 544 days 🙌; posts: 1)
Hi,
I am making an game with 2 main characters. They both have their own ability. I am working on an quest that will make the cooldown on the abilities shorter. I couldn't figure out how to make it shorter. I am using the abilityinfo annotation for the cooldown. My question is. How do I change the ability cooldown at runtime?
Beta Was this translation helpful? Give feedback.
All reactions