Removed commented out code

This commit is contained in:
WBHarry 2025-07-15 11:46:00 +02:00
parent 1ecce746b0
commit 201425f247
2 changed files with 6 additions and 7 deletions

View file

@ -16,10 +16,14 @@ const resourceField = (max, label, reverse = false) =>
isReversed: new foundry.data.fields.BooleanField({ initial: reverse })
});
const stressDamageReductionRule = label =>
const stressDamageReductionRule = localizationPath =>
new foundry.data.fields.SchemaField({
enabled: new foundry.data.fields.BooleanField({ required: true, initial: false }),
cost: new foundry.data.fields.NumberField({ integer: true, label })
cost: new foundry.data.fields.NumberField({
integer: true,
label: `${localizationPath}.label`,
hint: `${localizationPath}.hint`
})
});
export default class DhCharacter extends BaseDataActor {