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

Phantasmal Shield does not retaliate to self inflicted damage

parent e1a58dce
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -86,7 +86,7 @@ newTalent{
callbackOnHit = function(self, t, cb, src, dt)
local p = self:isTalentActive(t.id)
if not p then return end
if cb.value <= 0 then return end
if cb.value <= 0 or src == self then return end
if rng.percent(t.getEvade(self, t)) then
game:delayedLogDamage(src, self, 0, ("#YELLOW#(%d ignored)#LAST#"):format(cb.value), false)
cb.value = 0
......
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