Skip to content

Commit

Permalink
fix: gem atelier critical extra damage not being applied (opentibiabr…
Browse files Browse the repository at this point in the history
  • Loading branch information
phacUFPE authored Apr 29, 2024
1 parent 7c9b8d5 commit 98e927d
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 @@ -5371,6 +5371,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 98e927d

Please sign in to comment.