Code: Select all
newTalent{
name = "Steady Mind",
type = {"technique/unarmed-training", 2},
mode = "passive",
points = 5,
require = techs_cun_req2,
getDefense = function(self, t) return self:combatTalentStatDamage(t, "cun", 5, 35) end,
getMental = function(self, t) return self:combatTalentStatDamage(t, "cun", 5, 35) end,
info = function(self, t)
local defense = t.getDefense(self, t)
local saves = t.getMental(self, t)
return ([[Superior cunning and training allows you to out think and out wit your opponents physical and mental assualts. Increases defense by %d and mental saves by %d.
The defense bonus will scale with the Dexterity stat and the save bonus with the Cunning stat.]]):
format(defense, saves)
end,
}
Code: Select all
getDefense = function(self, t) return self:combatTalentStatDamage(t, "cun", 5, 35) end,
Code: Select all
getDefense = function(self, t) return self:combatTalentStatDamage(t, "dex", 5, 35) end,