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

Soul Leech can not apply to the summoner or self

parent 349229b1
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ newTalent{
if dead then
t:_gainSoul(self, target, "death")
else
if target:hasEffect(target.EFF_SOUL_LEECH) then return end -- Dont reset, we want it to exprei to leech
if target:hasEffect(target.EFF_SOUL_LEECH) or target == self or target == self.summoner then return end -- Dont reset, we want it to exprei to leech
local turns, powerful = t.getTurnsByRank(self, t, target)
target:setEffect(target.EFF_SOUL_LEECH, turns, {src=self, powerful=powerful})
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