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.txt44
1 files changed, 19 insertions, 25 deletions
diff --git a/npc/jobs/valkyrie.txt b/npc/jobs/valkyrie.txt
index c2357d0bb..8b44c6d34 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,17 +26,17 @@
//= 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,{
if (ADVJOB != 0 || Upper == 1) {
@@ -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:
@@ -215,7 +211,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.";
@@ -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;
+ set Zeny, Zeny-1285000;
set valkyrie_Q,1;
mes "[Metheus Sylphe]";
mes "Thank you, your donation will be used for a good cause. You may";
@@ -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";
@@ -348,7 +344,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;
@@ -382,10 +378,8 @@ 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;
@@ -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