summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/Changelog.txt1
-rw-r--r--npc/quests/newgears/2004_headgears.txt12
2 files changed, 8 insertions, 5 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index f1190f028..4fe182a26 100644
--- a/npc/Changelog.txt
+++ b/npc/Changelog.txt
@@ -39,6 +39,7 @@ Playtester
Date Added
======
07/07
+ * Fixed a few bugs in 2004_headgears.txt [Evera]
* Fixed a small bug in the swordsman job quest [MasterOfMuppets]
- thanks to tenshi7angel for notifying me about it.
* Small fix in the Blacksmith Quest [Playtester]
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 Ў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;