fvtt-pegasus-rpg/templates/partial-actor-stat-block.html

19 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2022-03-06 20:07:41 +01:00
<li class="item flexrow list-item color-class-{{lower stat.abbrev}} item-stat-roll" data-attr-key="{{key}}">
<span class="stat-icon">
<img class="stat-icon" src="systems/fvtt-pegasus-rpg/images/icons/{{stat.abbrev}}.webp">
</span>
<span class="stat-label stat-margin" name="{{key}}">
2022-03-07 16:00:53 +01:00
<h4 class="stat-text-white stat-margin"><a class="roll-stat stat-margin" data-stat-key="{{key}}">{{stat.abbrev}}</a></h4>
2022-03-06 20:07:41 +01:00
</span>
2022-09-28 20:04:04 +02:00
<select class="status-small-label color-class-common select-stat" type="text" name="system.statistics.{{key}}.value" value="{{stat.value}}"
2022-03-06 20:07:41 +01:00
data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
2022-09-28 20:04:04 +02:00
{{#select stat.value}}
2022-03-06 20:07:41 +01:00
{{{@root.optionsDiceList}}}
{{/select}}
</select>
2022-09-28 20:04:04 +02:00
<span class="stat-label stat-margin" name="{{key}}">
<h4 class="stat-text-white stat-margin">{{getDice (add stat.value stat.bonuseffect)}}</h4>
</span>
2022-09-04 09:58:51 +02:00
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="system.statistics.{{key}}.mod" value="{{stat.mod}}"
2022-03-06 20:07:41 +01:00
data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}} />
</li>