v2.3.0: fixed rotting fist healing much more than intended in water
This commit is contained in:
+1
-1
@@ -386,7 +386,7 @@ public abstract class YogFist extends Mob {
|
|||||||
|
|
||||||
if (Dungeon.level.water[pos] && HP < HT) {
|
if (Dungeon.level.water[pos] && HP < HT) {
|
||||||
sprite.showStatusWithIcon(CharSprite.POSITIVE, Integer.toString(HT/50), FloatingText.HEALING);
|
sprite.showStatusWithIcon(CharSprite.POSITIVE, Integer.toString(HT/50), FloatingText.HEALING);
|
||||||
HP = Math.max(HT, HP + HT/50);
|
HP = Math.min(HT, HP + HT/50);
|
||||||
}
|
}
|
||||||
|
|
||||||
return super.act();
|
return super.act();
|
||||||
|
|||||||
Reference in New Issue
Block a user