Fixing instant vitality exhaustion.
This commit is contained in:
@ -742,7 +742,7 @@ public class PcStat extends PlayableStat
|
||||
}
|
||||
else
|
||||
{
|
||||
points = MIN_VITALITY_POINTS;
|
||||
points = Math.max(getActiveChar().getVitalityPoints() + points, MIN_VITALITY_POINTS);
|
||||
}
|
||||
|
||||
if (Math.abs(points - getActiveChar().getVitalityPoints()) <= 1e-6)
|
||||
|
Reference in New Issue
Block a user