Gestion des hordes et divers améliorations + traduction espagnole
This commit is contained in:
75
templates/actor/horde-sheet.hbs
Normal file
75
templates/actor/horde-sheet.hbs
Normal file
@ -0,0 +1,75 @@
|
||||
<form class="{{cssClass}} flexcol bol-actor-form" autocomplete="off">
|
||||
<!--<img class="system-img" src="/systems/bol/ui/logo.webp" height="115" width="190"/> -->
|
||||
|
||||
<div class="wrap flexrow">
|
||||
|
||||
{{!-- Sidebar --}}
|
||||
<div class="sidebar flex0 bol-actor-sidebar">
|
||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" height="100" width="100"
|
||||
style="border:1px outset lightgray; box-shadow: 5px 5px 5px gray" />
|
||||
</div>
|
||||
|
||||
<div class="main flex1">
|
||||
|
||||
{{!-- Sheet Header --}}
|
||||
<header class="sheet-header">
|
||||
<div class="header-field flex1">
|
||||
<div class="header-field-group flexrow">
|
||||
<label class="header-field-label flex2">{{localize "BOL.ui.name"}}</label><br />
|
||||
<input class="charname flex6" name="name" type="text" value="{{name}}" placeholder="Name" />
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item" data-tab="stats">{{localize "BOL.ui.tab.stats"}}</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
<div class="tab stats" data-group="primary" data-tab="stats">
|
||||
|
||||
<ol class="items-list">
|
||||
<li class="item flexrow item-header">
|
||||
<div class="item-name flex4 left">{{localize "BOL.ui.details"}}</div>
|
||||
<div class="item-field flex1 right"></div>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<div class="header-field-group flexrow">
|
||||
<label class="item-name flex2">{{localize "BOL.ui.hordeSize"}} : </label><br />
|
||||
<input class="field-value" name="system.hordesize" type="text" value="{{system.hordesize}}"
|
||||
data-type="Number" />
|
||||
</div>
|
||||
<div class="header-field-group flexrow">
|
||||
<label class="item-name flex2">{{localize "BOL.ui.hordeHP"}} : </label><br />
|
||||
<input class="field-value" name="system.hordebasehp" type="text" value="{{system.hordebasehp}}"
|
||||
data-type="Number" />
|
||||
</div>
|
||||
<div class="header-field-group flexrow">
|
||||
<label class="item-name flex2">{{localize "BOL.ui.hordehp"}} : </label><br />
|
||||
<input class="field-value" name="system.resources.hp.value" type="text" value="{{system.resources.hp.value}}"
|
||||
data-type="Number" disabled/> /
|
||||
<input class="field-value" name="system.resources.hp.max" type="text" value="{{system.resources.hp.max}}"
|
||||
data-type="Number" disabled/>
|
||||
</div>
|
||||
|
||||
{{> "systems/bol/templates/actor/parts/tabs/horde-description.hbs"}}
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bol-footer flexrow">
|
||||
<div class="footer-left flex1">
|
||||
<img src="/systems/bol/ui/banner.webp" />
|
||||
</div>
|
||||
<div class="footer-center flex1"></div>
|
||||
<div class="footer-right flex1">
|
||||
<img src="/systems/bol/ui/banner.webp" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
@ -20,7 +20,7 @@
|
||||
{{#if ../ranged}}<div class="item-field">{{item.system.properties.range}}</div>{{else}}<div class="item-field"></div>{{/if}}
|
||||
{{#if ../options}}<div class="item-field">
|
||||
{{#if item.system.properties.activated}}
|
||||
<a class="toggle-fight-option">{{localize "BOL.ui.toactivated"}}</a>
|
||||
<a class="toggle-fight-option activated-green">{{localize "BOL.ui.toactivated"}}</a>
|
||||
{{else}}
|
||||
<a class="toggle-fight-option">{{localize "BOL.ui.todeactivated"}}</a>
|
||||
{{/if}}
|
||||
|
10
templates/actor/parts/tabs/horde-description.hbs
Normal file
10
templates/actor/parts/tabs/horde-description.hbs
Normal file
@ -0,0 +1,10 @@
|
||||
<ol class="items-list">
|
||||
<li class="item flexrow item-header">
|
||||
<div class="item-name flex4 left">{{localize "BOL.ui.biodescription"}}</div>
|
||||
<div class="item-field flex1 right"></div>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
{{editor description target="system.description" button=true owner=owner
|
||||
editable=editable}}
|
||||
|
@ -2,8 +2,13 @@
|
||||
<button class="chat-damage-roll bol-margin-tb-2" data-damage-mode="normal-damage" data-attack-id="{{id}}">{{localize "BOL.chat.rolldamage"}}</button>
|
||||
|
||||
{{#if isCritical}}
|
||||
<button class="chat-damage-roll bol-margin-tb-2 " data-damage-mode="damage-plus-6" data-attack-id="{{id}}">{{localize "BOL.chat.rolldamage6"}}</button>
|
||||
{{#if isRealCritical}}
|
||||
<button class="chat-damage-roll bol-margin-tb-2" data-damage-mode="damage-plus-12" data-attack-id="{{id}}">{{localize "BOL.chat.rolldamage12"}}</button>
|
||||
{{#if isLegendary}}
|
||||
<button class="chat-damage-roll bol-margin-tb-2 " data-damage-mode="damage-plus-6" data-attack-id="{{id}}">{{localize "BOL.chat.rolldamage6"}}</button>
|
||||
<button class="chat-damage-roll bol-margin-tb-2" data-damage-mode="damage-plus-12-legend" data-attack-id="{{id}}">{{localize "BOL.chat.rolldamage12Legend"}}</button>
|
||||
{{else}}
|
||||
<button class="chat-damage-roll bol-margin-tb-2 " data-damage-mode="damage-plus-6" data-attack-id="{{id}}">{{localize "BOL.chat.rolldamage6"}}</button>
|
||||
{{#if isRealCritical}}
|
||||
<button class="chat-damage-roll bol-margin-tb-2" data-damage-mode="damage-plus-12" data-attack-id="{{id}}">{{localize "BOL.chat.rolldamage12"}}</button>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
@ -54,15 +54,22 @@
|
||||
<div id="{{optionsId}}">
|
||||
{{#if isCritical}}
|
||||
<div>
|
||||
{{localize "BOL.chat.criticalinfo"}}
|
||||
{{#if isLegendary}}
|
||||
{{localize "BOL.chat.criticallegendaryinfo"}}
|
||||
{{else}}
|
||||
{{localize "BOL.chat.criticalinfo"}}
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="bol-margin-tb-2">
|
||||
<a class="content-link" draggable="true" data-uuid="Compendium.bol.aides-de-jeu.Yl1RKQb0BjVUtilk" data-id="Yl1RKQb0BjVUtilk" data-type="JournalEntry" data-pack="bol.aides-de-jeu" data-tooltip="un journal">
|
||||
<i class="fas fa-book-open"></i>{{localize "BOL.chat.criticalbuttonjournal"}}</a>
|
||||
<a class="content-link" draggable="true" data-link="" data-uuid="Compendium.bol.aides-de-jeu.JournalEntry.Yl1RKQb0BjVUtilk" data-id="Yl1RKQb0BjVUtilk" data-type="JournalEntry" data-pack="bol.aides-de-jeu" data-tooltip="Journal Entry"><i class="fas fa-book-open"></i>{{localize "BOL.chat.criticalbuttonjournal"}}</a>
|
||||
</div>
|
||||
{{#if (and isCritical weapon)}}
|
||||
<div>
|
||||
{{{localize "BOL.chat.heroicreminder"}}}
|
||||
{{#if isLegendary}}
|
||||
{{{localize "BOL.chat.legendaryreminder"}}}
|
||||
{{else}}
|
||||
{{{localize "BOL.chat.heroicreminder"}}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
Reference in New Issue
Block a user