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

Fix major bug with Ancestral Life energy gain

I hate everything.
parent 66067749
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ newTalent{
local heal = (self.life + value) < self.max_life and value or self.max_life - self.life
if heal > 0 then
local amt = (heal / 100) * (t.getTurn(self, t) * game.energy_to_act)
self.energy.value = game.energy_to_act + amt
self.energy.value = self.energy.value + amt
self.energy.value = math.min(self.energy.value, game.energy_to_act * 2)
self.ancestral_healing_display_amt = self.ancestral_healing_display_amt or 0
self.ancestral_healing_display_amt = self.ancestral_healing_display_amt + amt
......
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