300 lines
13 KiB
Handlebars
300 lines
13 KiB
Handlebars
<section
|
|
class="standard-form tab scrollable {{tab.cssClass}}"
|
|
data-tab="{{tab.id}}"
|
|
data-group="{{tab.group}}"
|
|
>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<fieldset>
|
|
<legend>{{localize "Midgard6.NSC.kompetenz.würfe"}}</legend>
|
|
<div class="d-flex justify-content-between align-items-center">
|
|
<div></div>
|
|
<div
|
|
class="d-flex align-items-center justify-content-center flex-column"
|
|
style="position: relative;"
|
|
>
|
|
<label style="white-space: nowrap; position: absolute; bottom: 100%; font-weight: bold; color: var(--M6-text-brown)">{{localize
|
|
"Midgard6.NSC.kompetenz.kompetent"
|
|
}}</label>
|
|
<a class="d-flex align-items-center" data-action="rollKompetenz" data-kompetenz="{{localize "Midgard6.NSC.kompetenz.kompetent"}}" data-kompetenz-value="{{kompetenzWürfe.kompetent}}">
|
|
<i class="fa-solid fa-dice-d20" style="margin-right: 0"></i>
|
|
<p>+ {{kompetenzWürfe.kompetent}}</p>
|
|
</a>
|
|
</div>
|
|
<div
|
|
class="d-flex align-items-center justify-content-center flex-column"
|
|
style="position: relative;"
|
|
>
|
|
<label style="position: absolute; bottom: 100%; font-weight: bold; color: var(--M6-text-brown)">{{localize
|
|
"Midgard6.NSC.kompetenz.mittelmäßig"
|
|
}}</label>
|
|
<a class="d-flex align-items-center" data-action="rollKompetenz" data-kompetenz="{{localize "Midgard6.NSC.kompetenz.mittelmäßig"}}" data-kompetenz-value="{{kompetenzWürfe.mittelmäßig}}">
|
|
<i class="fa-solid fa-dice-d20" style="margin-right: 0"></i>
|
|
<p>+ {{kompetenzWürfe.mittelmäßig}}</p>
|
|
</a>
|
|
</div>
|
|
<div
|
|
class="d-flex align-items-center justify-content-center flex-column"
|
|
style="position: relative;"
|
|
>
|
|
<label style="position: absolute; bottom: 100%; font-weight: bold; color: var(--M6-text-brown)">{{localize
|
|
"Midgard6.NSC.kompetenz.miserabel"
|
|
}}</label>
|
|
<a class="d-flex align-items-center" data-action="rollKompetenz" data-kompetenz="{{localize "Midgard6.NSC.kompetenz.miserabel"}}" data-kompetenz-value="d3">
|
|
<i class="fa-solid fa-dice-d20" style="margin-right: 0"></i>
|
|
<p>+ d3</p>
|
|
</a>
|
|
</div>
|
|
<div></div>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
<div class="col-7">
|
|
<fieldset>
|
|
<legend>{{localize "Midgard6.Sheets.Tabs.eigenschaften"}}
|
|
{{#if @root.editable}}
|
|
{{#unless system.locked}}
|
|
<a
|
|
class="item-control item-create"
|
|
title="{{localize "Midgard6.NSC.kompetenz.hinzufügen"}}"
|
|
data-action="addKompetenz"
|
|
>
|
|
<i class="fas fa-edit"></i>
|
|
</a>
|
|
{{/unless}}
|
|
{{/if}}
|
|
</legend>
|
|
{{#each system.fertigkeiten as |fertigkeit|}}
|
|
<div class="row align-items-center">
|
|
<div class="col-6 row align-items-center" style="width: 100%; margin-left: 0">
|
|
{{#if @root.editable}}
|
|
{{#unless @root.system.locked}}
|
|
<a
|
|
class="item-control item-create"
|
|
title="{{localize "Midgard6.NSC.kompetenz.bearbeiten"}}"
|
|
data-action="editKompetenz"
|
|
data-name="{{fertigkeit.name}}"
|
|
data-kompetenz="{{fertigkeit.kompetenz}}"
|
|
>
|
|
<i class="fas fa-edit"></i>
|
|
</a>
|
|
<a
|
|
class="item-control item-create"
|
|
title="{{localize "Midgard6.NSC.kompetenz.löschen"}}"
|
|
data-action="deleteKompetenz"
|
|
data-name="{{fertigkeit.name}}"
|
|
>
|
|
<i class="fas fa-trash"></i>
|
|
</a>
|
|
{{/unless}}
|
|
{{/if}}
|
|
<a
|
|
class=""
|
|
data-action="rollKompetenz"
|
|
data-kompetenz="{{fertigkeit.name}}"
|
|
data-kompetenz-value="{{fertigkeit.wurf}}"
|
|
>
|
|
<div class="d-flex justify-content-between align-items-center">
|
|
{{fertigkeit.name}} <i class="fa-solid fa-dice-d20" style="margin-left: 8px; margin-right: 0"></i>+{{fertigkeit.wurf}}
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
{{/each}}
|
|
</fieldset>
|
|
</div>
|
|
<div class="col-5">
|
|
<fieldset class="">
|
|
<legend>{{localize "Midgard6.Attribute.resistenzen"}}
|
|
{{#if @root.editable}}
|
|
{{#unless system.locked}}
|
|
<a
|
|
class="item-control item-create"
|
|
title="{{localize "Midgard6.NSC.kompetenz.hinzufügen"}}"
|
|
data-action="editResistenz"
|
|
>
|
|
<i class="fas fa-edit"></i>
|
|
</a>
|
|
{{/unless}}
|
|
{{/if}}
|
|
</legend>
|
|
<div class="row">
|
|
{{#each system.resistenzen as |resistenz|}}
|
|
|
|
<div class="col-4">
|
|
<p class="resistenzenHeader">{{localizeConcat "Midgard6.Resistenzen." @key}}</p>
|
|
<div class="d-flex justify-content-center align-items-center">
|
|
<a
|
|
class=""
|
|
data-action="rollKompetenz"
|
|
data-kompetenz="{{localizeConcat "Midgard6.Resistenzen." @key}}"
|
|
data-kompetenz-value="{{resistenz.value}}"
|
|
>
|
|
<i class="fa-solid fa-dice-d20" style=""></i>
|
|
</a>
|
|
<input
|
|
class="resistenzenAttribut"
|
|
type="text"
|
|
value="{{resistenz.value}}"
|
|
disabled
|
|
/>
|
|
</div>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
</fieldset>
|
|
<div class="d-flex">
|
|
<fieldset class="col highlight">
|
|
<legend>{{localize "Midgard6.Attribute.lp"}}</legend>
|
|
<div class="d-flex align-items-end">
|
|
<div>
|
|
<p class="resistenzenHeader">{{localize "Midgard6.aktuell"}}</p>
|
|
<div class="d-flex align-items-center">
|
|
<div class="armor-box">
|
|
<i class="fa-solid fa-shield"></i>
|
|
<span class="armor-value">{{system.rüstwert.mod}}</span>
|
|
</div>
|
|
<input
|
|
class="attribut"
|
|
type="number"
|
|
name="system.resources.leben.value"
|
|
value="{{system.resources.leben.value}}"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<p class="center">/</p>
|
|
<div>
|
|
<p class="resistenzenHeader">{{localize "Midgard6.maximal.short"}}</p>
|
|
<input
|
|
class="attribut"
|
|
type="number"
|
|
name="system.resources.leben.max"
|
|
value="{{system.resources.leben.max}}"
|
|
{{#if @root.system.locked}}disabled{{/if}}
|
|
/>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
<fieldset class="col highlight">
|
|
<legend>{{localize "Midgard6.Attribute.ap"}}</legend>
|
|
<div class="d-flex align-items-end">
|
|
<div>
|
|
<p class="resistenzenHeader">{{localize "Midgard6.aktuell"}}</p>
|
|
|
|
<input
|
|
class="attribut"
|
|
type="number"
|
|
name="system.resources.ausdauer.value"
|
|
value="{{system.resources.ausdauer.value}}"
|
|
/>
|
|
</div>
|
|
<p class="center">/</p>
|
|
<div>
|
|
<p class="resistenzenHeader">{{localize "Midgard6.maximal.short"}}</p>
|
|
<input
|
|
class="attribut"
|
|
type="number"
|
|
name="system.resources.ausdauer.max"
|
|
value="{{system.resources.ausdauer.max}}"
|
|
{{#if @root.system.locked}}disabled{{/if}}
|
|
/>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
{{!-- <div>
|
|
<fieldset class="highlight">
|
|
<legend>{{localize "Midgard6.Item.type.weapon.plural" }}</legend>
|
|
<div class="container">
|
|
{{#each equippedWeapons as |weapon|}}
|
|
<div class="item row align-items-center">
|
|
<div class="col-10">
|
|
<div class="d-flex justify-content-start align-items-center">
|
|
<img class="" style="margin-right: 4px" src="{{weapon.img}}" alt="{{weapon.name}}" width="24" height="24" />
|
|
<p>{{weapon.name}}: </p>
|
|
<p>
|
|
<i class="fas fa-dice-d20" style="font-size:12px; margin:0 2px 0 4px"></i>
|
|
+ {{weapon.skillValue}} {{#if weapon.bonusValue}}+ {{weapon.bonusValue}}{{/if}}</p>
|
|
</div>
|
|
</div>
|
|
<div class="col-2 document-controls">
|
|
<a
|
|
class="item-control"
|
|
title="{{localize 'Midgard6.Angriff'}} {{weapon.name}}"
|
|
data-action="rollWeapon"
|
|
data-item-id="{{weapon.id}}"
|
|
data-skillPath="{{weapon.path}}"
|
|
{{#unless @root.editable}}disabled{{/unless}}
|
|
>
|
|
<i class="fas fa-dice-d20"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
<div>
|
|
<fieldset class="highlight">
|
|
<legend>{{localize "Midgard6.Item.type.armor.plural" }}</legend>
|
|
<div class="container">
|
|
{{#each armor.armors as |armor|}}
|
|
<div class="item row align-items-center">
|
|
<div class="col-10">
|
|
<div class="d-flex justify-content-start align-items-center">
|
|
<img class="" style="margin-right: 4px" src="{{armor.img}}" alt="{{armor.name}}" width="24" height="24" />
|
|
<p>{{armor.name}}</p>
|
|
</div>
|
|
</div>
|
|
<div class="col-2">
|
|
<div class="armor-box" style="position: relative; margin-left: 0px; top: 12px">
|
|
<i class="fa-solid fa-shield"></i>
|
|
<span class="armor-value" style="position: relative; right:-8px; top: -22px">{{armor.rüstwert}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{/each}}
|
|
{{#if armor.einschränkungen}}
|
|
<p class="resistenzenHeader">{{localize "Midgard6.Item.einschränkung"}}</p>
|
|
<p>{{splitArray armor.einschränkungen}}</p>
|
|
{{/if}}
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
<div>
|
|
<fieldset class="highlight">
|
|
<legend>{{localize "Midgard6.Item.type.zauber.plural" }}</legend>
|
|
<div class="container">
|
|
{{#each equippedSpells as |weapon|}}
|
|
<div class="item row align-items-center">
|
|
<div class="col-10">
|
|
<div class="d-flex justify-content-start align-items-center">
|
|
<img class="" style="margin-right: 4px" src="{{weapon.img}}" alt="{{weapon.name}}" width="24" height="24" />
|
|
<p>{{weapon.name}}: </p>
|
|
<p>
|
|
<i class="fas fa-dice-d20" style="font-size:12px; margin:0 2px 0 4px"></i>
|
|
+ {{weapon.skillValue}} {{#if weapon.bonusValue}}+ {{weapon.bonusValue}}{{/if}}</p>
|
|
</div>
|
|
</div>
|
|
<div class="col-2 document-controls">
|
|
<a
|
|
class="item-control"
|
|
title="{{localize 'Midgard6.Angriff'}} {{weapon.name}}"
|
|
data-action="rollSpell"
|
|
data-item-id="{{weapon.id}}"
|
|
data-skillPath="{{weapon.path}}"
|
|
{{#unless @root.editable}}disabled{{/unless}}
|
|
>
|
|
<i class="fas fa-dice-d20"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
</fieldset>
|
|
</div> --}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section> |