From 4c29e96135eafb11cf2a332903fd76b8ef6ce83b Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 23 May 2023 12:30:21 -0400 Subject: [PATCH] v2.1.0: clarified amount of bleeding from harvest to immune enemies --- .../com/shatteredpixel/shatteredpixeldungeon/actors/Char.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Char.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Char.java index 17cccc0b1..5c878ae98 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Char.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Char.java @@ -712,6 +712,10 @@ public abstract class Char extends Actor { } if (buff(Sickle.HarvestBleedTracker.class) != null){ + if (isImmune(Bleeding.class)){ + dmg = 0; + } + Bleeding b = buff(Bleeding.class); if (b == null){ b = new Bleeding();