Core/Players: fixed items with stamina applying their bonus twice

This commit is contained in:
Ovahlord committed 2026-06-11 15:05:49 +02:00
1 parent 981e70a5a1
commit 068a83ff12
1 file changed
+2 -2
+2 -2
View File
@@ -12793,9 +12793,9 @@ void Player::ApplyReforgeEnchantment(Item* item, bool apply)
break;
case ITEM_MOD_STAMINA:
if (apply)
GetStats().AddBaseStatModifier(StatType::Spirit, addValue);
GetStats().AddBaseStatModifier(StatType::Stamina, addValue);
else
GetStats().RemoveBaseStatModifier(StatType::Spirit, addValue);
GetStats().RemoveBaseStatModifier(StatType::Stamina, addValue);
break;
case ITEM_MOD_DEFENSE_SKILL_RATING:
ApplyRatingMod(CR_DEFENSE_SKILL, int32(addValue), apply);