Commit 0c2aa037d8bc2fe9469941e35b8a135fa1d32112

Authored by DarkGod
1 parent 17da308e

Telekinetic Leap can not enter vaults

... ... @@ -144,7 +144,7 @@ newTalent{
144 144 if not x or not y then return nil end
145 145 end
146 146 local fx, fy = util.findFreeGrid(x, y, 5, true, {[Map.ACTOR]=true})
147   - if not fx then
  147 + if not fx or not self:hasLOS(fx, fy) then
148 148 return
149 149 end
150 150 game.logSeen(self, "%s performs a telekinetically enhanced leap!", self.name:capitalize())
... ...