SCONFIG = L2TConfig.GetConfig();
moveDistance = 30;
ShowToClient("Q3", "Quest Searching for the Mysterious Power - Started");
LearnAllSkills();
MoveTo(-111432, 255835, -1443, moveDistance);
MoveTo(-111399, 255866, -1443, moveDistance);
TargetNpc("Shannon", 32974);
Talk();
ClickAndWait("talk_select", "Quest");
ClickAndWait("quest_choice?choice=3&option=1", "[532201]");
ClickAndWait("menu_select?ask=10322&reply=1", "\"And why would you do that?\"");
ClickAndWait("quest_accept?quest_id=10322", "\"I just want to get stronger.\"");
ClearTargets();
MoveTo(-111399, 255866, -1443, moveDistance);
MoveTo(-111778, 255334, -1441, moveDistance);
MoveTo(-111961, 255174, -1441, moveDistance);
MoveTo(-111965, 255143, -1440, moveDistance);
MoveTo(-112138, 254578, -1484, moveDistance);
MoveTo(-111701, 254069, -1673, moveDistance);
MoveTo(-110783, 253616, -1788, moveDistance);
MoveTo(-110759, 253484, -1739, moveDistance);
TargetNpc("Evain", 33464);
Talk();
ClickAndWait("talk_select", "Quest");
ClickAndWait("quest_choice?choice=0&option=1", "[532202]");
ClearTargets();
MoveTo(-110759, 253484, -1739, moveDistance);
MoveTo(-110759, 253632, -1789, moveDistance);
SCONFIG.melee.me.enabled = true;
SCONFIG.melee.me.attackRange = 50;
SCONFIG.targeting.option = L2TConfig.ETargetingType.TT_RANGE_FROM_POINT;
SCONFIG.targeting.centerPoint.X = -111271;
SCONFIG.targeting.centerPoint.Y = 253574;
SCONFIG.targeting.centerPoint.Z = -1753;
SCONFIG.targeting.rangeType = L2TConfig.ETargetingRangeType.TRT_SQUERE;
SCONFIG.targeting.range = 700;
SetPause(false);
repeat
 Sleep(1000);
until GetQuestManager():GetQuestProgress(10322) == 3;
-- Quest state changed, ID: 10322, STATE: 3
SetPause(true);
ClearTargets();
MoveTo(-111446, 253630, -1741, moveDistance);
MoveTo(-110891, 253655, -1780, moveDistance);
MoveTo(-110783, 253609, -1788, moveDistance);
MoveTo(-110761, 253483, -1739, moveDistance);
TargetNpc("Evain", 33464);
Talk();
ClickAndWait("talk_select", "Quest");
ClickAndWait("quest_choice?choice=2&option=1", "[532202]");
ClearTargets();
MoveTo(-110761, 253483, -1739, moveDistance);
MoveTo(-110725, 253646, -1791, moveDistance);
TargetNpc("Newbie Helper", 32981);
Talk();
ClickAndWait("talk_select", "Quest");
ClickAndWait("menu_select?ask=10322&reply=1", "\"I'll do anything to get stronger!\"");
ClearTargets();
MoveTo(-110725, 253646, -1791, moveDistance);
MoveTo(-110934, 253648, -1777, moveDistance);
SetPause(false);
repeat
 Sleep(1000);
until GetQuestManager():GetQuestProgress(10322) == 6;
-- Quest state changed, ID: 10322, STATE: 6
SetPause(true);
MoveTo(-111433, 253511, -1754, moveDistance);
MoveTo(-111393, 253521, -1755, moveDistance);
MoveTo(-111273, 253609, -1753, moveDistance);
MoveTo(-110842, 253654, -1784, moveDistance);
MoveTo(-110752, 253524, -1739, moveDistance);
MoveTo(-110755, 253477, -1739, moveDistance);
TargetNpc("Evain", 33464);
Talk();
ClickAndWait("talk_select", "Quest");
ClickAndWait("quest_choice?choice=5&option=1", "[532202]");
ClearTargets();
MoveTo(-110755, 253477, -1739, moveDistance);
Sleep(500);
UseItem(7818); -- Apprentice Adventurer's Knife
Sleep(500);
ShowToClient("Q3", "Quest Searching for the Mysterious Power - Finished");