diff options
Diffstat (limited to 'npc/jobs/2-2e/SoulLinker.txt')
-rw-r--r-- | npc/jobs/2-2e/SoulLinker.txt | 93 |
1 files changed, 70 insertions, 23 deletions
diff --git a/npc/jobs/2-2e/SoulLinker.txt b/npc/jobs/2-2e/SoulLinker.txt index 13520c537..38fb47131 100644 --- a/npc/jobs/2-2e/SoulLinker.txt +++ b/npc/jobs/2-2e/SoulLinker.txt @@ -1,28 +1,27 @@ -//===== rAthena Script ======================================= +//===== Hercules Script ====================================== //= Soul Linker Job Quest -//===== By: ================================================== +//===== By: ================================================== //= Celestria & Samuray22 -//===== Current Version: ===================================== -//= 1.5 -//===== Compatible With: ===================================== -//= rAthena SVN -//===== Description: ========================================= +//===== Current Version: ===================================== +//= 1.6 +//===== Description: ========================================= //= [Official Conversion] //= Job quest for Soul Linker class. //= [Vars Used] //= SOUL_Q = Job Change Phase. (Max 4) -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.2 Rescripted to Aegis 10.3 standards. [Samuray22] //= 1.3 Slight updates and fixes to the script. [L0ne_W0lf] -//= Removes the use of labels, and corrects other errors. -//= Removed the GM-use only NPC from the sec_in map. -//= No longer used a global var, uses an NPC var instead. +//= Removes the use of labels, and corrects other errors. +//= Removed the GM-use only NPC from the sec_in map. +//= No longer used a global var, uses an NPC var instead. //= 1.3a Deleted Empty Color Tag. (bugreport:1572) [Samuray22] //= 1.4 Replaced effect numerics with constants. [L0ne_W0lf] //= 1.5 Added Quest Log commands. [Kisuka] -//============================================================ +//= 1.6 Updated to match the latest official script. [Euphy] +//============================================================ -morocc_in,174,30,6 script Kid#link1 716,{ +morocc_in,174,30,6 script Kid#link1 4_M_KID2,{ if (Class == Job_Soul_Linker) { mes "[Maia]"; mes "Best of luck in your"; @@ -399,6 +398,13 @@ OnTouch: mes "if you talk to me later..."; close; } + if (ismounting()) { + mes "[Maia]"; + mes "You are on a riding pet,"; + mes "so you cannot change your job."; + mes "Please unequip your riding pet and try again!"; + close; + } mes "[Maia]"; mes "Then let us begin the"; mes "ceremony. These items will"; @@ -432,9 +438,13 @@ OnTouch: mes "powers as a Soul Linker"; mes "wisely and for just purposes."; next; + if (SkillPoint) { + mes "^0000ffYou still have unused skill points. Please use all remaining skill points and try again!^000000"; + close; + } completequest 6008; callfunc "Job_Change",Job_Soul_Linker; - callfunc "F_ClearJobVar"; // clears all job variables for the current player + callfunc "F_ClearJobVar"; // clears all job variables for the current player set SOUL_Q,0; mes "[Maia]"; mes "I wish the best of luck"; @@ -479,9 +489,9 @@ OnTouch: end; } -job_soul,35,30,6 duplicate(SLTester) Maia#link6 716 +job_soul,35,30,6 duplicate(SLTester) Maia#link6 4_M_KID2 -job_soul,30,35,6 script Monk Spirit#link4 827,{ +job_soul,30,35,6 script Monk Spirit#link4 4_M_GRANDMONK,{ if (SOUL_Q == 2) { mes "[Monk Spirit]"; mes "Who am I...?"; @@ -526,7 +536,7 @@ job_soul,30,35,6 script Monk Spirit#link4 827,{ close; } -job_soul,30,25,7 script Sage Spirit#link5 754,{ +job_soul,30,25,7 script Sage Spirit#link5 4_M_SAGE_A,{ if (SOUL_Q == 2) { mes "[Sage Spirit]"; mes "Speak to Maia."; @@ -575,7 +585,7 @@ job_soul,30,25,7 script Sage Spirit#link5 754,{ close; } -job_soul,25,30,5 script Alchemist Spirit#link7 744,{ +job_soul,25,30,5 script Alchemist Spirit#link7 4_F_ALCHE,{ if (SOUL_Q == 2) { mes "[Alchemist Spirit]"; mes "Oh! I really want to"; @@ -621,7 +631,7 @@ job_soul,25,30,5 script Alchemist Spirit#link7 744,{ close; } -job_soul,1,5,0 script Timer#link3 111,{ +job_soul,1,5,0 script Timer#link3 HIDDEN_NPC,{ end; OnEnable: @@ -653,11 +663,48 @@ OnTimer183000: stopnpctimer; } -//============================================================ +sec_in02,35,153,0 script Soul Linker Var 4_M_OPERATION,{ + callfunc "F_GM_NPC"; + mes "[Soul Linker Var]"; + mes "I can reset the Soul Linker"; + mes "NPCs if a Soul Linker candidate"; + mes "encounters a problem during the"; + mes "end of the job quest. Please do"; + mes "not use this function if players are still in the Quest Map."; + next; + if (callfunc("F_GM_NPC",1854,0) < 1) { + mes "[Soul Linker Var]"; + mes "Password"; + mes "is incorrect."; + close; + } else { + mes "[Soul Linker Var]"; + mes "Would you like to"; + mes "reset the Soul Linker"; + mes "Global Variable?"; + next; + switch(select("Reset:Cancel")) { + case 1: + mes "[Soul Linker Var]"; + mes "The Soul Linker"; + mes "Job Quest NPCs"; + mes "have been reset."; + set getvariableofnpc(.SoulLinkerTest,"Kid#link1"),0; + close; + case 2: + mes "[Soul Linker Var]"; + mes "You have canceled"; + mes "this command."; + close; + } + } +} + +//============================================================ // Old changelog -//============================================================ +//============================================================ //= A temp Soul Linker Job Changer based on the kRO quest. //= Quest info from RagnaInfo. Sprites from kRO screenshots -//= 1.0 Optimized and updated [Lupus] +//= 1.0 Optimized and updated [Lupus] //= 1.1 Fixed NPC names according to iRO [Lupus] -//============================================================ +//============================================================ |