summaryrefslogtreecommitdiff
path: root/npc/re/jobs/3-1/ranger.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/re/jobs/3-1/ranger.txt')
-rw-r--r--npc/re/jobs/3-1/ranger.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/re/jobs/3-1/ranger.txt b/npc/re/jobs/3-1/ranger.txt
index 35a2683ed..dd26786d2 100644
--- a/npc/re/jobs/3-1/ranger.txt
+++ b/npc/re/jobs/3-1/ranger.txt
@@ -1589,7 +1589,7 @@ OnInit:
OnEnable:
enablenpc strnpcinfo(0);
initnpctimer;
- getmapxy(.@map$,.@x,.@y,1);
+ getmapxy(.@map$, .@x, .@y, UNITTYPE_NPC);
monster "job3_rang02",.@x,.@y,"Egg Bomb",1047,1,strnpcinfo(0)+"::OnMyMobDead";
switch(atoi(strnpcinfo(2))%3) {
case 0: .@str$ = "Hey, I am going to explode. What are you going to do?"; break;