RedReign / FoundryVTT-BetterRolls5e

A module for modifying certain sheet functions on Foundry VTT Character sheets for D&D 5th Edition.
GNU General Public License v3.0
36 stars 67 forks source link

Fix usage #323

Closed mech-tools closed 2 years ago

mech-tools commented 2 years ago

Hey,

Quick fix for the item uses consumption. By default, a new item is created with the following configuration: image

The previous fix wasn't working in this case, it warned that the item has no uses. Which is kinda true, but handled differently in the core 5e system. Since it's the default configuration for a newly created item, we shouldn't stop the user here. Decided to use the same method as the default 5e system. Checking "per" instead of "max"