summaryrefslogtreecommitdiff
path: root/npc/other/monster_race.txt
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/other/monster_race.txt
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/other/monster_race.txt')
-rw-r--r--npc/other/monster_race.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/other/monster_race.txt b/npc/other/monster_race.txt
index 24de8a1f8..eec6593e5 100644
--- a/npc/other/monster_race.txt
+++ b/npc/other/monster_race.txt
@@ -241,7 +241,7 @@ OnInit:
OnEnable:
emotion e_gasp;
enablenpc strnpcinfo(0);
- getmapxy(.@m$,.@x,.@y,1);
+ getmapxy(.@m$, .@x, .@y, UNITTYPE_NPC);
setarray .@mob[1], R_PORING,R_LUNATIC,R_SAVAGE_BABE,R_DESERT_WOLF_B,R_DEVIRUCHI,R_BAPHOMET_;
monster "p_track01",58,.@y,"The "+ F_Ord() +" Racer", .@mob[F_Num()],1,strnpcinfo(0)+"::OnMyMobDead";
end;
@@ -1750,7 +1750,7 @@ p_track02,76,38,1 script Exit Guide#double 4_M_NFMAN,{
OnEnable:
enablenpc strnpcinfo(0);
setarray .@mob[1], R_PORING,R_LUNATIC,R_SAVAGE_BABE,R_DESERT_WOLF_B,R_DEVIRUCHI,R_BAPHOMET_;
- getmapxy(.@m$,.@x,.@y,1);
+ getmapxy(.@m$, .@x, .@y, UNITTYPE_NPC);
.@num = MN();
monster "p_track02",58,.@y,"Monster "+.@num,.@mob[.@num],1,strnpcinfo(0)+"::OnMyMobDead";
end;