summaryrefslogtreecommitdiff
path: root/npc/custom
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-09-15 20:37:57 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-09-15 20:37:57 +0000
commitbcb75c266ab7740ca22d3584695647159cb47546 (patch)
treef6118a6c391192f2b0128ce8cfedf1cd571d2079 /npc/custom
parent811d84576164dfbcc2ac06fb472de055c7aef2ec (diff)
downloadhercules-bcb75c266ab7740ca22d3584695647159cb47546.tar.gz
hercules-bcb75c266ab7740ca22d3584695647159cb47546.tar.bz2
hercules-bcb75c266ab7740ca22d3584695647159cb47546.tar.xz
hercules-bcb75c266ab7740ca22d3584695647159cb47546.zip
* Fixed an Eden Quest bug (bugreport:6633)
* Follow-up r16779: one missing check git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16781 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom')
-rw-r--r--npc/custom/quests/hunting_missions.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/custom/quests/hunting_missions.txt b/npc/custom/quests/hunting_missions.txt
index c45b588fb..31ee872ca 100644
--- a/npc/custom/quests/hunting_missions.txt
+++ b/npc/custom/quests/hunting_missions.txt
@@ -246,7 +246,7 @@ OnBuyItem:
close;
OnNPCKillEvent:
- if (!#Mission_Count) end;
+ if (!#Mission_Count || !Mission1) end;
for(set .@i,0; .@i<.Quests; set .@i,.@i+1) {
if (strmobinfo(1,killedrid) == strmobinfo(1,getd("Mission"+.@i))) {
if (getd("Mission"+.@i+"_") < #Mission_Count) {