summaryrefslogtreecommitdiff
path: root/npc/quests/first_class
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-05-08 16:15:07 +0200
committerHaru <haru@dotalux.com>2015-05-08 16:21:05 +0200
commitad9a14992cde8ad6759263da37e723b2b1825981 (patch)
treef6c168973bb2d2c5f243ad1c5688ae15439dcc5c /npc/quests/first_class
parent513059cad7510c20f44e1a19f731efbe2f28dbec (diff)
downloadhercules-ad9a14992cde8ad6759263da37e723b2b1825981.tar.gz
hercules-ad9a14992cde8ad6759263da37e723b2b1825981.tar.bz2
hercules-ad9a14992cde8ad6759263da37e723b2b1825981.tar.xz
hercules-ad9a14992cde8ad6759263da37e723b2b1825981.zip
Replaced checkre() calls with constants
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/quests/first_class')
-rw-r--r--npc/quests/first_class/tu_acolyte.txt14
-rw-r--r--npc/quests/first_class/tu_archer.txt32
-rw-r--r--npc/quests/first_class/tu_magician01.txt2
-rw-r--r--npc/quests/first_class/tu_sword.txt52
4 files changed, 50 insertions, 50 deletions
diff --git a/npc/quests/first_class/tu_acolyte.txt b/npc/quests/first_class/tu_acolyte.txt
index 6a60f40c9..3a1a5f748 100644
--- a/npc/quests/first_class/tu_acolyte.txt
+++ b/npc/quests/first_class/tu_acolyte.txt
@@ -455,7 +455,7 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{
mes "building nearby.";
close;
case 9:
- mes "You went to "+(checkre(0)?"Prontera":"Payon")+" on behalf of the convent for Priest Gardron? That must have been tough...";
+ mes "You went to "+(RENEWAL?"Prontera":"Payon")+" on behalf of the convent for Priest Gardron? That must have been tough...";
next;
mes "[Asthe]";
mes "Blessing!";
@@ -776,7 +776,7 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{
mes "[Asthe]";
mes "Well, please don't forget what I've taught you. I hope you look back with fondness at our time together amongst these beautiful flowers. May God bless you~";
tu_acolyte01 = 25;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 1000,1000;
else
getexp 5000,3000;
@@ -833,7 +833,7 @@ monk_in,18,38,6 script Priest Gardron#tu 4_M_MINISTER,{
close;
}
} else if(tu_acolyte01 == 8){
- if(countitem((checkre(0)?939:957)) > 4){
+ if(countitem(RENEWAL?939:957) > 4){
mes "Oh...!";
mes "You've returned!";
mes "Let's see... One...";
@@ -845,7 +845,7 @@ monk_in,18,38,6 script Priest Gardron#tu 4_M_MINISTER,{
mes "on behalf of the convent,";
mes "not to mention the fact that";
mes "you've protected the citizens";
- mes "of "+(checkre(0)?"Prontera":"Payon")+" from danger.";
+ mes "of "+(RENEWAL?"Prontera":"Payon")+" from danger.";
next;
mes "[Priest Gardron]";
mes "May you always";
@@ -855,7 +855,7 @@ monk_in,18,38,6 script Priest Gardron#tu 4_M_MINISTER,{
mes "Acolyte training.";
tu_acolyte01 = 9;
percentheal 100,100;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 1000,1000;
else
getexp 2000,2000;
@@ -863,7 +863,7 @@ monk_in,18,38,6 script Priest Gardron#tu 4_M_MINISTER,{
//getitem 505,1; //Blue_Potion
close;
} else {
- if (checkre(0)) {
+ if (RENEWAL) {
mes "A few days ago, a sister in Prontera";
mes "sent me a telegram that citizens had been harmed";
mes "by Hornets in the western field,";
@@ -1130,7 +1130,7 @@ prt_monk,226,257,6 script Ill Girl#tu 4_F_04,{
mes "It seemed that this good";
mes "deed has improved your skills.^000000";
tu_acolyte01 = 13;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 0,500;
else
getexp 0,1000;
diff --git a/npc/quests/first_class/tu_archer.txt b/npc/quests/first_class/tu_archer.txt
index cedf21a6f..e80dbe01d 100644
--- a/npc/quests/first_class/tu_archer.txt
+++ b/npc/quests/first_class/tu_archer.txt
@@ -306,7 +306,7 @@ payon_in02,54,13,3 script Master Kavaruk 1_M_JOBTESTER,{
mes "for bringing me the news. As Arthail has said, I shall wait until he has more news for me.";
mes "You should also train and prepare for the future as well.";
tu_archer02 = 10;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 1000,1000;
else
getexp 2000,1000;
@@ -547,7 +547,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
tu_archer01 = 6;
mes "Now, your first assignment";
mes "is to learn ^3131FFLevel 3 Owl's Eye^000000!";
- if (checkre(0))
+ if (RENEWAL)
mes "From Morroc, if you travel south, you can fight Condors for your training.";
else
mes "From Prontera, if you travel south, south and then west, you can fight Condors for your training.";
@@ -560,7 +560,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
switch(select("I'll follow your advice, Chief!:I'll hunt somewhere else...")) {
case 1:
mes "[Reidin Corse]";
- if (checkre(0)) {
+ if (RENEWAL) {
mes "I'll send you to";
mes "Morroc for now,";
mes "so don't forget the";
@@ -589,7 +589,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
mes "[Reidin Corse]";
mes "Okay...!";
mes "Off you go!";
- if (checkre(0)) {
+ if (RENEWAL) {
mes "To Morroc!";
close2;
warp "morocc",156,46;
@@ -731,7 +731,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
.@eagle = getskilllv("AC_VULTURE");
if(.@eagle < 3){
- if (checkre(0))
+ if (RENEWAL)
mes "Alright, Mandagora usually live around Geffen. I can send you to Geffen, so just travel north from there to find";
else
mes "Alright, Mandagora usually live around Mt. Mjolnir. I can send you to Prontera, so just travel north, then east from there to find";
@@ -763,7 +763,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
mes "Alright...!";
mes "Get a move on!";
close2;
- if (checkre(0))
+ if (RENEWAL)
warp "geffen",120,39;
else
warp "prontera",116,72;
@@ -791,7 +791,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
} else if(tu_archer01 == 8){
.@eagle = getskilllv("AC_VULTURE");
if(.@eagle < 3){
- if (checkre(0))
+ if (RENEWAL)
mes "Mandagora lives in the area north of Geffen. Learn up to Level 3 Vulture's Eye and get acquainted with your attack range.";
else
mes "Mandagora lives in the area north and east of Prontera. Learn up to Level 3 Vulture's Eye and get acquainted with your attack range.";
@@ -807,7 +807,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
mes "Alright...!";
mes "Get a move on!";
close2;
- if (checkre(0))
+ if (RENEWAL)
warp "geffen",120,39;
else
warp "prontera",116,72;
@@ -891,7 +891,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
close;
}
} else if(tu_archer01 == 10){
- if (checkre(0)) {
+ if (RENEWAL) {
mes "Now, I've taught you a lot of stuff and I wanna make sure you retain all of it. That's why I want you to take this midterm. Your mission: ^FF0000Attack the Rockers^000000!";
emotion e_no1;
next;
@@ -929,12 +929,12 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
tu_archer01 = 11;
close;
} else if(tu_archer01 == 11){
- if (checkre(0) && countitem(940) < 10) {
+ if (RENEWAL && countitem(940) < 10) {
mes "Hey...";
mes "You gotta bring";
mes "^3131FF10 Grasshopper's Leg^000000 to pass my midterm! Go back to the southwest area of Prontera and get them!";
close;
- } else if (!checkre(0) && (countitem(962) < 10 || countitem(991) == 0)) {
+ } else if (!RENEWAL && (countitem(962) < 10 || countitem(991) == 0)) {
mes "Hey...";
mes "You gotta bring";
mes "^3131FF10 Tentacles^000000 and";
@@ -955,7 +955,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
mes "Don't forget that you gotta keep training and improve your skills. Before you know it, you'll be an expert almost as good as me!";
specialeffect2 EF_WIND;
tu_archer01 = 12;
- if (checkre(0))
+ if (RENEWAL)
delitem 940,10; //Grasshopper's_Leg
getexp 1000,1000;
getitem 1707,1; //Great_Bow
@@ -1001,7 +1001,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
mes "no need for you to fret.";
next;
mes "[Reidin Corse]";
- if (checkre(0)) {
+ if (RENEWAL) {
mes "Now, go into the forest east of Payon and hunt Spores and Wormtails. Your test will be to bring back ^3131FF10 Mushroom Spores^000000 and";
mes "^3131FF10 Pointed Scales^000000.";
} else {
@@ -1034,14 +1034,14 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
close;
}
} else if((tu_archer01 == 14) || (tu_archer01 == 15)){
- if (checkre(0) && (countitem(906) < 10 || countitem(921) < 10)) {
+ if (RENEWAL && (countitem(906) < 10 || countitem(921) < 10)) {
mes "Remember, you";
mes "need to head into";
mes "the forest east of Payon and get me";
mes "^3131FF10 Mushroom Spores^000000";
mes "and ^3131FF10 Pointed Scales^000000.";
close;
- } else if (!checkre(0) && (countitem(1032) < 5 || countitem(905) < 20)) {
+ } else if (!RENEWAL && (countitem(1032) < 5 || countitem(905) < 20)) {
mes "Remember, you";
mes "need to head over to";
mes "Mt. Mjolnir and get me";
@@ -1088,7 +1088,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
mes "this little reward!";
specialeffect2 EF_WIND;
tu_archer01 = 16;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 1000,1000;
else
getexp 3000,3000;
diff --git a/npc/quests/first_class/tu_magician01.txt b/npc/quests/first_class/tu_magician01.txt
index a3ef46322..01dd61b54 100644
--- a/npc/quests/first_class/tu_magician01.txt
+++ b/npc/quests/first_class/tu_magician01.txt
@@ -132,7 +132,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "time for a break. But we'll";
mes "continue this later, okay?";
tu_magician01 = 1;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp BaseLevel*3,BaseLevel*2;
else
getexp BaseLevel*30,BaseLevel*15;
diff --git a/npc/quests/first_class/tu_sword.txt b/npc/quests/first_class/tu_sword.txt
index 33cfd9fa6..dc2b4109c 100644
--- a/npc/quests/first_class/tu_sword.txt
+++ b/npc/quests/first_class/tu_sword.txt
@@ -108,7 +108,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "your great efforts. But do not let your talents allow you to grow arrogant!";
tu_swordman = 23;
completequest 8228;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 186,0;
else
getexp 1860,0;
@@ -199,7 +199,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "your accomplishment.";
tu_swordman = 22;
changequest 8227,8228;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 186,0;
else
getexp 1860,0;
@@ -229,7 +229,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
tu_swordman = 13;
erasequest 8221;
setquest 8222;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 126,0;
else
getexp 1260,0;
@@ -294,7 +294,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
tu_swordman = 13;
erasequest 8221;
setquest 8222;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 126,0;
else
getexp 1260,0;
@@ -374,7 +374,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
tu_swordman = 13;
erasequest 8221;
setquest 8222;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 126,0;
else
getexp 1260,0;
@@ -398,7 +398,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "[Shurank]";
mes "Ah, I see that you have a fairly good understanding of the Provoke skill. Let me reward you in this small way for your efforts.";
tu_swordman = 10;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 112,0;
else
getexp 1120,0;
@@ -415,7 +415,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "an outstanding Swordman.";
mes "Here is a small reward...";
tu_swordman = 10;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 126,0;
else
getexp 1260,0;
@@ -467,7 +467,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "[Shurank]";
mes "Ah, I see that you have a fairly good understanding of the Provoke skill. Let me reward you in this small way for your efforts.";
tu_swordman = 10;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 112,0;
else
getexp 1120,0;
@@ -484,7 +484,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "an outstanding Swordman.";
mes "Here is a small reward...";
tu_swordman = 10;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 126,0;
else
getexp 1260,0;
@@ -569,7 +569,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "Ah, I see that you have a fairly good understanding of the Provoke skill. Let me reward you in this small way for your efforts.";
tu_swordman = 10;
changequest 8219,8220;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 112,0;
else
getexp 1120,0;
@@ -590,7 +590,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
completequest 8219;
completequest 8220;
setquest 8221;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 126,0;
else
getexp 1260,0;
@@ -682,7 +682,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "Ah! That healthy glow!";
mes "I see that you've mastered this skill already. Let me give you a little reward for your hard training!";
tu_swordman = 5;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 112,0;
else
getexp 1120,0;
@@ -725,7 +725,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "Here's a small prize in recognition of your efforts thus far. But don't relax yet! You still have a long way to go before grasping";
mes "all of the basics.";
tu_swordman = 4;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 97,0;
else
getexp 970,0;
@@ -763,7 +763,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "Here's a little reward for all of your hard work. I hope you realize the importance of using Bash as";
mes "you grow stronger.";
tu_swordman = 3;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 83,0;
else
getexp 830,0;
@@ -777,7 +777,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "Here's a small prize in recognition of your efforts thus far. But don't relax yet! You still have a long way to go before grasping";
mes "all of the basics.";
tu_swordman = 4;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 97,0;
else
getexp 970,0;
@@ -815,7 +815,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "Still, for your training efforts, let me give you a humble reward. But remember, we still have more";
mes "of the fundamentals to cover!";
tu_swordman = 2;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 58,0;
else
getexp 580,0;
@@ -848,7 +848,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "For your efforts and patience, I offer you this small reward. Please take it and grow even stronger...";
tu_swordman = 3;
setquest 8211;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 83,0;
else
getexp 830,0;
@@ -865,7 +865,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "Here's a small prize in recognition of your efforts thus far. But don't relax yet! You still have a long way to go before grasping";
mes "all of the basics.";
tu_swordman = 4;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 97,0;
else
getexp 970,0;
@@ -901,7 +901,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "[Shurank]";
mes "Now, if you wish to become a true Swordman, you must learn the Bash skill. There's no question about it: You've got to know these basics! Take this, and learn to Bash!";
tu_swordman = 1;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 49,0;
else
getexp 490,0;
@@ -929,7 +929,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "of the fundamentals to cover!";
tu_swordman = 2;
changequest 8211,8212;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 58,0;
else
getexp 580,0;
@@ -955,7 +955,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
mes "of the fundamentals to cover!";
tu_swordman = 3;
changequest 8212,8213;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 83,0;
else
getexp 830,0;
@@ -976,7 +976,7 @@ izlude_in,82,163,3 script Shurank 4_M_JOB_KNIGHT1,{
completequest 8212;
completequest 8213;
setquest 8214;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 97,0;
else
getexp 970,0;
@@ -1072,7 +1072,7 @@ geffen,154,143,3 script Dequ'ee 4_M_JOB_KNIGHT2,{
tu_swordman = 21;
changequest 8226,8227;
close2;
- if (checkre(0))
+ if (RENEWAL)
warp "izlude",127,100;
else
warp "izlude",35,78;
@@ -1132,7 +1132,7 @@ geffen,154,143,3 script Dequ'ee 4_M_JOB_KNIGHT2,{
mes "Hurry over to Morroc and monitor Bankley in case he does anything desperate. If something happens, report to me right away!";
tu_swordman = 19;
changequest 8224,8225;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 162,0;
else
getexp 1620,0;
@@ -2177,7 +2177,7 @@ geffen,154,143,3 script Dequ'ee 4_M_JOB_KNIGHT2,{
mes "Thank you for taking the trouble to come this far. Let me reward you with some experience points.";
tu_swordman = 7;
changequest 8216,8217;
- if (checkre(3))
+ if (RENEWAL_EXP)
getexp 112,0;
else
getexp 1120,0;
@@ -2187,7 +2187,7 @@ geffen,154,143,3 script Dequ'ee 4_M_JOB_KNIGHT2,{
mes "of yourself,";
mes "brave Swordman.";
next;
- if (checkre(0))
+ if (RENEWAL)
warp "izlude",127,100;
else
warp "izlude",35,78;