summaryrefslogtreecommitdiff
path: root/npc/quests/guildrelay.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-03-03 21:28:22 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-03-03 21:28:22 +0000
commitb4b590d7e37154ebcccee75e600736248147586d (patch)
tree2b5678b04b736909e1b6ec49e137450291ddd7d2 /npc/quests/guildrelay.txt
parent102233a1d715279fc6e4783bab98e7a8d92f9013 (diff)
downloadhercules-b4b590d7e37154ebcccee75e600736248147586d.tar.gz
hercules-b4b590d7e37154ebcccee75e600736248147586d.tar.bz2
hercules-b4b590d7e37154ebcccee75e600736248147586d.tar.xz
hercules-b4b590d7e37154ebcccee75e600736248147586d.zip
* Some bug fixing! Hoorah for me not feeling lazy!
- Fixed some issues related to the guild relay quests. (bugreport:3934) - Disabled the warp back to moc_fild22b from mid_camp. (bugreport:3985) - Loop in sealed shrine should disable all thorches. (bugreport:4044) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14258 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/quests/guildrelay.txt')
-rw-r--r--npc/quests/guildrelay.txt39
1 files changed, 22 insertions, 17 deletions
diff --git a/npc/quests/guildrelay.txt b/npc/quests/guildrelay.txt
index f8774e0b9..71587522d 100644
--- a/npc/quests/guildrelay.txt
+++ b/npc/quests/guildrelay.txt
@@ -3,23 +3,24 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.0
+//= 1.1
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
//= [Aegis Conversion]
//= Guild Relay Quest.
//= Quest designed for multiple users at once.
-//= Luina Castle NPCs must remain enabled.
//= Variable in use: guildrelay_q (Max: ??)
//= Variable in use: guildtime (Max: ??)
//===== Additional Comments: =================================
//= 1.0 First version.
+//= 1.1 Fixed errors reported by NoHealing (Bugreport:3934) [L0ne_W0lf]
+//= NPCs now duplicate from FLOATING npcs instead of Luina 1 npcs.
//============================================================
-// Luina 1
+// Floating NPCs to duplicate from.
//============================================================
-aldeg_cas01,51,102,5 script Buzz#01::GuildRelay1 754,{
+- script RelayDummy1::GuildRelay1 754,{
set .@name$,strnpcinfo(1);
if (.@name$ == "Buzz") {
set .@name2$,"Lenya";
@@ -805,7 +806,7 @@ aldeg_cas01,51,102,5 script Buzz#01::GuildRelay1 754,{
}
}
else if (countitem(7238) > 0) {
- if ((guildrelay_q == 86) && (BaseClass == Job_Alchemist)) {
+ if ((guildrelay_q == 86) && (BaseJob == Job_Alchemist)) {
mes "[" + .@name$ + "]";
mes "Hello," + strcharinfo(0) + ".";
mes "I commend you on your work.";
@@ -1219,11 +1220,10 @@ aldeg_cas01,51,102,5 script Buzz#01::GuildRelay1 754,{
}
}
-aldeg_cas01,75,39,3 script Lenya#01::GuildRelay2 754,{
+- script RelayDummy2::GuildRelay2 754,{
set .@name$,strnpcinfo(1);
- if (.@name$ == "Lenya") {
- set .@GID, GetCastleData("aldeg_cas"+strnpcinfo(2),1);
- }
+ getmapxy(.@m$,.@x,.@x,1);
+ set .@GID, GetCastleData(.@m$,1);
if (checkweight(1201,1) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
@@ -1729,11 +1729,10 @@ aldeg_cas01,75,39,3 script Lenya#01::GuildRelay2 754,{
}
}
-aldeg_cas01,200,175,3 script Gealuve#01::GuildRelay3 754,{
+- script RelayDummy3::GuildRelay3 754,{
set .@name$,strnpcinfo(1);
- if (.@name$ == "Gealuve") {
- set .@GID, GetCastleData("aldeg_cas"+strnpcinfo(2),1);
- }
+ getmapxy(.@m$,.@x,.@x,1);
+ set .@GID, GetCastleData(.@m$,1);
if (checkweight(1201,1) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
@@ -2415,11 +2414,10 @@ aldeg_cas01,200,175,3 script Gealuve#01::GuildRelay3 754,{
close;
}
-aldeg_cas01,59,224,3 script Pariz#01::GuildRelay4 754,{
+- script GuildDummy4::GuildRelay4 754,{
set .@name$,strnpcinfo(1);
- if (.@name$ == "Pariz") {
- set .@GID, GetCastleData("aldeg_cas"+strnpcinfo(2),1);
- }
+ getmapxy(.@m$,.@x,.@x,1);
+ set .@GID, GetCastleData(.@m$,1);
if (checkweight(1201,1) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
@@ -3092,6 +3090,13 @@ aldeg_cas01,59,224,3 script Pariz#01::GuildRelay4 754,{
}
}
+// Luina 1
+//============================================================
+aldeg_cas01,51,102,5 duplicate(GuildRelay1) Buzz#01 754,{
+aldeg_cas01,75,39,3 duplicate(GuildRelay2) Lenya#01 754,{
+aldeg_cas01,200,175,3 duplicate(GuildRelay3) Gealuve#01 754,{
+aldeg_cas01,59,224,3 duplicate(GuildRelay4) Pariz#01 754,{
+
// Luina 2
//============================================================
aldeg_cas02,120,51,5 duplicate(GuildRelay1) Buzz#02 754