1.6 Ancestral Life Code Question
Posted: Sun Oct 13, 2019 2:41 pm
I am not code-y. I would appreciate help from more savvy folks on figuring out whether or not the new Ancestral Life talent works in conjunction with Healing Infusions. It did not in previous editions, but Ancestral Life has changed significantly and it would make sense in the current edition if it did.
Code dump from 1.5X, borrowed from an Erenion post.
Code dump from 1.5X, borrowed from an Erenion post.
Erenion wrote:Healing infusions (probably only those, I didn't find any other heals with this attribute) are specifically coded not to trigger Ancestral Life.
Relevant code (from inscriptions.lua):
Code: Select all
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) self:removeEffectsFilter(function(e) return e.subtype.poison end, 1)