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

Antimagic Shield won't hit the user

parent 1664e046
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -124,7 +124,7 @@ newTalent{
dam = dam - self.antimagic_shield
end
if src and src.x then
if src and src.x and src ~= self then
DamageType:get(DamageType.MANABURN).projector(self, src.x, src.y, DamageType.MANABURN, t.getBurn(self, t))
game.level.map:particleEmitter(src.x, src.y, 1, "slime")
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