From 8b456f66ef15b716afb1c8e6a3b41c9eea1f0b82 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 28 Jan 2025 19:10:36 -0600 Subject: [PATCH] healers dont get ATR from def stance --- src/engine/objects/PlayerCombatStats.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/objects/PlayerCombatStats.java b/src/engine/objects/PlayerCombatStats.java index 8771bfdb..3f2c5f13 100644 --- a/src/engine/objects/PlayerCombatStats.java +++ b/src/engine/objects/PlayerCombatStats.java @@ -1,6 +1,7 @@ package engine.objects; import engine.Enum; +import engine.powers.EffectsBase; import engine.powers.effectmodifiers.AbstractEffectModifier; import engine.server.MBServerStatics; import org.pmw.tinylog.Logger; @@ -133,6 +134,10 @@ public class PlayerCombatStats { for(String effID : this.owner.effects.keySet()) { if (effID.contains("Stance")) { + Effect effect = this.owner.effects.get(effID); + EffectsBase eb = effect.getEffectsBase(); + if(eb.getIDString().equals("STC-H-DA")) + continue; for (AbstractEffectModifier mod : this.owner.effects.get(effID).getEffectModifiers()) { if (mod.modType.equals(Enum.ModType.OCV)) { float percent = mod.getPercentMod();