schlosrat / token-health

FoundryVTT module
5 stars 10 forks source link

Enhancement Request: Spillover from Damage 1 to Damage 2 #58

Open karpana opened 3 years ago

karpana commented 3 years ago

In Pathfinder 1E, when a creature takes enough NonLethal Damage (my Damage Pool 2), that it exceeds his normal (lethal) HP max, it spills over as "lethal Damage" (Pool 1) .

I was going to code this in a hooked macro, but this addon is "capping" the NonLethal Damage at max Hit Points, so I can't detect it.

karpana commented 3 years ago

I've found a temporary work around (that meets my needs), but also requires a macro to achive what I want...

specifically, I set the "additional 2nd health pool" to the same value of the "secondary health pool".

seems to do my trick.

schlosrat commented 2 years ago

Another interesting request! I'm glad you've found a workaround, but what you're asking for sounds reasonable. My bias during development has been in support of the AGE system since that's what I play, but I also want this mod to work for other systems so I'll take a look for a clean way to implement this so you don't need a workaround.

karpana commented 2 years ago

hi @schlosrat

One strange behaviour I've noticed... The function of the Additional 2nd Health Pool (optional) only seems to work while a combat is active. When a token which is having damage applied is not in combat ... (e.g. a non-combatant NPC, for example), this second health pool seems to not be active.