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:
parent
54431dd0ec
commit
fe4897548e
@ -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, -";
|
||||
|
Loading…
x
Reference in New Issue
Block a user