Is your feature request related to a problem? Please describe.
When I use Health Estimate with another module like Item Piles which involves using tokens with 0/0 hp, Health estimate throws the following error in the console:
HealthMonitor.js:21 Health Estimate | Error on function getActorHealth(). Token Name: "Alchemist's Supplies". ID: "EOuIUekByQ9yjdqs". Type: "character". Error: Token's fraction is not valid, it probably doesn't have a numerical HP or Max HP value.
at HealthEstimate.getFraction (healthEstimate.js:3933:10)
at getActorHealth (HealthMonitor.js:12:47)
at addCharacter (HealthMonitor.js:38:38)
at Object.onCreateToken [as fn] (healthEstimate.js:267:29)
at #call (foundry.mjs:23791:20)
at Hooks.callAll (foundry.mjs:23750:17)
at foundry.mjs:58587:17
at foundry.mjs:58592:41
at Array.map (<anonymous>)
at #handleCreateDocuments (foundry.mjs:58592:31)
at async TokenDocument5e.createDocuments (foundry.mjs:12474:21)
at async PrivateAPI._createItemPile (private-api.js:1399:28)
at async PrivateAPI._dropItems (private-api.js:1195:18)
Describe the solution you'd like
Perhaps a toggle to have Health Estimate ignore tokens with 0 max hp or similar place holder tokens.
Is this specific to system or is it system agnostic?
Probably agnostic but I am using Foundry v13 latest on 5e 5.1.2
Additional context
As mentioned, I am using Item Piles / Item Piles 5e which involves 0/0 max hp tokens for use as things like Chests etc. A temporary workaround is to give them hp for presets (chests) but when just dragging items into the scene for the players to pick up it immediately triggers the above error in the console.
Is your feature request related to a problem? Please describe.
When I use Health Estimate with another module like Item Piles which involves using tokens with 0/0 hp, Health estimate throws the following error in the console:
Describe the solution you'd like
Perhaps a toggle to have Health Estimate ignore tokens with 0 max hp or similar place holder tokens.
Is this specific to system or is it system agnostic?
Probably agnostic but I am using Foundry v13 latest on 5e 5.1.2
Additional context
As mentioned, I am using Item Piles / Item Piles 5e which involves 0/0 max hp tokens for use as things like Chests etc. A temporary workaround is to give them hp for presets (chests) but when just dragging items into the scene for the players to pick up it immediately triggers the above error in the console.