Code: Select all
newTalent{
name = "Reflex Defense",
type = {"technique/unarmed-training", 4},
require = techs_cun_req4,
points = 5,
mode = "passive",
getFlatReduction = function(self, t) return self:combatTalentScale(t, 30, 70, 0.75) end,
critResist = function(self, t) return self:combatTalentScale(t, 8, 25, 0.75) end,
passives = function(self, t, p)
self:talentTemporaryValue(p, "ignore_direct_crits", t.critResist(self, t))
end,
info = function(self, t)
return ([[Your understanding of physiology allows you to apply your reflexes in new ways, increasing the flat damage reduction granted by Striking Stance by %d%% and causing direct critical hits (physical, mental, spells) against you to have a %d%% lower Critical multiplier (but always do at least normal damage).]]):
format(t.getFlatReduction(self,t), t.critResist(self,t) )
end
}