From d1181e15d964690a9477d843cb7d413f133c9d25 Mon Sep 17 00:00:00 2001 From: Eric Wykoff <ericwykoff@yahoo.com> Date: Mon, 26 Jan 2015 07:20:48 -0600 Subject: [PATCH] strength of purpose nerf --- game/modules/tome/class/Object.lua | 3 --- game/modules/tome/class/interface/Combat.lua | 4 ---- game/modules/tome/data/talents/chronomancy/guardian.lua | 2 +- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/game/modules/tome/class/Object.lua b/game/modules/tome/class/Object.lua index a00abae605..09de744b48 100644 --- a/game/modules/tome/class/Object.lua +++ b/game/modules/tome/class/Object.lua @@ -581,9 +581,6 @@ function _M:getTextualDesc(compare_with, use_actor) if next(combat.dammod or {}) then dammod = use_actor:getDammod(combat) end for stat, i in pairs(dammod) do local name = Stats.stats_def[stat].short_name:capitalize() - if use_actor:knowTalent(use_actor.T_STRENGTH_OF_PURPOSE) then - if name == "Str" then name = "Mag" end - end if self.subtype == "dagger" and use_actor:knowTalent(use_actor.T_LETHALITY) then if name == "Str" then name = "Cun" end end diff --git a/game/modules/tome/class/interface/Combat.lua b/game/modules/tome/class/interface/Combat.lua index 4bc37234b1..345b37f417 100644 --- a/game/modules/tome/class/interface/Combat.lua +++ b/game/modules/tome/class/interface/Combat.lua @@ -1502,7 +1502,6 @@ function _M:getDammod(combat) end if combat.talented == 'knife' and self:knowTalent('T_LETHALITY') then sub('str', 'cun') end - if combat.talented and self:knowTalent('T_STRENGTH_OF_PURPOSE') then sub('str', 'mag') end if self:attr 'use_psi_combat' then sub('str', 'wil') sub('dex', 'cun') @@ -1584,9 +1583,6 @@ function _M:combatPhysicalpower(mod, weapon, add) add = add + self:combatTrainingDamage(weapon) local str = self:getStr() - if self:knowTalent(Talents.T_STRENGTH_OF_PURPOSE) then - str = self:getMag() - end local d = math.max(0, (self.combat_dam or 0) + add + str) -- allows strong debuffs to offset strength if self:attr("dazed") then d = d / 2 end diff --git a/game/modules/tome/data/talents/chronomancy/guardian.lua b/game/modules/tome/data/talents/chronomancy/guardian.lua index 4a32d2f7e2..e082c9ea83 100644 --- a/game/modules/tome/data/talents/chronomancy/guardian.lua +++ b/game/modules/tome/data/talents/chronomancy/guardian.lua @@ -31,7 +31,7 @@ newTalent{ local damage = t.getDamage(self, t) local inc = t.getPercentInc(self, t) return ([[Increases Physical Power by %d, and increases weapon damage by %d%% when using swords, axes, maces, knives, or bows. - You now also use your Magic in place of Strength when equipping weapons and ammo, calculating weapon damage, and physical power. + You now also use your Magic in place of Strength when equipping weapons and ammo. These bonuses override rather than stack with weapon mastery, knife mastery, and bow mastery.]]): format(damage, 100*inc) end, -- GitLab