- Redone the whole Arch Bishop Job change Quest in order to hopefully have fixed all the bugs from bugreport:5983 .

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16364 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
masao87 2012-07-01 16:59:44 +00:00
parent 5a8d5ca222
commit 9d3e2c3021

View File

@ -1,26 +1,26 @@
//===== rAthena Script ======================================= //===== rAthena Script =======================================
//= Arch Bishop Job Quest //= Arch Bishop Job change Quest
//===== By: ================================================== //===== By: ==================================================
//= L0ne_W0lf //= L0ne_W0lf
//= Credits: Gepard //= Credits: Gepard
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 1.4 //= 1.5
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= rAthena SVN //= rAthena SVN
//===== Description: ========================================= //===== Description: =========================================
//= [Aegis Conversion] //= [Translated from the Official]
//= Job change script for Third class (Arch Bishop) //= Job change Quest from Priest / High Priest -> Arch Bishop.
//= Does not entirely support changing to Baby Third Class.
//===== Additional Comments: ================================= //===== Additional Comments: =================================
//= 1.0 First version. //= 1.0 First version.
//= 1.1 Fixed class checks for arch bishops. //= 1.1 Fixed class checks for arch bishops.
//= 1.2 Fixed Job tags typos. //= 1.2 Fixed Job tags typos.
//= 1.3 Made some NPC's into duplicates and fixed some && / || checks. [Masao] //= 1.3 Made some NPC's into duplicates and fixed some && / || checks. [Masao]
//= 1.4 Fixed Job_Archbishop/Job_Archbishop_T typos. [Euphy] //= 1.4 Fixed Job_Archbishop/Job_Archbishop_T typos. [Euphy]
//= 1.5 Redone the whole Script. [Masao]
//============================================================ //============================================================
prt_church,103,88,3 script Praying Minister#arch 60,{ prt_church,103,88,3 script Praying Minister#arch 60,{
if ((Class != Job_Priest) && (Class != Job_High_Priest)) { if ((Class != Job_Priest) && (Class != Job_High_Priest) && (Class != Job_Baby_Priest)) {
if (Class == Job_Arch_Bishop || Class == Job_Arch_Bishop_T || Class == Job_Baby_Bishop) { if (Class == Job_Arch_Bishop || Class == Job_Arch_Bishop_T || Class == Job_Baby_Bishop) {
mes "[Praying Minister]"; mes "[Praying Minister]";
mes "Ah! An Archbishop."; mes "Ah! An Archbishop.";
@ -45,7 +45,6 @@ prt_church,103,88,3 script Praying Minister#arch 60,{
mes "I'm going to make them ministers worthy of serving Odin."; mes "I'm going to make them ministers worthy of serving Odin.";
close; close;
} }
else {
if ((BaseLevel == 99) && (JobLevel > 49)) { if ((BaseLevel == 99) && (JobLevel > 49)) {
if (job_arch == 0) { if (job_arch == 0) {
if (SkillPoint) { if (SkillPoint) {
@ -91,7 +90,7 @@ prt_church,103,88,3 script Praying Minister#arch 60,{
mes "[Praying Minister]"; mes "[Praying Minister]";
mes "We always try to keep our original intention in mind and spread Odin's rule."; mes "We always try to keep our original intention in mind and spread Odin's rule.";
next; next;
select("How do I become like that?"); menu "How do I become like that?",-;
mes "[Praying Minister]"; mes "[Praying Minister]";
mes "That's a good question."; mes "That's a good question.";
mes "We have lots of methods."; mes "We have lots of methods.";
@ -162,7 +161,6 @@ prt_church,103,88,3 script Praying Minister#arch 60,{
mes "They give out a special aura so you can easily recognize them."; mes "They give out a special aura so you can easily recognize them.";
mes "I'm going to make them ministers worthy of serving Odin."; mes "I'm going to make them ministers worthy of serving Odin.";
close; close;
}
} }
umbala,137,227,5 script Utan Boy#arch 787,{ umbala,137,227,5 script Utan Boy#arch 787,{
@ -177,7 +175,7 @@ umbala,139,227,3 script Priest#arch 60,{
mes "Un...ba... Unba?"; mes "Un...ba... Unba?";
close; close;
} }
else if (job_arch == 1) { if (job_arch == 1) {
mes "[Priest]"; mes "[Priest]";
mes "Un...ba... Umba?"; mes "Un...ba... Umba?";
next; next;
@ -240,11 +238,14 @@ umbala,139,227,3 script Priest#arch 60,{
mes "[" + strcharinfo(0) + "]"; mes "[" + strcharinfo(0) + "]";
mes "Hmm, I wanted to tell you..."; mes "Hmm, I wanted to tell you...";
next; next;
input .@urans$; input .@inputstr$;
if (.@urans$ != "I'm here for the Holy Pilgrimage") { mes "[" + strcharinfo(0) + "]";
mes "" + .@inputstr$ + "";
next;
if (.@inputstr$ != "I'm here for the Holy Pilgrimage") {
mes "Priest Dayan doesn't seem to understand you. He just stares at you and smiles."; mes "Priest Dayan doesn't seem to understand you. He just stares at you and smiles.";
next; next;
mes "[Priest Dayan]"; mes "[Priest]";
mes "Eh? Say what?"; mes "Eh? Say what?";
close; close;
} }
@ -327,7 +328,7 @@ umbala,139,227,3 script Priest#arch 60,{
changequest 2187,2188; changequest 2187,2188;
close; close;
} }
else if (job_arch == 2) { if (job_arch == 2) {
mes "[Priest Dayan]"; mes "[Priest Dayan]";
mes "This place is the holiest place in the world, Yggdrasil."; mes "This place is the holiest place in the world, Yggdrasil.";
mes "This holy ceremony will brighten your soul."; mes "This holy ceremony will brighten your soul.";
@ -382,7 +383,7 @@ umbala,139,227,3 script Priest#arch 60,{
close; close;
} }
} }
else if (job_arch == 3) { if (job_arch == 3) {
mes "[Priest Dayan]"; mes "[Priest Dayan]";
mes "Oh, you've come back."; mes "Oh, you've come back.";
mes "I can feel that you have a fresh energy. Maybe you did pray truthfully."; mes "I can feel that you have a fresh energy. Maybe you did pray truthfully.";
@ -438,7 +439,6 @@ umbala,139,227,3 script Priest#arch 60,{
} }
yggdrasil01,220,47,0 script #A pilgrimage to the Ho 139,5,5,{ yggdrasil01,220,47,0 script #A pilgrimage to the Ho 139,5,5,{
end;
OnTouch: OnTouch:
if (job_arch == 2) { if (job_arch == 2) {
@ -586,7 +586,7 @@ OnTouch:
warp "umbala",138,219; warp "umbala",138,219;
end; end;
} }
else if (job_arch == 3) { if (job_arch == 3) {
mes "[" + strcharinfo(0) + "]"; mes "[" + strcharinfo(0) + "]";
mes "The song is over. It's time to go back to Priest Dayan."; mes "The song is over. It's time to go back to Priest Dayan.";
close2; close2;
@ -753,7 +753,7 @@ hu_in01,205,204,7 script Praying Nun#benew 79,{
changequest 2189,2190; changequest 2189,2190;
close; close;
} }
else if ((job_arch > 4) && (job_arch < 100)) { if ((job_arch > 4) && (job_arch < 100)) {
mes "[Vinue]"; mes "[Vinue]";
mes "I'll pray for your safe return."; mes "I'll pray for your safe return.";
close; close;
@ -766,7 +766,7 @@ hu_in01,205,204,7 script Praying Nun#benew 79,{
} }
odin_tem02,282,263,0 script #find_val 139,3,3,{ odin_tem02,282,263,0 script #find_val 139,3,3,{
end;
OnTouch: OnTouch:
if ((job_arch > 4) && (job_arch < 100)) { if ((job_arch > 4) && (job_arch < 100)) {
hideoffnpc "Valkyrie Illusion#arch"; hideoffnpc "Valkyrie Illusion#arch";
@ -802,16 +802,16 @@ OnInit:
job3_arch01,29,34,3 script Valkyrie#arch 403,{ job3_arch01,29,34,3 script Valkyrie#arch 403,{
if(checkweight(1201,1) == 0){ if(checkweight(1201,2) == 1){
//Custom translation //Custom translation
mes "- bags must be emptied before they can proceed. -"; mes "- bags must be emptied before they can proceed. -";
close; close;
} }
if ((BaseLevel != 99) || (JobLevel < 50)) { if ((BaseLevel != 99) && (JobLevel < 50)) {
warp "odin_tem02",282,263; warp "odin_tem02",282,263;
end; end;
} }
if (getmercinfo(0)) { if (getmercinfo(1)) {
mes "[Valkyrie]"; mes "[Valkyrie]";
mes "If you want to talk with me, you have to ^3131FFcancel all contracts^000000 with any mercenaries you have."; mes "If you want to talk with me, you have to ^3131FFcancel all contracts^000000 with any mercenaries you have.";
close; close;
@ -836,17 +836,12 @@ job3_arch01,29,34,3 script Valkyrie#arch 403,{
mes "- you put some items into Kafra Storage. -"; mes "- you put some items into Kafra Storage. -";
close; close;
} }
if ((Class != Job_Priest) && (Class != Job_High_Priest) && (Class != Job_Baby_Priest)) { if ((Class != Job_Priest) && (Class != Job_High_Priest) && (Class == Job_Baby_Priest)) {
warp "odin_tem02",282,263; warp "odin_tem02",282,263;
end;
}
if (Class == Job_Arch_Bishop || Class == Job_Arch_Bishop_T || Class == Job_Baby_Bishop) {
warp "odin_tem02",282,263;
end;
} }
if (Class != Job_Arch_Bishop || Class != Job_Arch_Bishop_T || Class == Job_Baby_Bishop) {
if (job_arch < 5) { if (job_arch < 5) {
warp "odin_tem02",282,263; warp "odin_tem02",282,263;
end;
} }
if (job_arch == 5) { if (job_arch == 5) {
mes "[Valkyrie]"; mes "[Valkyrie]";
@ -945,7 +940,7 @@ job3_arch01,29,34,3 script Valkyrie#arch 403,{
mes "I've lost all of my energy and my body is sealed so there is no way for me to protect the shrine."; mes "I've lost all of my energy and my body is sealed so there is no way for me to protect the shrine.";
mes "You have to send a message to Valhalla to ask for help from a Valkyrie quickly."; mes "You have to send a message to Valhalla to ask for help from a Valkyrie quickly.";
next; next;
select("How can I do that?"); menu "How can I do that?",-;
mes "[Valkyrie Anguhilde]"; mes "[Valkyrie Anguhilde]";
mes "At the ^3131FFtop of the shrine^000000, You can contact to them with a ^3131FFGolden pipe^000000."; mes "At the ^3131FFtop of the shrine^000000, You can contact to them with a ^3131FFGolden pipe^000000.";
next; next;
@ -992,9 +987,11 @@ job3_arch01,29,34,3 script Valkyrie#arch 403,{
set $@archbs,0; set $@archbs,0;
close2; close2;
nude; nude;
if (countitem(2798) > 0) {
delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel
}
donpcevent "start#arch::OnEnable"; donpcevent "start#arch::OnEnable";
set job_arch, 7; set job_arch,7;
changequest 2190,2191; changequest 2190,2191;
warp "job3_arch02",119,49; warp "job3_arch02",119,49;
hideonnpc "Valkyrie#arch"; hideonnpc "Valkyrie#arch";
@ -1013,7 +1010,6 @@ job3_arch01,29,34,3 script Valkyrie#arch 403,{
if (countitem(12382) > 0) { if (countitem(12382) > 0) {
delitem 12382,countitem(12382); //ValkyrieB_Scroll delitem 12382,countitem(12382); //ValkyrieB_Scroll
} }
}
if ($@archbs == 0) { if ($@archbs == 0) {
set $@archbs,1; set $@archbs,1;
mes "[Valkyrie Anguhilde]"; mes "[Valkyrie Anguhilde]";
@ -1037,7 +1033,9 @@ job3_arch01,29,34,3 script Valkyrie#arch 403,{
mes "But you have to be careful if an imeprsonation falls down."; mes "But you have to be careful if an imeprsonation falls down.";
close2; close2;
nude; nude;
if (countitem(2798) > 0) {
delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel
}
donpcevent "start#arch::OnEnable"; donpcevent "start#arch::OnEnable";
set job_arch, 7; set job_arch, 7;
warp "job3_arch02",119,49; warp "job3_arch02",119,49;
@ -1049,6 +1047,15 @@ job3_arch01,29,34,3 script Valkyrie#arch 403,{
mes "I am already talking to someone, please wait and talk to me again."; mes "I am already talking to someone, please wait and talk to me again.";
close; close;
} }
end;
}
end;
}
end;
OnInit:
set $@archbs,0;
end;
OnBc: OnBc:
set $@archbs,0; set $@archbs,0;
@ -1059,7 +1066,6 @@ OnBc:
} }
job3_arch02,119,49,0 script #arch_1_start 139,6,6,{ job3_arch02,119,49,0 script #arch_1_start 139,6,6,{
end;
OnTouch: OnTouch:
if (countitem(12381) == 0) { if (countitem(12381) == 0) {
@ -1071,26 +1077,26 @@ OnTouch:
} }
- script #arch_1_01_0::archbjcq 139,5,5,{ - script #arch_1_01_0::archbjcq 139,5,5,{
end;
OnTouch: OnTouch:
if (countitem(12381) > 0) { if (countitem(12381) > 0) {
delitem 12381,1; //ValkyrieA_Scroll 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 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; mapwarp "job3_arch02","job3_arch01",29,29;
} else { end;
}
if (getmercinfo(1) == 2037) { if (getmercinfo(1) == 2037) {
set .@randht,rand(1,10); set .@randht, rand(1,10);
if (.@randht < 8) { 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"; //FW_NORMAL 12 0 0
} else if (.@randht == 8 || .@randht == 9) {
mapannounce "job3_arch02","Embodiment of the voice: They are close to you!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0 //Custom translation;
} }
} else { else if (.@randht == 8 || .@randht == 9) {
mapannounce "job3_arch02","Embodiment of the voice: They are close to you!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0 //Custom translation
}
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"; //FW_NORMAL 12 0 0
mapwarp "job3_arch02","job3_arch01",29,29; mapwarp "job3_arch02","job3_arch01",29,29;
}
}
end; end;
} }
@ -1108,22 +1114,22 @@ 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,245,289,0 duplicate(archbjcq) #arch_1_12 139,5,5
job3_arch02,203,286,0 script #arch_1_boss 139,5,5,{ job3_arch02,203,286,0 script #arch_1_boss 139,5,5,{
end;
OnTouch: OnTouch:
if (countitem(12381) > 0) { if (countitem(12381) > 0) {
delitem 12381,1; //ValkyrieA_Scroll 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 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; mapwarp "job3_arch02","job3_arch01",29,29;
} else { end;
if (getmercinfo(1) == 2037) { }
if (GetMyMercenary == 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 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
donpcevent "mob#arch_1::OnKill"; donpcevent "mob#arch_1::OnKill";
} else { }
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 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; mapwarp "job3_arch02","job3_arch01",29,29;
} }
}
end; end;
} }
@ -1188,7 +1194,7 @@ OnEnable:
end; end;
OnMyMobDead: OnMyMobDead:
if (mobcount("job3_arch02","#arch_val02::OnMyMobDead") < 1) { 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"; //FW_NORMAL 12 0 0
hideoffnpc "Valkyrie#arch_02"; hideoffnpc "Valkyrie#arch_02";
hideonnpc "#arch_2_boss"; hideonnpc "#arch_2_boss";
@ -1202,7 +1208,7 @@ OnKill:
} }
job3_arch02,113,327,5 script Valkyrie#arch_01 403,{ job3_arch02,113,327,5 script Valkyrie#arch_01 403,{
if (getmercinfo(0)) { if (getmercinfo(1)) {
mes "[Valkyrie]"; mes "[Valkyrie]";
mes "If you want to talk with me, you have to ^3131FFcancel all contracts^000000 with any mercenaries you have."; mes "If you want to talk with me, you have to ^3131FFcancel all contracts^000000 with any mercenaries you have.";
close; close;
@ -1237,7 +1243,6 @@ job3_arch02,113,327,5 script Valkyrie#arch_01 403,{
} }
job3_arch02,244,46,5 script Valkyrie#arch_02 403,{ job3_arch02,244,46,5 script Valkyrie#arch_02 403,{
mes "[Valkyrie Anguhilde]"; mes "[Valkyrie Anguhilde]";
mes "Did you find the rest of the pieces?"; mes "Did you find the rest of the pieces?";
next; next;
@ -1275,11 +1280,6 @@ job3_arch02,244,46,5 script Valkyrie#arch_02 403,{
} }
job3_arch02,279,234,0 script #arch_end 139,7,7,{ job3_arch02,279,234,0 script #arch_end 139,7,7,{
end;
OnInit:
hideonnpc "#arch_end";
end;
OnTouch: OnTouch:
donpcevent "#arch_3_01::OnKill"; donpcevent "#arch_3_01::OnKill";
@ -1314,7 +1314,9 @@ OnTouch:
mes "It can be dangerous, so let's go back."; mes "It can be dangerous, so let's go back.";
close2; close2;
nude; nude;
delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel if (countitem(2798) > 0) {
delitem 2798,(2798); //Will_Of_Exhausted_Angel
}
delitem 6154,countitem(6154); //Broken_Horn_Pipe delitem 6154,countitem(6154); //Broken_Horn_Pipe
mapwarp "job3_arch02","job3_arch01",29,29; mapwarp "job3_arch02","job3_arch01",29,29;
end; end;
@ -1394,7 +1396,9 @@ OnTouch:
mes "Don't forget an altruistic minister's spirit like today forever."; mes "Don't forget an altruistic minister's spirit like today forever.";
mes "I hope we see each other in Valhalla sometime."; mes "I hope we see each other in Valhalla sometime.";
nude; nude;
if (countitem(2798) > 0) {
delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel
}
delitem 6154,countitem(6154); //Broken_Horn_Pipe delitem 6154,countitem(6154); //Broken_Horn_Pipe
set job_arch,100; set job_arch,100;
completequest 2191; completequest 2191;
@ -1410,6 +1414,10 @@ OnTouch:
jobchange Job_Arch_Bishop_T; jobchange Job_Arch_Bishop_T;
} }
close; close;
OnInit:
hideonnpc "#arch_end";
end;
} }
job3_arch02,281,232,1 script Valkyrie Anguhilde#end 403,{ job3_arch02,281,232,1 script Valkyrie Anguhilde#end 403,{
@ -1441,7 +1449,6 @@ OnInit:
} }
job3_arch02,132,323,0 script #arch_2_01 139,5,5,{ job3_arch02,132,323,0 script #arch_2_01 139,5,5,{
end;
OnTouch: OnTouch:
if (countitem(12382) > 0) { if (countitem(12382) > 0) {
@ -1451,28 +1458,29 @@ OnTouch:
} }
- script #arch_2_02_0::archbjcq2 139,5,5,{ - script #arch_2_02_0::archbjcq2 139,5,5,{
end;
OnTouch: OnTouch:
if (countitem(12382) > 0) { if (countitem(12382) > 0) {
delitem 12382,1; //ValkyrieB_Scroll 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 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; mapwarp "job3_arch02","job3_arch01",29,29;
} else { end;
}
if (getmercinfo(1) == 2038) { if (getmercinfo(1) == 2038) {
set .@randht,rand(1,10); set .@randht, rand(1,10);
if (.@randht < 8) { 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"; //FW_NORMAL 12 0 0
} else if (.@randht == 8 || .@randht == 9) { }
mapannounce "job3_arch02","Embodiment of Sounds: Battle Stance!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0 //Custom translation; else if (.@randht == 8 || .@randht == 9) {
} else { mapannounce "job3_arch02","Embodiment of Sounds: Battle Stance!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0 //Custom translation
}
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"; //FW_NORMAL 12 0 0
} }
} else { 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"; //FW_NORMAL 12 0 0
mapwarp "job3_arch02","job3_arch01",29,29; mapwarp "job3_arch02","job3_arch01",29,29;
}
}
end; end;
} }
@ -1488,7 +1496,6 @@ 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,190,146,0 duplicate(archbjcq2) #arch_2_11 139,5,5
job3_arch02,252,267,0 script #arch_2_12 139,5,5,{ job3_arch02,252,267,0 script #arch_2_12 139,5,5,{
end;
OnTouch: 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"; //FW_NORMAL 12 0 0
@ -1496,7 +1503,6 @@ OnTouch:
} }
job3_arch02,250,290,0 script #arch_2_13 139,5,5,{ job3_arch02,250,290,0 script #arch_2_13 139,5,5,{
end;
OnTouch: 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"; //FW_NORMAL 12 0 0
@ -1504,33 +1510,28 @@ OnTouch:
} }
job3_arch02,206,113,0 script #arch_2_boss 139,5,5,{ job3_arch02,206,113,0 script #arch_2_boss 139,5,5,{
end;
OnTouch: OnTouch:
if (countitem(12382) > 0) { if (countitem(12382) > 0) {
delitem 12382,1; //ValkyrieB_Scroll 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 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; mapwarp "job3_arch02","job3_arch01",29,29;
} else { end;
}
if (getmercinfo(1) == 2038) { if (getmercinfo(1) == 2038) {
mapannounce "job3_arch02","A shout of devil: You are so childish. I'll invite you to a party of the devil. I'll make you have a fun!",bc_map,"0xFF0000"; //FW_NORMAL 12 0 0 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 { }
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 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; mapwarp "job3_arch02","job3_arch01",29,29;
} }
}
end; end;
} }
job3_arch02,284,159,0 script #arch_3_01 139,20,20,{ job3_arch02,284,159,0 script #arch_3_01 139,20,20,{
end;
OnInit:
hideoffnpc "#arch_3_01";
end;
OnTouch: OnTouch:
if (Class != Job_Priest) { if ((Class != Job_Priest) && (Class != Job_Baby_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 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; areamonster "job3_arch02",242,44,246,48,"Frus",1762,1;
} }
@ -1540,17 +1541,16 @@ OnTouch:
OnKill: OnKill:
killmonster "job3_arch02","#arch_3_01::OnMyMobDead"; killmonster "job3_arch02","#arch_3_01::OnMyMobDead";
end; end;
OnInit:
hideoffnpc "#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 139,5,5,{
end;
OnInit:
hideoffnpc "#arch_3_02";
end;
OnTouch: OnTouch:
if (Class == Job_Priest) { if (Class == Job_Priest || Class == Job_Baby_Priest) {
mapannounce "job3_arch02","Skogul: You are my guest!",bc_map,"0xFF0000"; //FW_NORMAL 12 0 0 mapannounce "job3_arch02","Skogul: You are my guest!",bc_map,"0xFF0000"; //FW_NORMAL 12 0 0
monster "job3_arch02",307,200,"Skogul",1761,1; monster "job3_arch02",307,200,"Skogul",1761,1;
} }
@ -1560,14 +1560,14 @@ OnTouch:
OnKill: OnKill:
killmonster "job3_arch02","#arch_3_02::OnMyMobDead"; killmonster "job3_arch02","#arch_3_02::OnMyMobDead";
end; end;
OnInit:
hideoffnpc "#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 139,5,5,{
end;
OnInit:
hideonnpc "#arch_3_03";
end;
OnTouch: OnTouch:
mapannounce "job3_arch02","Frus: I like your face... Can I steal it?",bc_map,"0xFF0000"; //FW_NORMAL 12 0 0 mapannounce "job3_arch02","Frus: I like your face... Can I steal it?",bc_map,"0xFF0000"; //FW_NORMAL 12 0 0
@ -1578,6 +1578,11 @@ OnTouch:
OnKill: OnKill:
killmonster "job3_arch02","#arch_3_03::OnMyMobDead"; killmonster "job3_arch02","#arch_3_03::OnMyMobDead";
end; end;
OnInit:
hideonnpc "#arch_3_03";
end;
} }
job3_arch02,389,390,1 script mob#arch_1 844,{ job3_arch02,389,390,1 script mob#arch_1 844,{
@ -1692,12 +1697,86 @@ OnTimeoff:
end; end;
OnTimer60000: OnTimer60000:
if (getmapusers("job3_arch02") > 0) { if (getmapusers("job3_arch02") == 0) {
mapwarp "job3_arch02","job3_arch01",29,29; mapwarp "job3_arch02","job3_arch01",29,29;
donpcevent "Valkyrie#arch::OnBc"; donpcevent "Valkyrie#arch::OnBc";
stopnpctimer; stopnpctimer;
} }
end; end;
OnTimer120000:
if (getmapusers("job3_arch02") == 0) {
mapwarp "job3_arch02","job3_arch01",29,29;
donpcevent "Valkyrie#arch::OnBc";
stopnpctimer;
}
end;
OnTimer180000:
if (getmapusers("job3_arch02") == 0) {
mapwarp "job3_arch02","job3_arch01",29,29;
donpcevent "Valkyrie#arch::OnBc";
stopnpctimer;
}
end;
OnTimer240000:
if (getmapusers("job3_arch02") == 0) {
mapwarp "job3_arch02","job3_arch01",29,29;
donpcevent "Valkyrie#arch::OnBc";
stopnpctimer;
}
end;
OnTimer300000:
if (getmapusers("job3_arch02") == 0) {
mapwarp "job3_arch02","job3_arch01",29,29;
donpcevent "Valkyrie#arch::OnBc";
stopnpctimer;
}
end;
OnTimer360000:
if (getmapusers("job3_arch02") == 0) {
mapwarp "job3_arch02","job3_arch01",29,29;
donpcevent "Valkyrie#arch::OnBc";
}
end;
OnTimer420000:
if (getmapusers("job3_arch02") == 0) {
mapwarp "job3_arch02","job3_arch01",29,29;
donpcevent "Valkyrie#arch::OnBc";
stopnpctimer;
}
end;
OnTimer480000:
if (getmapusers("job3_arch02") == 0) {
mapwarp "job3_arch02","job3_arch01",29,29;
donpcevent "Valkyrie#arch::OnBc";
stopnpctimer;
}
end;
OnTimer540000:
if (getmapusers("job3_arch02") == 0) {
mapwarp "job3_arch02","job3_arch01",29,29;
donpcevent "Valkyrie#arch::OnBc";
stopnpctimer;
}
end;
OnTimer600000:
mapannounce "job3_arch02","Demons cry: Too boring, can no longer imagine what will happen! Friends, we went to lessons learned that could fool arrogant guy, OK?",bc_map,"0xFF0000"; //FW_NORMAL 12 0 0 //Custom translation;
end;
OnTimer605000:
mapannounce "job3_arch02","Valkyrie's voice: No! This can not be. I will send you back soon!",bc_map,"0xFFCE00"; //FW_NORMAL 12 0 0
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 844,{
@ -1749,7 +1828,7 @@ OnEnable:
} }
job3_arch02,290,221,0 script #arch_end_eff 139,5,5,{ job3_arch02,290,221,0 script #arch_end_eff 139,5,5,{
end;
OnTouch: OnTouch:
if (countitem(6154) > 0) { if (countitem(6154) > 0) {
delitem 6154,countitem(6154); //Broken_Horn_Pipe delitem 6154,countitem(6154); //Broken_Horn_Pipe
@ -1757,7 +1836,7 @@ OnTouch:
if (countitem(12381) > 0) { if (countitem(12381) > 0) {
delitem 12381,countitem(12381); //ValkyrieA_Scroll delitem 12381,countitem(12381); //ValkyrieA_Scroll
} }
if (countitem(12382) > 0) { if (countitem(12381) > 0) {
delitem 12382,countitem(12382); //ValkyrieB_Scroll delitem 12382,countitem(12382); //ValkyrieB_Scroll
} }
if (countitem(2798) > 0) { if (countitem(2798) > 0) {
@ -1769,42 +1848,38 @@ OnTouch:
job3_arch01,29,24,0 warp #archout 1,1,odin_tem02,282,263 job3_arch01,29,24,0 warp #archout 1,1,odin_tem02,282,263
/* /*
job3_arch01,1,1,1 script ????#arch 844,{ job3_arch01,1,1,1 script ¿ØÖÆ#arch 844,{
mes "[????????]"; mes "[Íç¹ÌµÄÊÞÈË]";
mes "??????????"; mes "ÇëÊäÈëÃÜÂë¡£";
next; next;
input .@input; input .@input;
if (.@input == 1854) { if (.@input == 1854) {
set .@archglo,$@archbs; mes "[ͨÐÐ]";
mes "[???]"; mes "ÏÖÔÚµÄÈ«¾Ö±äÁ¿ÖµÎª";
mes "????????????"; mes "" + $@archbs + "¡£";
mes "" + .@archglo + "??"; mes "ÄãÏëÐÞ¸ÄÂð?";
mes "??????????";
next; next;
switch (select("0:1")) { switch (select("0:1")) {
case 1: case 1:
close2; set $@archbs,0;
set $@archbs, 0;
hideoffnpc "Valkyrie#arch"; hideoffnpc "Valkyrie#arch";
end; close;
case 2: case 2:
close2; set $@archbs,1;
set $@archbs, 1;
hideoffnpc "Valkyrie#arch"; hideoffnpc "Valkyrie#arch";
end;
}
}
else if (.@input < 0 || .@input > 9999) {
mes "[????????]";
mes "????????????????????????";
close; close;
} }
end; }
if (.@input < 0 || .@input > 9999) {
mes "[Íç¹ÌµÄÊÞÈË]";
mes "ÎÒ²»ÊÇ˵¹ýÃÜÂëÒªÊäÈëÕýÈ·Â𣡣¡";
close;
}
} }
*/ */
odin_tem02,30,181,0 script #wherearch01 139,10,10,{ odin_tem02,30,181,0 script #wherearch01 139,10,10,{
end;
OnTouch: OnTouch:
if (job_arch == 5) { if (job_arch == 5) {
viewpoint 263,282,1,1,0xFFFF9900; viewpoint 263,282,1,1,0xFFFF9900;
@ -1813,7 +1888,7 @@ OnTouch:
} }
odin_tem02,30,335,0 script #wherearch02 139,10,10,{ odin_tem02,30,335,0 script #wherearch02 139,10,10,{
end;
OnTouch: OnTouch:
if (job_arch == 5) { if (job_arch == 5) {
viewpoint 263,282,1,1,0xFFFF9900; viewpoint 263,282,1,1,0xFFFF9900;