From 2f8d6b61546dedc4f1637161134bc6973790fcb9 Mon Sep 17 00:00:00 2001 From: DarkGod <darkgod@net-core.org> Date: Mon, 3 Aug 2020 16:53:35 +0200 Subject: [PATCH] Fixed Attune Mindstar exploding when used with a shield --- game/modules/tome/class/interface/Combat.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/modules/tome/class/interface/Combat.lua b/game/modules/tome/class/interface/Combat.lua index a3e4af062d..0c274503d0 100644 --- a/game/modules/tome/class/interface/Combat.lua +++ b/game/modules/tome/class/interface/Combat.lua @@ -2479,7 +2479,7 @@ function _M:hasOffWeaponType(type) if not self:getInven("OFFHAND") then return end local weapon = self:getInven("OFFHAND")[1] if not weapon then return nil end - if type and weapon.combat.talented ~= type then return nil end + if type and (weapon.special_combat or weapon.combat).talented ~= type then return nil end return weapon end -- GitLab