81 lines
4.2 KiB
Handlebars
81 lines
4.2 KiB
Handlebars
<div class="flexbox">
|
|
|
|
<div class="flexcolumn-1">
|
|
<div class="flexpart">
|
|
<div class="flexpart-header"><img src="icons/magic/symbols/star-inverted-yellow.webp" class="flexpart-icon">{{localize "midgard5.spellCasting"}}</div>
|
|
<table>
|
|
<tr height = 10px></tr>
|
|
<tr>
|
|
<td bgcolor="#eaead7" class="padding edit-item highlight" >{{localize "midgard5.spellCasting"}}</td>
|
|
<td bgcolor="#eaead7" class="center">{{data.calc.stats.spellCasting.value}}</td>
|
|
<td bgcolor="#eaead7" class="fixed-value" style="border-right: 1px solid black;"><button class="roll-button roll-weapon-button" /></td>
|
|
<td class="padding edit-item highlight">{{localize "midgard5.defense"}}</td>
|
|
<td class="center">{{add data.calc.stats.defense.value data.calc.stats.defenseBonus.value}}</td>
|
|
<td class="fixed-value" style="border-right: 1px solid black;"><button class="roll-button roll-defense-button"></button></td>
|
|
<td bgcolor="#eaead7" class="padding edit-item highlight">{{localize "midgard5.resistanceMind"}}</td>
|
|
<td bgcolor="#eaead7" class="center">{{data.calc.stats.resistanceMind.value}}</td>
|
|
<td bgcolor="#eaead7" class="fixed-value" style="border-right: 1px solid black;"><button class="roll-button roll-resistanceMind-button"></button></td>
|
|
<td class="padding edit-item highlight">{{localize "midgard5.resistanceBody"}}</td>
|
|
<td class="center">{{data.calc.stats.resistanceBody.value}}</td>
|
|
<td class="fixed-value"><button class="roll-button roll-resistanceBody-button"></button></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="flexcolumn-1">
|
|
<div class="flexpart">
|
|
<div class="flexpart-header"><img src="icons/sundries/books/book-turquoise-moon.webp" class="flexpart-icon">{{localize "TYPES.Item.spell"}}</div>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class="title"><img src="/icons/svg/eye.svg" class="table-icon"></th>
|
|
<th class="title">{{localize "TYPES.Item.spell"}}</th>
|
|
<th class="title">{{localize "midgard5.spell-type"}}</th>
|
|
<th class="title">{{localize "midgard5.spell-castDuration-short"}}</th>
|
|
<th class="title">{{localize "midgard5.actor-ap-short"}}</th>
|
|
<th class="title">{{localize "midgard5.spell-range-short"}}</th>
|
|
<th class="title">{{localize "midgard5.spell-effectTarget"}}</th>
|
|
<th class="title">{{localize "midgard5.spell-effectArea-short"}}</th>
|
|
<th class="title">{{localize "midgard5.spell-effectDuration-short"}}</th>
|
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
|
<th class="title"><img src="/systems/midgard5/assets/icons/icon/battle-gear.svg" class="table-icon"></th>
|
|
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"><img src="/icons/svg/d20.svg" class="table-icon"></th></th>
|
|
<td><a class="title add-spell"><i class="fa-regular fa-plus"></i></a></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="items-list">
|
|
{{#each data.calc.spells as |item itemId|}}
|
|
<tr data-item-id="{{itemId}}" class="item">
|
|
<td class="flexpart-img"><img src={{item.icon}} class="flexpart-icon"></td>
|
|
<td class="padding edit-item">
|
|
<span>{{item.label}}</span>
|
|
<span class="spell-process">{{localize item.process}}</span>
|
|
</td>
|
|
<td class="fixed-value">{{localize (m5concat 'midgard5.spell-type-' item.type)}}</td>
|
|
<td class="fixed-value">{{item.castDuration}}</td>
|
|
<td class="fixed-value">{{item.ap}}</td>
|
|
<td class="fixed-value">{{item.range}}</td>
|
|
<td class="fixed-value">{{localize (m5concat 'midgard5.spell-target-' item.effectTarget)}}</td>
|
|
<td class="fixed-value">{{item.effectArea}}</td>
|
|
<td class="fixed-value">{{item.effectDuration}}</td>
|
|
<td class="fixed-value">{{item.calc.ew}}</td>
|
|
<td class="change-equipped">
|
|
{{#if item.equipped}}
|
|
<i class="fa-solid fa-circle-check"></i>
|
|
{{else}}
|
|
<i class="fa-regular fa-circle"></i>
|
|
{{/if}}
|
|
</td>
|
|
<td class="fixed-value"><button class="roll-button roll-weapon-button" /></td>
|
|
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody> </table>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|