in AttributesFields.preUpdateHP the system now clamps the HP value using effectiveMax, but it uses the current effectiveMax. If the creature's maximum hit points are changed as part of the same update operation then it can clamp to a lower value than desired.
in
AttributesFields.preUpdateHPthe system now clamps the HP value usingeffectiveMax, but it uses the currenteffectiveMax. If the creature's maximum hit points are changed as part of the same update operation then it can clamp to a lower value than desired.