summaryrefslogtreecommitdiff
path: root/npc/quests
diff options
context:
space:
mode:
Diffstat (limited to 'npc/quests')
-rw-r--r--npc/quests/guildrelay.txt6
-rw-r--r--npc/quests/partyrelay.txt2
2 files changed, 4 insertions, 4 deletions
diff --git a/npc/quests/guildrelay.txt b/npc/quests/guildrelay.txt
index 79a6e99e5..0968c9ae0 100644
--- a/npc/quests/guildrelay.txt
+++ b/npc/quests/guildrelay.txt
@@ -1240,7 +1240,7 @@
- script RelayDummy2::GuildRelay2 4_M_SAGE_A,{
.@name$ = strnpcinfo(1);
- getmapxy(.@m$,.@x,.@x,1);
+ getmapxy(.@m$, .@x, .@x, UNITTYPE_NPC);
.@GID = getcastledata(.@m$,1);
if (checkweight(Knife,1) == 0) {
mes "^3355FFWait a minute! You're";
@@ -1749,7 +1749,7 @@
- script RelayDummy3::GuildRelay3 4_M_SAGE_A,{
.@name$ = strnpcinfo(1);
- getmapxy(.@m$,.@x,.@x,1);
+ getmapxy(.@m$, .@x, .@x, UNITTYPE_NPC);
.@GID = getcastledata(.@m$,1);
if (checkweight(Knife,1) == 0) {
mes "^3355FFWait a minute! You're";
@@ -2433,7 +2433,7 @@
- script GuildDummy4::GuildRelay4 4_M_SAGE_A,{
.@name$ = strnpcinfo(1);
- getmapxy(.@m$,.@x,.@x,1);
+ getmapxy(.@m$, .@x, .@x, UNITTYPE_NPC);
.@GID = getcastledata(.@m$,1);
if (checkweight(Knife,1) == 0) {
mes "^3355FFWait a minute! You're";
diff --git a/npc/quests/partyrelay.txt b/npc/quests/partyrelay.txt
index e4e9d0d49..da3fe5d0a 100644
--- a/npc/quests/partyrelay.txt
+++ b/npc/quests/partyrelay.txt
@@ -2492,7 +2492,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
close;
}
.@relaytime = gettime(GETTIME_HOUR);
- getmapxy(.@m$,.@x,.@y,1,strnpcinfo(3));
+ getmapxy(.@m$, .@x, .@y, UNITTYPE_NPC, strnpcinfo(3));
.@juwi = getareausers(.@m$,.@x-8,.@y-8,.@x+8,.@y+8);
if (party_relay == 32) {
mes "[Lospii]";