Added a few missing 'changequest' commands to Alchemist job quest. (Hercules 4b4e573)

Minor cleanup in Wolfchev's Laboratory script.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
This commit is contained in:
Euphy 2014-05-18 08:36:12 -04:00
parent 9faa805da1
commit 2688d78e6a
4 changed files with 96 additions and 94 deletions

View File

@ -98,7 +98,7 @@ vit_penalty_num: 5
// eg: 10 + 50 def becomes 0 + (10*type + 50)
weapon_defense_type: 0
//MDEFsame as above....(MDEF*value)
// MDEF same as above. (MDEF * value)
magic_defense_type: 0
// Change attacker's direction to face opponent on every attack? (Note 3)

View File

@ -516,7 +516,7 @@
515: Your instance has been reloaded.
516: Instance database has been reloaded.
//src/map/atcommand.c::ACMD_FUNC(auction)
// @auction
517: Auction System is disabled.
//518~534: free
@ -538,7 +538,7 @@
//542: %.0s%.0sSomeone stole %s
// 543~548 are not used (previously @away messages)
// @Autotrade
// @autotrade
549: You should have a shop open to use @autotrade.
//550 -> 650: Job Names

View File

@ -3,7 +3,7 @@
//===== By: ==================================================
//= nestor_zulueta (Fusion), converted by Darkchild
//===== Current Version: =====================================
//= 3.0
//= 3.1
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
@ -17,6 +17,7 @@
//= 2.8 Fixed minor typo in test section. [L0ne_W0lf]
//= 2.9 Added Quest Log commands. [Kisuka]
//= 3.0 Removed the need for use of 'goto.' [L0ne_W0lf]
//= 3.1 Added missing changequest commands. [Kisuka]
//============================================================
alde_alche,27,185,5 script Alchemist Guildsman#am 744,{
@ -467,6 +468,7 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{
mes "He'll teach you how to do the experiments. Just tell him that";
mes "I sent you.";
set ALCH_Q,6;
changequest 2031,2032;
close;
}
else {
@ -1092,6 +1094,7 @@ alde_alche,13,15,7 script Studying Man#am 750,{
mes "and cast away the last";
mes "vestiges of Merchant life!!";
set ALCH_Q,40;
changequest 2033,2034;
close;
}
else if (countitem(7134) > 2 && countitem(713) > 2 && countitem(507) > 0 && countitem(508) > 0 && countitem(509) > 0) {
@ -1689,6 +1692,9 @@ alde_alche,101,184,4 script Master Alchemist#am 122,{
if (checkquest(2039) != -1) {
changequest 2039,2040;
}
if (checkquest(2034) != -1) {
changequest 2034,2040;
}
mes "Ah, well done.";
mes "I can see that you";
mes "have learned all of";
@ -1705,7 +1711,6 @@ alde_alche,101,184,4 script Master Alchemist#am 122,{
mes "illustrious Union.";
mes "I hope you learn a lot...";
next;
if (.@jlevel == 50) {
getitem 7133,1; //Slim_Potion_Create_Book
mes "[Vincent Carsciallo]";

View File

@ -2546,6 +2546,7 @@ OnTimer3000:
end;
OnInstanceInit:
OnDisable:
disablenpc instance_npcname("#potal_02");
end;
@ -2554,10 +2555,6 @@ OnEnable:
enablenpc instance_npcname("#potal_02");
end;
OnDisable:
disablenpc instance_npcname("#potal_02");
end;
OnTouch:
warp instance_mapname("1@lhz"), 84, 28;
end;
@ -3054,7 +3051,7 @@ OnMyMobDead:
mes "The button was supposed to be pressed for an emergency case...but..";
next;
mes "[Wolfchev]";
mes "Hey.. You and I met by a bad connection....";
mes "Hey... You and I met by a bad connection....";
next;
mes "[Wolfchev]";
mes "But...., you helped me... How could you do that?";
@ -3066,7 +3063,7 @@ OnMyMobDead:
mes "But actually, you did that because you was lonely,.. you just concentrated on that for this reason, huh?";
next;
mes "[Wolfchev]";
mes "HAHAHAHa. Loneliness.. You say?";
mes "HAHAHAHA. Loneliness... you say?";
next;
mes "[Wolfchev]";
mes "It might be seen like that to you. But, it isn't. Loneliness is just a good and easy excuse of the losers.";
@ -3124,7 +3121,7 @@ OnMyMobDead:
next;
} else {
mes "[Wolfchev]";
mes "kakakaah.. Thank you. You handled those Boss creatures well..";
mes "kakakaah.. Thank you. You handled those Boss creatures well...";
next;
}
if (lght_duk01 == 7) {
@ -3133,10 +3130,10 @@ OnMyMobDead:
mes "While you were struggling...";
next;
mes "[Wolfchev]";
mes "I figured out something..and there's a system error which doesn't let us come and go freely, so you could help me in 72 hours... Go somewhere to take rest before you come back..";
mes "I figured something out... and there's a system error which doesn't let us come and go freely, so you could help me in 72 hours... Go somewhere to rest before you come back.";
next;
mes "[Wolfchev]";
mes "Ah.. and I can send you out of my laboratory. Do you want?";
mes "Ah... and I can send you out of my laboratory. Do you want?";
next;
} else {
mes "[Wolfchev]";
@ -3161,16 +3158,16 @@ L_Reward:
}
.@r = rand(1, 1000);
if (.@r < 84) getitem 2582, 1; //Salvage_Cape
else if (.@r >= 84 && .@r < 167) getitem 18570, 1; //Ancient_Gold_Deco
else if (.@r >= 167 && .@r < 250) getitem 1490, 1; //Giant_Lance
else if (.@r >= 250 && .@r < 333) getitem 16017, 1; //Bloody_Cross
else if (.@r >= 333 && .@r < 416) getitem 1291, 1; //Guillotine_Katar
else if (.@r >= 416 && .@r < 499) getitem 1584, 1; //Chilly_Spell_Book
else if (.@r >= 499 && .@r < 582) getitem 6471, 10; //Goast_Chill
else if (.@r >= 582 && .@r < 665) getitem 6470, 10; //Blood_Thirst
else if (.@r >= 665 && .@r < 748) getitem 6469, 10; //Will_Of_Warrior
else if (.@r >= 748 && .@r < 831) getitem 6471, 20; //Goast_Chill
else if (.@r >= 831 && .@r < 914) getitem 6470, 20; //Blood_Thirst
else if (.@r < 167) getitem 18570, 1; //Ancient_Gold_Deco
else if (.@r < 250) getitem 1490, 1; //Giant_Lance
else if (.@r < 333) getitem 16017, 1; //Bloody_Cross
else if (.@r < 416) getitem 1291, 1; //Guillotine_Katar
else if (.@r < 499) getitem 1584, 1; //Chilly_Spell_Book
else if (.@r < 582) getitem 6471, 10; //Goast_Chill
else if (.@r < 665) getitem 6470, 10; //Blood_Thirst
else if (.@r < 748) getitem 6469, 10; //Will_Of_Warrior
else if (.@r < 831) getitem 6471, 20; //Goast_Chill
else if (.@r < 914) getitem 6470, 20; //Blood_Thirst
else getitem 6469, 20; //Will_Of_Warrior
return;