Skip to content
Snippets Groups Projects
Commit 1acbc9ff authored by Lisa Greene's avatar Lisa Greene
Browse files

Remove linear scaling from spell shield

parent 77763f43
No related branches found
No related tags found
1 merge request!603Misc 1.6.6
......@@ -207,11 +207,12 @@ newTalent{
require = techs_strdex_req3,
mode = "passive",
points = 5,
getSaves = function(self, t) return math.floor(self:combatTalentScale(t, 12, 48)) end,
passives = function(self, t, p)
self:talentTemporaryValue(p, "combat_spellresist", self:getTalentLevel(t) * 9)
self:talentTemporaryValue(p, "combat_spellresist", t.getSaves(self,t))
end,
info = function(self, t)
return ([[Rigorous training allows you to be more resistant to some spell effects (+%d spell save).]]):format(self:getTalentLevel(t) * 9)
return ([[Rigorous training allows you to be more resistant to some spell effects (+%d spell save).]]):format(t.getSaves(self,t))
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