Skip to content

Commit

Permalink
Adjust mana shield (pt 2) (diasurgical#17)
Browse files Browse the repository at this point in the history
* Adjust mana shield

* Adjust mana shield (pt 2)
  • Loading branch information
kphoenix137 committed Apr 6, 2024
1 parent bf10ba0 commit 9e9a74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,7 @@ bool Player::isWalking() const
int Player::GetManaShieldDamageReduction()
{
constexpr uint8_t Max = 20;
return 22 - std::min(_pSplLvl[static_cast<int8_t>(SpellID::ManaShield)], Max);
return 23 - std::min(_pSplLvl[static_cast<int8_t>(SpellID::ManaShield)], Max);
}

void Player::RestorePartialLife()
Expand Down

0 comments on commit 9e9a74d

Please sign in to comment.