summaryrefslogtreecommitdiff
path: root/npc/quests
diff options
context:
space:
mode:
authorevera <evera@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-08 20:24:22 +0000
committerevera <evera@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-08 20:24:22 +0000
commite5404684888a5fb1ad0fc21f147a1d757d5d5b95 (patch)
tree1fd14e72594ca0cccf48eba9f46bd084743de1bd /npc/quests
parent1324165fd673fc2431a50e0dbe530cce352eb70d (diff)
downloadhercules-e5404684888a5fb1ad0fc21f147a1d757d5d5b95.tar.gz
hercules-e5404684888a5fb1ad0fc21f147a1d757d5d5b95.tar.bz2
hercules-e5404684888a5fb1ad0fc21f147a1d757d5d5b95.tar.xz
hercules-e5404684888a5fb1ad0fc21f147a1d757d5d5b95.zip
fixed bugs in npc/quests/newgears/2004_headgears.txt
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7584 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/quests')
-rw-r--r--npc/quests/newgears/2004_headgears.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/npc/quests/newgears/2004_headgears.txt b/npc/quests/newgears/2004_headgears.txt
index eab224fd4..7a4294688 100644
--- a/npc/quests/newgears/2004_headgears.txt
+++ b/npc/quests/newgears/2004_headgears.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Dj-Yhn
//===== Current Version: =====================================
-//= 1.01
+//= 1.1
//===== Compatible With: =====================================
//= eAthena
//===== Description: =========================================
@@ -55,6 +55,8 @@
//= 1.01 Fixed items names iRO->kRO, fixed some bugs [Qwadrat]
//= Fixed possible item exploits, fixed Straw Hat
//= Added missing checks [Lupus]
+//= 1.1 Fixed a bug in Giant-band-aid that didn't counting rotten bandages
+// Fixed a bug in Fur Hat that didn't count yarn [Evera]
//============================================================
//Payon /=Black cat ears=/
@@ -188,7 +190,7 @@ geffen.gat,129,148,3 script Arjen 779,{
close;
}
case 2:
- if ((countitem(970) > 0) & (countitem(930) > 499)) {
+ if (countitem(970) > 0) && (countitem(930) > 499) {
mes "[Arjen]";
mes "Giant Band Aid??..";
mes "Oh well- Then,";
@@ -197,7 +199,7 @@ geffen.gat,129,148,3 script Arjen 779,{
mes "^3131FF &#1038;V Sha Sha !! - ^000000";
mes "^3131FF - Cha Sha Haa !! - ^000000";
next;
- if ((countitem(970) > 0) & (countitem(930) > 499)) {
+ if (countitem(970) > 0) && (countitem(930) > 499) {
delitem 970,1;
delitem 930,500;
getitem 5063,1; //another one in wich I love gravity for changing names =X
@@ -1618,7 +1620,7 @@ xmas_in.gat,35,30,3 script Headgear Merchant 797,{
close;
}
case 5: //fur hat [5076]
- if (countitem(2226) && countitem(7038 > 499)) {
+ if (countitem(2226) && countitem(7038) > 499) {
mes "[Mike]";
mes "Fur Hat! Yo, Man! Check it out!";
mes "It's good for keeping warm! But it's fashionable too!";
@@ -1649,7 +1651,7 @@ xmas_in.gat,35,30,3 script Headgear Merchant 797,{
mes "poterpote poterpote";
mes "PosongPosong PosongPosong";
next;
- if (countitem(2226) && countitem(7038 > 499)) {
+ if (countitem(2226) && countitem(7038) > 499) {
delitem 2226,1;
delitem 7038,500;
getitem 5076,1;