summaryrefslogtreecommitdiff
path: root/npc/merchants/dye_maker.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/merchants/dye_maker.txt')
-rw-r--r--npc/merchants/dye_maker.txt5
1 files changed, 3 insertions, 2 deletions
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. -";