summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/003-1/aidan.txt10
1 files changed, 3 insertions, 7 deletions
diff --git a/npc/003-1/aidan.txt b/npc/003-1/aidan.txt
index e4ddd35e6..f16c246aa 100644
--- a/npc/003-1/aidan.txt
+++ b/npc/003-1/aidan.txt
@@ -161,13 +161,9 @@ OnInit:
OnNPCKillEvent:
if (getq(General_Hunter) == 0) end;
- else if (getq(General_Hunter) == 1 && killedrid == Maggot)
- setq2 General_Hunter, getq2(General_Hunter)+1;
- else if (getq(General_Hunter) == 2 && killedrid == Snake)
- setq2 General_Hunter, getq2(General_Hunter)+1;
- else if (getq(General_Hunter) == 3 && killedrid == Scorpion)
- setq2 General_Hunter, getq2(General_Hunter)+1;
- else if (getq(General_Hunter) == 4 && killedrid == Mouboo)
+
+ .@ghd=getq(General_Hunter);
+ if (killedrid == GHQ_GetMonsterIDByQuestID(.@ghd))
setq2 General_Hunter, getq2(General_Hunter)+1;
end;
}