diff options
author | tr0n93 <tr0n93@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-21 11:42:28 +0000 |
---|---|---|
committer | tr0n93 <tr0n93@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-21 11:42:28 +0000 |
commit | 64fa45ad0b950f0803dc5914f5c0c075b506e6c2 (patch) | |
tree | a7cc842a50689c9b0d0328eff19f955ffda53784 /npc/instances | |
parent | 53e93590c8a588f0b31a3a4b38ce65ace5173b10 (diff) | |
download | hercules-64fa45ad0b950f0803dc5914f5c0c075b506e6c2.tar.gz hercules-64fa45ad0b950f0803dc5914f5c0c075b506e6c2.tar.bz2 hercules-64fa45ad0b950f0803dc5914f5c0c075b506e6c2.tar.xz hercules-64fa45ad0b950f0803dc5914f5c0c075b506e6c2.zip |
Fixed (bugreport:5758). Quests should be checked correctly now.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16133 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/instances')
-rw-r--r-- | npc/instances/SealedShrine.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/instances/SealedShrine.txt b/npc/instances/SealedShrine.txt index 36b76f87f..bbe83f01b 100644 --- a/npc/instances/SealedShrine.txt +++ b/npc/instances/SealedShrine.txt @@ -208,9 +208,9 @@ monk_test,309,146,3 script Friar Patrick#edq 412,{ mes "[Friar Patrick]"; mes "Haaaaaaap... Hocus Pocus Wingardium Abracadabra!!!!!"; next; - if (checkquest(3040)) erasequest 3040; - if (checkquest(3041)) erasequest 3041; - if (checkquest(3045)) erasequest 3045; + if (checkquest(3040)>=0) erasequest 3040; + if (checkquest(3041)>=0) erasequest 3041; + if (checkquest(3045)>=0) erasequest 3045; mes "[Friar Patrick]"; mes "Huu... It's over. Now that I've released Baphomet's Curse, you can enter again."; } @@ -307,9 +307,9 @@ monk_test,306,151,3 script Grave of Baphomet#edq 111,{ mes "[Friar Patrick]"; mes "Haaaaaaap... Wingardium Leviosa Expecto Patronum !!!!!"; specialeffect2 EF_HOLYHIT; - if (checkquest(3040)) erasequest 3040; - if (checkquest(3041)) erasequest 3041; - if (checkquest(3045)) erasequest 3045; + if (checkquest(3040)>=0) erasequest 3040; + if (checkquest(3041)>=0) erasequest 3041; + if (checkquest(3045)>=0) erasequest 3045; next; mes "[Friar Patrick]"; mes "Huu... It's over. Now I released all of the curses on you. You can enter again."; @@ -2131,8 +2131,8 @@ OnTouch: 2@cata,80,63,4 script Ancient Hero's Soul#2F 411,{ cutin "ins_cata_champ_s",2; - if (checkquest(3041)) erasequest 3041; - if (checkquest(3040)) erasequest 3040; + if (checkquest(3041)>=0) erasequest 3041; + if (checkquest(3040)>=0) erasequest 3040; setquest 3040; mes "[Ancient Hero's Soul]"; mes "Good job, my descendants... You've finished the long-cherished task that me and my bretheren could not complete."; |