diff options
author | Haru <haru@dotalux.com> | 2015-12-18 05:48:23 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-18 05:53:48 +0100 |
commit | a782aa1540b63d5fffd55d835f6f30ee0c53d0f1 (patch) | |
tree | 4d20c27f191e91adabb029342683687bce5ca4d5 /npc/re/instances/OldGlastHeim.txt | |
parent | dbe5f2237cada6a261e297b60857dc305860a88d (diff) | |
download | hercules-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/re/instances/OldGlastHeim.txt')
-rw-r--r-- | npc/re/instances/OldGlastHeim.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/re/instances/OldGlastHeim.txt b/npc/re/instances/OldGlastHeim.txt index 936053d36..b59d6ca36 100644 --- a/npc/re/instances/OldGlastHeim.txt +++ b/npc/re/instances/OldGlastHeim.txt @@ -988,7 +988,7 @@ OnTouch: else if (.@i == 3) .@mobs = 5; else if (.@i < 7) .@mobs = 6; else .@mobs = 7; - getmapxy(.@map$,.@x,.@y,1); + getmapxy(.@map$, .@x, .@y, UNITTYPE_NPC); specialeffect EF_VENOMDUST; monster .@map$,.@x,.@y,"Muck Worm",2467,.@mobs,instance_npcname(strnpcinfo(0))+"::OnMyMobDead"; disablenpc instance_npcname(strnpcinfo(0)); @@ -1961,7 +1961,7 @@ OnTimer80000: mes "Now, I may erase your memory again. Perhaps you will have a different fate next time."; specialeffect2 EF_FREEZE; close2; - getmapxy(.@map$,.@x,.@y,0); + getmapxy(.@map$, .@x, .@y, UNITTYPE_PC); warp .@map$,.@x,.@y; end; } else { |