Code: Select all
Index: game/modules/tome/data/talents/techniques/combat-techniques.lua
===================================================================
--- game/modules/tome/data/talents/techniques/combat-techniques.lua (revision 6465)
+++ game/modules/tome/data/talents/techniques/combat-techniques.lua (working copy)
@@ -56,7 +56,8 @@
tx, ty = lx, ly
lx, ly, is_corner_blocked = l:step()
end
-
+ if core.fov.distance(x, y, tx, ty) > 1 then return nil end
+
local ox, oy = self.x, self.y
self:move(tx, ty, true)
if config.settings.tome.smooth_move > 0 then