Skip to content

Charges shouldn't set true cooldown#1083

Open
JasperLorelai wants to merge 1 commit into
TheComputerGeek2:mainfrom
JasperLorelai:charges
Open

Charges shouldn't set true cooldown#1083
JasperLorelai wants to merge 1 commit into
TheComputerGeek2:mainfrom
JasperLorelai:charges

Conversation

@JasperLorelai

Copy link
Copy Markdown
Collaborator

Fixed an issue where once all charges were depleted, you had to wait for the full cooldown because the true cooldown was set. Instead, the spell will only be "considered" on cooldown until the next recharge, while all charges are depleted.

This reverts changes from d8c0381, as they have introduced a bug where once all charges are depleted, you have to wait for the full recharge duration instead of the short time until the next recharge.

Combined with the fix this addresses the original issue of "-1" cooldown - "Spell#getCooldown" will now return the time of the next available recharge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant