From f6e82d0e45107989a1f4c376b6b7702f1be757a2 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 24 Apr 2024 14:18:12 -0400 Subject: [PATCH] v2.4.0: lifelink damage now shows the correct damage icon --- .../com/shatteredpixel/shatteredpixeldungeon/actors/Char.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 bdba3e362..ad93f2e28 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Char.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Char.java @@ -836,7 +836,7 @@ public abstract class Char extends Actor { if (src instanceof Hunger) icon = FloatingText.HUNGER; if (src instanceof Burning) icon = FloatingText.BURNING; - if (src instanceof Chill || src instanceof Frost) icon = FloatingText.FROST; + if (src instanceof Chill || src instanceof Frost) icon = FloatingText.FROST; if (src instanceof GeyserTrap || src instanceof StormCloud) icon = FloatingText.WATER; if (src instanceof Burning) icon = FloatingText.BURNING; if (src instanceof Electricity) icon = FloatingText.SHOCKING; @@ -870,6 +870,7 @@ public abstract class Char extends Actor { NO_ARMOR_PHYSICAL_SOURCES.add(GnollRockfallTrap.class); NO_ARMOR_PHYSICAL_SOURCES.add(DwarfKing.KingDamager.class); NO_ARMOR_PHYSICAL_SOURCES.add(DwarfKing.Summoning.class); + NO_ARMOR_PHYSICAL_SOURCES.add(LifeLink.class); NO_ARMOR_PHYSICAL_SOURCES.add(Chasm.class); NO_ARMOR_PHYSICAL_SOURCES.add(WandOfBlastWave.Knockback.class); NO_ARMOR_PHYSICAL_SOURCES.add(Heap.class); //damage from wraiths attempting to spawn from heaps