Skip to content

Commit

Permalink
Merge branch 'main' into feature/badge-system
Browse files Browse the repository at this point in the history
  • Loading branch information
elsongabriel authored Apr 29, 2024
2 parents d674cf5 + 98e927d commit 43e9451
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/creatures/players/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5386,6 +5386,7 @@ uint16_t Player::getSkillLevel(skills_t skill) const {
} else if (skill == SKILL_MANA_LEECH_AMOUNT) {
skillLevel += m_wheelPlayer->getStat(WheelStat_t::MANA_LEECH);
} else if (skill == SKILL_CRITICAL_HIT_DAMAGE) {
skillLevel += m_wheelPlayer->getStat(WheelStat_t::CRITICAL_DAMAGE);
skillLevel += m_wheelPlayer->getMajorStatConditional("Combat Mastery", WheelMajor_t::CRITICAL_DMG_2);
skillLevel += m_wheelPlayer->getMajorStatConditional("Ballistic Mastery", WheelMajor_t::CRITICAL_DMG);
skillLevel += m_wheelPlayer->checkAvatarSkill(WheelAvatarSkill_t::CRITICAL_DAMAGE);
Expand Down

0 comments on commit 43e9451

Please sign in to comment.