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

Bump Arcane Destruction chance when using shields to 75%

parent 090ba932
No related branches found
No related tags found
No related merge requests found
...@@ -688,7 +688,9 @@ function _M:attackTargetWith(target, weapon, damtype, mult, force_dam) ...@@ -688,7 +688,9 @@ function _M:attackTargetWith(target, weapon, damtype, mult, force_dam)
-- Arcane Destruction -- Arcane Destruction
if hitted and crit and weapon and self:knowTalent(self.T_ARCANE_DESTRUCTION) then if hitted and crit and weapon and self:knowTalent(self.T_ARCANE_DESTRUCTION) then
local chance = 100 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 if rng.percent(chance) then
local typ = rng.table{{DamageType.FIRE,"ball_fire"}, {DamageType.LIGHTNING,"ball_lightning_beam"}, {DamageType.ARCANE,"ball_arcane"}} 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) self:project({type="ball", radius=2, friendlyfire=false}, target.x, target.y, typ[1], self:combatSpellpower() * 2)
......
...@@ -143,7 +143,9 @@ newTalent{ ...@@ -143,7 +143,9 @@ newTalent{
return ([[Raw magical damage channels through the caster's weapon, increasing Physical Power by %d. 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. 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. 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) format(self:combatSpellpower() * t.getSPMult(self, t), self:combatSpellpower() * 2)
end, end,
} }
......
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