|
|
|
@ -434,16 +434,21 @@ public class PlayerCombatStats {
@@ -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")){ |
|
|
|
|