- Joined
- May 16, 2020
- Messages
- 660
Hi guys,
For my map I want to have several abilities which don’t have a cooldown, but instead hold “charges”.
Details:
A charge is basically the amount of times you can use a spell freely before it goes on cooldown. Upon casting the ability, one charge is spent.
Once all charges are spent, the spell changes to a passive icon and cannot be cast anymore. The passive icon displays the remaining charge cooldown. As soon as 1 charge is gained, the spell changes to its active icon again and no cooldown is visible anymore (but in the background the charges are still recharging).
For passive cooldown see here: Passive ability with cooldown - Best method!
A charge starts charging as soon as one charge is spent. Only one charge can recharge at a time. The current amount of viable charges should be displayed as buff (I will make icons via photoshop which show “1”, “2” etc.).
I found only one other thread on hive which is about the same topic, but the solution there doesn’t sound exactly like what I want: Ability with charges
I tried to do the system myself, but I didn’t know how to re-name each remaining charge once a charge “recharged” (so that in a loop I can specify which charge I’m referring to next and take this as cooldown for the passive ability if the spell is cast another time).
Can someone please help create a system for this in GUI, which can be applied to different spells?
Cheers
For my map I want to have several abilities which don’t have a cooldown, but instead hold “charges”.
Details:
A charge is basically the amount of times you can use a spell freely before it goes on cooldown. Upon casting the ability, one charge is spent.
Once all charges are spent, the spell changes to a passive icon and cannot be cast anymore. The passive icon displays the remaining charge cooldown. As soon as 1 charge is gained, the spell changes to its active icon again and no cooldown is visible anymore (but in the background the charges are still recharging).
For passive cooldown see here: Passive ability with cooldown - Best method!
A charge starts charging as soon as one charge is spent. Only one charge can recharge at a time. The current amount of viable charges should be displayed as buff (I will make icons via photoshop which show “1”, “2” etc.).
I found only one other thread on hive which is about the same topic, but the solution there doesn’t sound exactly like what I want: Ability with charges
I tried to do the system myself, but I didn’t know how to re-name each remaining charge once a charge “recharged” (so that in a loop I can specify which charge I’m referring to next and take this as cooldown for the passive ability if the spell is cast another time).
Can someone please help create a system for this in GUI, which can be applied to different spells?
Cheers