First row of tests and fixes

This commit is contained in:
2026-03-05 22:50:53 +01:00
parent 12458925a1
commit f28df2ae76
23 changed files with 442 additions and 126 deletions
+12 -3
View File
@@ -5,12 +5,12 @@
</div>
<div class="item-body">
<div class="form-group">
<label>Type</label>
<label>{{localize "AWEMMY.Ability.TypeLabel"}}</label>
{{formField systemFields.abilityType value=system.abilityType localize=true}}
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Ability.Cost"}}</label>
{{formField systemFields.cost value=system.cost}}
<label>{{localize "AWEMMY.Ability.CostLabel"}}</label>
{{formField systemFields.cost value=system.cost localize=true}}
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Ability.Frequency"}}</label>
@@ -24,6 +24,15 @@
<label>{{localize "AWEMMY.Ability.Trigger"}}</label>
{{formInput systemFields.trigger value=system.trigger}}
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Ability.Traits"}}</label>
<div class="tags-list">
{{#each system.traits}}
<span class="tag">{{this}} <a data-action="removeTrait" data-index="{{@index}}">×</a></span>
{{/each}}
<input type="text" class="new-tag" data-action="addTrait" placeholder="{{localize 'AWEMMY.Ability.AddTrait'}}" />
</div>
</div>
</div>
<fieldset>
<legend>Description</legend>