summaryrefslogtreecommitdiff
path: root/npc/quests
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-12-18 05:48:23 +0100
committerHaru <haru@dotalux.com>2015-12-18 05:53:48 +0100
commita782aa1540b63d5fffd55d835f6f30ee0c53d0f1 (patch)
tree4d20c27f191e91adabb029342683687bce5ca4d5 /npc/quests
parentdbe5f2237cada6a261e297b60857dc305860a88d (diff)
downloadhercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.tar.gz
hercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.tar.bz2
hercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.tar.xz
hercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.zip
Replaced numeric values with UNITTYPE_ constants in getmapxy
Follow-up to dbe5f2237cada6a261e297b60857dc305860a88d Signed-off-by: Haru <haru@dotalux.com>
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]";