Skip to content
Snippets Groups Projects
Commit 6e28a109 authored by dg's avatar dg
Browse files

telepathy does not prevent rest/run

git-svn-id: http://svn.net-core.org/repos/t-engine4@488 51575b47-30f0-44d4-a5cc-537603b46e54
parent 02d5bbdd
No related branches found
No related tags found
No related merge requests found
......@@ -201,7 +201,7 @@ end
local function spotHostiles(self)
local seen = false
-- Check for visible monsters, only see LOS actors, so telepathy wont prevent resting
core.fov.calc_circle(self.x, self.y, 20, function(_, x, y) game.level.map:opaque(x, y) end, function(_, x, y)
core.fov.calc_circle(self.x, self.y, 20, function(_, x, y) return game.level.map:opaque(x, y) end, function(_, x, y)
local actor = game.level.map(x, y, game.level.map.ACTOR)
if actor and self:reactionToward(actor) < 0 and self:canSee(actor) and game.level.map.seens(x, y) then seen = true end
end, nil)
......
......@@ -33,7 +33,8 @@ rule of the High King of the Reunited Kingdom, #14fffc#Aragorn II Elessar#ffffff
The High King died of old age two years ago and his son, #14fffc#Eldarion#ffffff#, is now king.
#14fffc#Elrond and Galadriel#ffffff#, the great leaders of the Elves left Middle-earth for Valinor.
But still, many elves dwell in Middle-earth, for some of them love this land they fought so hard for.
But still, many elves dwell in Middle-earth, for some of them love this land they fought
so hard for.
In the the Lonely Mountain, the dwarves prosper along with their human allies of Dale
under the guidance of #14fffc#Thorin III Stonehelm#ffffff#, the King under the Moutain.
......
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