mclemente/healthEstimate

Doesn't work on TheWitcherTRPG

DKtric3L opened this issue · 21 comments

Does not pull up the value of the system's HP, although everything is indicated correctly. This problem has already arisen before, and I wrote to the developer's github in the same way, to which I received an answer that this is really a bug.
I play on Anthony Monette's TheWitcherTRPG system. Stat hp there is derivedStats.hp
The rest of the addon works fine with it, when this one does not see it.
I tried different variations -
Specified in the system files - WITCHER.Actor.DerStat.HP
With different attributes - derivedStats.hp.max/label/value
Tried to combine them. All to no avail.

Steps to reproduce the behavior:

  1. Go to 'healthEstimate addon settings'
  2. Click on 'Attribute Path'
  3. Try to type System's DerivedStat'
  4. See nothing

Screenshots
изображение
изображение
Token attributes
изображение

Game Specifics:

  • TheWitcherTRPG 0.96
  • FoundryVTT v11.304

That is not the correct path, actor isn't optional, input actor.derivedStats.hp.

My bad, try actor.system.derivedStats.hp instead.

изображение
изображение
изображение
изображение

I meant "system" literally, not the system's name.

well, as you see, i tried on the first screenshot.

and I don't forget to reboot the system just in case after changes.

and this happens even with disabled addons

It should've worked. Does the token has HP set? Otherwise the estimates won't show up.
Not the max HP modified by BODY, but the value on the right side of the side. Somehow setting the value to 0 also changes the max to 0.

изображение
изображение
изображение
изображение

Are there any errors on the console (F12) related to Health Estimate?

where should I look in the console to check?

You got it right on the first image, it's the console at the bottom (or the console tab at the top).
Just to be sure, those are after you hovered over the token, right? It should be showing errors if it wasn't calculated properly.

So i hovered token, no console changes
изображение

Just in case, I'll clarify that I'm using the latest version of the system - https://github.com/AnthonyMonette/TheWitcherTRPG

Yes, I'm using its latest version and I got it working on a brand new world.
Have you changed the Estimations? Or any of the settings?
Does this happen to all tokens or just that one? If it's just that one, could you export its actor's data and upload it here?

Please excuse me, while solving this issue, at one of the stages I checked the box "Show only during battle".
I was able to figure this out when I created a new world and compared the checkboxes between the settings of the first world and the new one.

actor.system.derivedStats.hp is the correct setting.
изображение