From 95c13789c7f6b62c77bb0c5612ccbbe726693168 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 6 Mar 2025 18:12:20 -0600 Subject: [PATCH] precise stance fix --- src/engine/objects/PlayerCombatStats.java | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/engine/objects/PlayerCombatStats.java b/src/engine/objects/PlayerCombatStats.java index 1e6a0051..14af1ae4 100644 --- a/src/engine/objects/PlayerCombatStats.java +++ b/src/engine/objects/PlayerCombatStats.java @@ -434,16 +434,21 @@ public class PlayerCombatStats { atr *= 1.0f + stanceValue; if(this.owner.bonuses != null) { - float positivePercentBonuses = this.owner.bonuses.getFloatPercentPositive(Enum.ModType.OCV, Enum.SourceType.None) - stanceValue; - float negativePercentBonuses = this.owner.bonuses.getFloatPercentNegative(Enum.ModType.OCV, Enum.SourceType.None); - float modifier = 1 + (positivePercentBonuses + negativePercentBonuses); + + + + + //float positivePercentBonuses = this.owner.bonuses.getFloatPercentPositive(Enum.ModType.OCV, Enum.SourceType.None) - stanceValue; + //float negativePercentBonuses = this.owner.bonuses.getFloatPercentNegative(Enum.ModType.OCV, Enum.SourceType.None); + //float modifier = 1 + (positivePercentBonuses + negativePercentBonuses); + float modifier = this.owner.bonuses.getFloatPercentAll(Enum.ModType.OCV, Enum.SourceType.None); if(preciseRune > 1.0f) modifier -= 0.05f; - if(stanceValue > 0.0f){ + if(stanceValue != 0.0f){ modifier -= (stanceValue); } modifier -= healerDefStance; - + modifier += 1.0f; float weaponMoveBonus = 0.0f; if(this.owner.effects != null){ if(this.owner.effects.containsKey("WeaponMove")){