From e3afdc2af4c5e50c79237ee092e25f39b7428e47 Mon Sep 17 00:00:00 2001 From: Michieru Date: Thu, 24 Oct 2013 12:10:43 +0200 Subject: Update to last rAthena npc. Fix some typos change sc_bleeding to -> sc_blooding Updated RE EXP for quests_brasilis.txt --- npc/jobs/2-2e/SoulLinker.txt | 81 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 64 insertions(+), 17 deletions(-) (limited to 'npc/jobs/2-2e') diff --git a/npc/jobs/2-2e/SoulLinker.txt b/npc/jobs/2-2e/SoulLinker.txt index 13520c537..98e8084c1 100644 --- a/npc/jobs/2-2e/SoulLinker.txt +++ b/npc/jobs/2-2e/SoulLinker.txt @@ -1,26 +1,25 @@ -//===== 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,{ if (Class == Job_Soul_Linker) { @@ -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"; @@ -653,11 +663,48 @@ OnTimer183000: stopnpctimer; } -//============================================================ +sec_in02,35,153,0 script Soul Linker Var 871,{ + 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] -//============================================================ +//============================================================ -- cgit v1.2.3-70-g09d2