Skip to content

Commit

Permalink
Adjust mana shield (diasurgical#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 committed Mar 31, 2024
1 parent c9003a9 commit d07f3af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1784,8 +1784,8 @@ bool Player::isWalking() const

int Player::GetManaShieldDamageReduction()
{
constexpr uint8_t Max = 7;
return 24 - std::min(_pSplLvl[static_cast<int8_t>(SpellID::ManaShield)], Max) * 3;
constexpr uint8_t Max = 20;
return 22 - std::min(_pSplLvl[static_cast<int8_t>(SpellID::ManaShield)], Max);
}

void Player::RestorePartialLife()
Expand Down

0 comments on commit d07f3af

Please sign in to comment.