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

Fix push kick

parent 192fc922
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ newTalent{
if not x or not y or not target then return nil end
if core.fov.distance(self.x, self.y, x, y) > 1 then return nil end
local hit = target:checkHit(self:combatAttack(), target:combatDefense(), 0, 95) and self:checkEvasion(target)
local hit = target:checkHit(self:combatAttack(), target:combatDefense(), 0, 95) and not self:checkEvasion(target)
-- Try to knockback !
if hit then
local can = function(target)
......
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