From edb09cb32fccecb40ff20916dd53f6434f0fa4ea Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Sun, 22 Jun 2014 22:41:55 +0200
Subject: [PATCH] fix

---
 game/modules/tome/class/interface/Combat.lua                 | 2 +-
 game/modules/tome/data/talents/techniques/magical-combat.lua | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/game/modules/tome/class/interface/Combat.lua b/game/modules/tome/class/interface/Combat.lua
index 64fab76ce2..3ee8f0fd90 100644
--- a/game/modules/tome/class/interface/Combat.lua
+++ b/game/modules/tome/class/interface/Combat.lua
@@ -689,7 +689,7 @@ function _M:attackTargetWith(target, weapon, damtype, mult, force_dam)
 	if hitted and crit and weapon and self:knowTalent(self.T_ARCANE_DESTRUCTION) then
 		local chance = 100
 		if self:hasShield() then chance = 75
-		elseif self:hasDualWeapon() then chance = 50 end
+		elseif self:hasDualWeapon() then chance = 50
 		end
 		if rng.percent(chance) then
 			local typ = rng.table{{DamageType.FIRE,"ball_fire"}, {DamageType.LIGHTNING,"ball_lightning_beam"}, {DamageType.ARCANE,"ball_arcane"}}
diff --git a/game/modules/tome/data/talents/techniques/magical-combat.lua b/game/modules/tome/data/talents/techniques/magical-combat.lua
index 013737bf55..07e730a86b 100644
--- a/game/modules/tome/data/talents/techniques/magical-combat.lua
+++ b/game/modules/tome/data/talents/techniques/magical-combat.lua
@@ -32,7 +32,7 @@ newTalent{
 		if self.x == target.x and self.y == target.y then return nil end
 
 		local chance = t.getChance(self, t)
-		if self:hasShield() then chance = chance * 0.75 end
+		if self:hasShield() then chance = chance * 0.75
 		elseif self:hasDualWeapon() then chance = chance * 0.5
 		end
 
-- 
GitLab