Code: Select all
if player.resists_actor_type then
for i, t in pairs(player.resists_actor_type) do
if t and t ~= 0 then
self:mouseTooltip(self.TOOLTIP_RESIST, s:drawColorStringBlended(self.font, ("#ORANGE#%-10s#LAST#: #00ff00#%3d%% / %d%%"):format(i:capitalize(), t, player.resists_cap_actor_type or 100), w, h, 255, 255, 255, true)) h = h + self.font_h
end
end
end
Also, I just got the best belt ever.