Added Custom Weight Check on quests_13_2 (#6250)

Need this check to solve the bug that failed to get the item if inventory is full.

Special Thanks to: @RagnaWay @Atemo @secretdataz
This commit is contained in:
mazvi 2021-09-11 04:07:09 +07:00 committed by GitHub
parent 54431dd0ec
commit fe4897548e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,7 @@
//= 2.7a Added Izlude RE coordinates. [Euphy]
//= 2.8 Added GM management function. [Euphy]
//= 2.9 Added custom weight check. Fixes issue #910. [Jeybla]
//= 2.9a Added custom weight check. To overcome failure to get gems. [Mazvi]
//============================================================
// Cat Paw Addition :: cat_enhance
@ -4481,6 +4482,11 @@ function script jewel_13_2 {
close;
}
else if (ep13_2_rhea == 5) {
//Custom Weight Check
if (!checkweight(7575,2)) {
mes "Sorry, your inventory is full!";
close;
}
.@num = getarg(1);
if (checkquest(8240+.@num) == -1) {
mes "- Under a round pile of earth, -";