1s job skill quests optimization. now using @temp vars

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8820 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Lupus 2006-09-20 08:28:08 +00:00
parent a402eb2a81
commit 2f788df6b6
8 changed files with 117 additions and 109 deletions

View File

@ -11,9 +11,6 @@ Mass Zero
* Redoing lots of the custom scripts. * Redoing lots of the custom scripts.
Massdriller Massdriller
* Correcting & Bugfixing scripts * Correcting & Bugfixing scripts
MasterOfMuppets
* Working on The Sign Quest atm.
* Updating Items / Scripts
erKURITA erKURITA
* Warps maintainment * Warps maintainment
Evera Evera
@ -35,9 +32,10 @@ Date Added
09/20 09/20
* Final optimization of Niflheim quests [Lupus] * Final optimization of Niflheim quests [Lupus]
- Book of Devil Quest uses bit-wise var MISC_QUEST | 256. Removed extra vars - Book of Devil Quest uses bit-wise var MISC_QUEST | 256. Removed extra vars
- Piano Quest uses 1 bit-wise temp var instead of 5. - Piano Quest uses 1 bit-wise temp var instead of 5 variables.
- Clear Niflheim garbage vars in Global_Functions.txt - Clear Niflheim garbage vars in Global_Functions.txt
- Added few missing NEXT; into job quests, thanks to $ephiroth - Added few missing NEXT; into job quests, thanks to $ephiroth
- Changed permanent variables in 1st Job Quest skills to @temp ones
09/19 09/19
* Fixed rpsroulette.txt, giving 10 blue potions as prize instead of the 20 it said. Also fixed * Fixed rpsroulette.txt, giving 10 blue potions as prize instead of the 20 it said. Also fixed
a missing variable in sphinx_mask.txt. Noticed by JTE and fixed by Warian [erKURITA] a missing variable in sphinx_mask.txt. Noticed by JTE and fixed by Warian [erKURITA]

View File

