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

Limmir will not cry too early

git-svn-id: http://svn.net-core.org/repos/t-engine4@6611 51575b47-30f0-44d4-a5cc-537603b46e54
parent e7bdec07
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ newEntity{ define_as = "LIMMIR",
end,
on_takehit = function(self, value, who)
if self.last_took_hit_cry and game.turn < self.last_took_hit_cry + 100 and (not who or who.type ~= "demon") then return value end
if (self.last_took_hit_cry and game.turn < self.last_took_hit_cry + 100 and (not who or who.type ~= "demon")) or not game.level.turn_counter then return value end
self.last_took_hit_cry = game.turn
game.bignews:say(90, "#VIOLET#Limmir is attacked! Defend him!")
......
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