Added shortcut for initiative rolls on conflict Tab (character only)

This commit is contained in:
Vlyan
2020-12-29 17:18:57 +01:00
parent e98bf67680
commit 301be94075
13 changed files with 65 additions and 18 deletions

View File

@@ -1,3 +1,10 @@
<fieldset class="initiative initiative-wrapper">
<legend class="section-header">{{ localize 'l5r5e.conflict.initiative.title' }}</legend>
<button class="initiative dice-picker" data-skill="sentiment" data-diff="1">{{ localize 'l5r5e.conflict.initiative.intrigue'}}</button>
<button class="initiative dice-picker" data-skill="meditation" data-diff="1">{{ localize 'l5r5e.conflict.initiative.duel'}}</button>
<button class="initiative dice-picker" data-skill="tactics" data-diff="1">{{ localize 'l5r5e.conflict.initiative.skirmish'}}</button>
<button class="initiative dice-picker" data-skill="command" data-diff="1">{{ localize 'l5r5e.conflict.initiative.mass_battle'}}</button>
</fieldset>
<fieldset class="stances-content flexrow">
<legend class="section-header">{{ localize 'l5r5e.conflict.stance' }}</legend>
<ul class="item-list">
@@ -6,3 +13,5 @@
{{/each}}
</ul>
</fieldset>
{{> 'systems/l5r5e/templates/items/weapon/weapons.html' }}
{{> 'systems/l5r5e/templates/items/armor/armors.html' }}

View File

@@ -1,6 +1,6 @@
<li class="skill skill-wrapper" data-skill="{{skillId}}">
<li class="skill skill-wrapper">
<label class="skill-content">
<span class="skill-name attribute-label rollable">{{ localizeSkill categoryId skillId }}</span>
<span class="dice-picker attribute-label rollable" data-skill="{{skillId}}">{{ localizeSkill categoryId skillId }}</span>
<input
class="centered-input select-on-focus"
type="number"