CarlosFdez / pf2e-persistent-damage

Keeps track of persistent damage on actors for PF2E for Foundry VTT
5 stars 4 forks source link

Spell Effect: Life Boost and Spell Effect: Lifelink Surge not working #20

Closed piper93 closed 2 years ago

piper93 commented 2 years ago

The spell effects mentioned above don't work when applied to a token. It seems as though the "@item.level.value * 2" part of the rule element is causing issues. Fast Healing with a numerical value works as expected. I've attached the issue that shows up in the console when the effect is applied.

image

JamzTheMan commented 2 years ago

I just ran into the same issue for fast healing, solved it by changing it to @item.data.data.level.value * 2

CarlosFdez commented 2 years ago

That will work for now. But next version of the system releasing in a week will allow @item.level as well (but not @item.level.value)