summaryrefslogtreecommitdiff
path: root/npc/jobs
diff options
context:
space:
mode:
authormasao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-05 11:19:56 +0000
committermasao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-05 11:19:56 +0000
commit8c748978945b24f2b508d54c6068c7ee69a862ad (patch)
tree1df1f2150a53bbebe118e9524929580c6bf27461 /npc/jobs
parentd6009fd28376933000516e149a60e8d62de51faa (diff)
downloadhercules-8c748978945b24f2b508d54c6068c7ee69a862ad.tar.gz
hercules-8c748978945b24f2b508d54c6068c7ee69a862ad.tar.bz2
hercules-8c748978945b24f2b508d54c6068c7ee69a862ad.tar.xz
hercules-8c748978945b24f2b508d54c6068c7ee69a862ad.zip
- Some little adjustments to the job change quests, also reverted some variables to the old job change files.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16582 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs')
-rw-r--r--npc/jobs/2-1/assassin.txt1
-rw-r--r--npc/jobs/2-1/blacksmith.txt1
-rw-r--r--npc/jobs/2-1/hunter.txt1
-rw-r--r--npc/jobs/2-1/knight.txt1
-rw-r--r--npc/jobs/2-1/priest.txt1
-rw-r--r--npc/jobs/2-1/wizard.txt1
-rw-r--r--npc/jobs/2-1a/AssassinCross.txt6
-rw-r--r--npc/jobs/2-1a/HighPriest.txt6
-rw-r--r--npc/jobs/2-1a/HighWizard.txt6
-rw-r--r--npc/jobs/2-1a/LordKnight.txt6
-rw-r--r--npc/jobs/2-1a/Sniper.txt6
-rw-r--r--npc/jobs/2-1a/WhiteSmith.txt6
-rw-r--r--npc/jobs/2-2/alchemist.txt2
-rw-r--r--npc/jobs/2-2/bard.txt8
-rw-r--r--npc/jobs/2-2/crusader.txt2
-rw-r--r--npc/jobs/2-2/dancer.txt1
-rw-r--r--npc/jobs/2-2/monk.txt1
-rw-r--r--npc/jobs/2-2/rogue.txt2
-rw-r--r--npc/jobs/2-2/sage.txt1
-rw-r--r--npc/jobs/2-2a/Champion.txt6
-rw-r--r--npc/jobs/2-2a/Clown.txt6
-rw-r--r--npc/jobs/2-2a/Creator.txt6
-rw-r--r--npc/jobs/2-2a/Gypsy.txt6
-rw-r--r--npc/jobs/2-2a/Paladin.txt6
-rw-r--r--npc/jobs/2-2a/Professor.txt6
-rw-r--r--npc/jobs/2-2a/Stalker.txt6
-rw-r--r--npc/jobs/valkyrie.txt219
27 files changed, 149 insertions, 171 deletions
diff --git a/npc/jobs/2-1/assassin.txt b/npc/jobs/2-1/assassin.txt
index 740c53ab4..a20493a47 100644
--- a/npc/jobs/2-1/assassin.txt
+++ b/npc/jobs/2-1/assassin.txt
@@ -110,7 +110,6 @@ in_moc_16,19,33,1 script Guildsman 55,{
} else {
jobchange Job_Assassin;
}
- set FJOB,Job_Guillotine_Cross;
changequest 8007,8008;
completequest 8008;
mes "[Assassin Expert 'Huey']";
diff --git a/npc/jobs/2-1/blacksmith.txt b/npc/jobs/2-1/blacksmith.txt
index bfcf40601..f96a41a25 100644
--- a/npc/jobs/2-1/blacksmith.txt
+++ b/npc/jobs/2-1/blacksmith.txt
@@ -219,7 +219,6 @@ ein_in01,18,28,4 script Guildsman#BLS 731,{
} else {
jobchange Job_Blacksmith;
}
- set FJOB,Job_Mechanic;
mes "[Altiregen]";
mes "Always remember that we are creators, and artists over metals. Be wary that you do not fall into the pitfalls of selfishness";
mes "and greed.";
diff --git a/npc/jobs/2-1/hunter.txt b/npc/jobs/2-1/hunter.txt
index 721756b4e..e0552351b 100644
--- a/npc/jobs/2-1/hunter.txt
+++ b/npc/jobs/2-1/hunter.txt
@@ -158,7 +158,6 @@ hu_in01,386,373,4 script Hunter Guildsman#hnt 727,{
} else {
jobchange Job_Hunter;
}
- set FJOB,Job_Ranger;
completequest 4013;
next;
mes "[Hunter Sherin]";
diff --git a/npc/jobs/2-1/knight.txt b/npc/jobs/2-1/knight.txt
index 9beb42334..2bb88ec18 100644
--- a/npc/jobs/2-1/knight.txt
+++ b/npc/jobs/2-1/knight.txt
@@ -624,7 +624,6 @@ prt_in,88,101,4 script Chivalry Captain 56,{
} else {
jobchange Job_Knight;
}
- set FJOB,Job_Rune_Knight;
mes "[Captain Herman]";
mes "I hereby declare";
mes "you a member of";
diff --git a/npc/jobs/2-1/priest.txt b/npc/jobs/2-1/priest.txt
index d86ed1f9b..b1af76b1a 100644
--- a/npc/jobs/2-1/priest.txt
+++ b/npc/jobs/2-1/priest.txt
@@ -512,7 +512,6 @@ prt_church,16,41,4 script High Bishop#prst 60,{
} else {
jobchange Job_Priest;
}
- set FJOB,Job_Arch_Bishop;
changequest 8015,8016;
mes "[Bishop Paul]";
mes "Now you are born again as a Priest. I congratulate you, and hope you will greatly help other people for the rest of your life.";
diff --git a/npc/jobs/2-1/wizard.txt b/npc/jobs/2-1/wizard.txt
index b8c74d40d..b5fef11e8 100644
--- a/npc/jobs/2-1/wizard.txt
+++ b/npc/jobs/2-1/wizard.txt
@@ -420,7 +420,6 @@ gef_tower,111,37,4 script Wizard Guildsman 70,{
} else {
jobchange Job_Wizard;
}
- set FJOB,Job_Warlock;
completequest 9018;
mes "[Catherine]";
mes "Since you're a Wizard now, act like a Wizard, got it?";
diff --git a/npc/jobs/2-1a/AssassinCross.txt b/npc/jobs/2-1a/AssassinCross.txt
index ae3f68db5..0ed46590c 100644
--- a/npc/jobs/2-1a/AssassinCross.txt
+++ b/npc/jobs/2-1a/AssassinCross.txt
@@ -16,7 +16,7 @@
//============================================================
valkyrie,44,58,5 script Assassin Cross#Valkyrie 725,{
- if (FJOB == 0 || Upper != 1) {
+ if (ADVJOB == 0 || Upper != 1) {
set .@karma_d,rand(1,10);
if (.@karma_d > 4) {
mes "[Assassin Cross]";
@@ -43,7 +43,7 @@ valkyrie,44,58,5 script Assassin Cross#Valkyrie 725,{
mes "Nobody...";
close;
}
- if ((FJOB == Job_Guillotine_Cross) && (Class == Job_Thief_High) && (JobLevel > 39)) {
+ if ((ADVJOB == Job_Assassin_Cross) && (Class == Job_Thief_High) && (JobLevel > 39)) {
mes "[Assassin Cross]";
mes "The time has come.";
mes "The world needs you...";
@@ -79,7 +79,7 @@ valkyrie,44,58,5 script Assassin Cross#Valkyrie 725,{
close;
}
jobchange Job_Assassin_Cross;
- set FJOB,0;
+ set ADVJOB,0;
mes "[Assassin Cross]";
mes "Congratulations.";
mes "As an Assassin Cross,";
diff --git a/npc/jobs/2-1a/HighPriest.txt b/npc/jobs/2-1a/HighPriest.txt
index f1d38802d..2235ad60e 100644
--- a/npc/jobs/2-1a/HighPriest.txt
+++ b/npc/jobs/2-1a/HighPriest.txt
@@ -16,7 +16,7 @@
//============================================================
valkyrie,44,42,5 script High Priest#Valkyrie 60,{
- if (FJOB == 0 || Upper != 1) {
+ if (ADVJOB == 0 || Upper != 1) {
set .@karma_d,rand(1,10);
if (.@karma_d > 4) {
mes "[High Priest]";
@@ -32,7 +32,7 @@ valkyrie,44,42,5 script High Priest#Valkyrie 60,{
mes "us from the forces of evil...";
close;
}
- if ((FJOB == Job_Arch_Bishop) && (Class == Job_Acolyte_High) && (JobLevel > 39)) {
+ if ((ADVJOB == Job_High_Priest) && (Class == Job_Acolyte_High) && (JobLevel > 39)) {
mes "[High Priest]";
mes "Our world is in";
mes "need of people of";
@@ -59,7 +59,7 @@ valkyrie,44,42,5 script High Priest#Valkyrie 60,{
close;
}
jobchange Job_High_Priest;
- set FJOB,0;
+ set ADVJOB,0;
mes "[High Priest]";
mes "Congratulations.";
mes "As a High Priest,";
diff --git a/npc/jobs/2-1a/HighWizard.txt b/npc/jobs/2-1a/HighWizard.txt
index 3ba1a57d9..320b1db0d 100644
--- a/npc/jobs/2-1a/HighWizard.txt
+++ b/npc/jobs/2-1a/HighWizard.txt
@@ -16,7 +16,7 @@
//============================================================
valkyrie,44,47,5 script High Wizard#Valkyrie 735,{
- if (FJOB == 0 || Upper != 1) {
+ if (ADVJOB == 0 || Upper != 1) {
set .@karma_d,rand(1,10);
if (.@karma_d > 4) {
mes "[High Wizard]";
@@ -38,7 +38,7 @@ valkyrie,44,47,5 script High Wizard#Valkyrie 735,{
mes "was placed in the wrong hands?!";
close;
}
- if ((FJOB == Job_Warlock) && (Class == Job_Mage_High) && (JobLevel > 39)) {
+ if ((ADVJOB == Job_High_Wizard) && (Class == Job_Mage_High) && (JobLevel > 39)) {
mes "[High Wizard]";
mes "It is time.";
mes "And Rune-Midgard has";
@@ -63,7 +63,7 @@ valkyrie,44,47,5 script High Wizard#Valkyrie 735,{
close;
}
jobchange Job_High_Wizard;
- set FJOB,0;
+ set ADVJOB,0;
mes "[High Wizard]";
mes "Congratulations.";
mes "As a High Wizard,";
diff --git a/npc/jobs/2-1a/LordKnight.txt b/npc/jobs/2-1a/LordKnight.txt
index 7ed54ba3e..73ed005e2 100644
--- a/npc/jobs/2-1a/LordKnight.txt
+++ b/npc/jobs/2-1a/LordKnight.txt
@@ -16,7 +16,7 @@
//============================================================
valkyrie,44,39,5 script Lord Knight#Valkyrie 56,{
- if (FJOB == 0 || Upper != 1) {
+ if (ADVJOB == 0 || Upper != 1) {
set .@karma_d,rand(1,10);
if (.@karma_d > 4) {
mes "[Lord Knight]";
@@ -36,7 +36,7 @@ valkyrie,44,39,5 script Lord Knight#Valkyrie 56,{
mes "well being of our comrades.";
close;
}
- if ((FJOB == Job_Rune_Knight) && (Class == Job_Swordman_High) && (JobLevel > 39)) {
+ if ((ADVJOB == Job_Lord_Knight) && (Class == Job_Swordman_High) && (JobLevel > 39)) {
mes "[Lord Knight]";
mes "Your time has come!";
mes "The world still needs you.";
@@ -61,7 +61,7 @@ valkyrie,44,39,5 script Lord Knight#Valkyrie 56,{
close;
}
jobchange Job_Lord_Knight;
- set FJOB,0;
+ set ADVJOB,0;
mes "[Lord Knight]";
mes "Congratulations!";
mes "As a Lord Knight,";
diff --git a/npc/jobs/2-1a/Sniper.txt b/npc/jobs/2-1a/Sniper.txt
index f5898ad87..963df71f9 100644
--- a/npc/jobs/2-1a/Sniper.txt
+++ b/npc/jobs/2-1a/Sniper.txt
@@ -16,7 +16,7 @@
//============================================================
valkyrie,44,55,5 script Sniper#Valkyrie 727,{
- if (FJOB == 0 || Upper != 1) {
+ if (ADVJOB == 0 || Upper != 1) {
set .@karma_d,rand(1,10);
if (.@karma_d > 4) {
mes "[Sniper]";
@@ -33,7 +33,7 @@ valkyrie,44,55,5 script Sniper#Valkyrie 727,{
mes "of battling.";
close;
}
- if ((FJOB == Job_Ranger) && (Class == Job_Archer_High) && (JobLevel > 39)) {
+ if ((ADVJOB == Job_Sniper) && (Class == Job_Archer_High) && (JobLevel > 39)) {
mes "[Sniper]";
mes "The world is in";
mes "need of mighty Bowmen";
@@ -59,7 +59,7 @@ valkyrie,44,55,5 script Sniper#Valkyrie 727,{
close;
}
jobchange Job_Sniper;
- set FJOB,0;
+ set ADVJOB,0;
mes "[Sniper]";
mes "Congratulations!";
mes "As a Sniper, I hope";
diff --git a/npc/jobs/2-1a/WhiteSmith.txt b/npc/jobs/2-1a/WhiteSmith.txt
index efc2fca35..3100a043d 100644
--- a/npc/jobs/2-1a/WhiteSmith.txt
+++ b/npc/jobs/2-1a/WhiteSmith.txt
@@ -16,7 +16,7 @@
//============================================================
valkyrie,44,50,5 script MasterSmith#Valkyrie 731,{
- if (FJOB == 0 || Upper != 1) {
+ if (ADVJOB == 0 || Upper != 1) {
set .@karma_d,rand(1,10);
if (.@karma_d > 4) {
mes "[MasterSmith]";
@@ -40,7 +40,7 @@ valkyrie,44,50,5 script MasterSmith#Valkyrie 731,{
mes "crafting...";
close;
}
- if ((FJOB == Job_Mechanic) && (Class == Job_Merchant_High) && (JobLevel > 39)) {
+ if ((ADVJOB == Job_WhiteSmith) && (Class == Job_Merchant_High) && (JobLevel > 39)) {
mes "[MasterSmith]";
mes "The time has come!";
mes "Our world needs brave,";
@@ -65,7 +65,7 @@ valkyrie,44,50,5 script MasterSmith#Valkyrie 731,{
close;
}
jobchange Job_Whitesmith;
- set FJOB,0;
+ set ADVJOB,0;
mes "[MasterSmith]";
mes "Congratulations!";
mes "As a MasterSmith,";
diff --git a/npc/jobs/2-2/alchemist.txt b/npc/jobs/2-2/alchemist.txt
index f4af70e25..1503ce948 100644
--- a/npc/jobs/2-2/alchemist.txt
+++ b/npc/jobs/2-2/alchemist.txt
@@ -2214,7 +2214,6 @@ alde_alche,101,184,4 script Master Alchemist 122,{
} else {
jobchange Job_Alchemist;
}
- set FJOB,Job_Genetic;
mes "[Vincent Carsciallo]";
mes "Henceforth, you are";
mes "now a member of our";
@@ -2248,7 +2247,6 @@ alde_alche,101,184,4 script Master Alchemist 122,{
} else {
jobchange Job_Alchemist;
}
- set FJOB,Job_Genetic;
mes "[Vincent Carsciallo]";
mes "Henceforth, you are";
mes "now a member of our";
diff --git a/npc/jobs/2-2/bard.txt b/npc/jobs/2-2/bard.txt
index 790051cba..4dd34568c 100644
--- a/npc/jobs/2-2/bard.txt
+++ b/npc/jobs/2-2/bard.txt
@@ -853,7 +853,6 @@ comodo,226,123,5 script Roaming Bard 741,{
} else {
jobchange Job_Bard;
}
- set FJOB,Job_Minstrel;
mes "[Lalo]";
mes "Very well! Hope you sing happy enjoyable songs.";
mes "Live like the wind and the clouds!";
@@ -1297,7 +1296,6 @@ comodo,226,123,5 script Roaming Bard 741,{
} else {
jobchange Job_Bard;
}
- set FJOB,Job_Minstrel;
mes "[Lalo]";
mes "Very well! Hope you sing happy enjoyable songs.";
mes "Live like the wind and the clouds!";
@@ -1341,7 +1339,6 @@ comodo,226,123,5 script Roaming Bard 741,{
} else {
jobchange Job_Bard;
}
- set FJOB,Job_Minstrel;
mes "[Lalo]";
mes "Good job. I will make you a job change souvenir with this.";
mes "Wait just a moment.";
@@ -1369,7 +1366,6 @@ comodo,226,123,5 script Roaming Bard 741,{
} else {
jobchange Job_Bard;
}
- set FJOB,Job_Minstrel;
mes "[Lalo]";
mes "Good job. I will make you a job change souvenir with this.";
mes "Wait just a moment.";
@@ -1397,7 +1393,6 @@ comodo,226,123,5 script Roaming Bard 741,{
} else {
jobchange Job_Bard;
}
- set FJOB,Job_Minstrel;
mes "[Lalo]";
mes "Good job. I will make you a job change souvenir with this.";
mes "Wait just a moment.";
@@ -1425,7 +1420,6 @@ comodo,226,123,5 script Roaming Bard 741,{
} else {
jobchange Job_Bard;
}
- set FJOB,Job_Minstrel;
mes "[Lalo]";
mes "Good job. I will make you a job change souvenir with this.";
mes "Wait just a moment.";
@@ -1451,7 +1445,6 @@ comodo,226,123,5 script Roaming Bard 741,{
} else {
jobchange Job_Bard;
}
- set FJOB,Job_Minstrel;
mes "[Lalo]";
mes "Good job. I will make you a job change souvenir with this.";
mes "Wait just a moment.";
@@ -1500,7 +1493,6 @@ comodo,226,123,5 script Roaming Bard 741,{
} else {
jobchange Job_Bard;
}
- set FJOB,Job_Minstrel;
completequest 3004;
mes "[Lalo]";
mes "Wonderful! Sing happy enjoyable songs.";
diff --git a/npc/jobs/2-2/crusader.txt b/npc/jobs/2-2/crusader.txt
index 4c4edc091..880ab7889 100644
--- a/npc/jobs/2-2/crusader.txt
+++ b/npc/jobs/2-2/crusader.txt
@@ -372,7 +372,6 @@ prt_castle,45,169,5 script Senior Crusader 752,{
} else {
jobchange Job_Crusader;
}
- set FJOB,Job_Royal_Guard;
mes "[Michael Halig]";
mes "Behold...!";
mes "You are now a Crusader!";
@@ -409,7 +408,6 @@ prt_castle,45,169,5 script Senior Crusader 752,{
} else {
jobchange Job_Crusader;
}
- set FJOB,Job_Royal_Guard;
mes "[Michael Halig]";
mes "Behold...!";
mes "You are now a Crusader!";
diff --git a/npc/jobs/2-2/dancer.txt b/npc/jobs/2-2/dancer.txt
index 619b26a60..f64fbe00f 100644
--- a/npc/jobs/2-2/dancer.txt
+++ b/npc/jobs/2-2/dancer.txt
@@ -935,7 +935,6 @@ job_duncer,95,93,4 script Bijou 101,{
} else {
jobchange Job_Dancer;
}
- set FJOB,Job_Wanderer;
completequest 7006;
mes "Ooh...!";
mes "You look great";
diff --git a/npc/jobs/2-2/monk.txt b/npc/jobs/2-2/monk.txt
index af2e08edb..08a7c9af8 100644
--- a/npc/jobs/2-2/monk.txt
+++ b/npc/jobs/2-2/monk.txt
@@ -925,7 +925,6 @@ monk_in,99,58,1 script Sensei Moohae 60,{
} else {
jobchange Job_Monk;
}
- set FJOB,Job_Sura;
mes "[Sensei Moohae]";
mes "....You are a monk.";
next;
diff --git a/npc/jobs/2-2/rogue.txt b/npc/jobs/2-2/rogue.txt
index 6006952cb..5310fbb9c 100644
--- a/npc/jobs/2-2/rogue.txt
+++ b/npc/jobs/2-2/rogue.txt
@@ -153,7 +153,6 @@ in_rogue,363,122,4 script Rogue Guildsman 747,{
} else {
jobchange Job_Rogue;
}
- set FJOB,Job_Shadow_Chaser;
changequest 2026,2027;
completequest 2027;
next;
@@ -188,7 +187,6 @@ in_rogue,363,122,4 script Rogue Guildsman 747,{
} else {
jobchange Job_Rogue;
}
- set FJOB,Job_Shadow_Chaser;
changequest 2026,2027;
completequest 2027;
next;
diff --git a/npc/jobs/2-2/sage.txt b/npc/jobs/2-2/sage.txt
index 9aa41ab5e..71718fed2 100644
--- a/npc/jobs/2-2/sage.txt
+++ b/npc/jobs/2-2/sage.txt
@@ -170,7 +170,6 @@ yuno_in02,38,61,5 script Dean of the Academy 743,{
} else {
jobchange Job_Sage;
}
- set FJOB,Job_Sorcerer;
completequest 2052;
mes "[Kayron Grik]";
mes "Congratulations! You have now become a Sage.";
diff --git a/npc/jobs/2-2a/Champion.txt b/npc/jobs/2-2a/Champion.txt
index 1d60bb8f8..1e0df577b 100644
--- a/npc/jobs/2-2a/Champion.txt
+++ b/npc/jobs/2-2a/Champion.txt
@@ -16,7 +16,7 @@
//============================================================
valkyrie,53,42,3 script Champion#Valkyrie 52,{
- if (FJOB == 0 || Upper != 1) {
+ if (ADVJOB == 0 || Upper != 1) {
set .@karma_d,rand(1,10);
if (.@karma_d > 4) {
mes "[Champion]";
@@ -38,7 +38,7 @@ valkyrie,53,42,3 script Champion#Valkyrie 52,{
mes "so much in life...";
close;
}
- if ((FJOB == Job_Sura) && (Class == Job_Acolyte_High) && (JobLevel > 39)) {
+ if ((ADVJOB == Job_Champion) && (Class == Job_Acolyte_High) && (JobLevel > 39)) {
mes "[Champion]";
mes "It's time.";
mes "Time for great heroes";
@@ -64,7 +64,7 @@ valkyrie,53,42,3 script Champion#Valkyrie 52,{
close;
}
jobchange Job_Champion;
- set FJOB,0;
+ set ADVJOB,0;
mes "[Champion]";
mes "Congratulations!";
mes "Live as a Champion,";
diff --git a/npc/jobs/2-2a/Clown.txt b/npc/jobs/2-2a/Clown.txt
index 10b897d6d..b9c0d90b9 100644
--- a/npc/jobs/2-2a/Clown.txt
+++ b/npc/jobs/2-2a/Clown.txt
@@ -18,7 +18,7 @@
//============================================================
valkyrie,53,54,3 script Minstrel#Valkyrie 741,{
- if (FJOB == 0 || Upper != 1) {
+ if (ADVJOB == 0 || Upper != 1) {
set .@karma_d,rand(1,10);
if (.@karma_d > 4) {
mes "[Minstrel]";
@@ -32,7 +32,7 @@ valkyrie,53,54,3 script Minstrel#Valkyrie 741,{
mes "Sha la la la la~";
close;
}
- if ((FJOB == Job_Minstrell) && (Class == Job_Archer_High) && (JobLevel > 39)) {
+ if ((ADVJOB == Job_Clown) &&( Class == Job_Archer_High) && (JobLevel > 39)) {
mes "[Minstrel]";
mes "The dreary world";
mes "of mortals is in need";
@@ -60,7 +60,7 @@ valkyrie,53,54,3 script Minstrel#Valkyrie 741,{
close;
}
jobchange Job_Clown;
- set FJOB,0;
+ set ADVJOB,0;
mes "[Minstrel]";
mes "Congratulations!";
mes "As a Minstrel, your";
diff --git a/npc/jobs/2-2a/Creator.txt b/npc/jobs/2-2a/Creator.txt
index 1353c8ab7..6f9b2ed2d 100644
--- a/npc/jobs/2-2a/Creator.txt
+++ b/npc/jobs/2-2a/Creator.txt
@@ -16,7 +16,7 @@
//============================================================
valkyrie,53,50,3 script Biochemist#Valkyrie 122,{
- if (FJOB == 0 || Upper != 1) {
+ if (ADVJOB == 0 || Upper != 1) {
set .@karma_d,rand(1,10);
if (.@karma_d > 4) {
mes "[Biochemist]";
@@ -40,7 +40,7 @@ valkyrie,53,50,3 script Biochemist#Valkyrie 122,{
mes "a place in Valhalla...";
close;
}
- if ((FJOB == Job_Genetic) && (Class == Job_Merchant_High) && (JobLevel > 39)) {
+ if ((ADVJOB == Job_Creator) && (Class == Job_Merchant_High) && (JobLevel > 39)) {
mes "[Biochemist]";
mes "Yes...";
mes "It's about time.";
@@ -65,7 +65,7 @@ valkyrie,53,50,3 script Biochemist#Valkyrie 122,{
close;
}
jobchange Job_Creator;
- set FJOB,0;
+ set ADVJOB,0;
mes "[Biochemist]";
mes "Congratulations!";
mes "As a Biochemist,";
diff --git a/npc/jobs/2-2a/Gypsy.txt b/npc/jobs/2-2a/Gypsy.txt
index fdd65e526..5ab1730a4 100644
--- a/npc/jobs/2-2a/Gypsy.txt
+++ b/npc/jobs/2-2a/Gypsy.txt
@@ -16,7 +16,7 @@
//============================================================
valkyrie,53,56,3 script Gypsy#Valkyrie 101,{
- if (FJOB == 0 || Upper != 1) {
+ if (ADVJOB == 0 || Upper != 1) {
set .@karma_d,rand(1,10);
if (.@karma_d > 4) {
mes "[Gypsy]";
@@ -33,7 +33,7 @@ valkyrie,53,56,3 script Gypsy#Valkyrie 101,{
mes "For me, it's a way of life~";
close;
}
- if ((FJOB == Job_Wanderer) && (Class == Job_Archer_High) && (JobLevel > 39)) {
+ if ((ADVJOB == Job_Gypsy) && (Class == Job_Archer_High) && (JobLevel > 39)) {
mes "[Gypsy]";
mes "The land of Rune-Midgard";
mes "is in need of talented women";
@@ -60,7 +60,7 @@ valkyrie,53,56,3 script Gypsy#Valkyrie 101,{
close;
}
jobchange Job_Gypsy;
- set FJOB,0;
+ set ADVJOB,0;
mes "[Gypsy]";
mes "Congratulations!";
mes "As a Gypsy, I know";
diff --git a/npc/jobs/2-2a/Paladin.txt b/npc/jobs/2-2a/Paladin.txt
index d7a6906ea..179f4caf1 100644
--- a/npc/jobs/2-2a/Paladin.txt
+++ b/npc/jobs/2-2a/Paladin.txt
@@ -16,7 +16,7 @@
//============================================================
valkyrie,53,39,3 script Paladin#Valkyrie 752,{
- if (FJOB == 0 || Upper != 1) {
+ if (ADVJOB == 0 || Upper != 1) {
set .@karma_d,rand(1,10);
if (.@karma_d > 4) {
mes "[Paladin]";
@@ -33,7 +33,7 @@ valkyrie,53,39,3 script Paladin#Valkyrie 752,{
mes "always brighten our path!";
close;
}
- if ((FJOB == Job_Royal_Guard) && (Class == Job_Swordman_High) && (JobLevel > 39)) {
+ if ((ADVJOB == Job_Paladin) && (Class == Job_Swordman_High) && (JobLevel > 39)) {
mes "[Paladin]";
mes "The Holy War will";
mes "be upon us before we";
@@ -61,7 +61,7 @@ valkyrie,53,39,3 script Paladin#Valkyrie 752,{
close;
}
jobchange Job_Paladin;
- set FJOB,0;
+ set ADVJOB,0;
mes "[Paladin]";
mes "Congratulations.";
mes "As a Paladin, I hope";
diff --git a/npc/jobs/2-2a/Professor.txt b/npc/jobs/2-2a/Professor.txt
index 6b8b0e300..a28d695e6 100644
--- a/npc/jobs/2-2a/Professor.txt
+++ b/npc/jobs/2-2a/Professor.txt
@@ -16,7 +16,7 @@
//============================================================
valkyrie,53,47,3 script Scholar#Valkyrie 743,{
- if (FJOB == 0 || Upper != 1) {
+ if (ADVJOB == 0 || Upper != 1) {
set .@karma_d,rand(1,10);
if (.@karma_d > 4) {
mes "[Scholar]";
@@ -40,7 +40,7 @@ valkyrie,53,47,3 script Scholar#Valkyrie 743,{
mes "process of learning...";
close;
}
- if ((FJOB == Job_Sorcerer) && (Class == Job_Mage_High) && (JobLevel > 39)) {
+ if ((ADVJOB == Job_Professor) && (Class == Job_Mage_High) && (JobLevel > 39)) {
mes "[Scholar]";
mes "Rune-Midgard doesn't";
mes "have enough Scholars to";
@@ -68,7 +68,7 @@ valkyrie,53,47,3 script Scholar#Valkyrie 743,{
close;
}
jobchange Job_Professor;
- set FJOB,0;
+ set ADVJOB,0;
mes "[Scholar]";
mes "Congratulations!";
mes "As a Professor, I hope";
diff --git a/npc/jobs/2-2a/Stalker.txt b/npc/jobs/2-2a/Stalker.txt
index aa94e8501..e6ee9522c 100644
--- a/npc/jobs/2-2a/Stalker.txt
+++ b/npc/jobs/2-2a/Stalker.txt
@@ -16,7 +16,7 @@
//============================================================
valkyrie,53,58,3 script Stalker#Valkyrie 747,{
- if (FJOB == 0 || Upper != 1) {
+ if (ADVJOB == 0 || Upper != 1) {
set .@karma_d,rand(1,10);
if (.@karma_d > 4) {
mes "[Stalker]";
@@ -41,7 +41,7 @@ valkyrie,53,58,3 script Stalker#Valkyrie 747,{
mes "they need me.";
close;
}
- if ((FJOB == Job_Shadow_Chaser) && (Class == Job_Thief_High) && (JobLevel > 39)) {
+ if ((ADVJOB == Job_Stalker) && (Class == Job_Thief_High) && (JobLevel > 39)) {
mes "[Stalker]";
mes "This world needs";
mes "more heroes who are";
@@ -69,7 +69,7 @@ valkyrie,53,58,3 script Stalker#Valkyrie 747,{
close;
}
jobchange Job_Stalker;
- set FJOB,0;
+ set ADVJOB,0;
mes "[Stalker]";
mes "Congratulations!";
mes "As a Stalker, I hope";
diff --git a/npc/jobs/valkyrie.txt b/npc/jobs/valkyrie.txt
index 178acd4bc..0569d9c80 100644
--- a/npc/jobs/valkyrie.txt
+++ b/npc/jobs/valkyrie.txt
@@ -40,7 +40,7 @@
//============================================================
valkyrie,48,86,4 script Valkyrie# 811,{
- if (FJOB != 0 || Upper == 1) {
+ if (ADVJOB != 0 || Upper == 1) {
mes "[Valkyrie]";
mes "Welcome";
mes "to Valhalla,";
@@ -53,7 +53,7 @@ valkyrie,48,86,4 script Valkyrie# 811,{
mes "Honor to the warriors!";
close;
}
- if ((Baselevel > 98) && (JobLevel > 49) && ((Class >= Job_Knight) && (Class <= Job_Crusader2))) {
+ if ((Baselevel > 98) && (JobLevel > 49) && (Class >= Job_Knight) && (Class <= Job_Crusader2)) {
mes "[Valkyrie]";
mes "Welcome";
mes "to Valhalla,";
@@ -84,113 +84,114 @@ valkyrie,48,86,4 script Valkyrie# 811,{
warp "yuno_in02",93,205;
end;
}
- else {
- mes "[Valkyrie]";
- mes "I see you've already";
- mes "released yourself from";
- mes "all worldy attachments,";
- mes ""+ strcharinfo(0) +".";
- next;
- mes "[Valkyrie]";
- mes "That's an admirable attitude for an adventurer such as yourself. Honor comes when you abandon all personal desires for the sake of mankind.";
- next;
- if (SkillPoint) {
- mes "[Valkyrie]";
- mes "Hmm... I sense that you have";
- mes "some lingering attachment or";
- mes "unfinished business in your";
- mes "current life. Take care of that,";
- mes "and bring closure to your present life.";
- close2;
- warp "yuno_in02",93,205;
- end;
- }
- mes "[Valkyrie]";
- mes "Now, let me remove all";
- mes "of your present memories...";
- mes "However, you will be able to";
- mes "remember the most honorable";
- mes "moments of this life.";
- next;
- mes "[Valkyrie]";
- mes "With one,";
- mes "I will ask the";
- mes "goddess Urd to remove";
- mes "all of your present";
- mes "memories.";
- next;
- mes "[Valkyrie]";
- mes "With two,";
- mes "I will ask the";
- mes "goddess Verdandi to keep";
- mes "and record the most honorable moments of your present life.";
- next;
- mes "[Valkyrie]";
- mes "With three,";
- mes "I will ask the";
- mes "goddess Skuld to";
- mes "guide you to your";
- mes "next life.";
- next;
- mes "[Valkyrie]";
- mes "One...";
- callfunc "F_ClearJobVar";
- next;
- mes "[Valkyrie]";
- mes "One...";
- mes "Two......";
- next;
- mes "[Valkyrie]";
- mes "One...";
- mes "Two......";
- mes "And Three.";
- jobchange Job_Novice_High;
- resetlvl(1);
- set MISC_QUEST,MISC_QUEST | 1024; //<-reset Skill Reset Event
- skill 142,1,0;
- skill 143,1,0;
- completequest 1000;
- next;
- mes "[Valkyrie]";
- mes "Congratulations.";
- mes "You are now reborn";
- mes "into a brand new life.";
- mes "Please take these small gifts";
- mes "in preparation for your new adventures.";
- getitem 1202,1; //Knife_
- getitem 2302,1; //Cotton_Shirt_
- next;
- mes "[Valkyrie]";
- mes "I wish that the release the goddess Urd has granted you proves to be a blessing. I hope that the memories Verdandi has recorded will always honor you.";
- next;
+ mes "[Valkyrie]";
+ mes "I see you've already";
+ mes "released yourself from";
+ mes "all worldy attachments,";
+ mes ""+ strcharinfo(0) +".";
+ next;
+ mes "[Valkyrie]";
+ mes "That's an admirable attitude for an adventurer such as yourself. Honor comes when you abandon all personal desires for the sake of mankind.";
+ next;
+ if (SkillPoint) {
mes "[Valkyrie]";
- mes "And I pray that the new life to which the goddess Skuld will guide you will be even more honorable than your last.";
+ mes "Hmm... I sense that you have";
+ mes "some lingering attachment or";
+ mes "unfinished business in your";
+ mes "current life. Take care of that,";
+ mes "and bring closure to your present life.";
close2;
- switch (FJOB) {
- case 4054:
- case 4066:
- warp "izlude",94,103; break;
- case 4057:
- case 4070:
- warp "prontera",273,354; break;
- case 4055:
- case 4067:
- warp "geffen",120,60; break;
- case 4058:
- case 4071:
- warp "alberta",116,57; break;
- case 4056:
- case 4068:
- case 4069:
- warp "payon",69,100; break;
- case 4059:
- case 4072:
- warp "morocc",154,50; break;
- default:
- warp "yuno_in02",93,205; break;
- }
+ warp "yuno_in02",93,205;
end;
}
+ mes "[Valkyrie]";
+ mes "Now, let me remove all";
+ mes "of your present memories...";
+ mes "However, you will be able to";
+ mes "remember the most honorable";
+ mes "moments of this life.";
+ next;
+ mes "[Valkyrie]";
+ mes "With one,";
+ mes "I will ask the";
+ mes "goddess Urd to remove";
+ mes "all of your present";
+ mes "memories.";
+ next;
+ mes "[Valkyrie]";
+ mes "With two,";
+ mes "I will ask the";
+ mes "goddess Verdandi to keep";
+ mes "and record the most honorable moments of your present life.";
+ next;
+ mes "[Valkyrie]";
+ mes "With three,";
+ mes "I will ask the";
+ mes "goddess Skuld to";
+ mes "guide you to your";
+ mes "next life.";
+ next;
+ mes "[Valkyrie]";
+ mes "One...";
+ callfunc "F_ClearJobVar";
+ next;
+ mes "[Valkyrie]";
+ mes "One...";
+ mes "Two......";
+ next;
+ mes "[Valkyrie]";
+ mes "One...";
+ mes "Two......";
+ mes "And Three.";
+ set ADVJOB, Class+Job_Novice_High; //memo the target 3rd Job ID
+ if(ADVJOB == Job_Lord_Knight2) set ADVJOB,Job_Lord_Knight;
+ if(ADVJOB == Job_Paladin2) set ADVJOB,Job_Paladin;
+ jobchange Job_Novice_High;
+ resetlvl(1);
+ set MISC_QUEST,MISC_QUEST | 1024; //<-reset Skill Reset Event
+ skill 142,1,0;
+ skill 143,1,0;
+ completequest 1000;
+ next;
+ mes "[Valkyrie]";
+ mes "Congratulations.";
+ mes "You are now reborn";
+ mes "into a brand new life.";
+ mes "Please take these small gifts";
+ mes "in preparation for your new adventures.";
+ getitem 1202,1; //Knife_
+ getitem 2302,1; //Cotton_Shirt_
+ next;
+ mes "[Valkyrie]";
+ mes "I wish that the release the goddess Urd has granted you proves to be a blessing. I hope that the memories Verdandi has recorded will always honor you.";
+ next;
+ mes "[Valkyrie]";
+ mes "And I pray that the new life to which the goddess Skuld will guide you will be even more honorable than your last.";
+ close2;
+ switch (ADVJOB) {
+ case 4008:
+ case 4015:
+ warp "izlude",94,103; break;
+ case 4009:
+ case 4016:
+ warp "prontera",273,354; break;
+ case 4010:
+ case 4017:
+ warp "geffen",120,60; break;
+ case 4011:
+ case 4019:
+ warp "alberta",116,57; break;
+ case 4012:
+ case 4020:
+ case 4021:
+ warp "payon",69,100; break;
+ case 4013:
+ case 4018:
+ warp "morocc",154,50; break;
+ default:
+ warp "yuno_in02",93,205; break;
+ }
+ end;
}
mes "[Valkyrie]";
mes "Welcome";
@@ -205,7 +206,7 @@ valkyrie,48,86,4 script Valkyrie# 811,{
}
yuno_in02,88,164,5 script Metheus Sylphe#Library 742,{
- if ((Baselevel > 98) && (JobLevel > 49) && ((Class >= Job_Knight) && (Class <= Job_Crusader2))) {
+ if ((Baselevel > 98) && (JobLevel > 49) && (Class >= Job_Knight) && (Class <= Job_Crusader2)) {
if (valkyrie_Q == 0) {
mes "[Metheus Sylphe]";
mes "Welcome to the Library of the Schweicherbil Magic Academy.";
@@ -252,7 +253,7 @@ yuno_in02,88,164,5 script Metheus Sylphe#Library 742,{
}
yuno_in02,93,207,1 script Book of Ymir 111,{
- if (FJOB != 0 || Upper == 1) {
+ if (ADVJOB != 0 || Upper == 1) {
mes "[The Book of Ymir]";
mes "...The entrance to the Hall of Honor is open to anyone who has moved forward into their next life. It is there to help heroes decide what they want to do, and can lead them to anywhere in this world.";
next;
@@ -270,7 +271,7 @@ yuno_in02,93,207,1 script Book of Ymir 111,{
warp "valkyrie",48,8;
end;
}
- if ((Baselevel > 98) && (JobLevel > 49) && ((Class >= Job_Knight) && (Class <= Job_Crusader2))) {
+ if ((Baselevel > 98) && (JobLevel > 49) && (Class >= Job_Knight) && (Class <= Job_Crusader2)) {
if (valkyrie_Q != 0) {
mes "[The Book of Ymir]";
mes "...Therefore, ancient heroes were";
@@ -338,7 +339,7 @@ yuno_in02,93,207,1 script Book of Ymir 111,{
}
yuno_in05,49,43,1 script Heart of Ymir 111,{
- if ((Baselevel > 98) && (JobLevel > 49) && ((Class >= Job_Knight) && (Class <= Job_Crusader2))) {
+ if ((Baselevel > 98) && (JobLevel > 49) && (Class >= Job_Knight) && (Class <= Job_Crusader2)) {
if (valkyrie_Q == 2) warp "valkyrie",48,8;
}
end;