Fixed #910. Added weight check in Ring of the Wise King Quest.

Thanks to @Jeybla for the changes and @Akaineko-astasi for the report.
This commit is contained in:
Jittapan Pluemsumran
2016-06-12 20:28:50 +07:00
parent a667fc0efb
commit 055ee42b3d

View File

@@ -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]";