From 02f6a2375092c41be5891c8851aa22d0e083227b Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Sun, 23 Dec 2012 23:34:24 +0000 Subject: [PATCH] Stone Wardens correctly gain physical power from shields git-svn-id: http://svn.net-core.org/repos/t-engine4@6203 51575b47-30f0-44d4-a5cc-537603b46e54 --- 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 0ec1eb6d75..39f7c33b81 100644 --- a/game/modules/tome/class/interface/Combat.lua +++ b/game/modules/tome/class/interface/Combat.lua @@ -1143,7 +1143,7 @@ function _M:combatPhysicalpower(mod, weapon, add) if not weapon then local inven = self:getInven(self.INVEN_MAINHAND) - if inven and inven[1] then weapon = inven[1].combat else weapon = self.combat end + if inven and inven[1] then weapon = self:getObjectCombat(inven[1], "mainhand") else weapon = self.combat end end add = add + 10 * self:combatCheckTraining(weapon) -- GitLab