Fix Movement Boni being applied multiple times

Changes:
 + seperate display of Base Movement speed and calculated movement speed
 + for asthetic reasons move GiT to Berechnete Werte
This commit is contained in:
Byroks 2023-12-06 12:31:46 +01:00
parent e753f6392d
commit a49b3a8030
3 changed files with 20 additions and 12 deletions

View File

@ -52,8 +52,8 @@
"midgard5.actor-zt-long": "Zaubertalent",
"midgard5.actor-wk": "Wk",
"midgard5.actor-wk-long": "Willenskraft",
"midgard5.actor-GiT": "GiT",
"midgard5.actor-GiT-long": "Gifttolleranz",
"midgard5.actor-git": "GiT",
"midgard5.actor-git-long": "Gifttolleranz",
"midgard5.aktuell": "Akt.",
"midgard5.maximum": "Max.",

View File

@ -6,10 +6,8 @@
<div class="attribute-main-bonus">{{calc.bonus}}</div>
</div>
{{#unless (eq attributeId "GiT")}}
<div class="attribute-footer">
<input class="attribute-footer-value" name="data.attributes.{{attributeId}}.value" value="{{attribute.value}}" type="text" data-dtype="Number" />
<input class="attribute-footer-bonus" name="data.attributes.{{attributeId}}.bonus" value="{{attribute.bonus}}" type="text" data-dtype="Number" />
</div>
{{/unless}}
</div>

View File

@ -28,8 +28,8 @@
<tr>
<td>{{localize "midgard5.luckPoints"}}</td>
<td><input name="data.gp" type="text" value="{{data.gp}}" data-dtype="Number" /></td>
<td>{{localize "Bewegungsweite"}}</td>
<td><input name="data.movement" type="text" value="{{data.calc.stats.movement.value}}" data-dtype="Number" /></td>
<td>{{localize "midgard5.movementRange"}}</td>
<td><input name="data.movement" type="text" value="{{data.movement}}" data-dtype="Number" /></td>
</tr>
<tr height = 10px></tr>
</tbody>
@ -65,8 +65,6 @@
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="pa" attribute=data.attributes.pa calc=data.calc.attributes.pa}}
<div class="attribute-filler-fixed"></div>
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="wk" attribute=data.attributes.wk calc=data.calc.attributes.wk}}
<div class="attribute-filler-fixed"></div>
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="GiT" attribute=data.stats.poisonResistance calc=data.calc.stats.poisonResistance}}
<div class="filler"></div>
</div></td>
</tr>
@ -111,6 +109,18 @@
<td>{{localize "midgard5.resistanceBody"}}</td>
<td class="fixed-value">{{data.calc.stats.resistanceBody.value}}</td>
</tr>
<tr>
<td>{{localize "midgard5.resistanceMind"}}</td>
<td class="fixed-value">{{data.calc.stats.resistanceMind.value}}</td>
<td>{{localize "midgard5.resistanceBody"}}</td>
<td class="fixed-value">{{data.calc.stats.resistanceBody.value}}</td>
</tr>
<tr>
<td>{{localize "midgard5.movementRange"}}</td>
<td class="fixed-value">{{data.calc.stats.movement.value}}</td>
<td>{{localize "midgard5.actor-git-long"}}</td>
<td class="fixed-value">{{data.calc.stats.poisonResistance.value}}</td>
</tr>
<tr height = 10px></tr>
</tbody>
</table>