hasLos typo in primal-magic.lua
Posted: Mon Dec 26, 2011 7:53 am
In game/modules/tome/data/talents/cursed/primal-magic.lua, hasLOS is miscapitalized as hasLos:
Code: Select all
===================================================================
--- game/modules/tome/data/talents/cursed/primal-magic.lua (revision 4754)
+++ game/modules/tome/data/talents/cursed/primal-magic.lua (working copy)
@@ -116,7 +116,7 @@
game.logPlayer(self, "Selects a displacement location...")
local tg = {type="ball", nolock=true, pass_terrain=false, nowarning=true, range=range, radius=0}
x, y = self:getTarget(tg)
- if not x or not self:hasLos(x, y) then return nil end
+ if not x or not self:hasLOS(x, y) then return nil end
-- Target code does not restrict the target coordinates to the range, it lets the project function do it
-- but we cant ...