Code:
newTalent{
name = "Amplification",
type = {"psionic/feedback", 3},
points = 5,
require = psi_wil_req3,
mode = "passive",
-- called by _M:onTakeHit in mod.class.Actor.lua
getFeedbackGain = function(self, t)
if self:getTalentLevel(t) <= 0 then return 0 end
return self:combatTalentScale(t, 0.15, 0.5, 0.75)
end,
getMaxFeedback = function(self, t) return self:getTalentLevelRaw(t) * 10 end,
on_learn = function(self, t)
self:incMaxFeedback(10)
end,
on_unlearn = function(self, t)
self:incMaxFeedback(-10)
end,
info = function(self, t)
local max_feedback = t.getMaxFeedback(self, t)
local gain = t.getFeedbackGain(self, t)
return ([[Increases your maximum Feedback by %d, and increases your base Feedback gain ratio to %d%%.
The Feedback gain will scale with your Mindpower.]]):format(max_feedback, gain * 100)
end,
info = function(self, t)
local max_feedback = t.getMaxFeedback(self, t)
local gain = t.getFeedbackGain(self, t)
local feedbackratio = self:callTalent(self.T_FEEDBACK_POOL, "getFeedbackRatio")
return ([[Increases your maximum Feedback by %d, and increases the Feedback you gain from damage by %0.1f%% (to %0.1f%% of damage received).
The Feedback gain will scale with your Mindpower.]]):format(max_feedback, gain*100, feedbackratio*100)
end,
}
the code has nothing to do with mindpower outside of the description, and feedback decay heal scales with wil power, so its likely its just another classical tome description.
_________________
A little bit of a starters guide written by yours truly
here.