mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 14:04:41 +02:00
Merge remote-tracking branch 'origin/ioncannon/quest_system' into Jorge/quest_system
This commit is contained in:
commit
4fe8f77887
19 changed files with 223 additions and 188 deletions
|
@ -33,6 +33,16 @@ end
|
|||
|
||||
function onEventStarted(player, aetheryte, triggerName)
|
||||
|
||||
-- Main Scenario Intro Quests
|
||||
if (player:HasQuest(110002) == true) then
|
||||
require ("quests/man/man0l1");
|
||||
local quest = player:GetQuest("Man0l1");
|
||||
if (quest:GetSequence() == SEQ_003) then
|
||||
callClientFunction(player, "delegateEvent", player, quest, "processEvent025");
|
||||
quest:StartSequence(SEQ_005);
|
||||
end
|
||||
end
|
||||
|
||||
if (player:GetGuildleveDirector() ~= nil) then
|
||||
doGuildleveMenu(player, aetheryte);
|
||||
else
|
||||
|
|
|
@ -61,7 +61,7 @@ function onEventStarted(player, npc, triggerName)
|
|||
local killCount = 50;
|
||||
callClientFunction(player, "caravanGuardOffer", areaName, areaName2, playerGC);
|
||||
--callClientFunction(player, "caravanGuardReward", cargo, nil, areaName, playerGC, killCount, areaName2);
|
||||
--player:SendGameMessageDisplayIDSender(npc, 6, MESSAGE_TYPE_SAY, npc.displayNameId);
|
||||
--player:SendGameMessageLocalizedDisplayName(npc, 6, MESSAGE_TYPE_SAY, npc.displayNameId);
|
||||
|
||||
|
||||
player:EndEvent();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue