2021-07-12 00:12:59 +02:00
|
|
|
{{!--
|
|
|
|
SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
SPDX-FileCopyrightText: 2021 Oliver Rümpelein
|
|
|
|
SPDX-FileCopyrightText: 2021 Gesina Schwalbe
|
|
|
|
|
|
|
|
SPDX-License-Identifier: MIT
|
|
|
|
--}}
|
|
|
|
|
|
|
|
<div class="ds4-actor-progression">
|
|
|
|
<div class="ds4-actor-progression__entry">
|
|
|
|
<h2 class="ds4-actor-progression__label"><label for="data.combatValues.hitPoints.value-{{data._id}}"
|
|
|
|
title="{{localize 'DS4.CombatValuesHitPointsCurrent'}}">{{localize
|
|
|
|
"DS4.CombatValuesHitPointsCurrentAbbr"}}</label>
|
|
|
|
</h2>
|
|
|
|
<input class="ds4-actor-progression__input" type="number" name="data.combatValues.hitPoints.value"
|
|
|
|
id="data.combatValues.hitPoints.value-{{data._id}}" value="{{data.data.combatValues.hitPoints.value}}"
|
|
|
|
data-dtype="Number" />
|
|
|
|
</div>
|
2022-02-14 03:25:05 +01:00
|
|
|
{{!-- TODO: Find a better place for this --}}
|
|
|
|
{{#if settings.useManaSystem}}
|
|
|
|
<div class="ds4-actor-progression__entry">
|
|
|
|
<h2 class="ds4-actor-progression__label"><label for="data.mana.value-{{data._id}}"
|
|
|
|
title="{{localize 'DS4.CombatValuesManaCurrent'}}">{{localize
|
|
|
|
"DS4.CombatValuesManaCurrentAbbr"}}</label>
|
|
|
|
</h2>
|
|
|
|
<input class="ds4-actor-progression__input" type="number" name="data.combatValues.mana.value"
|
|
|
|
id="data.combatValues.mana.value-{{data._id}}" value="{{data.data.combatValues.mana.value}}"
|
|
|
|
data-dtype="Number" />
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2021-07-12 00:12:59 +02:00
|
|
|
{{#if (eq data.type "character")}}
|
|
|
|
{{#if settings.showSlayerPoints}}
|
|
|
|
<div class="ds4-actor-progression__entry">
|
|
|
|
<h2 class="ds4-actor-progression__label"><label for="data.slayersPoints.value-{{data._id}}"
|
|
|
|
title="{{localize 'DS4.CharacterSlayerPoints'}}">{{localize "DS4.CharacterSlayerPointsAbbr"}}</label>
|
|
|
|
</h2>
|
|
|
|
<input class="ds4-actor-progression__input ds4-actor-progression__input--slayer-points" type="number"
|
|
|
|
max="{{data.data.slayerPoints.max}}" min="0" step="1" name="data.slayerPoints.value"
|
|
|
|
id="data.slayersPoints.value-{{data._id}}" value="{{data.data.slayerPoints.value}}" data-dtype="Number" />
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
<div class="ds4-actor-progression__entry">
|
|
|
|
<h2 class="ds4-actor-progression__label"><label for="data.progression.level-{{data._id}}"
|
|
|
|
title="{{localize 'DS4.CharacterProgressionLevel'}}">{{localize
|
|
|
|
"DS4.CharacterProgressionLevelAbbr"}}</label>
|
|
|
|
</h2>
|
|
|
|
<input class="ds4-actor-progression__input" type="number" min="0" name="data.progression.level"
|
|
|
|
id="data.progression.level-{{data._id}}" value="{{data.data.progression.level}}" data-dtype="Number" />
|
|
|
|
</div>
|
|
|
|
<div class="ds4-actor-progression__entry">
|
|
|
|
<h2 class="ds4-actor-progression__label"><label for="data.progression.experiencePoints-{{data._id}}"
|
|
|
|
title="{{localize 'DS4.CharacterProgressionExperiencePoints'}}">{{localize
|
|
|
|
"DS4.CharacterProgressionExperiencePointsAbbr"}}</label>
|
|
|
|
</h2>
|
|
|
|
<input class="ds4-actor-progression__input" type="number" min="0" name="data.progression.experiencePoints"
|
|
|
|
id="data.progression.experiencePoints-{{data._id}}" value="{{data.data.progression.experiencePoints}}"
|
|
|
|
data-dtype="Number" />
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|