We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db01e8f commit 6ec76dbCopy full SHA for 6ec76db
1 file changed
bundle.js
@@ -488,6 +488,26 @@
488
}
489
);
490
});
491
+ ["range", "maxAttackRange", "sensorRadius"].forEach((key) => {
492
+ output = modifyCertainKey(
493
+ output,
494
+ key,
495
+ {
496
+ parentKeys: [],
497
+ currentParentKey: "",
498
+ targetParentKey: ["visibilityMask", "ai"],
499
+ insideParentKeys: [],
500
+ excludeKeys: [],
501
+ brotherEntries: [],
502
+ parent: {}
503
+ },
504
+ (v) => {
505
+ if (typeof v[key] === "number" || typeof v[key] === "string") {
506
+ v[key] = Number(v[key]) * scaleRatio;
507
+ }
508
509
+ );
510
+ });
511
["min", "max", "value"].forEach((key) => {
512
output = modifyCertainKey(
513
output,
0 commit comments