mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-20 09:35:56 +02:00
Renamed QFLAG constants and moved them to quest.lua
This commit is contained in:
parent
16c62a08d8
commit
aef0f2b400
69 changed files with 338 additions and 256 deletions
|
@ -1,4 +1,5 @@
|
|||
require ("global")
|
||||
require ("quest")
|
||||
|
||||
--[[
|
||||
|
||||
|
@ -36,15 +37,15 @@ end
|
|||
|
||||
function onStateChange(player, quest, sequence)
|
||||
if (sequence == SEQ_ACCEPT) then
|
||||
quest:SetENpc(FONGHO, QFLAG_PLATE);
|
||||
quest:SetENpc(FONGHO, QFLAG_TALK);
|
||||
end
|
||||
|
||||
if (sequence == SEQ_000) then
|
||||
quest:SetENpc(FONGHO);
|
||||
quest:SetENpc(QUEST_OBJECTIVE, QFLAG_MAP);
|
||||
quest:SetENpc(QUEST_OBJECTIVE, QFLAG_PUSH);
|
||||
elseif (sequence == SEQ_005) then
|
||||
quest:SetENpc(QUEST_OBJECTIVE);
|
||||
quest:SetENpc(FONGHO, QFLAG_PLATE);
|
||||
quest:SetENpc(FONGHO, QFLAG_TALK);
|
||||
elseif (sequence == SEQ_010) then
|
||||
quest:SetENpc(FONGHO, QFLAG_REWARD);
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue