Rebalance base stat boosters and make max stack count rely on IVs

This commit is contained in:
Flashfyre committed 2023-12-09 00:33:29 -05:00
1 parent d4b620b155
commit e2a6a93209
7 files changed
+104 -59

No files matched your search

+2 -2
View File
@@ -41,8 +41,8 @@ export default class ModifierData {
const ret = Reflect.construct(constructor, ([ type ] as any[]).concat(this.args).concat(this.stackCount)) as PersistentModifier;
if (ret.stackCount > ret.getMaxStackCount())
ret.stackCount = ret.getMaxStackCount();
if (ret.stackCount > ret.getMaxStackCount(scene))
ret.stackCount = ret.getMaxStackCount(scene);
return ret;
}