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:
2023-12-11 17:36:12 +01:00
committed by GitHub
parent 30e94741bf
commit 1e27e135cf
10 changed files with 120 additions and 17 deletions
+11 -2
View File
@@ -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>