summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authormasao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-23 14:33:25 +0000
committermasao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-23 14:33:25 +0000
commit173905288bdb123e7c2249f9d05714acf2f1541a (patch)
tree5d7ecdbc5f438e052c205d33ff0c73eba8b3a3f8 /npc
parent8aa157a569a76cef851fcc43eb17f41948c4360f (diff)
downloadhercules-173905288bdb123e7c2249f9d05714acf2f1541a.tar.gz
hercules-173905288bdb123e7c2249f9d05714acf2f1541a.tar.bz2
hercules-173905288bdb123e7c2249f9d05714acf2f1541a.tar.xz
hercules-173905288bdb123e7c2249f9d05714acf2f1541a.zip
- Follow up r15949 .
* Removed some unneeded perm. char. variables. * And i meant [bugreport:5607] got fixed NOT [bugreport:5606] since Brian already fixed that Bugreport. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15950 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/quests/skills/archer_skills.txt6
-rw-r--r--npc/quests/skills/merchant_skills.txt11
-rw-r--r--npc/quests/skills/swordman_skills.txt196
3 files changed, 100 insertions, 113 deletions
diff --git a/npc/quests/skills/archer_skills.txt b/npc/quests/skills/archer_skills.txt
index a8ba1c9a6..b7044e029 100644
--- a/npc/quests/skills/archer_skills.txt
+++ b/npc/quests/skills/archer_skills.txt
@@ -16,7 +16,7 @@
moc_ruins,118,99,5 script Roberto 88,{
if (BaseJob == Job_Archer) {
- if (ac_makingarrow_x == 1) {
+ if (getskilllv("AC_MAKINGARROW") == 1) {
mes "[Roberto]";
mes "Ooh, you're from my home town!";
mes "Nice to see you!";
@@ -51,7 +51,6 @@ moc_ruins,118,99,5 script Roberto 88,{
delitem 1019,13; //Wooden_Block
delitem 501,1; //Red_Potion
skill "AC_MAKINGARROW",1,0;
- set ac_makingarrow_x,1;
mes "[Roberto]";
mes "No need to worry about arrows now.";
mes "Oh, and did you happen to see";
@@ -149,7 +148,7 @@ moc_ruins,118,99,5 script Roberto 88,{
payon,103,63,3 script Jason 88,3,3,{
if (BaseJob == Job_Archer) {
- if (ac_chargearrow_x == 1) {
+ if (getskilllv("AC_CHARGEARROW") == 1) {
mes "[Jason]";
mes "Eh, we meet again.";
mes "Ehhhh so weird.";
@@ -231,7 +230,6 @@ payon,103,63,3 script Jason 88,3,3,{
delitem 925,10; //Bill_Of_Birds
delitem 532,36; //Banana_Juice
skill "AC_CHARGEARROW",1,0;
- set ac_chargearrow_x,1;
mes "[Jason]";
mes "Oh, works better than I expected!";
mes "Won't be needing to modify the bow!";
diff --git a/npc/quests/skills/merchant_skills.txt b/npc/quests/skills/merchant_skills.txt
index 889123868..e70ab887e 100644
--- a/npc/quests/skills/merchant_skills.txt
+++ b/npc/quests/skills/merchant_skills.txt
@@ -16,7 +16,7 @@
alberta,83,96,5 script Necko 98,7,7,{
if (BaseJob == Job_Merchant) {
- if (mc_loud_x == 1) {
+ if (getskilllv("MC_LOUD") == 1) {
mes "[Necko]";
mes "I'm sorry. Necko's store is...";
mes "Oh? Who's this?";
@@ -79,7 +79,6 @@ alberta,83,96,5 script Necko 98,7,7,{
delitem 532,1; //Banana_Juice
delitem 921,50; //Mushroom_Spore
skill "MC_LOUD",1,0;
- set mc_loud_x,1;
mes "[Necko]";
mes "You have learned Crazy Uproar!!";
mes "Shout as much as you wish!";
@@ -181,7 +180,7 @@ OnTouch:
alberta,119,221,6 script Charlron 107,5,5,{
if (BaseJob == Job_Merchant) {
- if (mc_changecart_x == 1) {
+ if (getskilllv("MC_CHANGECART") == 1) {
mes "[Charlron]";
mes "Mmm? I was wondering who was making all";
mes "the raucus carrying around a cart.";
@@ -224,7 +223,6 @@ alberta,119,221,6 script Charlron 107,5,5,{
delitem 998,10; //Iron
delitem 919,20; //Animal's_Skin
skill "MC_CHANGECART",1,0;
- set mc_changecart_x,1;
mes "[Charlron]";
mes "Congratulations.";
mes "You can choose a cart";
@@ -335,7 +333,7 @@ alberta,119,221,6 script Charlron 107,5,5,{
alberta,232,106,6 script Gershaun 57,5,5,{
if (BaseJob == Job_Merchant) {
- if (mc_cartrevolution_x == 1) {
+ if (getskilllv("MC_CARTREVOLUTION") == 1) {
mes "[Gershaun]";
mes "Ah, long time no see!";
mes "Ohh, the red marks on your cart.";
@@ -378,7 +376,6 @@ alberta,232,106,6 script Gershaun 57,5,5,{
delitem 601,20; //Wing_Of_Fly
delitem 962,5; //Tentacle
skill "MC_CARTREVOLUTION",1,0;
- set mc_cartrevolution_x,1;
mes "Now you can use Cart Revolution";
mes "I expect you to make merchants";
mes "famous by using this amazing";
@@ -451,7 +448,6 @@ alberta,232,106,6 script Gershaun 57,5,5,{
delitem 601,15; //Wing_Of_Fly
delitem 962,5; //Tentacle
skill "MC_CARTREVOLUTION",1,0;
- set mc_cartrevolution_x,1;
mes "Now you can use Cart Revolution";
mes "I expect you to make merchants";
mes "famous by using its amazing";
@@ -525,7 +521,6 @@ alberta,232,106,6 script Gershaun 57,5,5,{
delitem 601,23; //Wing_Of_Fly
delitem 962,6; //Tentacle
skill "MC_CARTREVOLUTION",1,0;
- set mc_cartrevolution_x, 1;
mes "Now you can use Cart Revolution";
mes "I expect you to make merchants";
mes "famous by using its amazing";
diff --git a/npc/quests/skills/swordman_skills.txt b/npc/quests/skills/swordman_skills.txt
index c45dceae6..1ce5fca87 100644
--- a/npc/quests/skills/swordman_skills.txt
+++ b/npc/quests/skills/swordman_skills.txt
@@ -54,26 +54,24 @@ izlude_in,175,130,2 script Knight De Thomas 98,4,4,{
mes "Bring your armor!";
mes "Last but not least... bring me one ^008800Moth Wing^000000.";
next;
- switch (select("Eh? You need that, too?")) {
- case 1:
- mes "[De Thomas]";
- mes "Not really.. I don't really NEED it.";
- mes "It's just that my niece has gotten a bug hunting as a holiday task during the summer vacation.";
- mes "Of course! It would be much easier for me to get it myself.";
- mes "but I must work here all the time so I don't exactly have the time to go out and get it.";
- next;
- mes "[De Thomas]";
- mes "Don't you think it is pitiful that I have to stay in once place everyday, not being able to go outside?";
- mes "Please, find me one...*sniffsniff*";
- mes "If you don't...";
- set sm_movingrecovery_x,1;
- mes "You won't get anything! Muahahaha.";
- close;
- case 2:
- mes "[De Thomas]";
- mes "...";
- close;
- }
+ menu "Eh? You need that, too?",-;
+ mes "[De Thomas]";
+ mes "Not really.. I don't really NEED it.";
+ mes "It's just that my niece has gotten a bug hunting as a holiday task during the summer vacation.";
+ mes "Of course! It would be much easier for me to get it myself.";
+ mes "but I must work here all the time so I don't exactly have the time to go out and get it.";
+ next;
+ mes "[De Thomas]";
+ mes "Don't you think it is pitiful that I have to stay in once place everyday, not being able to go outside?";
+ mes "Please, find me one...*sniffsniff*";
+ mes "If you don't...";
+ set sm_movingrecovery_x,1;
+ mes "You won't get anything! Muahahaha.";
+ close;
+ case 2:
+ mes "[De Thomas]";
+ mes "...";
+ close;
}
}
else if ((BaseJob == Job_Swordman) && (sm_movingrecovery_x > 1)) {
@@ -153,7 +151,7 @@ izlude_in,175,130,2 script Knight De Thomas 98,4,4,{
prt_in,75,88,5 script Leon Von Frich 85,3,3,{
if ((BaseJob == Job_Swordman) && (JobLevel >= 25)) {
- if (sm_fatalblow_x == 1) {
+ if (getskilllv("SM_FATALBLOW") == 1) {
mes "[Leon]";
mes "Eh?";
mes "I was wondering who that was!";
@@ -179,7 +177,6 @@ prt_in,75,88,5 script Leon Von Frich 85,3,3,{
delitem 962,30; //Tentacle
delitem 526,5; //Royal_Jelly
skill "SM_FATALBLOW",1,0;
- set sm_fatalblow_x,1;
mes "[Leon]";
mes "Success!";
mes "Go use your new skill to its full potential.";
@@ -204,93 +201,91 @@ prt_in,75,88,5 script Leon Von Frich 85,3,3,{
close;
}
}
+ mes "[Leon]";
+ mes "Ooh! A young and strong swordsman!";
+ next;
+ mes "[Leon]";
+ mes "Wow, seeing your arm, you must enjoy using bash?";
+ next;
+ menu "Eh, I.. just...",-;
+ mes "[Leon]";
+ if (Sex == 0) {
+ mes "No need to be surprised.";
+ mes "If you use a sword, of course you ought to have a good arm!";
+ }
else {
+ mes "Nothing to be embarrassed about.";
+ mes "Even if you are a female you need a strong arm to use a sword!";
+ }
+ mes "In times of only useless and lazy youngsters,";
+ mes "I'm glad I met someone strong like you.";
+ next;
+ mes "[Leon]";
+ mes "Yes, I would like to give a present to an awesome swordsman like you.";
+ next;
+ switch (select("What present?:It's ok.")) {
+ case 1:
mes "[Leon]";
- mes "Ooh! A young and strong swordsman!";
- next;
- mes "[Leon]";
- mes "Wow, seeing your arm, you must enjoy using bash?";
- next;
- menu "Eh, I.. just...",-;
- mes "[Leon]";
- if (Sex == 0) {
- mes "No need to be surprised.";
- mes "If you use a sword, of course you ought to have a good arm!";
- }
- else {
- mes "Nothing to be embarrassed about.";
- mes "Even if you are a female you need a strong arm to use a sword!";
- }
- mes "In times of only useless and lazy youngsters,";
- mes "I'm glad I met someone strong like you.";
+ mes "Haha nothing special, but a skill to attack the vital point!";
next;
+ case 2:
mes "[Leon]";
- mes "Yes, I would like to give a present to an awesome swordsman like you.";
+ mes "...Haha nothing special, just a skill that aims at the vital spot!";
next;
- switch (select("What present?:It's ok.")) {
- case 1:
- mes "[Leon]";
- mes "Haha nothing special, but a skill to attack the vital point!";
- next;
- case 2:
- mes "[Leon]";
- mes "...Haha nothing special, just a skill that aims at the vital spot!";
- next;
- }
+ }
+ mes "[Leon]";
+ mes "It's a skill I developed recently.";
+ mes "When you use bash, depending on";
+ mes "your level, your opponent can";
+ mes "become stunned.";
+ mes "You have learned bash, haven't you?";
+ next;
+ mes "[Leon]";
+ mes "When I was a swordsman like you,";
+ mes "I used to enjoy using Bash. Every time, I thought";
+ mes "- maybe the attack would be more powerful";
+ mes "if I use stun at the same time.";
+ next;
+ mes "[Leon]";
+ mes "I drew back from the battlefield to do research";
+ mes "and finally, I developed this wonderful new skill!";
+ mes "Would you like to learn this skill?";
+ next;
+ switch (select("Yes.:No.:Do you have any advice on how to eat sushi?")) {
+ case 1:
mes "[Leon]";
- mes "It's a skill I developed recently.";
- mes "When you use bash, depending on";
- mes "your level, your opponent can";
- mes "become stunned.";
- mes "You have learned bash, haven't you?";
+ mes "Ok. I'll tell you the requirements.";
+ mes "First you need to have level 5 Bash.";
+ mes "You will also need to prepare 10 Fire Arrows, 10 Silver Arrows, 1 bottle of Banana Juice, 30 Tentacles, and 5 bottles of Royal Jelly.";
+ mes "They are.. somewhat like ingredients.";
next;
mes "[Leon]";
- mes "When I was a swordsman like you,";
- mes "I used to enjoy using Bash. Every time, I thought";
- mes "- maybe the attack would be more powerful";
- mes "if I use stun at the same time.";
- next;
+ mes "come to me again once you have all the materials.";
+ mes "We shall talk then.";
+ close;
+ case 2:
mes "[Leon]";
- mes "I drew back from the battlefield to do research";
- mes "and finally, I developed this wonderful new skill!";
- mes "Would you like to learn this skill?";
+ mes "Hahahahahahahahahaha!";
+ mes "... ";
+ mes " ... ";
+ mes " ...";
+ mes "I'm at a loss of words!?";
+ close;
+ case 3:
+ mes "[Sushi King Leon]";
+ mes "The best way to eat sushi is";
+ mes "with your hands.";
+ mes "That is the basic.";
+ mes "And dip the fish, not the rice,";
+ mes "in the soy sauce.";
next;
- switch (select("Yes.:No.:Do you have any advice on how to eat sushi?")) {
- case 1:
- mes "[Leon]";
- mes "Ok. I'll tell you the requirements.";
- mes "First you need to have level 5 Bash.";
- mes "You will also need to prepare 10 Fire Arrows, 10 Silver Arrows, 1 bottle of Banana Juice, 30 Tentacles, and 5 bottles of Royal Jelly.";
- mes "They are.. somewhat like ingredients.";
- next;
- mes "[Leon]";
- mes "come to me again once you have all the materials.";
- mes "We shall talk then.";
- close;
- case 2:
- mes "[Leon]";
- mes "Hahahahahahahahahaha!";
- mes "... ";
- mes " ... ";
- mes " ...";
- mes "I'm at a loss of words!?";
- close;
- case 3:
- mes "[Sushi King Leon]";
- mes "The best way to eat sushi is";
- mes "with your hands.";
- mes "That is the basic.";
- mes "And dip the fish, not the rice,";
- mes "in the soy sauce.";
- next;
- mes "[Sushi King Leon]";
- mes "That way you get a richer flavor.";
- mes "Also, always eat the kind that is in season.";
- mes "Eating in the order of white fish then";
- mes "blue fish will make it taste better!";
- mes "Mmm! I like sushi~~!";
- close;
- }
+ mes "[Sushi King Leon]";
+ mes "That way you get a richer flavor.";
+ mes "Also, always eat the kind that is in season.";
+ mes "Eating in the order of white fish then";
+ mes "blue fish will make it taste better!";
+ mes "Mmm! I like sushi~~!";
+ close;
}
}
mes "[Leon]";
@@ -309,7 +304,7 @@ OnTouch:
prt_in,94,57,3 script Juan 85,4,4,{
if (BaseJob == Job_Swordman) {
- if (sm_autoberserk_x == 1) {
+ if (getskilllv("SM_AUTOBERSERK") == 1) {
mes "[Juan]";
mes "Mmm? Long time no see!";
mes "How are you?";
@@ -348,7 +343,6 @@ prt_in,94,57,3 script Juan 85,4,4,{
delitem 957,10; //Decayed_Nail
delitem 518,10; //Honey
skill "SM_AUTOBERSERK",1,0;
- set sm_autoberserk_x,1;
mes "[Juan]";
mes "You have just become a swordsman";
mes "that can use Auto Berserk.";