Kampfkunstupdate (#86)

+ Added more types & variants
+ Modified Kampfkunstitem, Combatsheet and rollmessage

Hab grad die Kampfkünste in der extension anscheinend direkt nach develop durchgepusht ohne meine kampfkunstbranch dazwischen, hier dann auch die Anpassungen im System dafür. Läuft beides bei mir rund.

Reviewed-on: #86
Reviewed-by: oskaloq <os_ka_loq@gmx.de>
Co-authored-by: LeFrique <lefrique@live.de>
Co-committed-by: LeFrique <lefrique@live.de>
This commit was merged in pull request #86.
This commit is contained in:
2024-03-14 11:35:26 +01:00
committed by Le-Frique
parent a03af18281
commit 43375a19c8
5 changed files with 86 additions and 24 deletions
+1 -3
View File
@@ -112,9 +112,7 @@
{{/unless}}
{{else}}
<span class="spell-process">{{localize (m5concat "midgard5.kampfkunst-type-" item.type)}}</span>
{{#if (eq item.type "angriff")}}
<span class="spell-process">({{localize (m5concat "midgard5.kampfkunst-variante-" item.variante)}})</span>
{{/if}}
<span class="spell-process">({{localize (m5concat "midgard5.kampfkunst-variante-" item.variante)}})</span>
{{/if}}
</td>
<td class="fixed-value">{{item.calc.ew}}</td>
+12 -2
View File
@@ -22,6 +22,18 @@
<td>{{localize "midgard5.actor-ap"}}</td>
<td><input name="data.ap" type="text" value="{{data.ap}}" data-dtype="String" /></td>
</tr>
<tr>
<td>{{localize "midgard5.kampfkunst-ep"}}</td>
<td><input name="data.ep" type="text" value="{{data.ep}}" data-dtype="String" /></td>
<td>{{localize "midgard5.kampfkunst-rank"}}</td>
<td><input name="data.rank" type="text" value="{{data.rank}}" data-dtype="String" /></td>
</tr>
<tr>
<td>{{localize "midgard5.kampfkunst-weapon"}}</td>
<td><input name="data.weapon" type="text" value="{{data.weapon}}" data-dtype="String" /></td>
<td>{{localize "midgard5.kampfkunst-enemy"}}</td>
<td><input name="data.enemy" type="text" value="{{data.enemy}}" data-dtype="String" /></td>
</tr>
<tr>
{{#unless item.system.isKido}}
<td>{{localize "midgard5.kampfkunst-type"}}</td>
@@ -47,7 +59,6 @@
</td>
{{/unless}}
{{#unless item.system.isKido}}
{{#if (eq item.system.type "angriff")}}
<td>{{localize "midgard5.kampfkunst-variante"}}</td>
<td>
<select class="select-variante" name="data.variante" data-type="String">
@@ -58,7 +69,6 @@
{{/select}}
</select>
</td>
{{/if}}
{{else}}
{{#unless (eq item.system.type "finte")}}
<td>{{localize "midgard5.kido-variante"}}</td>