From 98e927dac27e2b4ba5c42ad486d007fa7c70acce Mon Sep 17 00:00:00 2001 From: Pedro Cruz Date: Mon, 29 Apr 2024 14:34:25 -0300 Subject: [PATCH] fix: gem atelier critical extra damage not being applied (#2585) --- src/creatures/players/player.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/creatures/players/player.cpp b/src/creatures/players/player.cpp index a81981bd20c..149f41380ec 100644 --- a/src/creatures/players/player.cpp +++ b/src/creatures/players/player.cpp @@ -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);