{{!-- SPDX-FileCopyrightText: 2021 Johannes Loher SPDX-License-Identifier: MIT --}} <div class="ds4-item-properties ds4-item-properties--weapon"> <h4 class="ds4-item-properties__title">{{localize 'DS4.ItemPropertiesWeapon'}}</h4> <div class="form-group"> <label for="system.attackType-{{data._id}}">{{localize "DS4.AttackType"}}</label> <div class="form-fields"> <select id="system.attackType-{{data._id}}" name="system.attackType" data-dtype="String"> {{#select data.system.attackType}} {{#each config.i18n.attackTypes as |value key|}} <option value="{{key}}">{{value}}</option> {{/each}} {{/select}} </select> </div> </div> <div class="form-group"> <label for="system.weaponBonus-{{data._id}}">{{localize "DS4.WeaponBonus"}}</label> <input id="system.weaponBonus-{{data._id}}" data-dtype="Number" type="number" name="system.weaponBonus" placeholder="0" value="{{data.system.weaponBonus}}" /> </div> <div class="form-group"> <label for="system.opponentDefense-{{data._id}}">{{localize "DS4.OpponentDefense"}}</label> <input id="system.opponentDefense-{{data._id}}" data-dtype="Number" type="number" name="system.opponentDefense" placeholder="0" value="{{data.system.opponentDefense}}" /> </div> </div>