15 add duration to active effects (#50)
* Add Effect Duration & Rework Combat tracker Changes: + rework combat tracker to display every uneven round as Movementphase + rework combat tracker to display every even round as actionphase + add possibility for effects durations + effects duration decreases with every actionphase + add enum for time Units + update localization + add display of remaining time on effects + add duration for spelleffect "Bärenwut" * add LP AP Manipulation through effects Changes: + add LimitHeal function + adjust LP AP Values if Mod exists in an effect * Fix linked actor not being updated
This commit is contained in:
@@ -12,6 +12,9 @@
|
||||
<span class="edit-item">{{item.label}}</span>
|
||||
{{#if item.equipped}}
|
||||
<span class="spell-process">{{localize "midgard5.active"}}</span>
|
||||
{{#unless (or (eq item.duration.unit "") (eq item.duration.unit "limitless"))}}
|
||||
<span class="spell-process">{{item.duration.time}} {{localize (concat "midgard5.time-" item.duration.unit)}}</span>
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
</td>
|
||||
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title">{{localize "ITEM.TypeDefensiveWeapon"}}</th>
|
||||
<th class="title">{{localize "TYPES.Item.defensiveWeapon"}}</th>
|
||||
<th class="title">{{localize "midgard5.ew"}}</th>
|
||||
<th class="title"></th>
|
||||
<th class="title"></th>
|
||||
@@ -90,7 +90,7 @@
|
||||
<span class="spell-process">{{localize "midgard5.equipped"}}</span>
|
||||
{{/if}}
|
||||
</td>
|
||||
<td class="fixed-value">{{actorItemValue ../actor._id itemId "lpProtection"}}</td>
|
||||
<td class="fixed-value">{{actorItemValue ../actor._id itemId "lpProtection" ../actor.isToken}}</td>
|
||||
<td class="fixed-value">{{actorItemValue ../actor._id itemId "apProtection"}}</td>
|
||||
<td class="fixed-value">{{actorItemValue ../actor._id itemId "stats.attackBonus"}}</td>
|
||||
<td class="fixed-value">{{actorItemValue ../actor._id itemId "stats.defenseBonus"}}</td>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title">{{localize "ITEM.type.kampfkunst"}}</th>
|
||||
<th class="title">{{localize "TYPES.Item.kampfkunst"}}</th>
|
||||
<th class="title">{{localize "midgard5.ew"}}</th>
|
||||
<th class="title"></th>
|
||||
<th class="title"></th>
|
||||
|
||||
@@ -22,8 +22,17 @@
|
||||
<tr>
|
||||
<td>
|
||||
<div class="flexrow">
|
||||
<span>{{localize "midgard5.item-value"}}</span>
|
||||
<input name="data.value" type="text" value="{{data.value}}" data-dtype="Number" />
|
||||
<span>{{localize "midgard5.time-duration"}}</span>
|
||||
<input name="data.duration.time" type="text" value="{{data.duration.time}}" data-dtype="Number" />
|
||||
<select class="select-mod-operation" name="data.duration.unit" data-type="String">
|
||||
{{#select data.duration.unit}}
|
||||
<option value=""></option>
|
||||
<option value="round">{{localize "midgard5.time-round"}}</option>
|
||||
<option value="minute">{{localize "midgard5.time-minute"}}</option>
|
||||
<option value="hour">{{localize "midgard5.time-hour"}}</option>
|
||||
<option value="limitless">{{localize "midgard5.time-limitless"}}</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user