@ -37,6 +37,10 @@
function script F_ClearJobVar { function script F_ClearJobVar {
// Misc --------------------------------- // Misc ---------------------------------
set JBLVL,0; set JBLVL,0;
set FIRSTAID,0;
set PLAYDEAD,0;
set got_bandage,0;
set got_novnametag,0;
// First Class Jobs --------------------- // First Class Jobs ---------------------
set job_acolyte_q,0; set job_acolyte_q2,0; set job_acolyte_q,0; set job_acolyte_q2,0;
set job_archer_q,0; set job_archer_q,0;
@ -88,6 +92,8 @@ function script F_ClearGarbage {
set niflheimlost2,0; set niflheimlost,0; set lostgirl,0; set niflheimlost2,0; set niflheimlost,0; set lostgirl,0;
set nif_random,0; set nif_random1,0; set nif_random,0; set nif_random1,0;
if(MISC_QUEST&32){set nif_quest1,0; set nif_quest2,0; set nif_quest3,0; set nif_quest4,0; set nif_quest5,0;} if(MISC_QUEST&32){set nif_quest1,0; set nif_quest2,0; set nif_quest3,0; set nif_quest4,0; set nif_quest5,0;}
set ARWCRFT,0; set HOLYLIGHT,0; set ARWREP,0; set ENRGYCOAT,0; set CRAZYROAR,0; set CHANGECART,0; set CARTREVO,0;
set SANDATTACK,0; set STONEFLING,0; set BACKSLIDE,0; set BAGNFNTY,0;
return; return;
} }

View File

@ -3,7 +3,7 @@
//===== By: ================================================== //===== By: ==================================================
//= kobra_k88 //= kobra_k88
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 1.4 //= 1.4a
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= eAthena 7.15 + //= eAthena 7.15 +
//===== Description: ========================================= //===== Description: =========================================
@ -14,6 +14,7 @@
//= 1.2 Added Baby Class Support [Lupus] //= 1.2 Added Baby Class Support [Lupus]
//= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon] //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
//= 1.4 Fixed an exploit [Lupus] //= 1.4 Fixed an exploit [Lupus]
//= 1.4a changed perm. variables to temp ones [Lupus]
//============================================================ //============================================================
@ -29,7 +30,7 @@ L_Other:
close; close;
L_Start: L_Start:
if (HOLYLIGHT == 1) goto L_Check; if(@HOLYLIGHT) goto L_Check;
if(getskilllv(156)>0) goto L_GotSkill; if(getskilllv(156)>0) goto L_GotSkill;
if(sex==1) mes "Ahh... Brother!"; if(sex==1) mes "Ahh... Brother!";
if(sex==0) mes "Ahh... Sister!"; if(sex==0) mes "Ahh... Sister!";
@ -73,7 +74,7 @@ L_Start:
next; next;
mes "[Acolyte Klift]"; mes "[Acolyte Klift]";
mes "Come back when you are ready. I will be here."; mes "Come back when you are ready. I will be here.";
set HOLYLIGHT, 1; set @HOLYLIGHT, 1;
close; close;
M_End: M_End:
mes "[Acolyte Klift]"; mes "[Acolyte Klift]";
@ -101,7 +102,7 @@ L_Check:
mes "Yes! I feel it. You have released your hidden abilities and can now"; mes "Yes! I feel it. You have released your hidden abilities and can now";
mes "use ^5555FFHoly Light^000000!"; mes "use ^5555FFHoly Light^000000!";
skill 156,1,0; skill 156,1,0;
set HOLYLIGHT, 0; set @HOLYLIGHT, 0;
next; next;
mes "[Priest]"; mes "[Priest]";
mes "You have done well. May God bless you!"; mes "You have done well. May God bless you!";

View File

@ -3,7 +3,7 @@
//===== By: ================================================== //===== By: ==================================================
//= eAthena dev team //= eAthena dev team
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 1.4 //= 1.4b
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= eAthena 7.15 + //= eAthena 7.15 +
//===== Description: ========================================= //===== Description: =========================================
@ -18,6 +18,7 @@
//= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon] //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
//= 1.4 Fixed exploits [Lupus] //= 1.4 Fixed exploits [Lupus]
//= 1.4a Fixed some typos [IVBela] //= 1.4a Fixed some typos [IVBela]
//= 1.4b changed perm. variables to temp ones [Lupus]
//============================================================ //============================================================
@ -36,7 +37,7 @@ L_Other:
L_Start: L_Start:
if(BaseJob==Job_Archer && JobLevel<30) goto L_LowLvl; if(BaseJob==Job_Archer && JobLevel<30) goto L_LowLvl;
if(getskilllv(147)>0) goto L_GotSkill; if(getskilllv(147)>0) goto L_GotSkill;
if (ARWCRFT == 1) goto L_GetSkill; if(@ARWCRFT) goto L_GetSkill;
mes "Hmmm?.... Oh you seem to be a high level Archer type. Why don't we"; mes "Hmmm?.... Oh you seem to be a high level Archer type. Why don't we";
mes "converse for a while, eh? Let me start off by talking about my"; mes "converse for a while, eh? Let me start off by talking about my";
mes "childhood.... . . . . . . . . . . ."; mes "childhood.... . . . . . . . . . . .";
@ -74,7 +75,7 @@ L_Start:
mes "41 Pointed Scales,"; mes "41 Pointed Scales,";
mes "13 Trunks,"; mes "13 Trunks,";
mes "1 Red potion^000000"; mes "1 Red potion^000000";
set ARWCRFT, 1; set @ARWCRFT, 1;
emotion e_ic; emotion e_ic;
close; close;
M_1: M_1:
@ -117,7 +118,7 @@ L_GetSkill:
mes "kind of unique and lengthy training......."; mes "kind of unique and lengthy training.......";
next; next;
skill 147,1,0; skill 147,1,0;
set ARWCRFT, 0; set @ARWCRFT, 0;
mes "[Roberto]"; mes "[Roberto]";
mes "...... Well good luck and have fun making arrows. I've got other"; mes "...... Well good luck and have fun making arrows. I've got other";
mes "things to do if you don't mind......."; mes "things to do if you don't mind.......";
@ -156,7 +157,7 @@ L_Other:
L_Start: L_Start:
if(getskilllv(148)>0) goto L_GotSkill; if(getskilllv(148)>0) goto L_GotSkill;
if(BaseJob == Job_Archer && JobLevel < 35) goto L_LowLvl; if(BaseJob == Job_Archer && JobLevel < 35) goto L_LowLvl;
if (ARWREP == 1) goto L_Check; if(@ARWREP) goto L_Check;
mes "Hi, I'm the master of the skill ^0033FFArrow Repel^000000. I might be able to"; mes "Hi, I'm the master of the skill ^0033FFArrow Repel^000000. I might be able to";
mes "teach you the skill, but only if you help me get the ingredients"; mes "teach you the skill, but only if you help me get the ingredients";
mes "for my Grandma's soup."; mes "for my Grandma's soup.";
@ -178,7 +179,7 @@ L_Start:
next; next;
mes "[Jason]"; mes "[Jason]";
mes "Hurry hurry!"; mes "Hurry hurry!";
set ARWREP, 1; set @ARWREP, 1;
close; close;
L_LowLvl: L_LowLvl:
@ -197,7 +198,7 @@ L_Check:
mes "Now it'll be my pleasure to teach you the skill ^0033FFArrow Repel^000000"; mes "Now it'll be my pleasure to teach you the skill ^0033FFArrow Repel^000000";
next; next;
skill 148,1,0; skill 148,1,0;
set ARWREP, 0; set @ARWREP, 0;
mes "[Jason]"; mes "[Jason]";
mes "There you go! Happy hunting in the future."; mes "There you go! Happy hunting in the future.";
close; close;

View File

@ -3,7 +3,7 @@
//===== By: ================================================== //===== By: ==================================================
//= kobra_k88 //= kobra_k88
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 1.4 //= 1.4b
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= eAthena 7.15 + //= eAthena 7.15 +
//===== Description: ========================================= //===== Description: =========================================
@ -15,6 +15,7 @@
//= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon] //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
//= 1.4 Fixed exploit [Lupus] //= 1.4 Fixed exploit [Lupus]
//= 1.4a Fixed some typos [IVBela] //= 1.4a Fixed some typos [IVBela]
//= 1.4b changed perm. variables to temp ones [Lupus]
//============================================================ //============================================================
@ -29,7 +30,7 @@ L_Other:
close; close;
L_Start: L_Start:
if(ENRGYCOAT == 1) goto L_GetSkill; if(@ENRGYCOAT) goto L_GetSkill;
if(getskilllv(157)>0) goto L_GotSkill; if(getskilllv(157)>0) goto L_GotSkill;
mes "Hey! My friend! I see that you are a magic user. If you look within yourself, you'll find that you have... 'HIDDEN ABILITIES'!!"; mes "Hey! My friend! I see that you are a magic user. If you look within yourself, you'll find that you have... 'HIDDEN ABILITIES'!!";
next; next;
@ -65,7 +66,7 @@ L_Start:
next; next;
mes "[BLIZZARDRISS]"; mes "[BLIZZARDRISS]";
mes "When you are fully trained and have all of the required items come back and see me."; mes "When you are fully trained and have all of the required items come back and see me.";
set ENRGYCOAT, 1; set @ENRGYCOAT, 1;
close; close;
sM_End: sM_End:
@ -91,7 +92,7 @@ L_GetSkill:
mes "~ several hours later ~"; mes "~ several hours later ~";
next; next;
skill 157,1,0; skill 157,1,0;
set ENRGYCOAT,0; set @ENRGYCOAT,0;
mes "[BLIZZARDRISS]"; mes "[BLIZZARDRISS]";
mes "You can now use the spell, 'Energy Coat'!! Use it wisely my friend!"; mes "You can now use the spell, 'Energy Coat'!! Use it wisely my friend!";
emotion e_no1; emotion e_no1;

View File

@ -17,6 +17,7 @@
//= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon] //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
//= 1.4 Fixed exploits [Lupus] //= 1.4 Fixed exploits [Lupus]
//= 1.4a Fixed some typos [IVBela] 1.4b Gershuan -> Gershaun //= 1.4a Fixed some typos [IVBela] 1.4b Gershuan -> Gershaun
//= changed perm. variables to temp ones [Lupus]
//============================================================ //============================================================
@ -39,7 +40,7 @@ L_Other:
L_Start: L_Start:
if(getskilllv(155)>0) goto L_GotSkill; if(getskilllv(155)>0) goto L_GotSkill;
if (CRAZYROAR == 1) goto L_GetSkill; if(@CRAZYROAR) goto L_GetSkill;
mes "Oh! Did you come here because you were intrigued by my boisterous voice? My voice is quite loud, isn't it?"; mes "Oh! Did you come here because you were intrigued by my boisterous voice? My voice is quite loud, isn't it?";
mes "After all you heared it from a far off distance."; mes "After all you heared it from a far off distance.";
emotion e_what; emotion e_what;
@ -75,7 +76,7 @@ L_Start:
mes "[Necko]"; mes "[Necko]";
mes "Come back when you are ready! I think I shall do a little vocal training myself........"; mes "Come back when you are ready! I think I shall do a little vocal training myself........";
mes "Bbooowuuuuuuuuuuuuuuuuuuuuuuuuuh!!"; mes "Bbooowuuuuuuuuuuuuuuuuuuuuuuuuuh!!";
set CRAZYROAR, 1; set @CRAZYROAR, 1;
close; close;
L_JobLvl: L_JobLvl:
@ -101,7 +102,7 @@ L_GetSkill:
mes "[Necko]"; mes "[Necko]";
mes "Raaaaaawwwwrrrrrrrrrrr!....... Ha ha!! Excellent. Your voice is now finely tuned for ^3355FFCrazy Uproar^000000. Good job."; mes "Raaaaaawwwwrrrrrrrrrrr!....... Ha ha!! Excellent. Your voice is now finely tuned for ^3355FFCrazy Uproar^000000. Good job.";
skill 155,1,0; skill 155,1,0;
set CRAZYROAR, 0; set @CRAZYROAR, 0;
emotion e_no1; emotion e_no1;
close; close;
@ -127,7 +128,7 @@ L_Other:
close; close;
L_Start: L_Start:
if(getskilllv(154)>0) goto L_GotSkill; if(getskilllv(154)>0) goto L_GotSkill;
if (CHANGECART == 1) goto L_GetSkill; if(@CHANGECART) goto L_GetSkill;
mes "Welcome young one. Is selling fun for you? I am the merchant Charlron."; mes "Welcome young one. Is selling fun for you? I am the merchant Charlron.";
next; next;
mes "[Charlron]"; mes "[Charlron]";
@ -145,7 +146,7 @@ L_Start:
mes "^3355FF50 Trunks,"; mes "^3355FF50 Trunks,";
mes "20 Animal Skin,"; mes "20 Animal Skin,";
mes "10 Iron^000000."; mes "10 Iron^000000.";
set CHANGECART, 1; set @CHANGECART, 1;
close; close;
L_JobLvl: L_JobLvl:
@ -159,7 +160,7 @@ L_GetSkill:
mes "Now that you have the proper materials, just follow these guides to make your cart look spectacular."; mes "Now that you have the proper materials, just follow these guides to make your cart look spectacular.";
// Note: It is not supposed to take these items, just check you have collected them // Note: It is not supposed to take these items, just check you have collected them
skill 154,1,0; skill 154,1,0;
set CHANGECART, 0; set @CHANGECART, 0;
next; next;
mes "[Charlron]"; mes "[Charlron]";
mes "Good luck, see you around"; mes "Good luck, see you around";
@ -191,7 +192,7 @@ L_Other:
L_Start: L_Start:
if(getskilllv(153)>0) goto L_GotSkill; if(getskilllv(153)>0) goto L_GotSkill;
if (CARTREVO == 1) goto L_GetSkill; if(@CARTREVO) goto L_GetSkill;
mes "[Gershuan]"; mes "[Gershuan]";
mes "Hmm... a young merchant. You must use carts too right? Since you have to do all of that vending..... But is that all you use your cart for?"; mes "Hmm... a young merchant. You must use carts too right? Since you have to do all of that vending..... But is that all you use your cart for?";
emotion e_hmm; emotion e_hmm;
@ -249,7 +250,7 @@ L_Start:
next; next;
mes "[Gershuan]"; mes "[Gershuan]";
mes "Come back when you have all of these items. Good luck."; mes "Come back when you have all of these items. Good luck.";
set CARTREVO, 1; set @CARTREVO, 1;
close; close;
ssL_LowLvl: ssL_LowLvl:
@ -292,7 +293,7 @@ L_GetSkill:
emotion e_no1; emotion e_no1;
next; next;
skill 153,1,0; skill 153,1,0;
set CARTREVO, 0; set @CARTREVO, 0;
mes "[Gershuan]"; mes "[Gershuan]";
mes "Take care of yourself and remember to fill that cart up so that it can do some major damage."; mes "Take care of yourself and remember to fill that cart up so that it can do some major damage.";
emotion e_gg; emotion e_gg;

View File

@ -22,7 +22,7 @@
//<---------------------------------------------------------------------------------------------- Nurse Aid: First Aid NPC ---------------------------------------------------------------------------->\\ //<---------------------------------------------------------------------------------------------- Nurse Aid: First Aid NPC ---------------------------------------------------------------------------->\\
prt_in.gat,235,133,4 script Nurse Aid 90,{ prt_in.gat,235,133,4 script Nurse Aid 90,{
mes "[Nurse Aid]"; mes "[Nurse Aid]";
if(FIRSTAID == 1) goto L_GetAid; if(FIRSTAID) goto L_GetAid;
if(getskilllv(142)>0) goto L_GotAid; if(getskilllv(142)>0) goto L_GotAid;
mes "Oh hello there! You look tired and a little worn out. Have the monsters outside of town been giving you trouble?"; mes "Oh hello there! You look tired and a little worn out. Have the monsters outside of town been giving you trouble?";
@ -53,14 +53,14 @@ prt_in.gat,235,133,4 script Nurse Aid 90,{
sM_Yes: sM_Yes:
mes "[Nurse Aid]"; mes "[Nurse Aid]";
mes "In order for me to teach you First Aid you need to have at least a^0000ff job level of 3^000000."; mes "In order for me to teach you First Aid you need to have at least a^0000ff Job Level of 3^000000.";
mes "You then need to give me:^ff0000 5 red herbs^000000,^00bb00 5 clovers^000000, and an^aaaa00 old bandage^000000."; mes "You then need to give me:^ff0000 5 Red Herbs^000000,^00bb00 5 Clovers^000000, and an^aaaa00 Old Bandage^000000.";
next; next;
mes "[Nurse Aid]"; mes "[Nurse Aid]";
mes "You can get the bandage from the^0000ff 'Newbie Assistant'^000000 located on the second floor of the Castle."; mes "You can get the bandage from the^0000ff 'Newbie Assistant'^000000 located on the second floor of the Castle.";
next; next;
mes "[Nurse Aid]"; mes "[Nurse Aid]";
mes "Once you get job level 3 and have all of the items come back and see me, OK?"; mes "Once you get Job Level 3 and have all of the items come back and see me, OK?";
set FIRSTAID,1; set FIRSTAID,1;
close; close;
@ -114,12 +114,12 @@ L_Novice:
mes "Heh heh, I really miss those days..... Wow... It's funny to think about those years now......"; mes "Heh heh, I really miss those days..... Wow... It's funny to think about those years now......";
next; next;
mes "[Bulma]"; mes "[Bulma]";
mes "They were difficult.... thankfully you can use the ^5555FFPlay Dead^000000 skill when you reach a ^5555FFjob level of 7^000000."; mes "They were difficult.... thankfully you can use the ^5555FFPlay Dead^000000 skill when you reach a ^5555FFJob Level of 7^000000.";
mes "If you're interested in it come back and talk to me when you've leveled up a bit more."; mes "If you're interested in it come back and talk to me when you've leveled up a bit more.";
close; close;
L_Start: L_Start:
if(PLAYDEAD == 1) goto L_GetSkill; if(PLAYDEAD) goto L_GetSkill;
if(getskilllv(143)>0) goto L_GotSkill; if(getskilllv(143)>0) goto L_GotSkill;
mes "Hello my young friend. You remind me of myself when I was young..... Heh heh, I really miss those days....."; mes "Hello my young friend. You remind me of myself when I was young..... Heh heh, I really miss those days.....";
mes "Look at me acting all sentimental like some old man........"; mes "Look at me acting all sentimental like some old man........";
@ -234,11 +234,7 @@ L_NonNov:
emotion e_what; emotion e_what;
close; close;
L_Start: L_Start:
if(FIRSTAID==1 && countitem(930)==0 && got_bandage!=1) goto L_Aid; if(FIRSTAID && countitem(930)==0 && got_bandage!=1){
if(PLAYDEAD==1 && countitem(7039)==0 && got_novnametag!=1) goto L_Play;
mes "Hello. I'm here to provide help to newbies like you. If there is anything in particular that you need assistance with just let me know.";
close;
L_Aid:
mes "So Nurse Aid sent you huh. She's a great nurse, you should feel very fortunate that she is helping you out. Here take this."; mes "So Nurse Aid sent you huh. She's a great nurse, you should feel very fortunate that she is helping you out. Here take this.";
next; next;
getitem 930,1; getitem 930,1;
@ -253,7 +249,8 @@ L_Aid:
mes "Her beauty, her grace, sometimes I wish........ (blushes).......... um.... well... err... tell her I said hello."; mes "Her beauty, her grace, sometimes I wish........ (blushes).......... um.... well... err... tell her I said hello.";
emotion e_lv; emotion e_lv;
close; close;
L_Play: }
if(PLAYDEAD && countitem(7039)==0 && got_novnametag!=1){
mes "So Bulma sent you uh.... okay here you go."; mes "So Bulma sent you uh.... okay here you go.";
getitem 7039,1; getitem 7039,1;
set got_novnametag,1; set got_novnametag,1;
@ -261,3 +258,6 @@ L_Play:
mes "Good luck on your adventure."; mes "Good luck on your adventure.";
close; close;
} }
mes "Hello. I'm here to provide help to newbies like you. If there is anything in particular that you need assistance with just let me know.";
close;
}

View File

@ -3,7 +3,7 @@
//===== By: ================================================== //===== By: ==================================================
//= kobra_k88 //= kobra_k88
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 1.4a //= 1.4b
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= eAthena 7.15 + //= eAthena 7.15 +
//===== Description: ========================================= //===== Description: =========================================
@ -19,6 +19,7 @@
//= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon] //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
//= 1.4 Fixed exploit [Lupus] //= 1.4 Fixed exploit [Lupus]
//= 1.4a Fixed some typos [IVBela] //= 1.4a Fixed some typos [IVBela]
//= 1.4b changed perm. variables to temp ones [Lupus]
//============================================================ //============================================================
@ -59,7 +60,7 @@ M_Menu:
M_Sand: M_Sand:
mes "[Alcouskou]"; mes "[Alcouskou]";
if(SANDATTACK == 1) goto L_Sand; if(@SANDATTACK) goto L_Sand;
if(getskilllv(149) > 0) goto L_GotSand; if(getskilllv(149) > 0) goto L_GotSand;
mes "The most important aspect of being a good Thief/Assassin is stealth. One should never be seen or touched unless he/she wants to be"; mes "The most important aspect of being a good Thief/Assassin is stealth. One should never be seen or touched unless he/she wants to be";
next; next;
@ -84,11 +85,11 @@ M_Menu:
next; next;
mes "[Alcouskou]"; mes "[Alcouskou]";
mes "Come back when you are ready."; mes "Come back when you are ready.";
set SANDATTACK, 1; set @SANDATTACK, 1;
goto M_Menu; goto M_Menu;
M_Back: M_Back:
mes "[Alcouskou]"; mes "[Alcouskou]";
if (BACKSLIDE == 1)goto L_Back; if(@BACKSLIDE)goto L_Back;
if(getskilllv(150)>0) goto L_GotBack; if(getskilllv(150)>0) goto L_GotBack;
mes "People tend to focus on attack and damage, but it's necessary to understand that FLEEING is JUST AS IMPORTANT as attacking!"; mes "People tend to focus on attack and damage, but it's necessary to understand that FLEEING is JUST AS IMPORTANT as attacking!";
next; next;
@ -120,11 +121,11 @@ M_Menu:
mes "[Alcouskou]"; mes "[Alcouskou]";
mes "Think of it as the first part of your training."; mes "Think of it as the first part of your training.";
if(BaseJob == Job_Thief) mes "If you are a Thief, you will also need to have a job level of at least ^5555FF35^000000."; if(BaseJob == Job_Thief) mes "If you are a Thief, you will also need to have a job level of at least ^5555FF35^000000.";
set BACKSLIDE, 1; set @BACKSLIDE, 1;
goto M_Menu; goto M_Menu;
M_Find: M_Find:
mes "[Alcouskou]"; mes "[Alcouskou]";
if (FINDSTONE == 1) goto L_Find; if(@FINDSTONE) goto L_Find;
if(getskilllv(151)>0) goto L_GotFind; if(getskilllv(151)>0) goto L_GotFind;
mes "The more experienced and better skilled members of our guild are quite handy."; mes "The more experienced and better skilled members of our guild are quite handy.";
mes "They can turn something as common as a rock on the ground into a very effective weapon."; mes "They can turn something as common as a rock on the ground into a very effective weapon.";
@ -147,11 +148,11 @@ M_Menu:
next; next;
mes "[Alcouskou]"; mes "[Alcouskou]";
mes "Collecting those items will help you develop the skills necessary to learn Find Stone."; mes "Collecting those items will help you develop the skills necessary to learn Find Stone.";
set FINDSTONE, 1; set @FINDSTONE, 1;
goto M_Menu; goto M_Menu;
M_Fling: M_Fling:
mes "[Alcouskou]"; mes "[Alcouskou]";
if (STONEFLING == 1) goto L_Fling; if(@STONEFLING) goto L_Fling;
if(getskilllv(152)>0) goto L_GotFling; if(getskilllv(152)>0) goto L_GotFling;
mes "The more experienced and better skilled members of our guild are quite handy."; mes "The more experienced and better skilled members of our guild are quite handy.";
mes "They can turn something as common as a rock on the ground into a very effective weapon."; mes "They can turn something as common as a rock on the ground into a very effective weapon.";
@ -166,7 +167,7 @@ M_Menu:
mes "[Alcouskou]"; mes "[Alcouskou]";
mes "If you wish to learn Stone Fling you must first bring me ^5555FF2 Garlet and 2 Scell^000000."; mes "If you wish to learn Stone Fling you must first bring me ^5555FF2 Garlet and 2 Scell^000000.";
mes "You will also need to have mastered ^5555FFFind Stone^000000 as well."; mes "You will also need to have mastered ^5555FFFind Stone^000000 as well.";
set STONEFLING, 1; set @STONEFLING, 1;
goto M_Menu; goto M_Menu;
M_End: M_End:
mes "[Alcouskou]"; mes "[Alcouskou]";
@ -201,8 +202,7 @@ L_Sand:
mes "Oh and it does Earth Property damage....... (I gotta find a better way to teach this)........."; mes "Oh and it does Earth Property damage....... (I gotta find a better way to teach this).........";
emotion e_swt; emotion e_swt;
skill 149,1,0; skill 149,1,0;
set SANDATTACK, 0; set @SANDATTACK, 0;
set BAGNFNTY, 0;
close; close;
L_NotRdy1: L_NotRdy1:
@ -241,7 +241,7 @@ L_Back:
mes "[Alcouskou]"; mes "[Alcouskou]";
mes "Ah! You've got it. Just like a pro. With this skill being overwhelmed by mobs is a thing of the past."; mes "Ah! You've got it. Just like a pro. With this skill being overwhelmed by mobs is a thing of the past.";
skill 150,1,0; skill 150,1,0;
set BACKSLIDE, 0; set @BACKSLIDE, 0;
close; close;
L_NotRdy2: L_NotRdy2:
@ -274,7 +274,7 @@ L_Find:
mes "Very good. You have chosen some fine stones. This tells me that you have now perfected the Find Stone skill."; mes "Very good. You have chosen some fine stones. This tells me that you have now perfected the Find Stone skill.";
emotion e_no1; emotion e_no1;
skill 151,1,0; skill 151,1,0;
set FINDSTONE, 0; set @FINDSTONE, 0;
next; next;
mes "[Alcouskou]"; mes "[Alcouskou]";
mes "Have fun using it."; mes "Have fun using it.";
@ -315,7 +315,7 @@ L_Fling:
mes "Haha! Excellent! It's a bullseye. You have now mastered Stone Fling, congratulations."; mes "Haha! Excellent! It's a bullseye. You have now mastered Stone Fling, congratulations.";
emotion e_no1; emotion e_no1;
skill 152,1,0; skill 152,1,0;
set STONEFLING, 0; set @STONEFLING, 0;
next; next;
mes "[Alcouskou]"; mes "[Alcouskou]";
mes "As you can see this is a skill that relies heavily on concentration."; mes "As you can see this is a skill that relies heavily on concentration.";
@ -334,7 +334,7 @@ L_Fling:
//==================================================================================== //====================================================================================
payon.gat,91,77,4 script RuRumuni 99,{ payon.gat,91,77,4 script RuRumuni 99,{
mes "[RuRumuni]"; mes "[RuRumuni]";
if(SANDATTACK == 1 && BAGNFNTY != 2) goto L_Start; if(@SANDATTACK && !countitem(7042)) goto L_Start;
mes "I am a humble merchant here in Payon. I buy leather hides, brought in by the hunters, to make leather pouches to sell."; mes "I am a humble merchant here in Payon. I buy leather hides, brought in by the hunters, to make leather pouches to sell.";
mes "I grew up around leather and am quite good at working with it."; mes "I grew up around leather and am quite good at working with it.";
@ -345,14 +345,14 @@ payon.gat,91,77,4 script RuRumuni 99,{
close; close;
L_Start: L_Start:
if(BAGNFNTY == 1) goto L_Check; if(@BAGNFNTY == 1) goto L_Check;
mes "Hello. So you were sent by Alcouskou to obtain a ^5533FF'Leather Bag of Infinity'^000000........"; mes "Hello. So you were sent by Alcouskou to obtain a ^5533FF'Leather Bag of Infinity'^000000........";
mes "I will be more than happy to make one for you............"; mes "I will be more than happy to make one for you............";
next; next;
mes "[RuRumuni]"; mes "[RuRumuni]";
mes "But this bag is very special, and I will need some special items in order to make it."; mes "But this bag is very special, and I will need some special items in order to make it.";
next; next;
set BAGNFNTY, 1; set @BAGNFNTY, 1;
L_List: L_List:
mes "[RuRumuni]"; mes "[RuRumuni]";
@ -382,6 +382,6 @@ L_Check:
mes "[RuRumuni]"; mes "[RuRumuni]";
mes "Here you go, one Leather Bag of Infinity. Enjoy!"; mes "Here you go, one Leather Bag of Infinity. Enjoy!";
getitem 7042, 1; getitem 7042, 1;
set BAGNFNTY, 2; set @BAGNFNTY, 0;
close; close;
} }