[1.5.5] print Tempest of Metal evasion to log

All new ideas for the upcoming releases of ToME 4.x.x should be discussed here

Moderator: Moderator

Post Reply
Message
Author
jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

[1.5.5] print Tempest of Metal evasion to log

#1 Post 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!).
MADNESS rocks

Post Reply