Plushtoast / TDE-Roll20-Official

Das Schwarze Auge / The Dark Eye 5th Ed. System for Roll20
8 stars 2 forks source link

add the possibility to translate the P designing the button for Passierschlag Wurfe/ attack of opportunity roll #100

Closed dyvim closed 2 years ago

dyvim commented 2 years ago

line 12556 <button class="col10 roll1w" name="roll_passierschlag" type="roll" value="@{output_option} &{template:DSA-Nahkampf-AT} {{name=@{nk_name}}} {{subtags=^{passierschlag}}} {{wurf=[[1d20cs1cf20]]}} {{wert=[[(@{passierschlag_roll}+@{mod_option}+@{kampf_modifier})]]}} {{mod=[[(@{mod_option}+@{kampf_modifier})]]}}">P</button> and line 12640 <button class="col10 roll1w" type="roll" value="@{output_option} &{template:DSA-Nahkampf-AT} {{name=@{npc_nk_angriff}}} {{subtags=^{passierschlag}}} {{wurf=[[1d20cs1cf20]]}} {{wert=[[(@{npc_nk_at}+@{mod_option}+@{kampf_modifier}+@{kampfstatus_modifier}+@{at_situation_mod}+@{at_sf_mod}+@{at_effekt_mod}-4)]]}} {{mod=[[(@{mod_option}+@{kampf_modifier}+@{kampfstatus_modifier}+@{at_situation_mod}+@{at_sf_mod}+@{at_effekt_mod}-4)]]}}">P</button>

the "P " at the end of these lines is not tied to a data-i18n key. can you please add one?

Plushtoast commented 2 years ago

See: https://github.com/Roll20/roll20-character-sheets/pull/9802