-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Items with uses.value
or uses.max
filled in but not uses.per
still show as limited uses on the character sheet. If a feature instead has 'recharge', this does not show at all under any circumstances
#2930
Comments
The 1d6 recharge mechanic is exclusively for NPCs, so there was deliberately no time spent on it for the character sheets. I expect it will come back purely via code-sharing with the NPC sheets though. That was probably the reason we used bespoke logic for detecting limited uses rather than using |
I can work on this. |
Hoppyhob
added a commit
to Hoppyhob/dnd5e
that referenced
this issue
May 12, 2024
Added ctx.isOnCooldown and item.system.recharge.value checks from actor-features.hbs Moved div into the checks and added else to handle the empty case. closes foundryvtt#2930
Hoppyhob
added a commit
to Hoppyhob/dnd5e
that referenced
this issue
May 18, 2024
Added context menu localization for charge and uncharge Added fa-arrows-rotate icon for uncharged and fa-bolt icon for charged Added i.fa-bolt less to use the color gold Moved isOnCooldown from sheets context to item as it was used in multiple places and outside the sheet context Added context menu toggle to inventory.js Added toggleCharge action to inventory.js Modified handlebars to get isOnCooldown from item instead of context.
Fyorl
pushed a commit
to Hoppyhob/dnd5e
that referenced
this issue
Jul 1, 2024
Added ctx.isOnCooldown and item.system.recharge.value checks from actor-features.hbs Moved div into the checks and added else to handle the empty case. closes foundryvtt#2930
Fyorl
pushed a commit
to Hoppyhob/dnd5e
that referenced
this issue
Jul 1, 2024
Added context menu localization for charge and uncharge Added fa-arrows-rotate icon for uncharged and fa-bolt icon for charged Added i.fa-bolt less to use the color gold Moved isOnCooldown from sheets context to item as it was used in multiple places and outside the sheet context Added context menu toggle to inventory.js Added toggleCharge action to inventory.js Modified handlebars to get isOnCooldown from item instead of context.
Fyorl
added a commit
that referenced
this issue
Jul 1, 2024
Co-authored-by: Kim Mantas <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested with a feature item.
The text was updated successfully, but these errors were encountered: