mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 06:24:38 +02:00
New scripts for the opening private areas, as well as db updates.
This commit is contained in:
parent
e898c045f7
commit
d918ad3776
29 changed files with 412 additions and 183 deletions
|
@ -38,7 +38,10 @@ function onTalkEvent(player, npc)
|
|||
end
|
||||
elseif (player:HasQuest(110005) == true) then
|
||||
man0g0Quest = player:GetQuest("man0g0");
|
||||
if (man0g0Quest:GetQuestFlag(MAN0G0_FLAG_MINITUT_DONE1) == true) then
|
||||
if (man0g0Quest:GetQuestFlag(MAN0G0_FLAG_TUTORIAL1_DONE) and man0g0Quest:GetQuestFlag(MAN0G0_FLAG_MINITUT_DONE1) == false) then
|
||||
papalymo = GetWorldManager():GetActorInWorldByUniqueId("papalymo");
|
||||
papalymo:SetQuestGraphic(player, 0x2);
|
||||
elseif (man0g0Quest:GetQuestFlag(MAN0G0_FLAG_MINITUT_DONE1) == true) then
|
||||
yda = GetWorldManager():GetActorInWorldByUniqueId("yda");
|
||||
yda:SetQuestGraphic(player, 0x2);
|
||||
end
|
||||
|
|
|
@ -20,8 +20,10 @@ function onEventStarted(player, actor, triggerName)
|
|||
|
||||
quest = GetStaticActor("Man0g0");
|
||||
callClientFunction(player, "delegateEvent", player, quest, "processTtrBtl001", nil, nil, nil);
|
||||
callClientFunction(player, "delegateEvent", player, quest, "processTtrBtl002", nil, nil, nil);
|
||||
|
||||
callClientFunction(player, "delegateEvent", player, quest, "processEvent010_1", nil, nil, nil);
|
||||
callClientFunction(player, "delegateEvent", player, quest, "processEvent020_1", nil, nil, nil);
|
||||
GetWorldManager():DoZoneChange(player, 1);
|
||||
player:EndEvent();
|
||||
--sendDataPacket: Success
|
||||
--sendDataPacket: CloseWidget
|
||||
--IF DoW:
|
||||
|
|
|
@ -18,9 +18,13 @@ end
|
|||
|
||||
function onEventStarted(player, actor, triggerName)
|
||||
|
||||
quest = GetStaticActor("Man0l0");
|
||||
callClientFunction(player, "delegateEvent", player, quest, "processTtrBtl001", nil, nil, nil);
|
||||
callClientFunction(player, "delegateEvent", player, quest, "processTtrBtl002", nil, nil, nil);
|
||||
man0l0Quest = player:GetQuest("Man0l0");
|
||||
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processTtrBtl001", nil, nil, nil);
|
||||
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processTtrBtl002", nil, nil, nil);
|
||||
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEvent000_2", nil, nil, nil);
|
||||
|
||||
player:ChangeMusic(7);
|
||||
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEvent000_3", nil, nil, nil);
|
||||
|
||||
--sendDataPacket: Success
|
||||
--sendDataPacket: CloseWidget
|
||||
|
@ -38,8 +42,11 @@ function onEventStarted(player, actor, triggerName)
|
|||
--IF DEAD
|
||||
--sendDataPacket: Attention
|
||||
|
||||
man0l0Quest:NextPhase(10);
|
||||
player:EndEvent();
|
||||
|
||||
GetWorldManager():DoZoneChange(player, 230, "PrivateAreaMasterPast", 1, 15, -826.868469, 6, 193.745865, -0.008368492);
|
||||
|
||||
end
|
||||
|
||||
function onUpdate()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue