diff options
author | Asheraf <acheraf1998@gmail.com> | 2017-02-11 18:18:21 +0000 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2017-02-11 18:18:21 +0000 |
commit | 75fd8428290a17aa2ee4163e81c5b9502f2a90d1 (patch) | |
tree | 49e05ffb7cf5b5a7e8698b412ea3b0c405285cd7 /npc/quests | |
parent | c6ade90ae7c3f56f9f51a3376dc680ab64ef49bf (diff) | |
download | hercules-75fd8428290a17aa2ee4163e81c5b9502f2a90d1.tar.gz hercules-75fd8428290a17aa2ee4163e81c5b9502f2a90d1.tar.bz2 hercules-75fd8428290a17aa2ee4163e81c5b9502f2a90d1.tar.xz hercules-75fd8428290a17aa2ee4163e81c5b9502f2a90d1.zip |
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; |