mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 07:36:26 +01:00
Removed commented out code
This commit is contained in:
parent
1ecce746b0
commit
201425f247
2 changed files with 6 additions and 7 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -12,11 +12,6 @@
|
|||
<li data-index="{{i}}">
|
||||
<div class="key">
|
||||
<input type="text" class="effect-change-input" name="{{concat "changes." i ".key"}}" value="{{change.key}}" />
|
||||
{{!-- <datalist id="change-fields">
|
||||
{{#each @root.fieldPaths}}
|
||||
<option value="{{this}}">{{this}}</option>
|
||||
{{/each}}
|
||||
</datalist> --}}
|
||||
</div>
|
||||
<div class="mode">
|
||||
{{formInput changeFields.mode name=(concat "changes." i ".mode") value=change.mode choices=@root.modes}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue