Skip to content
Snippets Groups Projects
Commit 51bde512 authored by DarkGod's avatar DarkGod
Browse files

fix bach & smash

parent 67858afe
No related branches found
No related tags found
No related merge requests found
......@@ -115,10 +115,11 @@ newTalent {
end
-- Modify shield combat to use dex.
local combat = table.clone(shield.special_combat)
combat.dammod.dex = 0
combat.dammod.dex = combat.dammod.dex + combat.dammod.str
combat.dammod.str = 0
local combat = table.clone(shield.special_combat, true)
if combat.dammod.str and combat.dammod.str > 0 then
combat.dammod.dex = (combat.dammod.dex or 0) + combat.dammod.str
combat.dammod.str = nil
end
-- First attack with shield
local speed, hit = self:attackTargetWith(target, combat, nil, t.getShieldMult(self, t))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment