diff options
author | Dastgir <dastgirpojee@rocketmail.com> | 2015-03-18 18:05:44 +0530 |
---|---|---|
committer | Dastgir <dastgirpojee@rocketmail.com> | 2015-03-18 18:05:44 +0530 |
commit | 9d1853aebd3ff34ed7869a3b1188943624078b8e (patch) | |
tree | e4ec6bd3c663fcc073e68612fcd57715f482236c /npc | |
parent | 5b3e5b5f8c74924984b3072f63ec9c2b0cf5929e (diff) | |
download | hercules-9d1853aebd3ff34ed7869a3b1188943624078b8e.tar.gz hercules-9d1853aebd3ff34ed7869a3b1188943624078b8e.tar.bz2 hercules-9d1853aebd3ff34ed7869a3b1188943624078b8e.tar.xz hercules-9d1853aebd3ff34ed7869a3b1188943624078b8e.zip |
Fix delitem bug in Ep13.1 quest. Thanks to milky-milk for reporting
Diffstat (limited to 'npc')
-rw-r--r-- | npc/quests/quests_13_1.txt | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/npc/quests/quests_13_1.txt b/npc/quests/quests_13_1.txt index 7bed6a624..cb88b7b5f 100644 --- a/npc/quests/quests_13_1.txt +++ b/npc/quests/quests_13_1.txt @@ -8834,27 +8834,11 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{ cutin "ep13_captin_edq",255; close; } - else if ((ep13_1_edq == 9) && (countitem(11012) < 3)) { + else if ((ep13_1_edq == 9) && (countitem(11012) != 3)) { mes "[Hibba Agip]"; mes "Is something wrong? Alright, we'll write another report for you."; next; - delitem 11012,1; //Expedition_Report - delitem 11012,1; //Expedition_Report - delitem 11012,1; //Expedition_Report - getitem 11012,3; //Expedition_Report - mes "[Hibba Agip]"; - mes "Let me remind you again. The officials are these three people: ^0000FFMinister Laur^000000 of the Rune Midgarts Kingdom, ^0000FFPriest Nuria^000000 of Arunafeltz and ^0000FFGerhart^000000 of the Schwaltzvalt Republic."; - next; - mes "[Hibba Agip]"; - mes "Make sure to deliver the report to them without fail. Come back in one piece, alright?"; - cutin "ep13_captin_edq",255; - close; - } - else if ((ep13_1_edq == 9) && (countitem(11012) > 3)) { - mes "[Hibba Agip]"; - mes "Is something wrong? Alright, we'll write another report for you."; - next; - delitem 11012,20; //Expedition_Report + delitem 11012,countitem(11012); //Expedition_Report getitem 11012,3; //Expedition_Report mes "[Hibba Agip]"; mes "Let me remind you again. The officials are these three people: ^0000FFMinister Laur^000000 of the Rune Midgarts Kingdom, ^0000FFPriest Nuria^000000 of Arunafeltz and ^0000FFGerhart^000000 of the Schwaltzvalt Republic."; |