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

Meditation works around friendlies

Summoners do not start with a useless staff


git-svn-id: http://svn.net-core.org/repos/t-engine4@2541 51575b47-30f0-44d4-a5cc-537603b46e54
parent af6ef492
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,6 @@ newBirthDescriptor{
copy = {
max_life = 90,
resolvers.equip{ id=true,
{type="weapon", subtype="staff", name="elm staff", autoreq=true},
{type="armor", subtype="light", name="rough leather armour", autoreq=true}
},
},
......
......@@ -31,7 +31,7 @@ newTalent{
-- Check for visible monsters, only see LOS actors, so telepathy wont prevent it
core.fov.calc_circle(self.x, self.y, game.level.map.w, game.level.map.h, 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 actor ~= self then seen = true end
if actor and actor ~= self and self:reactionToward(actor) < 0 then seen = true end
end, nil)
if seen then
game.logPlayer(self, "There's too much going on for you to use Meditation right now!")
......
......@@ -34,6 +34,7 @@ function _M:init(actor)
actor:saveUUID()
self:generateList()
if self.dont_show then return end
self.c_desc = Textzone.new{width=self.iw, auto_height=true, text=[[You have #LIGHT_RED#died#LAST#!
Death in T.o.M.E. is usually permanent, but if you have a means of resurrection it will be proposed in the menu below.
......
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