Skip to content

Commit 63c7753

Browse files
committed
removed costume config check
1 parent 0a7d5af commit 63c7753

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

src/config/heroes/Costume.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,14 @@ class Costume implements HasRequiredKeys, HasStrings, HasIntegers, HasArrays {
8585
);
8686
}
8787
// validate bonuses are valid
88-
if (this._bonuses && !ohp(costumesConfig.bonuses, this._bonuses)) {
89-
throw new InvalidConfig(
90-
this,
91-
`${name}'s costume (${costumeVariant}) has an invalid bonus ${this._bonuses}`
92-
);
93-
}
88+
//cvl75 disabled costume config check 2026-04-03
89+
// if (this._bonuses && !ohp(costumesConfig.bonuses, this._bonuses)) {
90+
// throw new InvalidConfig(
91+
// this,
92+
// `${name}'s costume (${costumeVariant}) has an invalid bonus ${this._bonuses}`
93+
// );
94+
// }
95+
//end cvl75
9496
// TODO: Populate default variant if bonuses isn't set
9597
}
9698

0 commit comments

Comments
 (0)