From 64fa45ad0b950f0803dc5914f5c0c075b506e6c2 Mon Sep 17 00:00:00 2001 From: tr0n93 Date: Mon, 21 May 2012 11:42:28 +0000 Subject: 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 --- npc/instances/SealedShrine.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'npc') 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."; -- cgit v1.2.3-70-g09d2