From 9327afbaf6e54b110ac77e4101e8549ba0b3a1f5 Mon Sep 17 00:00:00 2001 From: LocalIdentity Date: Tue, 18 Aug 2026 16:22:45 +1000 Subject: [PATCH] Fix Crash when hovering over the PvP toggle while having Shaper Beam Fixes the crash when you hover over the PvP toggle while having the Shaper Beam skill selected The skill uses the `DamageOverTime` config so `output.enemySkillTime` is never set so when the PvP calcs expect to find it they instead get a nil crash --- src/Modules/CalcDefence.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Modules/CalcDefence.lua b/src/Modules/CalcDefence.lua index ab1d39aa44..cdb2cb167b 100644 --- a/src/Modules/CalcDefence.lua +++ b/src/Modules/CalcDefence.lua @@ -3075,7 +3075,7 @@ function calcs.buildDefenceEstimations(env, actor) -- pvp if env.configInput.PvpScaling then - local PvpTvalue = output.enemySkillTime + local PvpTvalue = output.enemySkillTime or 1 local PvpMultiplier = (env.configInput.enemyMultiplierPvpDamage or 100) / 100 local PvpNonElemental1 = data.misc.PvpNonElemental1