From 055ee42b3d6bfe035c235b7aa7d9ac7bc935feef Mon Sep 17 00:00:00 2001 From: Jittapan Pluemsumran Date: Sun, 12 Jun 2016 20:28:50 +0700 Subject: [PATCH] Fixed #910. Added weight check in Ring of the Wise King Quest. Thanks to @Jeybla for the changes and @Akaineko-astasi for the report. --- npc/quests/quests_13_2.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/npc/quests/quests_13_2.txt b/npc/quests/quests_13_2.txt index 7d09788c98..eb2ebfbc19 100644 --- a/npc/quests/quests_13_2.txt +++ b/npc/quests/quests_13_2.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== -//= 2.8 +//= 2.9 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= @@ -49,6 +49,7 @@ //= 2.7 Updated RE/Pre-RE EXP. [Euphy] //= 2.7a Added Izlude RE coordinates. [Euphy] //= 2.8 Added GM management function. [Euphy] +//= 2.9 Added custom weight check. Fixes issue #910. [Jeybla] //============================================================ // Cat Hand Addition :: cat_enhance @@ -3519,6 +3520,12 @@ OnTimer300000: // Otherworld language :: ep13_2_rhea //============================================================ mid_camp,197,237,3 script Schwartzvalt Mechanic#1 869,{ + if( !checkweight(2782,1)) { // Custom weight check. + mes "[Mechanic Engineer Dorance]"; + mes "It looks like you're carrying too many things."; + mes "Why not put some of your items in storage and come back?"; + close; + } if (ep13_1_edq > 2 || ep13_start == 100) { if (ep13_2_rhea < 1) { mes "[Mechanic Engineer Dorance]";