summaryrefslogtreecommitdiff
path: root/npc/jobs/valkyrie.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/jobs/valkyrie.txt')
-rw-r--r--npc/jobs/valkyrie.txt56
1 files changed, 25 insertions, 31 deletions
diff --git a/npc/jobs/valkyrie.txt b/npc/jobs/valkyrie.txt
index c2357d0bb..0aa4c4e3f 100644
--- a/npc/jobs/valkyrie.txt
+++ b/npc/jobs/valkyrie.txt
@@ -1,17 +1,15 @@
-//===== rAthena Script =======================================
+//===== Hercules Script ======================================
//= Valkyrie Realm
//===== By: ==================================================
//= Nana, fixes by Poki
//= finished, optimized and tested by Lupus
//= L0ne_W0lf
-//===== Current Version: =====================================
+//===== Current Version: =====================================
//= 3.1
-//===== Compatible With: =====================================
-//= rAthena SVN
-//===== Description: =========================================
+//===== Description: =========================================
//= [Official Conversion]
//= Quest to become a Tranceded Class. (Advanced/Rebirthed)
-//===== Additional Comments: =================================
+//===== Additional Comments: =================================
//= 1.1 Made all into functions,additional checks,quest skills,now Valhallana can return you back. She also makes reborn process only when you got no Zeny/items (as in kRO) [Lupus]
//= 1.2 now alternative classes can use their 1-1 job NPC to become Advanced 1st Class [Lupus]
//= 1.4 added Baby Class support [Lupus]
@@ -28,19 +26,19 @@
//= 2.5 Fixed a stuck bug [Lupus]
//= 2.6a Adding proper dialogues [Lupus]
//= 2.7 Rescripted to Aegis 10.3 standards. [L0ne_W0;f]
-//= Removed all functions as they are no longer required.
-//= Correct job level requirements for 1-1 -> 2-x.
+//= Removed all functions as they are no longer required.
+//= Correct job level requirements for 1-1 -> 2-x.
//= 2.7a Added Function "F_BlockHigh" back in until rewriteing of the 2-x [L0ne_W0lf]
-//= scripts are comepleted.
+//= scripts are comepleted.
//= 2.7b Removed function "F_BlockHigh" as it's no longer used. [L0ne_W0lf]
//= 2.8 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf]
//= 2.9 Corrected Valkyrie case spicifying where to warp after rebirthing. [L0ne_W0lf]
//= 2.9b Fixed Verdandi typo, fixed resetting vars [Lupus]
//= 3.0 Added quest log commands. [L0ne_W0lf]
-//= 3.1 Added Izlude Renewal coordinates. [L0ne_W0lf]
-//============================================================
+//= 3.1 Added Izlude Renewal coordinates.
+//============================================================
-valkyrie,48,86,4 script Valkyrie# 811,{
+valkyrie,48,86,4 script Valkyrie# 4_F_VALKYRIE,{
if (ADVJOB != 0 || Upper == 1) {
mes "[Valkyrie]";
mes "Welcome";
@@ -54,7 +52,7 @@ valkyrie,48,86,4 script Valkyrie# 811,{
mes "Honor to the warriors!";
close;
}
- else if (Baselevel > 98 && JobLevel > 49 && Class >= Job_Knight && Class <= Job_Crusader2) {
+ else if (BaseLevel > 98 && JobLevel > 49 && Class >= Job_Knight && Class <= Job_Crusader2) {
mes "[Valkyrie]";
mes "Welcome";
mes "to Valhalla,";
@@ -173,10 +171,8 @@ valkyrie,48,86,4 script Valkyrie# 811,{
switch (ADVJOB) {
case 4008:
case 4015:
- if (checkre(0))
- warp "izlude",129,97;
- else
- warp "izlude",94,103;
+ if (checkre(0)) warp "izlude",129,97;
+ else warp "izlude",94,103;
break;
case 4009:
case 4016:
@@ -214,8 +210,8 @@ 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) {
+yuno_in02,88,164,5 script Metheus Sylphe#Library 2_M_SAGE_B,{
+ 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.";
@@ -235,7 +231,7 @@ yuno_in02,88,164,5 script Metheus Sylphe#Library 742,{
next;
if (select("Donate.:Cancel.") == 1) {
if (Zeny >= 1285000) {
- set zeny,zeny-1285000;
+ Zeny -= 1285000;
set valkyrie_Q,1;
mes "[Metheus Sylphe]";
mes "Thank you, your donation will be used for a good cause. You may";
@@ -261,7 +257,7 @@ yuno_in02,88,164,5 script Metheus Sylphe#Library 742,{
close;
}
-yuno_in02,93,207,1 script Book of Ymir 111,{
+yuno_in02,93,207,1 script Book of Ymir HIDDEN_NPC,{
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.";
@@ -280,7 +276,7 @@ yuno_in02,93,207,1 script Book of Ymir 111,{
warp "valkyrie",48,8;
end;
}
- else if (Baselevel > 98 && JobLevel > 49 && Class >= Job_Knight && Class <= Job_Crusader2) {
+ else 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";
@@ -347,14 +343,14 @@ yuno_in02,93,207,1 script Book of Ymir 111,{
close;
}
-yuno_in05,49,43,1 script Heart of Ymir 111,{
- if (Baselevel > 98 && JobLevel > 49 && Class >= Job_Knight && Class <= Job_Crusader2) {
+yuno_in05,49,43,1 script Heart of Ymir HIDDEN_NPC,{
+ if (BaseLevel > 98 && JobLevel > 49 && Class >= Job_Knight && Class <= Job_Crusader2) {
if (valkyrie_Q == 2) warp "valkyrie",48,8;
}
end;
}
-valkyrie,44,33,5 script Teleporter 124,{
+valkyrie,44,33,5 script Teleporter 4_F_TELEPORTER,{
if (Upper != 1) {
set .@karma_d,rand(1,10);
if (.@karma_d > 4) {
@@ -382,16 +378,14 @@ valkyrie,44,33,5 script Teleporter 124,{
case 4: callsub S_Warpchar,"geffen",120,39;
case 5: callsub S_Warpchar,"alberta",117,56;
case 6:
- if (checkre(0))
- callsub S_Warpchar,"izlude",129,97;
- else
- callsub S_Warpchar,"izlude",94,103;
+ if (checkre(0)) callsub S_Warpchar,"izlude",129,97;
+ else callsub S_Warpchar,"izlude",94,103;
case 7: callsub S_Warpchar,"aldebaran",91,105;
case 8: callsub S_Warpchar,"comodo",209,143;
case 9: callsub S_Warpchar,"yuno",328,101;
}
}
-S_WarpChar:
+S_Warpchar:
mes "[Teleporter]";
mes "Have a nice trip.";
close2;
@@ -401,7 +395,7 @@ S_WarpChar:
}
// Warps
-//============================================================
+//============================================================
valkyrie,48,73,0 warp valk01#1 1,1,valkyrie,48,64
valkyrie,48,66,0 warp valk01#2 1,1,valkyrie,48,75