jopeek / fvtt-token-info-icons

FVTT - Token Info Icons
MIT License
9 stars 16 forks source link

Solves NaN issue for pf2e #33

Closed Glunty closed 3 years ago

Glunty commented 3 years ago

Solves https://github.com/jopeek/fvtt-token-info-icons/issues/28

actor.data.data.attributes.perception.item does not exists and returns NaN (API change for pf2e ?) Item bonuses to perception that are always applied (such as Serene Mutagen) are already factored in actor.data.data.attributes.perception.value, with proficiency and caracteristic bonus.

Conditional items/feats bonus are not, but it seems complicated to display the information correctly.

kind regards