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

Harkor Zun fragments have independant health bars

git-svn-id: http://svn.net-core.org/repos/t-engine4@6454 51575b47-30f0-44d4-a5cc-537603b46e54
parent 40fbf6fd
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,7 @@ newEntity{ base = "BASE_NPC_XORN",
local x, y = util.findFreeGrid(self.x, self.y, 15, true, {[engine.Map.ACTOR]=true})
if x and y then
local m = self:clone()
m:removeAllMOs()
m.on_added_to_level = nil
m.x, m.y = nil, nil
game.zone:addEntity(game.level, m, "actor", 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