Skip to content
Snippets Groups Projects
Commit 3b7e7892 authored by stuntofthelitter's avatar stuntofthelitter
Browse files

Dark Empathy now also reduces damage summons deal to fellow summons

parent e4413d93
No related branches found
No related tags found
1 merge request!393Necro buffs
......@@ -442,10 +442,16 @@ setDefaultProjector(function(src, x, y, type, dam, state)
end
end
--Dark Empathy (Reduce damage against summoner)
if src.necrotic_minion_be_nice and src.summoner == target then
dam = dam * (1 - src.necrotic_minion_be_nice)
end
--Dark Empathy (Reduce damage against other minions)
if src.necrotic_minion_be_nice and target.summoner and src.summoner == target.summoner then
dam = dam * (1 - src.necrotic_minion_be_nice)
end
-- Curse of Misfortune: Unfortunate End (chance to increase damage enough to kill)
if src and src.hasEffect and src:hasEffect(src.EFF_CURSE_OF_MISFORTUNE) then
local eff = src:hasEffect(src.EFF_CURSE_OF_MISFORTUNE)
......
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