summaryrefslogtreecommitdiff
path: root/npc/re/jobs/3-1/archbishop.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/re/jobs/3-1/archbishop.txt')
-rw-r--r--npc/re/jobs/3-1/archbishop.txt493
1 files changed, 256 insertions, 237 deletions
diff --git a/npc/re/jobs/3-1/archbishop.txt b/npc/re/jobs/3-1/archbishop.txt
index c71e2abd3..26782eb94 100644
--- a/npc/re/jobs/3-1/archbishop.txt
+++ b/npc/re/jobs/3-1/archbishop.txt
@@ -1,10 +1,10 @@
-//===== Hercules Script =======================================
+//===== Hercules Script ======================================
//= Arch Bishop Job Quest
//===== By: ==================================================
//= L0ne_W0lf
//= Credits: Gepard
//===== Current Version: =====================================
-//= 1.7a
+//= 1.9
//===== Description: =========================================
//= [Official Conversion]
//= Job change Quest from Priest / High Priest -> Arch Bishop.
@@ -20,9 +20,11 @@
//= 1.6 Fixed bugs where players unable to continue the quest. [Joseph]
//= 1.7 Updated script, many bugs fixed. [Euphy]
//= 1.7a Moved warps to separate file. [Euphy]
+//= 1.8 Bug fixes and corrections. [Euphy]
+//= 1.9 Added GM management function. [Euphy]
//============================================================
-prt_church,103,88,3 script Praying Minister#arch 60,{
+prt_church,103,88,3 script Praying Minister#arch 1_M_PASTOR,{
if (BaseJob != Job_Priest) {
if (Class == Job_Arch_Bishop || Class == Job_Arch_Bishop_T || Class == Job_Baby_Bishop) {
mes "[Praying Minister]";
@@ -91,7 +93,7 @@ prt_church,103,88,3 script Praying Minister#arch 60,{
mes "But, I recommend this.";
next;
mes "[Praying Minister]";
- mes "Have you ever heard of a^3131FFHoly Pilgrimage^000000?";
+ mes "Have you ever heard of a ^3131FFHoly Pilgrimage^000000?";
mes "A Holy Pilgrimage means going to a holy place to pray to the God Odin for protection and grace.";
next;
mes "[Praying Minister]";
@@ -160,13 +162,13 @@ prt_church,103,88,3 script Praying Minister#arch 60,{
close;
}
-umbala,137,227,5 script Utan Boy#arch 787,{
+umbala,137,227,5 script Utan Boy#arch 4_M_UMKID,{
mes "[Utan Boy]";
mes "........";
close;
}
-umbala,139,227,3 script Priest#arch 60,{
+umbala,139,227,3 script Priest#arch 1_M_PASTOR,{
if (job_arch == 0) {
mes "[Priest]";
mes "Un...ba... Unba?";
@@ -276,7 +278,7 @@ umbala,139,227,3 script Priest#arch 60,{
mes "And in Asgard, the world of the Gods, there is the Word spring.";
next;
mes "[Priest Dayan]";
- mes "Mimir'’s spring wells with intelligence, myth says that if Odin lets you have his eye that you will gain all of the knowledge within that spring.";
+ mes "Mimir's spring wells with intelligence, myth says that if Odin lets you have his eye that you will gain all of the knowledge within that spring.";
next;
mes "[Priest Dayan]";
mes Sex?"Brother.":"Sister.";
@@ -412,7 +414,7 @@ umbala,139,227,3 script Priest#arch 60,{
close;
}
-yggdrasil01,220,47,0 script #arch_pilgrimage 139,5,5,{
+yggdrasil01,220,47,0 script #arch_pilgrimage HIDDEN_WARP_NPC,5,5,{
OnTouch:
if (job_arch == 2) {
mes "[" + strcharinfo(0) + "]";
@@ -571,7 +573,7 @@ OnTouch:
end;
}
-hu_in01,205,204,7 script Praying Nun#benew 79,{
+hu_in01,205,204,7 script Praying Nun#benew 1_F_PRIEST,{
if (job_arch == 4) {
mes "- There is a nun closing her eyes as she murmurs something which sounds like a prayer. -";
next;
@@ -720,14 +722,14 @@ hu_in01,205,204,7 script Praying Nun#benew 79,{
close;
}
-odin_tem02,282,263,0 script #find_val 139,3,3,{
+odin_tem02,282,263,0 script #find_val HIDDEN_WARP_NPC,3,3,{
OnTouch:
if ((job_arch > 4) && (job_arch < 100))
hideoffnpc "Valkyrie Illusion#arch";
end;
}
-odin_tem02,281,275,3 script Valkyrie Illusion#arch 403,{
+odin_tem02,281,275,3 script Valkyrie Illusion#arch 4_F_VALKYRIE2,{
if ((job_arch > 4) && (job_arch < 100)) {
mes "You can see Valkyrie who has a despairing face.";
next;
@@ -752,7 +754,7 @@ OnInit:
end;
}
-job3_arch01,29,34,3 script Valkyrie#arch 403,{
+job3_arch01,29,34,3 script Valkyrie#arch 4_F_VALKYRIE2,{
if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 2000) {
mes "- Wait a Sec !! -";
mes "- You are carrying too many items, -";
@@ -774,7 +776,10 @@ job3_arch01,29,34,3 script Valkyrie#arch 403,{
mes "You can't progress without using all your skill points. Please use all of your skill points before progressing~";
close;
}
- if (Class != Job_Arch_Bishop || Class != Job_Arch_Bishop_T || Class != Job_Baby_Bishop) {
+ if (Class != Job_Priest && Class != Job_High_Priest && Class != Job_Baby_Priest) {
+ warp "odin_tem02",282,263;
+ end;
+ } else if (Class != Job_Arch_Bishop && Class != Job_Arch_Bishop_T && Class != Job_Baby_Bishop) {
if (job_arch < 5) {
warp "odin_tem02",282,263;
end;
@@ -951,7 +956,7 @@ job3_arch01,29,34,3 script Valkyrie#arch 403,{
mes "OK. now I'm going to send you there.";
mes "^FF0000When you go there, you have to summon my impersonation with the scroll^000000.";
mes "An impersonation will help when you move or attack as you want through ^FF0000ALT+click^000000.";
- mes "But you have to be careful if an imeprsonation falls down.";
+ mes "But you have to be careful if an impersonation falls down.";
close2;
nude;
if (countitem(2798))
@@ -970,17 +975,17 @@ job3_arch01,29,34,3 script Valkyrie#arch 403,{
end;
OnBc:
set $@archbs,0;
- mapannounce "job3_arch01","Valkyrie: I think someone fell down in the shrine. I can hear the devil's unpleasant laugh.",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
+ mapannounce "job3_arch01","Valkyrie: I think someone fell down in the shrine. I can hear the devil's unpleasant laugh.",bc_map,"0xFFCE00";
hideoffnpc "Valkyrie#arch";
end;
}
-job3_arch02,119,49,0 script #arch_1_start 139,6,6,{
+job3_arch02,119,49,0 script #arch_1_start HIDDEN_WARP_NPC,6,6,{
OnTouch:
if (countitem(12381) == 0)
getitem 12381,1; //ValkyrieA_Scroll
- mapannounce "job3_arch02","Whispering of an impersonation: I feel heavy! Set me free!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
- hideonnpc "#arch_1_start";
+ mapannounce "job3_arch02","Whispering of an impersonation: I feel heavy! Set me free!",bc_map,"0xFFCE00";
+ disablenpc "#arch_1_start";
end;
}
@@ -988,49 +993,46 @@ OnTouch:
OnTouch:
if (countitem(12381)) {
delitem 12381,1; //ValkyrieA_Scroll
- mapannounce "job3_arch02","Whispering of an impersonation: You can't do anything by yourself! Let's go back!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
- mapwarp "job3_arch02","job3_arch01",29,29;
- }
- if (getmercinfo(1) == 2037) {
+ // fall through
+ } else if (getmercinfo(1) == 2037) {
+ if (strnpcinfo(0) == "#arch_1_10")
+ viewpoint 1,113,327,1,0xFF9900;
set .@randht, rand(1,10);
if (.@randht < 8)
- mapannounce "job3_arch02","Whispering of an impersonation: I can feel the devil's spirits! Be careful!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
+ mapannounce "job3_arch02","Whispering of an impersonation: I can feel the devil's spirits! Be careful!",bc_map,"0xFFCE00";
else if ((.@randht == 8) || (.@randht == 9))
- mapannounce "job3_arch02","Whispering of an impersonation: They are coming!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
+ mapannounce "job3_arch02","Whispering of an impersonation: They are coming!",bc_map,"0xFFCE00";
end;
}
- mapannounce "job3_arch02","Whispering of an impersonation: You can't do anything by yourself! Let's go back!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
+ mapannounce "job3_arch02","Whispering of an impersonation: You can't do anything by yourself! Let's go back!",bc_map,"0xFFCE00";
mapwarp "job3_arch02","job3_arch01",29,29;
end;
}
-job3_arch02,112,73,0 duplicate(archbjcq) #arch_1_01 139,5,5
-job3_arch02,94,123,0 duplicate(archbjcq) #arch_1_02 139,5,5
-job3_arch02,93,173,0 duplicate(archbjcq) #arch_1_03 139,5,5
-job3_arch02,114,186,0 duplicate(archbjcq) #arch_1_04 139,5,5
-job3_arch02,134,201,0 duplicate(archbjcq) #arch_1_05 139,5,5
-job3_arch02,154,211,0 duplicate(archbjcq) #arch_1_06 139,5,5
-job3_arch02,175,227,0 duplicate(archbjcq) #arch_1_07 139,5,5
-job3_arch02,201,240,0 duplicate(archbjcq) #arch_1_08 139,5,5
-job3_arch02,223,252,0 duplicate(archbjcq) #arch_1_09 139,5,5
-job3_arch02,255,268,0 duplicate(archbjcq) #arch_1_10 139,5,5
-job3_arch02,269,302,0 duplicate(archbjcq) #arch_1_11 139,5,5
-job3_arch02,245,289,0 duplicate(archbjcq) #arch_1_12 139,5,5
+job3_arch02,112,73,0 duplicate(archbjcq) #arch_1_01 HIDDEN_WARP_NPC,5,5
+job3_arch02,94,123,0 duplicate(archbjcq) #arch_1_02 HIDDEN_WARP_NPC,5,5
+job3_arch02,93,173,0 duplicate(archbjcq) #arch_1_03 HIDDEN_WARP_NPC,5,5
+job3_arch02,114,186,0 duplicate(archbjcq) #arch_1_04 HIDDEN_WARP_NPC,5,5
+job3_arch02,134,201,0 duplicate(archbjcq) #arch_1_05 HIDDEN_WARP_NPC,5,5
+job3_arch02,154,211,0 duplicate(archbjcq) #arch_1_06 HIDDEN_WARP_NPC,5,5
+job3_arch02,175,227,0 duplicate(archbjcq) #arch_1_07 HIDDEN_WARP_NPC,5,5
+job3_arch02,201,240,0 duplicate(archbjcq) #arch_1_08 HIDDEN_WARP_NPC,5,5
+job3_arch02,223,252,0 duplicate(archbjcq) #arch_1_09 HIDDEN_WARP_NPC,5,5
+job3_arch02,255,268,0 duplicate(archbjcq) #arch_1_10 HIDDEN_WARP_NPC,5,5
+job3_arch02,269,302,0 duplicate(archbjcq) #arch_1_11 HIDDEN_WARP_NPC,5,5
+job3_arch02,245,289,0 duplicate(archbjcq) #arch_1_12 HIDDEN_WARP_NPC,5,5
-job3_arch02,203,286,0 script #arch_1_boss 139,5,5,{
+job3_arch02,203,286,0 script #arch_1_boss HIDDEN_WARP_NPC,5,5,{
OnTouch:
if (countitem(12381)) {
delitem 12381,1; //ValkyrieA_Scroll
- mapannounce "job3_arch02","Whispering of an impersonation: You can't do anything by yourself! Let's go back!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
- mapwarp "job3_arch02","job3_arch01",29,29;
- end;
- }
- if (getmercinfo(1) == 2037) {
- mapannounce "job3_arch02","Valkyrie's Nightmare: An incompetent illusion of Valkyrie came here with the assistance of humans. You wanna have that nightmare?",bc_map,"0xFF0000"; //FW_NORMAL 12 0 0
+ // fall through
+ } else if (getmercinfo(1) == 2037) {
+ mapannounce "job3_arch02","Valkyrie's Nightmare: An incompetent illusion of Valkyrie came here with the assistance of humans. You wanna have that nightmare?",bc_map,"0xFF0000";
donpcevent "mob#arch_1::OnKill";
- } else {
- mapannounce "job3_arch02","Whispering of an impersonation: You can't do anything by yourself! Let's go back!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
- mapwarp "job3_arch02","job3_arch01",29,29;
+ end;
}
+ mapannounce "job3_arch02","Whispering of an impersonation: You can't do anything by yourself! Let's go back!",bc_map,"0xFFCE00";
+ mapwarp "job3_arch02","job3_arch01",29,29;
end;
}
@@ -1049,7 +1051,7 @@ OnRed:
end;
}
-job3_arch02,390,389,1 script #arch_val01 844,{
+job3_arch02,390,389,1 script #arch_val01 CLEAR_NPC,{
end;
OnEnable:
areamonster "job3_arch02",111,325,115,329,"Valkyrie's Nightmare",2036,1,"#arch_val01::OnMyMobDead";
@@ -1057,22 +1059,22 @@ OnEnable:
OnMyMobDead:
if (mobcount("job3_arch02","#arch_val01::OnMyMobDead") < 1) {
donpcevent "#arch_redcell::OnGreen";
- mapannounce "job3_arch02","Valkyrie's Nightmare: Your win is only a false image! hahahaha!",bc_map,"0xFF0000"; //FW_NORMAL 12 0 0
+ mapannounce "job3_arch02","Valkyrie's Nightmare: Your win is only a false image! hahahaha!",bc_map,"0xFF0000";
hideoffnpc "Valkyrie#arch_01";
- hideonnpc "#arch_1_start";
- hideonnpc "#arch_1_01";
- hideonnpc "#arch_1_02";
- hideonnpc "#arch_1_03";
- hideonnpc "#arch_1_04";
- hideonnpc "#arch_1_05";
- hideonnpc "#arch_1_06";
- hideonnpc "#arch_1_07";
- hideonnpc "#arch_1_08";
- hideonnpc "#arch_1_09";
- hideonnpc "#arch_1_10";
- hideonnpc "#arch_1_11";
- hideonnpc "#arch_1_12";
- hideonnpc "#arch_1_boss";
+ disablenpc "#arch_1_start";
+ disablenpc "#arch_1_01";
+ disablenpc "#arch_1_02";
+ disablenpc "#arch_1_03";
+ disablenpc "#arch_1_04";
+ disablenpc "#arch_1_05";
+ disablenpc "#arch_1_06";
+ disablenpc "#arch_1_07";
+ disablenpc "#arch_1_08";
+ disablenpc "#arch_1_09";
+ disablenpc "#arch_1_10";
+ disablenpc "#arch_1_11";
+ disablenpc "#arch_1_12";
+ disablenpc "#arch_1_boss";
}
end;
OnKill:
@@ -1080,16 +1082,16 @@ OnKill:
end;
}
-job3_arch02,390,387,1 script #arch_val02 844,{
+job3_arch02,390,387,1 script #arch_val02 CLEAR_NPC,{
end;
OnEnable:
areamonster "job3_arch02",242,44,246,48,"Valkyrie's Nightmare",2036,1,"#arch_val02::OnMyMobDead";
end;
OnMyMobDead:
if (mobcount("job3_arch02","#arch_val02::OnMyMobDead") < 1) {
- mapannounce "job3_arch02","Valkyrie's Nightmare: You are so childish. I invite you to a devil's party. I'll make sure you have a fun!",bc_map,"0xFF0000"; //FW_NORMAL 12 0 0
+ mapannounce "job3_arch02","Valkyrie's Nightmare: You are so childish. I invite you to a devil's party. I'll make sure you have a fun!",bc_map,"0xFF0000";
hideoffnpc "Valkyrie#arch_02";
- hideonnpc "#arch_2_boss";
+ disablenpc "#arch_2_boss";
viewpoint 1,279,234,1,0xFFFF99;
}
end;
@@ -1098,7 +1100,7 @@ OnKill:
end;
}
-job3_arch02,113,327,5 script Valkyrie#arch_01 403,{
+job3_arch02,113,327,5 script Valkyrie#arch_01 4_F_VALKYRIE2,{
if (getmercinfo(1)) {
mes "[Valkyrie]";
mes "If you want to talk with me, you have to ^3131FFcancel all contracts^000000 with any mercenaries you have.";
@@ -1133,7 +1135,7 @@ job3_arch02,113,327,5 script Valkyrie#arch_01 403,{
end;
}
-job3_arch02,244,46,5 script Valkyrie#arch_02 403,{
+job3_arch02,244,46,5 script Valkyrie#arch_02 4_F_VALKYRIE2,{
mes "[Valkyrie Anguhilde]";
mes "Did you find the rest of the pieces?";
next;
@@ -1170,7 +1172,7 @@ job3_arch02,244,46,5 script Valkyrie#arch_02 403,{
end;
}
-job3_arch02,279,234,0 script #arch_end 139,7,7,{
+job3_arch02,279,234,0 script #arch_end HIDDEN_WARP_NPC,7,7,{
end;
OnTouch:
donpcevent "#arch_3_01::OnKill";
@@ -1298,18 +1300,18 @@ OnTouch:
jobchange roclass(eaclass()|EAJL_THIRD);
close;
OnInit:
- hideonnpc "#arch_end";
+ disablenpc "#arch_end";
end;
}
-job3_arch02,281,232,1 script Valkyrie Anguhilde#end 403,{
+job3_arch02,281,232,1 script Valkyrie Anguhilde#end 4_F_VALKYRIE2,{
end;
OnInit:
hideonnpc "Valkyrie Anguhilde#end";
end;
}
-job3_arch02,273,235,5 script Valkyrie of the heavens 811,{
+job3_arch02,273,235,5 script Valkyrie of the heavens 4_F_VALKYRIE,{
if (job_arch == 100) {
mes "[Valkyrie of the heavens]";
mes "Now, go back to your world.";
@@ -1328,11 +1330,11 @@ OnInit:
end;
}
-job3_arch02,132,323,0 script #arch_2_01 139,5,5,{
+job3_arch02,132,323,0 script #arch_2_01 HIDDEN_WARP_NPC,5,5,{
end;
OnTouch:
if (countitem(12382))
- mapannounce "job3_arch02","Whispering of Valkyrie: I see a new ancient scroll!",bc_map; //FW_NORMAL 12 0 0
+ mapannounce "job3_arch02","Whispering of Valkyrie: I see a new ancient scroll!",bc_map;
end;
}
@@ -1340,189 +1342,197 @@ OnTouch:
OnTouch:
if (countitem(12382)) {
delitem 12382,1; //ValkyrieB_Scroll
- mapannounce "job3_arch02","Whispering of an impersonation: You can't do anything by yourself! Let's go back!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
- mapwarp "job3_arch02","job3_arch01",29,29;
- end;
- }
- if (getmercinfo(1) == 2038) {
+ // fall through
+ } else if (getmercinfo(1) == 2038) {
set .@randht, rand(1,10);
if (.@randht < 8)
- mapannounce "job3_arch02","Whispering of an impersonation: I can feel the devil's spirits. Can you hear? The sound of gathering in crowds.",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
+ mapannounce "job3_arch02","Whispering of an impersonation: I can feel the devil's spirits. Can you hear? The sound of gathering in crowds.",bc_map,"0xFFCE00";
else if ((.@randht == 8) || (.@randht == 9))
- mapannounce "job3_arch02","Whispering of an impersonation: Combat readiness!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
+ mapannounce "job3_arch02","Whispering of an impersonation: Combat readiness!",bc_map,"0xFFCE00";
else
- mapannounce "job3_arch02","Whispering of an impersonation: I can't leave you. Die!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
+ mapannounce "job3_arch02","Whispering of an impersonation: I can't leave you. Die!",bc_map,"0xFFCE00";
end;
}
- mapannounce "job3_arch02","Whispering of an impersonation: You can't do anything by yourself! Let's go back!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
+ mapannounce "job3_arch02","Whispering of an impersonation: You can't do anything by yourself! Let's go back!",bc_map,"0xFFCE00";
mapwarp "job3_arch02","job3_arch01",29,29;
end;
}
-job3_arch02,167,313,0 duplicate(archbjcq2) #arch_2_02 139,5,5
-job3_arch02,127,304,0 duplicate(archbjcq2) #arch_2_03 139,5,5
-job3_arch02,207,279,0 duplicate(archbjcq2) #arch_2_04 139,5,5
-job3_arch02,239,281,0 duplicate(archbjcq2) #arch_2_05 139,5,5
-job3_arch02,269,303,0 duplicate(archbjcq2) #arch_2_06 139,5,5
-job3_arch02,288,283,0 duplicate(archbjcq2) #arch_2_07 139,5,5
-job3_arch02,278,234,0 duplicate(archbjcq2) #arch_2_08 139,5,5
-job3_arch02,234,179,0 duplicate(archbjcq2) #arch_2_09 139,5,5
-job3_arch02,227,169,0 duplicate(archbjcq2) #arch_2_10 139,5,5
-job3_arch02,190,146,0 duplicate(archbjcq2) #arch_2_11 139,5,5
+job3_arch02,167,313,0 duplicate(archbjcq2) #arch_2_02 HIDDEN_WARP_NPC,5,5
+job3_arch02,127,304,0 duplicate(archbjcq2) #arch_2_03 HIDDEN_WARP_NPC,5,5
+job3_arch02,207,279,0 duplicate(archbjcq2) #arch_2_04 HIDDEN_WARP_NPC,5,5
+job3_arch02,239,281,0 duplicate(archbjcq2) #arch_2_05 HIDDEN_WARP_NPC,5,5
+job3_arch02,269,303,0 duplicate(archbjcq2) #arch_2_06 HIDDEN_WARP_NPC,5,5
+job3_arch02,288,283,0 duplicate(archbjcq2) #arch_2_07 HIDDEN_WARP_NPC,5,5
+job3_arch02,278,234,0 duplicate(archbjcq2) #arch_2_08 HIDDEN_WARP_NPC,5,5
+job3_arch02,234,179,0 duplicate(archbjcq2) #arch_2_09 HIDDEN_WARP_NPC,5,5
+job3_arch02,227,169,0 duplicate(archbjcq2) #arch_2_10 HIDDEN_WARP_NPC,5,5
+job3_arch02,190,146,0 duplicate(archbjcq2) #arch_2_11 HIDDEN_WARP_NPC,5,5
-job3_arch02,252,267,0 script #arch_2_12 139,5,5,{
+/*
+// Not in official script.
+job3_arch02,252,267,0 script #arch_2_12 HIDDEN_WARP_NPC,5,5,{
OnTouch:
- mapannounce "job3_arch02","Whispering of an impersonation: It's a crossroad. Let's go to the left side. I have to find my pipe.",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
+ mapannounce "job3_arch02","Whispering of an impersonation: It's a crossroad. Let's go to the left side. I have to find my pipe.",bc_map,"0xFFCE00";
end;
}
-job3_arch02,250,290,0 script #arch_2_13 139,5,5,{
+job3_arch02,250,290,0 script #arch_2_13 HIDDEN_WARP_NPC,5,5,{
OnTouch:
- mapannounce "job3_arch02","Whispering of an impersonation: I can see a ruined shrine. Take a rest in there.",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
+ mapannounce "job3_arch02","Whispering of an impersonation: I can see a ruined shrine. Take a rest in there.",bc_map,"0xFFCE00";
end;
}
+*/
-job3_arch02,206,113,0 script #arch_2_boss 139,5,5,{
+job3_arch02,206,113,0 script #arch_2_boss HIDDEN_WARP_NPC,5,5,{
OnTouch:
if (countitem(12382)) {
delitem 12382,1; //ValkyrieB_Scroll
- mapannounce "job3_arch02","Whispering of an impersonation: You can't do anything by yourself! Let's go back!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
- mapwarp "job3_arch02","job3_arch01",29,29;
- }
- if (getmercinfo(1) == 2038)
- mapannounce "job3_arch02","A shout of devil: You are so childish. I invite you a party of devil. I'll make you have a fun!",bc_map,"0xFF0000"; //FW_NORMAL 12 0 0
- else {
- mapannounce "job3_arch02","Whispering of an impersonation: You can't do anything by yourself! Let's go back!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
- mapwarp "job3_arch02","job3_arch01",29,29;
+ // fall through
+ } else if (getmercinfo(1) == 2038) {
+ mapannounce "job3_arch02","A shout of devil: You are so childish. I invite you a party of devil. I'll make you have a fun!",bc_map,"0xFF0000";
+ end;
}
+ mapannounce "job3_arch02","Whispering of an impersonation: You can't do anything by yourself! Let's go back!",bc_map,"0xFFCE00";
+ mapwarp "job3_arch02","job3_arch01",29,29;
end;
}
-job3_arch02,284,159,0 script #arch_3_01 139,20,20,{
+job3_arch02,284,159,0 script #arch_3_01 HIDDEN_WARP_NPC,20,20,{
OnTouch:
- if (BaseJob != Job_Priest) {
- mapannounce "job3_arch02","Frus: Do you want to see God? Okay, I'll send you to the land of the dead by myself!",bc_map,"0xFF0000"; //FW_NORMAL 12 0 0
- areamonster "job3_arch02",242,44,246,48,"Frus",1762,1;
+ if (Class != Job_Priest) {
+ mapannounce "job3_arch02","Frus: Do you want to see God? Okay, I'll send you to the land of the dead by myself!",bc_map,"0xFF0000";
+ areamonster "job3_arch02",242,44,246,48,"Frus",1762,1,"#arch_3_01::OnMyMobDead";
}
- hideonnpc "#arch_3_01";
+ disablenpc "#arch_3_01";
+ end;
+OnMyMobDead:
end;
OnKill:
killmonster "job3_arch02","#arch_3_01::OnMyMobDead";
end;
-OnInit:
- hideoffnpc "#arch_3_01";
- end;
+//OnInit:
+// enablenpc "#arch_3_01";
+// end;
}
-job3_arch02,307,200,0 script #arch_3_02 139,5,5,{
+job3_arch02,307,200,0 script #arch_3_02 HIDDEN_WARP_NPC,5,5,{
OnTouch:
if (BaseJob == Job_Priest) {
- mapannounce "job3_arch02","Skogul: You are my guest!",bc_map,"0xFF0000"; //FW_NORMAL 12 0 0
- monster "job3_arch02",307,200,"Skogul",1761,1;
+ mapannounce "job3_arch02","Skogul: You are my guest!",bc_map,"0xFF0000";
+ monster "job3_arch02",307,200,"Skogul",1761,1,"#arch_3_02::OnMyMobDead";
}
- hideonnpc "#arch_3_02";
+ disablenpc "#arch_3_02";
+ end;
+OnMyMobDead:
end;
OnKill:
killmonster "job3_arch02","#arch_3_02::OnMyMobDead";
end;
-OnInit:
- hideoffnpc "#arch_3_02";
- end;
+//OnInit:
+// enablenpc "#arch_3_02";
+// end;
}
-job3_arch02,296,216,0 script #arch_3_03 139,5,5,{
+job3_arch02,296,216,0 script #arch_3_03 HIDDEN_WARP_NPC,5,5,{
OnTouch:
- mapannounce "job3_arch02","Frus: I like your face... Can I steal it?",bc_map,"0xFF0000"; //FW_NORMAL 12 0 0
- monster "job3_arch02",296,216,"Frus",1762,1;
- hideonnpc "#arch_3_03";
+ mapannounce "job3_arch02","Frus: I like your face... Can I steal it?",bc_map,"0xFF0000";
+ monster "job3_arch02",296,216,"Frus",1762,1,"#arch_3_03::OnMyMobDead";
+ disablenpc "#arch_3_03";
+ end;
+OnMyMobDead:
end;
OnKill:
killmonster "job3_arch02","#arch_3_03::OnMyMobDead";
end;
OnInit:
- hideonnpc "#arch_3_03";
+ disablenpc "#arch_3_03";
end;
}
-job3_arch02,389,390,1 script mob#arch_1 844,{
+job3_arch02,389,390,1 script mob#arch_1 CLEAR_NPC,{
end;
OnEnable:
- monster "job3_arch02",100,102,"Shrine Invader",1394,2;
- monster "job3_arch02",90,131,"Shrine Invader",1394,2;
- monster "job3_arch02",91,170,"Shrine Invader",1427,1;
- monster "job3_arch02",104,183,"Shrine Invader",1427,1;
- monster "job3_arch02",138,205,"Shrine Invader",1394,2;
- monster "job3_arch02",161,215,"Shrine Invader",1394,2;
- monster "job3_arch02",165,215,"Shrine Invader",1427,1;
- monster "job3_arch02",201,236,"Shrine Invader",1394,2;
- monster "job3_arch02",218,250,"Shrine Invader",1427,1;
- monster "job3_arch02",254,293,"Shrine Invader",1427,1;
+ monster "job3_arch02",100,102,"Shrine Invader",1394,2,"mob#arch_1::OnMyMobDead";
+ monster "job3_arch02",90,131,"Shrine Invader",1394,2,"mob#arch_1::OnMyMobDead";
+ monster "job3_arch02",91,170,"Shrine Invader",1427,1,"mob#arch_1::OnMyMobDead";
+ monster "job3_arch02",104,183,"Shrine Invader",1427,1,"mob#arch_1::OnMyMobDead";
+ monster "job3_arch02",138,205,"Shrine Invader",1394,2,"mob#arch_1::OnMyMobDead";
+ monster "job3_arch02",161,215,"Shrine Invader",1394,2,"mob#arch_1::OnMyMobDead";
+ monster "job3_arch02",165,215,"Shrine Invader",1427,1,"mob#arch_1::OnMyMobDead";
+ monster "job3_arch02",201,236,"Shrine Invader",1394,2,"mob#arch_1::OnMyMobDead";
+ monster "job3_arch02",218,250,"Shrine Invader",1427,1,"mob#arch_1::OnMyMobDead";
+ monster "job3_arch02",254,293,"Shrine Invader",1427,1,"mob#arch_1::OnMyMobDead";
+ end;
+OnMyMobDead:
end;
OnKill:
killmonster "job3_arch02","mob#arch_1::OnMyMobDead";
end;
}
-job3_arch02,389,389,1 script mob#arch_2 844,{
+job3_arch02,389,389,1 script mob#arch_2 CLEAR_NPC,{
end;
OnEnable:
- monster "job3_arch02",156,321,"Shrine Invader",1480,2;
- monster "job3_arch02",170,305,"Shrine Invader",1480,2;
- monster "job3_arch02",183,293,"Shrine Invader",1453,1;
- monster "job3_arch02",200,287,"Shrine Invader",1453,1;
- monster "job3_arch02",256,293,"Shrine Invader",1480,2;
- monster "job3_arch02",286,284,"Shrine Invader",1480,2;
- monster "job3_arch02",278,236,"Shrine Invader",1453,1;
- monster "job3_arch02",292,185,"Shrine Invader",1480,2;
- monster "job3_arch02",281,170,"Shrine Invader",1453,1;
- monster "job3_arch02",227,166,"Shrine Invader",1453,1;
- monster "job3_arch02",190,146,"Shrine Invader",1480,1;
- monster "job3_arch02",204,177,"Shrine Invader",1453,1;
+ monster "job3_arch02",156,321,"Shrine Invader",1480,2,"mob#arch_2::OnMyMobDead";
+ monster "job3_arch02",170,305,"Shrine Invader",1480,2,"mob#arch_2::OnMyMobDead";
+ monster "job3_arch02",183,293,"Shrine Invader",1453,1,"mob#arch_2::OnMyMobDead";
+ monster "job3_arch02",200,287,"Shrine Invader",1453,1,"mob#arch_2::OnMyMobDead";
+ monster "job3_arch02",256,293,"Shrine Invader",1480,2,"mob#arch_2::OnMyMobDead";
+ monster "job3_arch02",286,284,"Shrine Invader",1480,2,"mob#arch_2::OnMyMobDead";
+ monster "job3_arch02",278,236,"Shrine Invader",1453,1,"mob#arch_2::OnMyMobDead";
+ monster "job3_arch02",292,185,"Shrine Invader",1480,2,"mob#arch_2::OnMyMobDead";
+ monster "job3_arch02",281,170,"Shrine Invader",1453,1,"mob#arch_2::OnMyMobDead";
+ monster "job3_arch02",227,166,"Shrine Invader",1453,1,"mob#arch_2::OnMyMobDead";
+ monster "job3_arch02",190,146,"Shrine Invader",1480,1,"mob#arch_2::OnMyMobDead";
+ monster "job3_arch02",204,177,"Shrine Invader",1453,1,"mob#arch_2::OnMyMobDead";
+ end;
+OnMyMobDead:
end;
OnKill:
killmonster "job3_arch02","mob#arch_2::OnMyMobDead";
end;
}
-job3_arch02,389,388,1 script start#arch 844,{
+job3_arch02,389,388,1 script start#arch CLEAR_NPC,{
end;
OnInit:
- mapwarp "job3_arch02","job3_arch02",29,29;
+ mapwarp "job3_arch02","job3_arch01",29,29;
end;
OnEnable:
- mapwarp "job3_arch02","job3_arch02",29,29;
- hideoffnpc "#arch_1_start";
- hideoffnpc "#arch_1_01";
- hideoffnpc "#arch_1_02";
- hideoffnpc "#arch_1_03";
- hideoffnpc "#arch_1_04";
- hideoffnpc "#arch_1_05";
- hideoffnpc "#arch_1_06";
- hideoffnpc "#arch_1_07";
- hideoffnpc "#arch_1_08";
- hideoffnpc "#arch_1_09";
- hideoffnpc "#arch_1_10";
- hideoffnpc "#arch_1_11";
- hideoffnpc "#arch_1_12";
- hideoffnpc "#arch_1_boss";
- hideonnpc "#arch_2_01";
- hideonnpc "#arch_2_02";
- hideonnpc "#arch_2_03";
- hideonnpc "#arch_2_04";
- hideonnpc "#arch_2_05";
- hideonnpc "#arch_2_06";
- hideonnpc "#arch_2_07";
- hideonnpc "#arch_2_08";
- hideonnpc "#arch_2_09";
- hideonnpc "#arch_2_10";
- hideonnpc "#arch_2_11";
- hideonnpc "#arch_2_boss";
- hideonnpc "#arch_3_01";
- hideonnpc "#arch_3_02";
- hideonnpc "#arch_3_03";
+ mapwarp "job3_arch02","job3_arch01",29,29;
+ enablenpc "#arch_1_start";
+ enablenpc "#arch_1_01";
+ enablenpc "#arch_1_02";
+ enablenpc "#arch_1_03";
+ enablenpc "#arch_1_04";
+ enablenpc "#arch_1_05";
+ enablenpc "#arch_1_06";
+ enablenpc "#arch_1_07";
+ enablenpc "#arch_1_08";
+ enablenpc "#arch_1_09";
+ enablenpc "#arch_1_10";
+ enablenpc "#arch_1_11";
+ enablenpc "#arch_1_12";
+ enablenpc "#arch_1_boss";
+ disablenpc "#arch_2_01";
+ disablenpc "#arch_2_02";
+ disablenpc "#arch_2_03";
+ disablenpc "#arch_2_04";
+ disablenpc "#arch_2_05";
+ disablenpc "#arch_2_06";
+ disablenpc "#arch_2_07";
+ disablenpc "#arch_2_08";
+ disablenpc "#arch_2_09";
+ disablenpc "#arch_2_10";
+ disablenpc "#arch_2_11";
+ disablenpc "#arch_2_boss";
+ disablenpc "#arch_3_01";
+ disablenpc "#arch_3_02";
+ disablenpc "#arch_3_03";
donpcevent "#arch_3_01::OnKill";
donpcevent "#arch_3_02::OnKill";
donpcevent "#arch_3_03::OnKill";
- hideonnpc "#arch_end";
+ disablenpc "#arch_end";
hideonnpc "Valkyrie#arch_01";
hideonnpc "Valkyrie#arch_02";
hideonnpc "Valkyrie Anguhilde#end";
@@ -1530,8 +1540,8 @@ OnEnable:
donpcevent "#arch_redcell::OnRed";
donpcevent "mob#arch_1::OnKill";
donpcevent "mob#arch_2::OnKill";
- donpcevent "start#arch::OnTimeoff";
- donpcevent "start#arch::OnTimeon";
+ donpcevent "start#arch::OnTimeOff";
+ donpcevent "start#arch::OnTimeOn";
donpcevent "#arch_val01::OnKill";
donpcevent "#arch_val02::OnKill";
donpcevent "mob#arch_1::OnKill";
@@ -1539,10 +1549,10 @@ OnEnable:
donpcevent "mob#arch_1::OnEnable";
donpcevent "#arch_val01::OnEnable";
end;
-OnTimeon:
+OnTimeOn:
initnpctimer;
end;
-OnTimeoff:
+OnTimeOff:
stopnpctimer;
end;
OnTimer60000:
@@ -1561,91 +1571,87 @@ OnTimer540000:
}
end;
OnTimer600000:
- mapannounce "job3_arch02","Valkyrie's Nightmare: I can't stand anymore!",bc_map,"0xFF0000"; //FW_NORMAL 12 0 0
+ mapannounce "job3_arch02","Valkyrie's Nightmare: I can't stand anymore!",bc_map,"0xFF0000";
end;
OnTimer605000:
- mapannounce "job3_arch02","Whispering of Valkyrie: No way! I can't let you guys do that. Go back!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
+ mapannounce "job3_arch02","Whispering of Valkyrie: No way! I can't let you guys do that. Go back!",bc_map,"0xFFCE00";
mapwarp "job3_arch02","job3_arch01",29,29;
donpcevent "Valkyrie#arch::OnBc";
stopnpctimer;
end;
}
-job3_arch02,390,388,1 script #arch_2_start 844,{
+job3_arch02,390,388,1 script #arch_2_start CLEAR_NPC,{
end;
OnInit:
- hideonnpc "#arch_2_01";
- hideonnpc "#arch_2_02";
- hideonnpc "#arch_2_03";
- hideonnpc "#arch_2_04";
- hideonnpc "#arch_2_05";
- hideonnpc "#arch_2_06";
- hideonnpc "#arch_2_07";
- hideonnpc "#arch_2_08";
- hideonnpc "#arch_2_09";
- hideonnpc "#arch_2_10";
- hideonnpc "#arch_2_11";
- hideonnpc "#arch_2_boss";
+ disablenpc "#arch_2_01";
+ disablenpc "#arch_2_02";
+ disablenpc "#arch_2_03";
+ disablenpc "#arch_2_04";
+ disablenpc "#arch_2_05";
+ disablenpc "#arch_2_06";
+ disablenpc "#arch_2_07";
+ disablenpc "#arch_2_08";
+ disablenpc "#arch_2_09";
+ disablenpc "#arch_2_10";
+ disablenpc "#arch_2_11";
+ disablenpc "#arch_2_boss";
end;
OnEnable:
- hideoffnpc "#arch_2_01";
- hideoffnpc "#arch_2_02";
- hideoffnpc "#arch_2_03";
- hideoffnpc "#arch_2_04";
- hideoffnpc "#arch_2_05";
- hideoffnpc "#arch_2_06";
- hideoffnpc "#arch_2_07";
- hideoffnpc "#arch_2_08";
- hideoffnpc "#arch_2_09";
- hideoffnpc "#arch_2_10";
- hideoffnpc "#arch_2_11";
- hideoffnpc "#arch_2_boss";
+ enablenpc "#arch_2_01";
+ enablenpc "#arch_2_02";
+ enablenpc "#arch_2_03";
+ enablenpc "#arch_2_04";
+ enablenpc "#arch_2_05";
+ enablenpc "#arch_2_06";
+ enablenpc "#arch_2_07";
+ enablenpc "#arch_2_08";
+ enablenpc "#arch_2_09";
+ enablenpc "#arch_2_10";
+ enablenpc "#arch_2_11";
+ enablenpc "#arch_2_boss";
donpcevent "#arch_val02::OnEnable";
donpcevent "mob#arch_2::OnEnable";
end;
}
-job3_arch02,390,386,1 script #arch_3_start 844,{
+job3_arch02,390,386,1 script #arch_3_start CLEAR_NPC,{
end;
OnEnable:
- hideoffnpc "#arch_3_01";
- hideoffnpc "#arch_3_02";
- hideoffnpc "#arch_3_03";
- hideoffnpc "#arch_end";
- hideoffnpc "#arch_end_eff";
+ enablenpc "#arch_3_01";
+ enablenpc "#arch_3_02";
+ enablenpc "#arch_3_03";
+ enablenpc "#arch_end";
+ //enablenpc "#arch_end_eff";
end;
}
-job3_arch02,290,221,0 script #arch_end_eff 139,5,5,{
+job3_arch02,290,221,0 script #arch_end_eff HIDDEN_WARP_NPC,5,5,{
OnTouch:
specialeffect EF_MAPPILLAR2,"#arch_end";
end;
}
-odin_tem02,30,181,0 script #wherearch01 139,10,10,{
+/*
+job_arch01,26,25,0 script #archremove HIDDEN_WARP_NPC,3,3,{
OnTouch:
- if (job_arch == 5)
- viewpoint 1,282,263,1,0xFFFF99;
+ if (countitem(6154)) delitem 6154, countitem(6154); //Broken_Horn_Pipe
+ if (countitem(12381)) delitem 12381, countitem(12381); //ValkyrieA_Scroll
+ if (countitem(12382)) delitem 12382, countitem(12382); //ValkyrieB_Scroll
+ if (countitem(2798)) delitem 2798, countitem(2798); //Will_Of_Exhausted_Angel
end;
}
+*/
-odin_tem02,30,335,0 script #wherearch02 139,10,10,{
-OnTouch:
- if (job_arch == 5)
- viewpoint 1,282,263,1,0xFFFF99;
- end;
-}
-
-/*
-job3_arch01,1,1,1 script control#arch 844,{
+job3_arch01,1,1,1 script control#arch CLEAR_NPC,{
+ callfunc "F_GM_NPC";
mes "[Troll]";
mes "Password please.";
next;
- input .@input;
- if (.@input == 1854) {
+ if (callfunc("F_GM_NPC",1854,0) == 1) {
mes "[Transit]";
mes "The GlobalVar is";
- mes "" + $@archbs + ".";
+ mes $@archbs + ".";
mes "Do you want to change it?";
next;
switch(select("0:1")) {
@@ -1664,4 +1670,17 @@ job3_arch01,1,1,1 script control#arch 844,{
close;
}
}
-*/ \ No newline at end of file
+
+odin_tem02,30,181,0 script #wherearch01 HIDDEN_WARP_NPC,10,10,{
+OnTouch:
+ if (job_arch == 5)
+ viewpoint 1,282,263,1,0xFFFF99;
+ end;
+}
+
+odin_tem02,30,335,0 script #wherearch02 HIDDEN_WARP_NPC,10,10,{
+OnTouch:
+ if (job_arch == 5)
+ viewpoint 1,282,263,1,0xFFFF99;
+ end;
+}