From 75e6ac4014aa822ca58b4f9de64efb19baf1e22c Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Mon, 29 Dec 2014 03:05:59 +0100
Subject: [PATCH] Tumble can not go over walls anymore

---
 game/modules/tome/data/talents/techniques/acrobatics.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game/modules/tome/data/talents/techniques/acrobatics.lua b/game/modules/tome/data/talents/techniques/acrobatics.lua
index ff522583a5..8d3ca8dc73 100644
--- a/game/modules/tome/data/talents/techniques/acrobatics.lua
+++ b/game/modules/tome/data/talents/techniques/acrobatics.lua
@@ -121,7 +121,7 @@ newTalent {
 		local x, y, target = self:getTarget(tg)
 		if not x or not y then return end
 		if self.x == x and self.y == y then return end
-		if core.fov.distance(self.x, self.y, x, y) > self:getTalentRange(t) then return end
+		if core.fov.distance(self.x, self.y, x, y) > self:getTalentRange(t) or not self:hasLOS(x, y) then return end
 
 		if target or game.level.map:checkEntity(x, y, Map.TERRAIN, "block_move", self) then
 			game.logPlayer(self, "You must have an empty space to roll to.")
-- 
GitLab