Page 1 of 1

[1.5.5] print Tempest of Metal evasion to log

Posted: Sat Jun 17, 2017 6:33 am
by jenx
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: Select all

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: Select all

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!).