Files
roll20-character-sheets/5eShaped/precompiled/components/core/attacks.html
T
2016-10-15 14:28:08 +02:00

74 lines
3.6 KiB
HTML

<div class="attacks wrap-box">
<div class="shaped-row">
<div class="5-rem wrap-box-label light-label pad-r-sm" data-i18n="ATTACK"></div>
<div class="1-5-rem wrap-box-label light-label center pad-r-sm" data-i18n="ATK"></div>
<div class="7-rem wrap-box-label light-label" data-i18n="DAMAGE"></div>
<div class="3-rem wrap-box-label light-label" data-i18n="WEIGHT"></div>
</div>
<fieldset class="repeating_attack">
<div class="attack compendium-drop-target relative mar-b-sm">
<input type="hidden" name="attr_modifiers" accept="Modifiers">
<input type="hidden" name="attr_properties" accept="Properties">
<input type="hidden" name="attr_freetext" accept="Content">
<input type="hidden" name="attr_weight" accept="Weight">
<button type="roll" name="roll_attack"
value="@{output_option} &{template:5e-shaped} {{character_name=@{character_name}}} @{show_character_name} {{title=@{name}}} {{action=1}} {{reach=@{reach}}} {{range=@{range}}} @{roll_toggle} @{ammo_toggle} @{saving_throw_toggle} @{damage_toggle} @{second_damage_toggle} {{uses=@{uses}}} {{uses_max=@{uses|max}}} @{attacher_attack} @{hide_gm_info} @{extras_toggle}">
<div class="shaped-row vert-center">
<div class="5-rem pad-r-sm">
<input type="text" name="attr_name" readonly>
</div>
<div class="1-5-rem pad-r-sm">
<input type="text" name="attr_to_hit" class="center" readonly>
</div>
<div class="7-rem pad-r-sm">
<input type="text" name="attr_damage_string" readonly>
</div>
<div class="3-rem">
<input type="text" name="attr_weight_total" readonly>
</div>
</div>
</button>
<input type="checkbox" name="attr_toggle_details" class="toggle-icon-settings edit" checked><span class="toggle-icon-settings pictos edit">y</span>
<div class="details edit">
<div class="shaped-row">
<div class="4-rem center">
<input type="text" name="attr_name" class="center" data-i18n-placeholder="NAME" accept="Name">
<div class="small-label" data-i18n="NAME"></div>
</div>
//= include ../actionComponents/type.html
//= include ../actionComponents/reach.html
//= include ../actionComponents/range.html
<div class="3-rem pad-l-sm">
<div class="shaped-row vert-center no-wrap">
<div class="pad-r-sm">
<input type="number" name="attr_uses" class="no-spin" step="1">
</div>
<div>/</div>
<div class="pad-l-sm">
<input type="number" name="attr_uses_max" class="no-spin" step="1">
</div>
</div>
<div class="small-label center" data-i18n="USES"></div>
</div>
</div>
<div class="shaped-row">
//= include ../actionComponents/qtyWeight.html
</div>
//= include ../actionComponents/attack.html
//= include ../actionComponents/savingThrow.html
//= include ../actionComponents/damage.html
//= include ../actionComponents/damageSecondary.html
//= include ../actionComponents/extras.html
//= include ../actionComponents/ammo.html
</div>
</div>
</fieldset>
//= include ammo.html
<button type="roll" name="roll_shaped_attacks" class="wrapper-button" value="/w @{character_name} &{template:5e-shaped} {{character_name=@{character_name}}} @{show_character_name} {{title=^{ATTACKS}}} {{action=1}} {{text_big=@{attacks_macro_var}}}">
<div class="wrap-box-title center" data-i18n="ATTACKS"></div>
</button>
</div>