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

Kill Bill achievement can only be gained by being level 1 as the player

git-svn-id: http://svn.net-core.org/repos/t-engine4@5846 51575b47-30f0-44d4-a5cc-537603b46e54
parent cd4f7fab
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ This is the troll the notes spoke about, no doubt.]],
on_die = function(self, who)
game.player:resolveSource():setQuestStatus("trollmire-treasure", engine.Quest.COMPLETED)
if who and who.level and who.level == 1 then
if who and game:getPlayer(true).level == 1 then
world:gainAchievement("KILL_BILL", game.player)
end
end,
......
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