From 62f0c65cd908cf17c092a33fbfa94a12d9b30af1 Mon Sep 17 00:00:00 2001 From: L0ne_W0lf Date: Thu, 28 Feb 2008 05:15:27 +0000 Subject: Implemented several "checkweight" NPC merchants. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12257 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/merchants/dye_maker.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'npc/merchants/dye_maker.txt') diff --git a/npc/merchants/dye_maker.txt b/npc/merchants/dye_maker.txt index cdcde978d..2d3983452 100644 --- a/npc/merchants/dye_maker.txt +++ b/npc/merchants/dye_maker.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= eAthena Dev Team //===== Current Version: ===================================== -//= 1.3b +//= 1.4 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -15,10 +15,11 @@ //= 1.2b Fixed typos in variable names [ultramage] //= 1.3 Made the checks more dynamic [ultramage] //= 1.3b Fixed incorrect checking loop structure [ultramage] +//= 1.4 Added a checkweight. [L0ne_W0lf] //============================================================ morocc_in,146,99,3 script Java Dullihan 58,{ - if (MaxWeight-Weight < 200) { + if ((MaxWeight-Weight) < 200 || checkweight(1201,1) == 0) { mes "- Wait a moment! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; -- cgit v1.2.3-70-g09d2