Skip to content
Snippets Groups Projects
Commit de5b3eea authored by Alex Ksandra's avatar Alex Ksandra Committed by DarkGod
Browse files

arcane might buffs

parent 6afc8542
No related branches found
No related tags found
No related merge requests found
......@@ -1334,6 +1334,9 @@ function _M:combatCrit(weapon)
if weapon.talented and self:knowTalent(Talents.T_LETHALITY) then
addcrit = 1 + self:callTalent(Talents.T_LETHALITY, "getCriticalChance")
end
if self:knowTalent(Talents.T_ARCANE_MIGHT) then
addcrit = addcrit + 0.5 * self.combat_spellcrit
end
local crit = self.combat_physcrit + (self.combat_generic_crit or 0) + (self:getCun() - 10) * 0.3 + (self:getLck() - 50) * 0.30 + (weapon.physcrit or 1) + addcrit
return math.max(crit, 0) -- note: crit > 100% may be offset by crit reduction elsewhere
......@@ -1627,7 +1630,12 @@ function _M:combatPhysicalpower(mod, weapon, add)
if self:attr("hit_penalty_2h") then d = d * (1 - math.max(0, 20 - (self.size_category - 4) * 5) / 100) end
return self:rescaleCombatStats(d) * mod
local amight = 0
if self:knowTalent(self.T_ARCANE_MIGHT) then
amight = self:combatSpellpower() * 0.5
end
return self:rescaleCombatStats(d) * mod + amight * mod
end
--- Gets damage based on talent
......
......@@ -85,7 +85,10 @@ uberTalent{
mode = "passive",
info = function(self, t)
return ([[You have learned to harness your latent arcane powers, channeling them through your weapon.
Equipped weapons are treated as having an additional 50%% Magic modifier.]])
This has the following effects:
Equipped weapons are treated as having an additional 50%% Magic modifier;
Your effective Physical Power is increased by 50%% of your effective Spellpower;
Your physical critical chance is increased by 50%% of your bonus spell critical chance.]])
:format()
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