mclemente / healthEstimate

See the state of a character's health with a simple mouse-hover.
MIT License
21 stars 33 forks source link

Doesn't work on The witcher TTRPG #79

Closed DKtric3L closed 2 years ago

DKtric3L commented 2 years ago

In this system hp attribute is derivedstats.hp, after filling it, nothing happened.

mclemente commented 2 years ago

Try actor.data.data.derivedStats.hp.

DKtric3L commented 2 years ago

Try actor.data.data.derivedStats.hp.

Nope, unfortunatelly. There is all attributes related to HP. (ScreenShot 1) Also i have combat tracker group and it's working fine with HP tracking, but its attribute don't work with your addon...(SS2) And there is attributes in token settings(SS3)

1 2 3

DKtric3L commented 2 years ago

I don't really understand the code, but I think it could somehow tell you how to solve the problem. I also tried attribute actor.templates.baseActor.derivedStats.hp, all in vain. This is code in template.json of Witcher system.

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

DKtric3L commented 2 years ago

Ok i found the method to detect right stat, but this still not work. What am i doing wrong? изображение

mclemente commented 2 years ago

It is actor.data.data.derivedStats.hp, I've tried both times and it works. Does your Stages setting ends with a , instead of a word? Because, in that case, it wouldn't show the estimate unless the token was hurt.

DKtric3L commented 2 years ago

found the issue - Temporary hp parameter, disabled it and it works. Thank you! изображение