Page 1 of 1

[1.2.2] Display error: resists_actor_type on character sheet

Posted: Wed Jun 11, 2014 10:44 pm
by Alisar
CharacterSheet.lua line 879 - 885

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

Re: [1.2.2] Display error: resists_actor_type on character s

Posted: Thu Jun 12, 2014 6:15 am
by Alisar
Also, "Changes resistances cap: X%" doesn't affect resists_cap_actor_type. Not sure if bug or intended, but it looks odd on character sheet having a different max than every other resist.