edzillion / blood-n-guts

Other
4 stars 16 forks source link

Death blows are not handled properly. #244

Closed kimitsu closed 3 years ago

kimitsu commented 3 years ago

When the modified hp reaches zero the following line would ignore that value and the consequent damage severity calculations would be based on the unmodified hp, resulting in no blood at all.

SplatToken.js@214:
        const currentHP = BloodNGuts.system.currentHPChange(changes, this.actorType) ||
            BloodNGuts.system.currentHP(this.token, this.actorType);
edzillion commented 3 years ago

You're right of course. Thanks. This fix will be in the upcoming v0.8.7 release