Skip to content
Snippets Groups Projects
Commit 99c6a182 authored by DarkGod's avatar DarkGod
Browse files

healing infusion doesnt proc ancestral life

parent c1a56244
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,9 @@ newInscription{
action = function(self, t)
local data = self:getInscriptionData(t.short_name)
self:attr("allow_on_heal", 1)
self:attr("disable_ancestral_life", 1)
self:heal(data.heal + data.inc_stat, t)
self:attr("disable_ancestral_life", -1)
self:attr("allow_on_heal", -1)
self:removeEffectsFilter(function(e) return e.subtype.wound end, 1)
......
......@@ -197,7 +197,7 @@ newEffect{
eff.particle2 = self:addParticles(Particles.new("shader_shield", 1, {toback=false, size_factor=1.5, y=-0.3, img="healarcane"}, {type="healing", time_factor=4000, noup=1.0, circleColor={0,0,0,0}, beamsCount=9}))
end
if self:knowTalent(self.T_ANCESTRAL_LIFE) then
if self:knowTalent(self.T_ANCESTRAL_LIFE) and not self:attr("disable_ancestral_life") then
local t = self:getTalentFromId(self.T_ANCESTRAL_LIFE)
self.energy.value = self.energy.value + (t.getTurn(self, t) * game.energy_to_act / 100)
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