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

Switch Place correctly consumes turn/cooldown/stamina even if used against a creature in a wall

parent 8be1ec0d
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ newTalent{
if hitted and not self.dead and tx == target.x and ty == target.y then
if not self:canMove(tx,ty,true) or not target:canMove(sx,sy,true) then
self:logCombat(target, "Terrain prevents #Source# from switching places with #Target#.")
return false
return true
end
self:setEffect(self.EFF_EVASION, t.getDuration(self, t), {chance=50})
-- Displace
......
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