summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-05-14 20:28:34 +0200
committerHaru <haru@dotalux.com>2015-05-14 20:32:41 +0200
commit6e3f2f6a507d88603def67d8aefaba3a62297573 (patch)
treeebe0dca8dedb42340e256e2e7a5f4cf065fcf88a
parent1f1fcb786383857824b1cba7664e36e753334982 (diff)
downloadhercules-6e3f2f6a507d88603def67d8aefaba3a62297573.tar.gz
hercules-6e3f2f6a507d88603def67d8aefaba3a62297573.tar.bz2
hercules-6e3f2f6a507d88603def67d8aefaba3a62297573.tar.xz
hercules-6e3f2f6a507d88603def67d8aefaba3a62297573.zip
Fixed some invalid questprogress conditions
Special thanks to MordekaiserGod for pointing out the issue. Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--npc/quests/quests_13_1.txt2
-rw-r--r--npc/re/events/halloween_2014.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/quests/quests_13_1.txt b/npc/quests/quests_13_1.txt
index fc051b383..fa660cb04 100644
--- a/npc/quests/quests_13_1.txt
+++ b/npc/quests/quests_13_1.txt
@@ -8368,7 +8368,7 @@ mid_camp,66,122,55 script Henry Clifford 4_M_05,{
}
mid_camp,88,100,55 script Cat Hand Mining Agent 4_CAT,{
- if (!questprogress(12062,PLAYTIME) == -1) {
+ if (!questprogress(12062,PLAYTIME)) {
if ((countitem(6048) > 2) && (ep13_yong1 > 9)) {
mes "[Cat Hand Mining Agent]";
mes "Oh, wow~";
diff --git a/npc/re/events/halloween_2014.txt b/npc/re/events/halloween_2014.txt
index 1a9635258..5b81a2777 100644
--- a/npc/re/events/halloween_2014.txt
+++ b/npc/re/events/halloween_2014.txt
@@ -879,7 +879,7 @@ niflheim,192,182,7 script Jack#14hal 4_JACK,{
//= Richard
//==============================================================================
niflheim,190,185,5 script Richard#14hal01 4_M_NFDEADSWDMAN,{
- if (questprogress(14457) > -1) {
+ if (questprogress(14457)) {
mes "A doll which resembles Richard.";
} else {
mes "[Richard]";