fixed bugs in npc/quests/newgears/2004_headgears.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7584 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
evera 2006-07-08 20:24:22 +00:00
parent 598e005ed4
commit f13ccfda83
2 changed files with 8 additions and 5 deletions

View File

@ -39,6 +39,7 @@ Playtester
Date Added Date Added
====== ======
07/07 07/07
* Fixed a few bugs in 2004_headgears.txt [Evera]
* Fixed a small bug in the swordsman job quest [MasterOfMuppets] * Fixed a small bug in the swordsman job quest [MasterOfMuppets]
- thanks to tenshi7angel for notifying me about it. - thanks to tenshi7angel for notifying me about it.
* Small fix in the Blacksmith Quest [Playtester] * Small fix in the Blacksmith Quest [Playtester]

View File

@ -3,7 +3,7 @@
//===== By: ================================================== //===== By: ==================================================
//= Dj-Yhn //= Dj-Yhn
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 1.01 //= 1.1
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= eAthena //= eAthena
//===== Description: ========================================= //===== Description: =========================================
@ -55,6 +55,8 @@
//= 1.01 Fixed items names iRO->kRO, fixed some bugs [Qwadrat] //= 1.01 Fixed items names iRO->kRO, fixed some bugs [Qwadrat]
//= Fixed possible item exploits, fixed Straw Hat //= Fixed possible item exploits, fixed Straw Hat
//= Added missing checks [Lupus] //= 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=/ //Payon /=Black cat ears=/
@ -188,7 +190,7 @@ geffen.gat,129,148,3 script Arjen 779,{
close; close;
} }
case 2: case 2:
if ((countitem(970) > 0) & (countitem(930) > 499)) { if (countitem(970) > 0) && (countitem(930) > 499) {
mes "[Arjen]"; mes "[Arjen]";
mes "Giant Band Aid??.."; mes "Giant Band Aid??..";
mes "Oh well- Then,"; mes "Oh well- Then,";
@ -197,7 +199,7 @@ geffen.gat,129,148,3 script Arjen 779,{
mes "^3131FF ЎV Sha Sha !! - ^000000"; mes "^3131FF ЎV Sha Sha !! - ^000000";
mes "^3131FF - Cha Sha Haa !! - ^000000"; mes "^3131FF - Cha Sha Haa !! - ^000000";
next; next;
if ((countitem(970) > 0) & (countitem(930) > 499)) { if (countitem(970) > 0) && (countitem(930) > 499) {
delitem 970,1; delitem 970,1;
delitem 930,500; delitem 930,500;
getitem 5063,1; //another one in wich I love gravity for changing names =X 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; close;
} }
case 5: //fur hat [5076] case 5: //fur hat [5076]
if (countitem(2226) && countitem(7038 > 499)) { if (countitem(2226) && countitem(7038) > 499) {
mes "[Mike]"; mes "[Mike]";
mes "Fur Hat! Yo, Man! Check it out!"; mes "Fur Hat! Yo, Man! Check it out!";
mes "It's good for keeping warm! But it's fashionable too!"; 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 "poterpote poterpote";
mes "PosongPosong PosongPosong"; mes "PosongPosong PosongPosong";
next; next;
if (countitem(2226) && countitem(7038 > 499)) { if (countitem(2226) && countitem(7038) > 499) {
delitem 2226,1; delitem 2226,1;
delitem 7038,500; delitem 7038,500;
getitem 5076,1; getitem 5076,1;