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

Fixed Aura of Undeath, Surge of Undeath and Chill of the Tomb to work even if...

Fixed Aura of Undeath, Surge of Undeath and Chill of the Tomb to work even if Through The Crowd is active
parent 1e39768a
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -80,7 +80,7 @@ newTalent{
direct_hit = true,
requires_target = true,
target = function(self, t)
return {type="ball", range=self:getTalentRange(t), radius=self:getTalentRadius(t), selffire=self:spellFriendlyFire(), talent=t, display={particle="bolt_ice", trail="icetrail"}}
return {type="ball", range=self:getTalentRange(t), radius=self:getTalentRadius(t), ignore_nullify_all_friendlyfire=true, selffire=self:spellFriendlyFire(), talent=t, display={particle="bolt_ice", trail="icetrail"}}
end,
getDamage = function(self, t) return self:combatTalentSpellDamage(t, 28, 280) end,
getFlatResist = function(self, t) return math.floor(self:combatTalentScale(t, 5, 25)) end,
......
......@@ -30,7 +30,7 @@ newTalent{
getResists = function(self, t) return math.floor(self:combatTalentScale(t, 8, 18)) end,
getInherit = function(self, t) return math.floor(self:combatTalentLimit(t, 75, 20, 40)) end,
callbackOnActBase = function(self, t)
self:projectApply({type="ball", radius=self:getTalentRadius(t)}, self.x, self.y, Map.ACTOR, function(target)
self:projectApply({type="ball", radius=self:getTalentRadius(t), ignore_nullify_all_friendlyfire=true}, self.x, self.y, Map.ACTOR, function(target)
if target.summoner == self and target.necrotic_minion and not target:hasEffect(target.EFF_NECROTIC_AURA) then
target:setEffect(target.EFF_NECROTIC_AURA, 1, {power=t:_getResists(self)})
end
......@@ -64,7 +64,7 @@ newTalent{
tactical = { BUFF=function(self) return necroArmyStats(self).nb / 2 end, DISABLE = {daze=2} },
range = 0,
radius = function(self, t) return self:callTalent(self.T_NECROTIC_AURA, "radius") end,
target = function(self, t) return {type="ball", range=0, radius=self:getTalentRadius(t)} end,
target = function(self, t) return {type="ball", range=0, radius=self:getTalentRadius(t), ignore_nullify_all_friendlyfire=true} end,
requires_target = true,
getSpeed = function(self, t) return math.floor(self:combatTalentScale(t, 2, 5)) end,
getHeal = function(self, t) return math.floor(self:combatTalentScale(t, 12, 22)) end,
......
......@@ -300,7 +300,7 @@ newTalent{
callbackOnSummonDeath = function(self, t, summon, killer, death_note)
if not summon.is_bone_giant and not summon.skeleton_minion then return end
-- if killer and killer.reactionToward and killer:reactionToward(summon) >= 0 then return end
summon:projectApply({type="ball", radius=self:getTalentRadius(t)}, summon.x, summon.y, Map.ACTOR, function(target)
summon:projectApply({type="ball", radius=self:getTalentRadius(t), ignore_nullify_all_friendlyfire=true}, summon.x, summon.y, Map.ACTOR, function(target)
if target.summoner == self and (target.is_bone_giant or target.skeleton_minion) then
target:setEffect(target.EFF_SHATTERED_REMAINS, 20, {health=t:_getHealth(self), armor=t:_getArmor(self), retaliation=t:_getRetaliation(self)})
elseif self:reactionToward(target) < 0 and target:canBe("bleed") then
......
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