ToME: the Tales of Maj'Eyal
http://forums.te4.org/

[1.5.5] print Tempest of Metal evasion to log
http://forums.te4.org/viewtopic.php?f=39&t=48000
Page 1 of 1

Author:  jenx [ Sat Jun 17, 2017 6:33 am ]
Post subject:  [1.5.5] print Tempest of Metal evasion to log

Currently, the player does not know if Tempest of Metal damage evasion works.

Can a LOG output be added to the code below to indicate this please? Only ToM, Flash of the Blade, Windborn Azurite (eq), and Leaves Tide use this attribute, and the two talents report the effect, but ToM doesn't

Code:
if self:attr("cancel_damage_chance") and rng.percent(self.cancel_damage_chance) then
      if self:knowTalent(self.T_TEMPO) then
         local t = self:getTalentFromId(self.T_TEMPO)
         t.do_tempo(self, t)
      end
   return 0
end


i think it needs something like

Code:
if self:knowTalent(self.T_TEMPEST_OF_METAL) then...


if it went to the payer screen, i think it will appear too much, once for every dmg, proc dmg etc. So the log would be best (or, once per turn to the screen, or both ideally!).

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/