mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 14:04:41 +02:00
Removed more dead scripts. Exported missing sql files.
This commit is contained in:
parent
b57f91470a
commit
765cf194c5
65 changed files with 1076 additions and 809 deletions
|
@ -1,28 +0,0 @@
|
|||
require ("global")
|
||||
require ("ally")
|
||||
|
||||
function onSpawn(ally)
|
||||
ally:SetMaxHP(69420)
|
||||
ally:SetHP(ally:GetMaxHP())
|
||||
ally.isAutoAttackEnabled = false;
|
||||
ally.neutral = false
|
||||
end
|
||||
|
||||
function onCombatTick(ally, target, tick, contentGroupCharas)
|
||||
allyGlobal.onCombatTick(ally, target, tick, contentGroupCharas);
|
||||
end
|
||||
|
||||
|
||||
function onRoam(ally, contentGroupCharas)
|
||||
ally.detectionType = 0xFF
|
||||
ally.isMovingToSpawn = false
|
||||
ally.neutral = false
|
||||
ally.animationId = 0
|
||||
allyGlobal.onCombatTick(ally, nil, nil, contentGroupCharas)
|
||||
end
|
||||
|
||||
|
||||
function tryAggro(ally, contentGroupCharas)
|
||||
allyGlobal.tryAggro(ally, contentGroupCharas)
|
||||
|
||||
end
|
|
@ -1,26 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
require ("ally")
|
||||
|
||||
function onSpawn(ally)
|
||||
ally:SetMaxHP(69420)
|
||||
ally:SetHP(ally:GetMaxHP())
|
||||
ally.isAutoAttackEnabled = false
|
||||
ally.neutral = false
|
||||
end
|
||||
|
||||
function onCombatTick(ally, target, tick, contentGroupCharas)
|
||||
allyGlobal.onCombatTick(ally, target, tick, contentGroupCharas)
|
||||
end
|
||||
|
||||
function tryAggro(ally, contentGroupCharas)
|
||||
allyGlobal.tryAggro(ally, contentGroupCharas)
|
||||
end
|
||||
|
||||
function onRoam(ally, contentGroupCharas)
|
||||
ally.detectionType = 0xFF
|
||||
ally.isMovingToSpawn = false
|
||||
ally.neutral = false
|
||||
ally.animationId = 0
|
||||
--allyGlobal.onCombatTick(ally, contentGroupCharas)
|
||||
end
|
|
@ -1,12 +0,0 @@
|
|||
require ("global")
|
||||
require ("quests/man/man0g0")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
if (triggerName == "caution") then
|
||||
worldMaster = GetWorldMaster();
|
||||
player:SendGameMessage(player, worldMaster, 34109, 0x20);
|
||||
elseif (triggerName == "exit") then
|
||||
GetWorldManager():DoPlayerMoveInZone(player, 356.09, 3.74, -701.62, -1.4);
|
||||
end
|
||||
player:EndEvent();
|
||||
end
|
|
@ -1,19 +0,0 @@
|
|||
require ("global")
|
||||
require ("quests/man/man0g0")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g0Quest = player:GetQuest("Man0g0");
|
||||
|
||||
if (triggerName == "talkDefault") then
|
||||
if (man0g0Quest:GetQuestFlag(MAN0G0_FLAG_MINITUT_DONE1) == false) then
|
||||
callClientFunction(player, "delegateEvent", player, man0g0Quest, "processEvent000_3", nil, nil, nil);
|
||||
man0g0Quest:SetQuestFlag(MAN0G0_FLAG_MINITUT_DONE1, true);
|
||||
man0g0Quest:SaveData();
|
||||
npc:SetQuestGraphic(player, 0x0);
|
||||
player:GetDirector("OpeningDirector"):onTalkEvent(player, npc);
|
||||
else
|
||||
callClientFunction(player, "delegateEvent", player, man0g0Quest, "processEvent000_2", nil, nil, nil);
|
||||
end
|
||||
end
|
||||
player:EndEvent();
|
||||
end
|
|
@ -1,59 +0,0 @@
|
|||
require ("global")
|
||||
require ("quests/man/man0g0")
|
||||
|
||||
function onSpawn(player, npc)
|
||||
npc:SetQuestGraphic(player, 0x2);
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g0Quest = player:GetQuest("Man0g0");
|
||||
print("Got Quest Man0g0");
|
||||
if (man0g0Quest ~= nil) then
|
||||
|
||||
print("Man0g0Quest is not nil");
|
||||
if (triggerName == "pushDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g0Quest, "processTtrNomal002", nil, nil, nil);
|
||||
elseif (triggerName == "talkDefault") then
|
||||
--Is doing talk tutorial?
|
||||
if (man0g0Quest:GetQuestFlag(MAN0L0_FLAG_STARTED_TALK_TUT) == false) then
|
||||
callClientFunction(player, "delegateEvent", player, man0g0Quest, "processTtrNomal003", nil, nil, nil);
|
||||
player:SetEventStatus(npc, "pushDefault", false, 0x2);
|
||||
npc:SetQuestGraphic(player, 0x0);
|
||||
man0g0Quest:SetQuestFlag(MAN0L0_FLAG_STARTED_TALK_TUT, true);
|
||||
man0g0Quest:SaveData();
|
||||
player:GetDirector("OpeningDirector"):onTalkEvent(player, npc);
|
||||
--Was she talked to after papalymo?
|
||||
else
|
||||
print("Making content area");
|
||||
if (man0g0Quest:GetQuestFlag(MAN0G0_FLAG_MINITUT_DONE1) == true) then
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
contentArea = player:GetZone():CreateContentArea(player, "/Area/PrivateArea/Content/PrivateAreaMasterSimpleContent", "man0g01", "SimpleContent30010", "Quest/QuestDirectorMan0g001");
|
||||
|
||||
if (contentArea == nil) then
|
||||
player:EndEvent();
|
||||
return;
|
||||
end
|
||||
|
||||
director = contentArea:GetContentDirector();
|
||||
--player:AddDirector(director);
|
||||
director:StartDirector(false);
|
||||
|
||||
player:KickEvent(director, "noticeEvent", true);
|
||||
player:SetLoginDirector(director);
|
||||
|
||||
print("Content area and director made");
|
||||
player:ChangeState(0);
|
||||
GetWorldManager():DoZoneChangeContent(player, contentArea, 362.4087, 4, -703.8168, 1.5419, 16);
|
||||
print("Zone Change");
|
||||
return;
|
||||
else
|
||||
callClientFunction(player, "delegateEvent", player, man0g0Quest, "processEvent000_1", nil, nil, nil);
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
end
|
|
@ -1,5 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0, 0x141, 0xb79;
|
||||
end
|
|
@ -1,14 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g0");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent020_3");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -1,14 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g0");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent020_4");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -1,14 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function init(player, npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g0Quest = player:GetQuest("Man0g0");
|
||||
if (man0g0Quest ~= nil) then
|
||||
callClientFunction(player, "delegateEvent", player, man0g0Quest, "processTtrBlkNml001", nil, nil, nil);
|
||||
GetWorldManager():DoZoneChange(player, 155, "PrivateAreaMasterPast", 1, 15, 109.966, 7.559, -1206.117, -2.7916);
|
||||
end
|
||||
player:EndEvent();
|
||||
end
|
|
@ -1,16 +0,0 @@
|
|||
require ("global")
|
||||
require ("quests/man/man0g0")
|
||||
|
||||
function onSpawn(player, npc)
|
||||
npc:SetQuestGraphic(player, 0x3);
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
man0g1Quest = GetStaticActor("Man0g1");
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100");
|
||||
player:ReplaceQuest(110005, 110006);
|
||||
player:SendGameMessage(GetStaticActor("Man0g1"), 353, 0x20);
|
||||
player:SendGameMessage(GetStaticActor("Man0g1"), 354, 0x20);
|
||||
GetWorldManager():DoZoneChange(player, 155, "PrivateAreaMasterPast", 2, 15, 67.034, 4, -1205.6497, -1.074);
|
||||
player:endEvent();
|
||||
end
|
|
@ -1,14 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g0Quest = player:GetQuest("Man0g0");
|
||||
|
||||
if (man0g0Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g0Quest, "processEvent020_6");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -1,15 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g0");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent020_2");
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -1,19 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onSpawn(player, npc)
|
||||
npc:SetQuestGraphic(player, 0x2);
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g0");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent020_5");
|
||||
npc:SetQuestGraphic(player, 0x0);
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -1,14 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g1");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100_3");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -1,14 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g1");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100_6");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -1,26 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onSpawn(player, npc)
|
||||
npc:SetQuestGraphic(player, 0x2);
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
local man0g1Quest = player:GetQuest("Man0g1");
|
||||
local pos = player:GetPos();
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent110");
|
||||
player:EndEvent();
|
||||
|
||||
--[[director = player:GetZone():CreateDirector("AfterQuestWarpDirector");
|
||||
player:KickEvent(director, "noticeEvent", true);
|
||||
player:AddDirector(director);
|
||||
player:SetLoginDirector(director);
|
||||
--]]
|
||||
GetWorldManager():DoZoneChange(player, 155, nil, 0, 15, pos[0], pos[1], pos[2], pos[3]);
|
||||
return;
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -1,14 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g1");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100_2");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -1,15 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g1");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100_7");
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -1,14 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g1");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100_9");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -1,8 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithVkorolon_001");
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -1,14 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g1");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100_4");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -1,14 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g1");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100_8");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -1,11 +0,0 @@
|
|||
|
||||
|
||||
function onZoneInit(zone)
|
||||
end
|
||||
|
||||
function onZoneIn(player)
|
||||
|
||||
end
|
||||
|
||||
function onZoneOut(zone, player)
|
||||
end
|
|
@ -1,5 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0, 0x1415, 201;
|
||||
end
|
|
@ -1,5 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0, 0x1415, 201;
|
||||
end
|
|
@ -1,13 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEtc001");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -1,13 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEtc003");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -1,13 +0,0 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEtc002");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -1,12 +0,0 @@
|
|||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
if (triggerName == "caution") then
|
||||
worldMaster = GetWorldMaster();
|
||||
player:SendGameMessage(player, worldMaster, 34109, 0x20);
|
||||
elseif (triggerName == "exit") then
|
||||
end
|
||||
player:EndEvent();
|
||||
end
|
|
@ -1,8 +0,0 @@
|
|||
require ("global")
|
||||
require ("quests/man/man0l0")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
man0l0Quest = player:GetQuest("Man0l0");
|
||||
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEvent020_10", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -1,18 +0,0 @@
|
|||
require ("global")
|
||||
require ("quests/man/man0l0")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
man0l0Quest = player:GetQuest("Man0l0");
|
||||
choice = callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEvent020_9", nil, nil, nil);
|
||||
|
||||
if (choice == 1) then
|
||||
man0l1Quest = GetStaticActor("Man0l1");
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010", nil, nil, nil);
|
||||
player:ReplaceQuest(110001, 110002);
|
||||
player:SendGameMessage(GetStaticActor("Man0l1"), 320, 0x20);
|
||||
player:SendGameMessage(GetStaticActor("Man0l1"), 321, 0x20);
|
||||
GetWorldManager():DoZoneChange(player, 133, "PrivateAreaMasterPast", 2, 15, -459.619873, 40.0005722, 196.370377, 2.010813);
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
end
|
|
@ -1,8 +0,0 @@
|
|||
require ("global")
|
||||
require ("quests/man/man0l0")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
man0l0Quest = player:GetQuest("Man0l0");
|
||||
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEvent020_8", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -1,8 +0,0 @@
|
|||
require ("global")
|
||||
require ("quests/man/man0l0")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
man0l0Quest = player:GetQuest("Man0l0");
|
||||
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEvent020_11", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -1,8 +0,0 @@
|
|||
require ("global")
|
||||
require ("quests/man/man0l0")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
man0l0Quest = player:GetQuest("Man0l0");
|
||||
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEvent020_2", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -1,8 +0,0 @@
|
|||
require ("global")
|
||||
require ("quests/man/man0l0")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
man0l0Quest = player:GetQuest("Man0l0");
|
||||
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEvent020_11", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -1,8 +0,0 @@
|
|||
require ("global")
|
||||
require ("quests/man/man0l0")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
man0l0Quest = player:GetQuest("Man0l0");
|
||||
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEvent020_3", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -1,8 +0,0 @@
|
|||
require ("global")
|
||||
require ("quests/man/man0l0")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
man0l0Quest = player:GetQuest("Man0l0");
|
||||
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEvent020_5", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -1,8 +0,0 @@
|
|||
require ("global")
|
||||
require ("quests/man/man0l0")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
man0l0Quest = player:GetQuest("Man0l0");
|
||||
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEvent020_6", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -1,8 +0,0 @@
|
|||
require ("global")
|
||||
require ("quests/man/man0l0")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
man0l0Quest = player:GetQuest("Man0l0");
|
||||
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEvent020_7", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function init(npc)
|
||||
return false, false, 0, 0, 0x1A5, 2829;
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function init(npc)
|
||||
return false, false, 0, 0, 0x1A5, 2825;
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function init(npc)
|
||||
return false, false, 0, 0, 0x1A5, 4040;
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function init(npc)
|
||||
return false, false, 0, 0, 0x1A5, 4289;
|
||||
end
|
|
@ -1,13 +0,0 @@
|
|||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
if (triggerName == "caution") then
|
||||
worldMaster = GetWorldMaster();
|
||||
player:SendGameMessage(player, worldMaster, 34109, 0x20);
|
||||
elseif (triggerName == "exit") then
|
||||
GetWorldManager():DoPlayerMoveInZone(player, 5.36433, 196, 133.656, -2.84938);
|
||||
end
|
||||
player:EndEvent();
|
||||
end
|
|
@ -1,13 +0,0 @@
|
|||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
if (triggerName == "caution") then
|
||||
worldMaster = GetWorldMaster();
|
||||
player:SendGameMessage(player, worldMaster, 34109, 0x20);
|
||||
elseif (triggerName == "exit") then
|
||||
GetWorldManager():DoPlayerMoveInZone(player, 18);
|
||||
end
|
||||
player:EndEvent();
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function init(npc)
|
||||
return false, false, 0, 0, 0x1A5, 0xFCB;
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue