diff --git a/game/modules/tome/class/interface/TooltipsData.lua b/game/modules/tome/class/interface/TooltipsData.lua index 94c37709dcfc1691ad4c44805bea87b01c144d22..566391da536c7d89e7549ed118ccce95b83392aa 100644 --- a/game/modules/tome/class/interface/TooltipsData.lua +++ b/game/modules/tome/class/interface/TooltipsData.lua @@ -254,6 +254,10 @@ TOOLTIP_SPELL_SPEED = [[#GOLD#Spellcasting speed#LAST# Spellcasting speed represents how fast your spellcasting is compared to a normal turn. The lower it is the faster it is. ]] +TOOLTIP_MINDPOWER = [[#GOLD#Mindpower#LAST# +Your mindpower value represents how effective/powerful your mental effects are. +It is improved by both Willpower and Cunning, some talents can change the stats that affect it. +]] ------------------------------------------------------------- -- Damage and resists @@ -265,6 +269,9 @@ This stacks with individual damage type increases. TOOLTIP_INC_DAMAGE = [[#GOLD#Damage increase: specific#LAST# All damage of this type that you deal, through any means, is increased by this percentage. ]] +TOOLTIP_INC_CRIT_POWER = [[#GOLD#Critical multiplicator#LAST# +All critical damage (melee, spells, ...) do this much damage. +]] TOOLTIP_RESIST_ALL = [[#GOLD#Damage resistance: all#LAST# All damage you receive, through any means, is decreased by this percentage. This stacks with individual damage type resistances. diff --git a/game/modules/tome/dialogs/CharacterSheet.lua b/game/modules/tome/dialogs/CharacterSheet.lua index 6191b516f5fbe96481a0607d168867cb35ce9671..4ef1d691773399aaeb8361630975306b6d8b996e 100644 --- a/game/modules/tome/dialogs/CharacterSheet.lua +++ b/game/modules/tome/dialogs/CharacterSheet.lua @@ -347,13 +347,13 @@ function _M:drawDialog(kind) self:mouseTooltip(self.TOOLTIP_SPELL_CRIT, s:drawColorStringBlended(self.font, ("Crit. chance: #00ff00#%d%%"):format(player:combatSpellCrit()), w, h, 255, 255, 255)) h = h + self.font_h self:mouseTooltip(self.TOOLTIP_SPELL_SPEED, s:drawColorStringBlended(self.font, ("Spell speed : #00ff00#%.2f%%"):format(player:combatSpellSpeed()*100), w, h, 255, 255, 255)) h = h + self.font_h h = h + self.font_h - self:mouseTooltip(self.TOOLTIP_STR, s:drawColorStringBlended(self.font, ("Mindpower: #00ff00#%3d"):format(player:combatMindpower()), w, h, 255, 255, 255)) h = h + self.font_h + self:mouseTooltip(self.TOOLTIP_MINDPOWER, s:drawColorStringBlended(self.font, ("Mindpower: #00ff00#%3d"):format(player:combatMindpower()), w, h, 255, 255, 255)) h = h + self.font_h h = 0 w = 400 s:drawColorStringBlended(self.font, "#LIGHT_BLUE#Damage mods.:", w, h, 255, 255, 255) h = h + self.font_h - self:mouseTooltip(self.TOOLTIP_STR , s:drawColorStringBlended(self.font, ("Critical mult.: #00ff00#%3d%%"):format(150 + (player.combat_critical_power or 0)), w, h, 255, 255, 255)) h = h + self.font_h + self:mouseTooltip(self.TOOLTIP_INC_CRIT_POWER , s:drawColorStringBlended(self.font, ("Critical mult.: #00ff00#%3d%%"):format(150 + (player.combat_critical_power or 0)), w, h, 255, 255, 255)) h = h + self.font_h if player.inc_damage.all then self:mouseTooltip(self.TOOLTIP_INC_DAMAGE_ALL, s:drawColorStringBlended(self.font, ("All damage: #00ff00#%3d%%"):format(player.inc_damage.all), w, h, 255, 255, 255)) h = h + self.font_h end for i, t in ipairs(DamageType.dam_def) do if player.inc_damage[DamageType[t.type]] and player.inc_damage[DamageType[t.type]] ~= 0 then