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

Derth arena and trollmire treasure quests now correctly finishes

git-svn-id: http://svn.net-core.org/repos/t-engine4@3403 51575b47-30f0-44d4-a5cc-537603b46e54
parent e3af593e
No related branches found
Tags tome-beta26
No related merge requests found
......@@ -26,3 +26,7 @@ desc = function(self, who)
end
return table.concat(desc, "\n")
end
on_status_change = function(self, who, status, sub)
if self:isCompleted() then who:setQuestStatus(self.id, engine.Quest.DONE) end
end
......@@ -29,11 +29,7 @@ desc = function(self, who)
end
on_status_change = function(self, who, status, sub)
if sub then
if self:isCompleted() then
who:setQuestStatus(self.id, engine.Quest.DONE)
end
end
if self:isCompleted() then who:setQuestStatus(self.id, engine.Quest.DONE) end
end
on_grant = function(self)
......
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