diff --git a/game/modules/tome/class/Actor.lua b/game/modules/tome/class/Actor.lua index cf3d25286f083402d76881a0d93f72c16fa8aa8a..10e36e0ba198fe27703928cddd918324067cc48b 100644 --- a/game/modules/tome/class/Actor.lua +++ b/game/modules/tome/class/Actor.lua @@ -2256,7 +2256,7 @@ end -- accounts for healing_factor and Solipsism life/psi healing split, which includes psi_regen function _M:regenLife(fake) if self.life_regen and not self:attr("no_life_regen") then - local regen, psi_increase = self.life_regen * util.bound((self.healing_factor or 1), 0, 2.5) + local regen, psi_increase = self.life_regen * util.bound((self.healing_factor or 1), 0, self.healing_factor_max or 2.5) -- Solipsism: regeneration split between life and psi if self:knowTalent(self.T_SOLIPSISM) then diff --git a/game/modules/tome/dialogs/CharacterSheet.lua b/game/modules/tome/dialogs/CharacterSheet.lua index 209e89b237ea7f32e4b00fd6be9fc433c8137a46..1dece00e41f0af23f84e36d3d580ab5ad47d441b 100644 --- a/game/modules/tome/dialogs/CharacterSheet.lua +++ b/game/modules/tome/dialogs/CharacterSheet.lua @@ -713,7 +713,7 @@ The amount of %s automatically gained or lost each turn.]]):tformat(res_def.name end color = player.healing_factor color = color >= 1 and "#LIGHT_GREEN#" or "#LIGHT_RED#" - text = compare_fields(player, actor_to_compare, function(actor) return util.bound((actor.healing_factor or 1), 0, 2.5) end, color.."%.1f%%", "%+.1f%%", 100) + text = compare_fields(player, actor_to_compare, function(actor) return util.bound((actor.healing_factor or 1), 0, actor.healing_factor_max or 2.5) end, color.."%.1f%%", "%+.1f%%", 100) self:mouseTooltip(self.TOOLTIP_HEALING_MOD, s:drawColorStringBlended(self.font, ("Healing mod. : #00ff00#%s"):tformat(text), w, h, 255, 255, 255, true)) h = h + self.font_h color = player.life_regen color = color >= 0 and "#LIGHT_GREEN#" or "#LIGHT_RED#"