summaryrefslogtreecommitdiff
path: root/npc/jobs/2-1-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/jobs/2-1-1')
-rw-r--r--npc/jobs/2-1-1/AssassinCross.txt131
-rw-r--r--npc/jobs/2-1-1/HighPriest.txt101
-rw-r--r--npc/jobs/2-1-1/HighWizard.txt101
-rw-r--r--npc/jobs/2-1-1/LordKnight.txt120
-rw-r--r--npc/jobs/2-1-1/Sniper.txt117
-rw-r--r--npc/jobs/2-1-1/WhiteSmith.txt117
6 files changed, 95 insertions, 592 deletions
diff --git a/npc/jobs/2-1-1/AssassinCross.txt b/npc/jobs/2-1-1/AssassinCross.txt
index adf202371..9167411b6 100644
--- a/npc/jobs/2-1-1/AssassinCross.txt
+++ b/npc/jobs/2-1-1/AssassinCross.txt
@@ -1,118 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== Assassin Cross ==-
valkyrie.gat,44,58,6 script Assassin Cross 725,{
- if(getskilllv(149) > 0) set @qsk,1;
- if(getskilllv(150) > 0) set @qsk1,1;
- if(getskilllv(151) > 0) set @qsk2,1;
- if(getskilllv(152) > 0) set @qsk3,1;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4007) && (readparam(55) >= 45)) goto L_HTHF;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4007) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[Assassin Cross]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[Assassin Cross]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of Assassin Cross,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[Assassin Cross]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[Assassin Cross]";
- mes "You're not ready to become an High thief yet.";
- close;
-
-L_Class:
- mes "[Assassin Cross]";
- mes "You've come far to get here. unfortunately, you're not ready to become an Assassin Cross yet.";
- close;
-
-L_Levels:
- mes "[Assassin Cross]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Assassin Cross";
- close;
-
-L_HNov:
- mes "[Assassin Cross]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 30;
- next;
- mes "[Assassin Cross]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- next;
-qsk:
- skill 149,1,0;
- set @qsk,0;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- goto L_HNov_2;
-qsk1:
- skill 150,1,0;
- set @qsk1,0;
- if(@qsk > 0) goto qsk;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- goto L_HNov_2;
-qsk2:
- skill 151,1,0;
- set @qsk2,0;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk3 > 0) goto qsk3;
- goto L_HNov_2;
-qsk3:
- skill 152,1,0;
- set @qsk3,0;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[Assassin Cross]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Thief";
- close;
-L_HTHF:
- mes "[Assassin Cross]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Assassin Cross!";
- jobchange 36;
- close;
-
-Skill_Points:
- mes "[Assassin Cross]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[Assassin Cross]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",30,"Theif High",36,"Assassin Cross",149,150,151,152;
+}
diff --git a/npc/jobs/2-1-1/HighPriest.txt b/npc/jobs/2-1-1/HighPriest.txt
index db0c4c21b..b026ce79d 100644
--- a/npc/jobs/2-1-1/HighPriest.txt
+++ b/npc/jobs/2-1-1/HighPriest.txt
@@ -1,88 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== High Priest ==-
valkyrie.gat,44,42,6 script High Priest 60,{
- if(getskilllv(156) > 0) set @qsk;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4005) && (readparam(55) >= 45)) goto L_HACO;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4005) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[High Priest]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[High Priest]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of High Priest,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[High Priest]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[High Priest]";
- mes "You're not ready to become an Acolyte High yet...";
- close;
-
-L_Class:
- mes "[High Priest]";
- mes "You've come far to get here. unfortunately, you're not ready to become an High Priest yet.";
- close;
-
-L_Levels:
- mes "[High Priest]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an High Priest";
- close;
-
-L_HNov:
- mes "[High Priest]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 28;
- next;
- mes "[High Priest]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- next;
-qsk:
- skill 156,1,0;
- set @qsk,0;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[High Priest]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to Acolyte High";
- close;
-L_HACO:
- mes "[High Priest]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an High Priest!";
- jobchange 32;
- close;
-
-Skill_Points:
- mes "[High Priest]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[High Priest]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",28,"Acolyte High",32,"High Priest",156,0,0,0;
+}
diff --git a/npc/jobs/2-1-1/HighWizard.txt b/npc/jobs/2-1-1/HighWizard.txt
index acf51c225..87833c2f4 100644
--- a/npc/jobs/2-1-1/HighWizard.txt
+++ b/npc/jobs/2-1-1/HighWizard.txt
@@ -1,88 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== High Wizard ==-
valkyrie.gat,44,47,6 script High Wizard 735,{
- if(getskilllv(157) > 0) set @qsk,1;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4003) && (readparam(55) >= 45)) goto L_HMAG;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4003) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[High Wizard]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[High Wizard]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of High Wizard,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[High Wizard]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[High Wizard]";
- mes "You're not ready to become an High Mage yet.";
- close;
-
-L_Class:
- mes "[High Wizard]";
- mes "You've come far to get here. unfortunately, you're not ready to become an High Wizard yet.";
- close;
-
-L_Levels:
- mes "[High Wizard]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an High Wizard";
- close;
-
-L_HNov:
- mes "[High Wizard]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 26;
- next;
- mes "[High Wizard]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- next;
-qsk:
- skill 157,1,0;
- set @qsk,0;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[High Wizard]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Mage";
- close;
-L_HMAG:
- mes "[High Wizard]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an High Wizard!";
- jobchange 33;
- close;
-
-Skill_Points:
- mes "[High Wizard]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[High Wizard]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",26,"High Mage",33,"High Wizard",157,0,0,0;
+}
diff --git a/npc/jobs/2-1-1/LordKnight.txt b/npc/jobs/2-1-1/LordKnight.txt
index 9dbeaa345..6cd7ec155 100644
--- a/npc/jobs/2-1-1/LordKnight.txt
+++ b/npc/jobs/2-1-1/LordKnight.txt
@@ -1,107 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== Lord Knight ==-
valkyrie.gat,44,39,6 script Lord Knight 56,{
- if(getskilllv(144) > 0) set @qsk,1;
- if(getskilllv(145) > 0) set @qsk1,1;
- if(getskilllv(146) > 0) set @qsk2,1;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4002) && (readparam(55) >= 45)) goto L_HSWM;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4002) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[Lord Knight]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[Lord Knight]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of Lord Knight,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[Lord Knight]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[Lord Knight]";
- mes "You're not ready to become an High Swordsman yet.";
- close;
-
-L_Class:
- mes "[Lord Knight]";
- mes "You've come far to get here. unfortunately, you're not ready to become an Lord Knight yet.";
- close;
-
-L_Levels:
- mes "[Lord Knight]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Lord Knight";
- close;
-
-L_HNov:
- mes "[Lord Knight]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 25;
- next;
- mes "[Lord Knight]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- next;
-qsk:
- skill 144,1,0;
- set @qsk,0;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- goto L_HNov_2;
-qsk1:
- skill 145,1,0;
- set @qsk1,0;
- if(@qsk > 0) goto qsk;
- if(@qsk2 > 0) goto qsk2;
- goto L_HNov_2;
-qsk2:
- skill 146,1,0;
- set @qsk2,0;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[Lord Knight]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Swordsman";
- close;
-L_HSWM:
- mes "[Lord Knight]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Lord Knight!";
- jobchange 31;
- close;
-
-Skill_Points:
- mes "[Lord Knight]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[Lord Knight]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",25,"Swordman High",31,"Lord Knight",144,145,146,0;
+}
diff --git a/npc/jobs/2-1-1/Sniper.txt b/npc/jobs/2-1-1/Sniper.txt
index 3b39fb628..1bbf6e75f 100644
--- a/npc/jobs/2-1-1/Sniper.txt
+++ b/npc/jobs/2-1-1/Sniper.txt
@@ -1,104 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== Sniper ==-
valkyrie.gat,44,55,6 script Sniper 727,{
- if(getskilllv(147) > 0) set @qsk,1;
- if(getskilllv(148) > 0) set @qsk1,1;
- if(checkfalcon(0) > 0) goto L_Falcon;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4004) && (readparam(55) >= 45)) goto L_HARC;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4004) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[Sniper]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[Sniper]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of Sniper,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[Sniper]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[Sniper]";
- mes "You're not ready to become an High Archer yet.";
- close;
-
-L_Class:
- mes "[Sniper]";
- mes "You've come far to get here. unfortunately, you're not ready to become an Sniper yet.";
- close;
-
-L_Levels:
- mes "[Sniper]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Sniper";
- close;
-
-L_HNov:
- mes "[Sniper]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 27;
- next;
- mes "[Sniper]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- next;
-qsk:
- skill 147,1,0;
- set @qsk,0;
- if(@qsk1 > 0) goto qsk1;
- goto L_HNov_2;
-qsk1:
- skill 148,1,0;
- set @qsk1,0;
- if(@qsk > 0) goto qsk;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[Sniper]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Archer";
- close;
-L_HARC:
- mes "[Sniper]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Sniper!";
- jobchange 35;
- close;
-
-Skill_Points:
- mes "[Sniper]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[Sniper]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-
-L_Falcon:
- mes "[Sniper]";
- mes "Please take your Falcon off before proceeding "+strcharinfo(0)+".";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",27,"High Archer",35,"Sniper",147,148,0,0;
+}
diff --git a/npc/jobs/2-1-1/WhiteSmith.txt b/npc/jobs/2-1-1/WhiteSmith.txt
index b289c0232..103cd65b5 100644
--- a/npc/jobs/2-1-1/WhiteSmith.txt
+++ b/npc/jobs/2-1-1/WhiteSmith.txt
@@ -1,106 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== White Smith ==-
valkyrie.gat,44,51,6 script White Smith 725,{
- if(getskilllv(153) > 0) set @qsk,1;
- if(getskilllv(154) > 0) set @qsk1,1;
- if(getskilllv(155) > 0) set @qsk2,1;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4007) && (readparam(55) >= 45)) goto L_HMERC;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4007) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[White Smith]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[White Smith]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of White Smith,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[White Smith]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[White Smith]";
- mes "You're not ready to become an High Merchant yet.";
- close;
-
-L_Class:
- mes "[White Smith]";
- mes "You've come far to get here. unfortunately, you're not ready to become an White Smith yet.";
- close;
-
-L_Levels:
- mes "[White Smith]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an White Smith";
- close;
-
-L_HNov:
- mes "[White Smith]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 29;
- next;
- mes "[White Smith]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- next;
-qsk:
- skill 153,1,0;
- set @qsk,0;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- goto L_HNov_2;
-qsk1:
- skill 154,1,0;
- set @qsk1,0;
- if(@qsk > 0) goto qsk;
- if(@qsk2 > 0) goto qsk2;
- goto L_HNov_2;
-qsk2:
- skill 155,1,0;
- set @qsk2,0;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[White Smith]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Merchant";
- close;
-L_HMERC:
- mes "[White Smith]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an White Smith!";
- jobchange 34;
- close;
-
-Skill_Points:
- mes "[White Smith]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[White Smith]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
+ callfunc "F_Rebirth",29,"Merchant High",34,"White Smith",153,154,155,0;
}