summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-01 08:02:19 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-01 08:02:19 +0000
commit73bd1e1716545fb55f6476060789a235effd7d74 (patch)
treecfb89c6213ab6983c81a438f7ebf9ec2e069b380 /npc
parent4afe0628d9858e874bec00f73c6646dff21546bd (diff)
downloadhercules-73bd1e1716545fb55f6476060789a235effd7d74.tar.gz
hercules-73bd1e1716545fb55f6476060789a235effd7d74.tar.bz2
hercules-73bd1e1716545fb55f6476060789a235effd7d74.tar.xz
hercules-73bd1e1716545fb55f6476060789a235effd7d74.zip
rogue quest fix
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8568 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/Changelog.txt3
-rw-r--r--npc/jobs/2-2/rogue.txt42
2 files changed, 25 insertions, 20 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index 0b7b13d3e..e1a9746d9 100644
--- a/npc/Changelog.txt
+++ b/npc/Changelog.txt
@@ -32,6 +32,9 @@ Playtester
Date Added
======
+09/01
+ * Rogue Job quest: now baby thieves can pass 4th test [Lupus]
+ - In the same quest, fixed test4 quest NPC, thanks to Dj-Yhn
08/31
* Removed a warp from Izlude to make sure people won't get stuck until [MasterOfMuppets]
the arena has been finished.
diff --git a/npc/jobs/2-2/rogue.txt b/npc/jobs/2-2/rogue.txt
index acf13585c..4b0e35242 100644
--- a/npc/jobs/2-2/rogue.txt
+++ b/npc/jobs/2-2/rogue.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= kobra_k88
//===== Current Version: =====================================
-//= 2.3
+//= 2.3a
//===== Compatible With: =====================================
//= eAthena 1.0 +
//===== Description: =========================================
@@ -22,6 +22,8 @@
//= 2.2 Merged JFunc [Lupus]
//= 2.3 Added a possibility for players doing Meginjyard quest
//= to enter Rogue guild as there's a NPC inside [SinSloth]
+//= 2.3a fixed test4 person interaction, let BABY thieves pass
+//= the test, too [Lupus]
//============================================================
@@ -775,76 +777,76 @@ sF_Password:
//===============================================
//---------------------------------------------------------------------------
in_rogue.gat,244,39,4 script Aragham Junior#02 99,{
- callfunc "F_RogueTest4", "Aragham Junior", 245, 27;
+ callfunc "F_RogueTest4", 1, "Aragham Junior", 245, 27;
}
//---------------------------------------------------------------------------
in_rogue.gat,152,27,6 script Hollgrehen Junior#02 85,{
- callfunc "F_RogueTest4", "Hollgrehen Junior", 160, 32;
+ callfunc "F_RogueTest4", 2, "Hollgrehen Junior", 160, 32;
}
//---------------------------------------------------------------------------
in_rogue.gat,183,105,4 script Antonio Junior#02 88,{
- callfunc "F_RogueTest4", "Antonio Junior", 175, 107;
+ callfunc "F_RogueTest4", 3, "Antonio Junior", 175, 107;
}
// Function for Guildsman =============================
function script F_RogueTest4 {
- if(Class != Job_Thief || ROGUE_Q2 != 1) goto L_NoThief;
+ if(BaseJob != Job_Thief || ROGUE_Q2 != getarg(0)) goto L_NoThief;
if(ROGUE_Q == 4) goto L_Restart;
- mes "[" + getarg(0) + "]";
- mes "Hello there... You must be from the Rogue guild. My name is " + getarg(0) + "...... I am the Rogue of the Desert..............";
+ mes "[" + getarg(1) + "]";
+ mes "Hello there... You must be from the Rogue guild. My name is " + getarg(1) + "...... I am the Rogue of the Desert..............";
next;
- mes "[" + getarg(0) + "]";
+ mes "[" + getarg(1) + "]";
mes "Aww who am I kidding...... Let's cut the crap. So are you ready to become a rogue?";
emotion e_swt;
next;
- mes "[" + getarg(0) + "]";
+ mes "[" + getarg(1) + "]";
mes "You see, the Rogue motto is...... ^5533FF'Avoid the strong! Be malicious to the weak!'^000000";
mes "This simple rule applys to fighting monsters as well.";
next;
- mes "[" + getarg(0) + "]";
+ mes "[" + getarg(1) + "]";
mes "The very last thing you will have to do before you can become a Rogue, is to walk through an underground passage to the Rogue Guild.";
next;
- mes "[" + getarg(0) + "]";
+ mes "[" + getarg(1) + "]";
mes "Sounds easy huh? Well it's not! But don't worry....";
mes "If you stay true to the Rogue motto and use a lot of hide, and do a lot of running, you should be just fine.";
M_Menu:
next;
- mes "[" + getarg(0) + "]";
+ mes "[" + getarg(1) + "]";
mes "Ok, are you ready to go?";
next;
menu "As ready as I'll ever be.",-, "Actually I'm kinda scared...",M_End;
- mes "[" + getarg(0) + "]";
+ mes "[" + getarg(1) + "]";
mes "Good luck then.";
next;
set ROGUE_Q, 4;
killmonsterall "in_rogue.gat";
- savepoint "in_rogue.gat", getarg(1), getarg(2);
+ savepoint "in_rogue.gat", getarg(2), getarg(3);
warp "in_rogue.gat", 15, 105;
end;
M_End:
- mes "[" + getarg(0) + "]";
+ mes "[" + getarg(1) + "]";
mes ".....................";
next;
- mes "[" + getarg(0) + "]";
+ mes "[" + getarg(1) + "]";
mes "Well take your time then...... I guess.......";
close;
L_Restart:
- mes "[" + getarg(0) + "]";
+ mes "[" + getarg(1) + "]";
mes "....... Looks like you got creamed.......";
emotion e_swt;
next;
- mes "[" + getarg(0) + "]";
+ mes "[" + getarg(1) + "]";
mes "If you're up for it, I'll send you back in. Failure has a way of teaching success.... yada yada yada....";
percentheal 100,100;
goto M_Menu;
L_NoThief:
- mes "[" + getarg(0) +"]";
+ mes "[" + getarg(1) +"]";
mes "I don't know how you got the";
if(ROGUE_Q2)
{
@@ -858,7 +860,7 @@ L_NoThief:
mes "Rogue test.";
}
next;
- mes "[" + getarg(0) +"]";
+ mes "[" + getarg(1) +"]";
mes "Please hurry up and leave";
mes "this place as soon as you can!";
close;