From d9c68dca812d72566baa350b789bf5d341f8e257 Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Sat, 21 Jun 2014 22:59:54 +0200
Subject: [PATCH] Bump Arcane Destruction chance when using shields to 75%

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

diff --git a/game/modules/tome/class/interface/Combat.lua b/game/modules/tome/class/interface/Combat.lua
index e208145030..64fab76ce2 100644
--- a/game/modules/tome/class/interface/Combat.lua
+++ b/game/modules/tome/class/interface/Combat.lua
@@ -688,7 +688,9 @@ function _M:attackTargetWith(target, weapon, damtype, mult, force_dam)
 	-- Arcane Destruction
 	if hitted and crit and weapon and self:knowTalent(self.T_ARCANE_DESTRUCTION) then
 		local chance = 100
-		if self:hasDualWeapon() or self:hasShield() then chance = 50 end
+		if self:hasShield() then chance = 75
+		elseif self:hasDualWeapon() then chance = 50 end
+		end
 		if rng.percent(chance) then
 			local typ = rng.table{{DamageType.FIRE,"ball_fire"}, {DamageType.LIGHTNING,"ball_lightning_beam"}, {DamageType.ARCANE,"ball_arcane"}}
 			self:project({type="ball", radius=2, friendlyfire=false}, target.x, target.y, typ[1], self:combatSpellpower() * 2)
diff --git a/game/modules/tome/data/talents/techniques/magical-combat.lua b/game/modules/tome/data/talents/techniques/magical-combat.lua
index c32a8d12a7..26c1c82748 100644
--- a/game/modules/tome/data/talents/techniques/magical-combat.lua
+++ b/game/modules/tome/data/talents/techniques/magical-combat.lua
@@ -143,7 +143,9 @@ newTalent{
 		return ([[Raw magical damage channels through the caster's weapon, increasing Physical Power by %d.
 		Each time your crit with a melee blow, you will unleash a radius 2 ball of either fire, lightning or arcane damage, doing %0.2f.
 		The bonus scales with your Spellpower.
-		If you are dual wielding or using a shield this will only occur 50%% of the time.]]):
+		If you are using a shield this will only occur 75%% of the time.
+		If you are dual wielding this will only occur 50%% of the time.
+		]]):
 		format(self:combatSpellpower() * t.getSPMult(self, t), self:combatSpellpower() * 2)
 	end,
 }
-- 
GitLab