Skip to content
Snippets Groups Projects
Commit 2d9feda5 authored by Chris Davidson's avatar Chris Davidson
Browse files

Add a total amount of mana gained over time to Manasurge tooltip

parent f40eb672
No related branches found
No related tags found
No related merge requests found
...@@ -520,8 +520,9 @@ newInscription{ ...@@ -520,8 +520,9 @@ newInscription{
end, end,
info = function(self, t) info = function(self, t)
local data = self:getInscriptionData(t.short_name) local data = self:getInscriptionData(t.short_name)
return ([[Activate the rune to unleash a manasurge upon yourself, increasing mana regeneration by %d%% for %d turns and instantly restoring %d mana. local total = (data.mana + data.inc_stat) / 100 * (self.mana_regen or 0) * 10
Also when resting your mana will regenerate at 0.5 per turn.]]):format(data.mana + data.inc_stat, data.dur, (data.mana + data.inc_stat) / 20) return ([[Activate the rune to unleash a manasurge upon yourself, increasing mana regeneration by %d%% for %d turns (%d total) and instantly restoring %d mana.
Also when resting your mana will regenerate at 0.5 per turn.]]):format(data.mana + data.inc_stat, data.dur, total, (data.mana + data.inc_stat) / 20)
end, end,
short_info = function(self, t) short_info = function(self, t)
local data = self:getInscriptionData(t.short_name) local data = self:getInscriptionData(t.short_name)
......
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