summaryrefslogtreecommitdiff
path: root/npc/custom/quests/hunting_missions.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/custom/quests/hunting_missions.txt')
-rw-r--r--npc/custom/quests/hunting_missions.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/custom/quests/hunting_missions.txt b/npc/custom/quests/hunting_missions.txt
index d4999648f..2b6057a51 100644
--- a/npc/custom/quests/hunting_missions.txt
+++ b/npc/custom/quests/hunting_missions.txt
@@ -270,14 +270,14 @@ OnNPCKillEvent:
}
} else if (.Party) {
set .@mob, killedrid;
- getmapxy(.@map1$,.@x1,.@y1,0);
+ getmapxy(.@map1$, .@x1, .@y1, UNITTYPE_PC);
getpartymember getcharid(1),1;
getpartymember getcharid(1),2;
for(set .@i,0; .@i<$@partymembercount; set .@i,.@i+1) {
if (isloggedin($@partymemberaid[.@i], $@partymembercid[.@i])) {
attachrid $@partymemberaid[.@i];
if (#Mission_Count && Mission0 && Hp > 0) {
- getmapxy(.@map2$,.@x2,.@y2,0);
+ getmapxy(.@map2$, .@x2, .@y2, UNITTYPE_PC);
if ((.@map1$ == .@map2$ || .Party == 1) && (distance(.@x1,.@y1,.@x2,.@y2) <= 30 || .Party < 3)) {
for(set .@j,0; .@j<.Quests; set .@j,.@j+1) {
if (strmobinfo(1,.@mob) == strmobinfo(1,getd("Mission"+.@j))) {