SCONFIG = L2TConfig.GetConfig();
moveDistance = 30;
ShowToClient("Q13", "Quest Certification of the Seeker - Started");
LearnAllSkills();
MoveTo(-115249, 237357, -3088, moveDistance);
MoveTo(-115256, 237365, -3088, moveDistance);
TargetNpc("Chesha", 33449);
Talk();
ClickAndWait("talk_select", "Quest");
ClickAndWait("quest_choice?choice=2&option=1", "[536201]");
ClickAndWait("menu_select?ask=10362&reply=1", "\"What should I do?\"");
ClickAndWait("quest_accept?quest_id=10362", "\"I can.\"");
ClearTargets();
MoveTo(-115256, 237365, -3088, moveDistance);
SCONFIG.pickup.userPickup.mode = L2TConfig.EPickupMode.PICKUP_OFFLINE;
SCONFIG.targeting.option = L2TConfig.ETargetingType.TT_RANGE_FROM_POINT;
SCONFIG.targeting.centerPoint.X = -115233;
SCONFIG.targeting.centerPoint.Y = 237239;
SCONFIG.targeting.centerPoint.Z = -3088;
SCONFIG.targeting.range = 900;
SCONFIG.melee.me.enabled = true;
SCONFIG.melee.me.attackRange = 50;
SetPause(false);
repeat
Sleep(1000);
until GetQuestManager():GetQuestProgress(10362) == 2;
SetPause(true);
MoveTo(-115861, 236939, -3088, moveDistance);
MoveTo(-115667, 237269, -3088, moveDistance);
ClearTargets();
MoveTo(-115299, 237385, -3088, moveDistance);
TargetNpc("Chesha", 33449);
Talk();
ClickAndWait("talk_select", "Quest");
ClickAndWait("quest_choice?choice=6&option=1", "[536202]");
ClearTargets();
MoveTo(-115299, 237385, -3088, moveDistance);
MoveTo(-115551, 236780, -3088, moveDistance);
MoveTo(-115393, 236234, -3088, moveDistance);
MoveTo(-114891, 235759, -3088, moveDistance);
MoveTo(-114093, 235670, -3088, moveDistance);
MoveTo(-113937, 236001, -3088, moveDistance);
MoveTo(-113755, 236319, -3042, moveDistance);
MoveTo(-113630, 237053, -3042, moveDistance);
MoveTo(-113562, 237232, -3042, moveDistance);
TargetNpc("Ye Sagira Teleport Device", 33182);
Talk();
Click("menu_select?ask=-3512&reply=1", "2nd Exploration Zone");
WaitForTeleport();
MoveTo(-113562, 237232, -3042, moveDistance);
MoveTo(-118345, 233987, -2914, moveDistance);
MoveTo(-118592, 233941, -2889, moveDistance);
MoveTo(-118606, 233953, -2888, moveDistance);
TargetNpc("Nagel", 33450);
Talk();
ClickAndWait("talk_select", "Quest");
ClickAndWait("quest_choice?choice=0&option=1", "[536202]");
ClickAndWait("menu_select?ask=10362&reply=1", "\"Chesha sent me to complete a mission.\"");
ClickAndWait("menu_select?ask=10362&reply=2", "\"You have that here?\"");
ClearTargets();
Sleep(500);
UseItem(49); -- Gloves
ShowToClient("Q13", "Quest Certification of the Seeker - Finished");
