[1.2.2] Display error: resists_actor_type on character sheet
Posted: Wed Jun 11, 2014 10:44 pm
CharacterSheet.lua line 879 - 885
Doesn't check if the resist is over cap, leading me to have "Summoned: 77% / 70%" resists displayed. Only a display bug, it still calculates the cap correctly when doing damage.
Also, I just got the best belt ever.
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.