ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Sat Aug 18, 2018 2:03 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Apr 11, 2018 2:27 am 
Offline
Uruivellas

Joined: Sat Jan 14, 2012 12:02 am
Posts: 703
The description says that it increases feedback gain by a fixed percentage, but also that the amount scales with Mindpower. I don't see how those things can both be true.


Top
 Profile  
 
PostPosted: Wed Apr 11, 2018 3:24 am 
Offline
Sher'Tul

Joined: Sun Jun 15, 2014 12:19 am
Posts: 1148
Location: Yeehaw, pardner
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.


Top
 Profile  
 
PostPosted: Wed Apr 11, 2018 12:16 pm 
Offline
Uruivellas

Joined: Sat Jan 14, 2012 12:02 am
Posts: 703
Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group