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

Can not die at the same turn as winning in the chrono-twins event

git-svn-id: http://svn.net-core.org/repos/t-engine4@6094 51575b47-30f0-44d4-a5cc-537603b46e54
parent d37ba391
No related branches found
No related tags found
No related merge requests found
......@@ -18,12 +18,14 @@
-- darkgod@te4.org
newChat{ id="welcome",
action = function(npc, player) player:attr("invulnerable", 1) end,
text = [[#LIGHT_GREEN#*A tall man, glowing like a star, appears out of nowhere.*#WHITE#
You destroyed *it* both? I am sorry for my harsh tone when we first met, but repairing time threads is stressful.
I cannot stay. I still have much to do. But take this-- it should help you.
#LIGHT_GREEN#*He disappears again before you can even reply. A rift opens, to Maj'Eyal... you hope.*#WHITE#]],
answers = {
{"Ok...", action = function(npc, player)
player:attr("invulnerable", -1)
local o = game.zone:makeEntityByName(game.level, "object", "RUNE_RIFT")
if o then
o:identify(true)
......
......@@ -159,7 +159,7 @@ newEntity{ base = "BASE_NPC_TROLL", unique=true,
ai = "tactical",
on_added_to_level = function(self)
self.inc_damage={[DamageType.FIRE]=math.min(self.level*2,50),}
self.inc_damage={[engine.DamageType.FIRE]=math.min(self.level*2,50),}
end,
resolvers.talents{
......
......@@ -117,7 +117,7 @@ newTalent{
}
game.logSeen(target, "%s has moved forward in time!", target.name:capitalize())
game.level:removeEntity(target)
game.level:removeEntity(target, true)
game.level:addEntity(e)
game.level.map(x, y, Map.TERRAIN, e)
game.nicer_tiles:updateAround(game.level, x, y)
......
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