Skip to content
Snippets Groups Projects
Commit 0b1c09a2 authored by dg's avatar dg
Browse files

Piercing Sight bonus appears in the charsheet

git-svn-id: http://svn.net-core.org/repos/t-engine4@5813 51575b47-30f0-44d4-a5cc-537603b46e54
parent 957734f6
No related branches found
No related tags found
No related merge requests found
......@@ -423,7 +423,7 @@ function _M:drawDialog(kind, actor_to_compare)
if text then
self:mouseTooltip(self.TOOLTIP_VISION_STEALTH, s:drawColorStringBlended(self.font, ("Stealth : #00ff00#%s"):format(text), w, h, 255, 255, 255, true)) h = h + self.font_h
end
text = compare_fields(player, actor_to_compare, "see_stealth", "%.1f", "%+.1f")
text = compare_fields(player, actor_to_compare, function(actor) return actor:combatSeeStealth() end, "%.1f", "%+.1f")
if text then
self:mouseTooltip(self.TOOLTIP_VISION_SEE_STEALTH, s:drawColorStringBlended(self.font, ("See stealth : #00ff00#%s"):format(text), w, h, 255, 255, 255, true)) h = h + self.font_h
end
......@@ -431,7 +431,7 @@ function _M:drawDialog(kind, actor_to_compare)
if text then
self:mouseTooltip(self.TOOLTIP_VISION_INVISIBLE, s:drawColorStringBlended(self.font, ("Invisibility : #00ff00#%s"):format(text), w, h, 255, 255, 255, true)) h = h + self.font_h
end
text = compare_fields(player, actor_to_compare, "see_invisible", "%.1f", "%+.1f")
text = compare_fields(player, actor_to_compare, function(actor) return actor:combatSeeInvisible() end, "%.1f", "%+.1f")
if text then
self:mouseTooltip(self.TOOLTIP_VISION_SEE_INVISIBLE, s:drawColorStringBlended(self.font, ("See invisible : #00ff00#%s"):format(text), w, h, 255, 255, 255, true)) h = h + self.font_h
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment