v2.4.0: lifelink damage now shows the correct damage icon

This commit is contained in:
Evan Debenham
2024-04-24 14:18:12 -04:00
parent 90ae232be5
commit f6e82d0e45

View File

@@ -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