diff options
author | Ridley <ridley8819@gmail.com> | 2017-02-12 00:15:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-12 00:15:16 +0100 |
commit | 4aff6f75a7c39e2a2f30608ce9f45392aea7056c (patch) | |
tree | 746c47fb76393ca41ff7ff858c47ee3cd5c603e7 /npc/quests | |
parent | 63ac8191d6a72c46a6822ca59273cb751ded6552 (diff) | |
parent | 75fd8428290a17aa2ee4163e81c5b9502f2a90d1 (diff) | |
download | hercules-4aff6f75a7c39e2a2f30608ce9f45392aea7056c.tar.gz hercules-4aff6f75a7c39e2a2f30608ce9f45392aea7056c.tar.bz2 hercules-4aff6f75a7c39e2a2f30608ce9f45392aea7056c.tar.xz hercules-4aff6f75a7c39e2a2f30608ce9f45392aea7056c.zip |
Merge pull request #1575 from Asheraf/questprogress
remove useless check for questprogress
Diffstat (limited to 'npc/quests')
-rw-r--r-- | npc/quests/quests_hugel.txt | 4 | ||||
-rw-r--r-- | npc/quests/quests_lighthalzen.txt | 2 | ||||
-rw-r--r-- | npc/quests/quests_louyang.txt | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/npc/quests/quests_hugel.txt b/npc/quests/quests_hugel.txt index 039e773a7..1ac300153 100644 --- a/npc/quests/quests_hugel.txt +++ b/npc/quests/quests_hugel.txt @@ -5836,7 +5836,7 @@ hugel,76,134,3 script Neha 4W_F_01,{ mes "for your impertinence, girl!"; } for (.@i = 8064; .@i <= 8067; ++.@i) { - if (questprogress(.@i) && questprogress(.@i) != 2) + if (questprogress(.@i) == 1) completequest .@i; } setquest 8068; @@ -8706,7 +8706,7 @@ hu_in01,14,11,4 script Laura 1_F_GYPSY,{ select("Yeah, yeah, whatever.", "Sure thing.", "I s-s-s-suppose...!", "Yes, Ma'am!"); hg_odin = 17; for(.@i = 11002; .@i <= 11005; ++.@i) { - if (questprogress(.@i) && questprogress(.@i) != 2) + if (questprogress(.@i) == 1) completequest .@i; } setquest 11006; diff --git a/npc/quests/quests_lighthalzen.txt b/npc/quests/quests_lighthalzen.txt index 0a80c25ae..66cfb0e73 100644 --- a/npc/quests/quests_lighthalzen.txt +++ b/npc/quests/quests_lighthalzen.txt @@ -8503,7 +8503,7 @@ L_Mission: mes "........."; mes "............"; for (.@i = 12015; .@i <= 12028; ++.@i) { - if (questprogress(.@i) && questprogress(.@i) != 2) + if (questprogress(.@i) == 1) completequest .@i; } close; diff --git a/npc/quests/quests_louyang.txt b/npc/quests/quests_louyang.txt index 40fd7b38e..e05cd3313 100644 --- a/npc/quests/quests_louyang.txt +++ b/npc/quests/quests_louyang.txt @@ -2123,7 +2123,7 @@ lou_in02,156,38,0 script Studying Officer#lou 4_M_CHNMAN,{ mes "so I was able to find it again pretty easily. I hope it's useful to you."; ch_par = 15; for (.@i = 11051; .@i <= 11054; ++.@i) { - if (questprogress(.@i) && questprogress(.@i) != 2) + if (questprogress(.@i) == 1) completequest .@i; } setquest 11055; |