From e6677c937160884dd8d30712094ab5f6ed32b4fe Mon Sep 17 00:00:00 2001 From: Emmanuel Ferdman Date: Wed, 20 Aug 2025 05:41:59 +0300 Subject: [PATCH] Correct skill slot comparison for General's Cry detection (#8954) Signed-off-by: Emmanuel Ferdman --- src/Modules/CalcMirages.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Modules/CalcMirages.lua b/src/Modules/CalcMirages.lua index 2a560c6a..9d14cf14 100644 --- a/src/Modules/CalcMirages.lua +++ b/src/Modules/CalcMirages.lua @@ -374,7 +374,7 @@ function calcs.mirages(env) -- Find the active General's Cry gem to get active properties for _, skill in ipairs(env.player.activeSkillList) do - if skill.activeEffect.grantedEffect.name == "General's Cry" and env.player.mainSkill.socketGroup.slot == env.player.mainSkill.socketGroup.slot then + if skill.activeEffect.grantedEffect.name == "General's Cry" and skill.socketGroup.slot == env.player.mainSkill.socketGroup.slot then cooldown = calcSkillCooldown(skill.skillModList, skill.skillCfg, skill.skillData) generalsCryActiveSkill = skill break @@ -397,7 +397,7 @@ function calcs.mirages(env) env.player.mainSkill.skillData.timeOverride = 1 end - -- This is so that it's consistant with the info message but removing this could make it more accurate numbers wise + -- This is so that it's consistent with the info message but removing this could make it more accurate numbers wise mirageSpawnTime = round(mirageSpawnTime, 2) cooldown = m_max(cooldown, mirageSpawnTime)