Lower Berry Pouch cap to 3

This commit is contained in:
Flashfyre committed 2023-10-27 23:18:18 -04:00
1 parent 62f464c81c
commit 29b0f046a6
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -671,13 +671,13 @@ export class PreserveBerryModifier extends PersistentModifier {
apply(args: any[]): boolean {
if (!(args[0] as Utils.BooleanHolder).value)
(args[0] as Utils.BooleanHolder).value = this.getStackCount() === this.getMaxStackCount() || Utils.randInt(this.getMaxStackCount()) < this.getStackCount();
(args[0] as Utils.BooleanHolder).value = Utils.randInt(this.getMaxStackCount()) < this.getStackCount();
return true;
}
getMaxStackCount(): integer {
return 4;
return 3;
}
}