Update hu2.html
Fixed 2 typos. Removed the extra underscores that were keeping the 4 repeating psionic sections and 2 repeating powers sections from working.
This commit is contained in:
@@ -158,7 +158,7 @@
|
||||
<div class='divider'></div>
|
||||
<input class='minmax parchment' type='text' title='@{character_hp_max}' value='' name="attr_character_hp_max"/>
|
||||
</div>
|
||||
<h4 class='roll-label' title='Structural Damage Capacity' >S.D.C.</h4>
|
||||
<h4 class='roll-label' title='Armor Structural Damage Capacity' >S.D.C.</h4>
|
||||
<div class='fraction-grid-container'>
|
||||
<input class='minmax parchment' type='text' title='@{character_sdc}' value='' name="attr_character_sdc"/>
|
||||
<div class='divider'></div>
|
||||
@@ -247,7 +247,7 @@
|
||||
<div class="leap-panel">
|
||||
<div class='leap-grid-container' >
|
||||
<div class='space-holder'></div>
|
||||
<h5>Verticle</h5>
|
||||
<h5>Vertical</h5>
|
||||
<h5>Horizontal</h5>
|
||||
<div class='space-holder'></div>
|
||||
<h4>Leaping Distance</h4>
|
||||
@@ -420,7 +420,7 @@
|
||||
<fieldset class="repeating_meleeattacks">
|
||||
<div class='mattack-grid-container' >
|
||||
<input class='mattack-label parchment' type="text" value="" title='Weapon name that will display in template header' name="attr_weapon_attack" placeholder="Weapon Name" />
|
||||
<button class='meleedice' type='roll' title='Strike (Attack) Roll with Damage' name='roll_meleeattack' value="@{whispertoggle}&{template:custom} {{color=blue}} {{title=**@{nametoggle}**}} {{subtitle=attacks with @{weapon_attack}}} {{Attack= [[d20cs>@{hth_critical}+@{weapon_strike}[strike]+@{strike}[HtH]+@{pp_bonus}[PP]+@{mtemp_strike}[temp]]]}} {{Damage= [[@{weapon_damage}+@{damage}[HtH]+@{ps_bonus}[PS]+@{mtemp_damage}[temp]]]}} {{desc=@{mattack_reference}}}">Strike</button>
|
||||
<button class='meleedice' type='roll' title='Strike (Attack) Roll with Damage' name='roll_meleeattack' value="@{whispertoggle}&{template:custom} {{color=blue}} {{title=**@{nametoggle}**}} {{subtitle=attacks with @{weapon_attack}}} {{Attack= [[d20cs>@{critical}+@{weapon_strike}[strike]+@{strike}[HtH]+@{pp_bonus}[PP]+@{mtemp_strike}[temp]]]}} {{Damage= [[@{weapon_damage}+@{damage}[HtH]+@{ps_bonus}[PS]+@{mtemp_damage}[temp]]]}} {{desc=@{mattack_reference}}}">Strike</button>
|
||||
<button class='meleedice' type='roll' title='Parry Roll' name='roll_meleeparry' value="@{whispertoggle}&{template:custom} {{color=grey}} {{title=**@{nametoggle}**}} {{subtitle=parries with @{weapon_attack}}} {{Parry= [[d20+@{weapon_parry}[parry]+@{parry}[HtH]+@{pp_bonus}[PP]+@{mtemp_parry}[temp]]]}}">Parry</button>
|
||||
<button class='meleedice' type='roll' title='Damage Roll' name='roll_meleedamage' value="@{whispertoggle}&{template:custom} {{color=red}} {{title=**@{nametoggle}**}} {{subtitle=lashes out}} {{@{nametoggle}'s @{weapon_attack} deals= [[@{weapon_damage}+@{damage}[HtH]+@{ps_bonus}[PS]+@{mtemp_damage}[temp]]]}} {{desc=@{mattack_reference}}}">Damage</button>
|
||||
<input class='damage-dice parchment' type="text" title='Damage Dice Calculation other than HtH and PS' value="" name="attr_weapon_damage" placeholder="xdy+z" />
|
||||
@@ -1320,7 +1320,7 @@
|
||||
<input type="checkbox" name="attr_psion_healing_toggle" class="sheet-arrow" />
|
||||
<h4>Healing Abilities</h4>
|
||||
<div class="body">
|
||||
<fieldset class="repeating_healing_psionics">
|
||||
<fieldset class="repeating_healingpsionics">
|
||||
<div class="psionic-panel">
|
||||
<button type="roll" class="rollpsion" name='roll_psionheal' value="@{whispertoggle}&{template:spells} {{color=@{psioncolor}}} {{title=**@{nametoggle}'s**}} {{subtitle=**@{psionic_name}**}} {{ispcost=@{psionic_cost}}} {{preptime=@{psionic_prep}}} {{range=@{psionic_range}}} {{duration=@{psionic_dur}}} {{desc=@{psionic_desc}}}">Roll</button>
|
||||
<input class="psionic-label parchment" type="text" title="Ability Name" name="attr_psionic_name" placeholder="Ability Name" />
|
||||
@@ -1344,7 +1344,7 @@
|
||||
<input type="checkbox" name="attr_psion_physical_toggle" class="sheet-arrow" />
|
||||
<h4>Physical Abilities</h4>
|
||||
<div class="body">
|
||||
<fieldset class="repeating_physical_psionics">
|
||||
<fieldset class="repeating_physicalpsionics">
|
||||
<div class="psionic-panel">
|
||||
<button type="roll" class="rollpsion" name='roll_psionphysical' value="@{whispertoggle}&{template:spells} {{color=@{psioncolor}}} {{title=**@{nametoggle}'s**}} {{subtitle=**@{psionic_name}**}} {{ispcost=@{psionic_cost}}} {{preptime=@{psionic_prep}}} {{range=@{psionic_range}}} {{duration=@{psionic_dur}}} {{desc=@{psionic_desc}}}">Roll</button>
|
||||
<input class="psionic-label parchment" type="text" title="Ability Name" name="attr_psionic_name" placeholder="Ability Name" />
|
||||
@@ -1364,13 +1364,13 @@
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sensative_psion_container">
|
||||
<input type="checkbox" name="attr_psion_sensative_toggle" class="sheet-arrow" />
|
||||
<h4>Sensative Abilities</h4>
|
||||
<div class="sensitive_psion_container">
|
||||
<input type="checkbox" name="attr_psion_sensitive_toggle" class="sheet-arrow" />
|
||||
<h4>Sensitive Abilities</h4>
|
||||
<div class="body">
|
||||
<fieldset class="repeating_sensative_psionics">
|
||||
<fieldset class="repeating_sensitivepsionics">
|
||||
<div class="psionic-panel">
|
||||
<button type="roll" class="rollpsion" name='roll_psionsensative' value="@{whispertoggle}&{template:spells} {{color=@{psioncolor}}} {{title=**@{nametoggle}'s**}} {{subtitle=**@{psionic_name}**}} {{ispcost=@{psionic_cost}}} {{preptime=@{psionic_prep}}} {{range=@{psionic_range}}} {{duration=@{psionic_dur}}} {{desc=@{psionic_desc}}}">Roll</button>
|
||||
<button type="roll" class="rollpsion" name='roll_psionsensitive' value="@{whispertoggle}&{template:spells} {{color=@{psioncolor}}} {{title=**@{nametoggle}'s**}} {{subtitle=**@{psionic_name}**}} {{ispcost=@{psionic_cost}}} {{preptime=@{psionic_prep}}} {{range=@{psionic_range}}} {{duration=@{psionic_dur}}} {{desc=@{psionic_desc}}}">Roll</button>
|
||||
<input class="psionic-label parchment" type="text" title="Ability Name" name="attr_psionic_name" placeholder="Ability Name" />
|
||||
<h4>I.S.P. Cost</h4>
|
||||
<input class="psionic-number parchment" type="number" title="ISP Cost" name="attr_psionic_cost" />
|
||||
@@ -1392,7 +1392,7 @@
|
||||
<input type="checkbox" name="attr_psion_super_toggle" class="sheet-arrow" />
|
||||
<h4>Super Abilities</h4>
|
||||
<div class="body">
|
||||
<fieldset class="repeating_super_psionics">
|
||||
<fieldset class="repeating_superpsionics">
|
||||
<div class="psionic-panel">
|
||||
<button type="roll" class="rollpsion" name='roll_psionsuper' value="@{whispertoggle}&{template:spells} {{color=@{psioncolor}}} {{title=**@{nametoggle}'s**}} {{subtitle=**@{psionic_name}**}} {{ispcost=@{psionic_cost}}} {{preptime=@{psionic_prep}}} {{range=@{psionic_range}}} {{duration=@{psionic_dur}}} {{desc=@{psionic_desc}}}">Roll</button>
|
||||
<input class="psionic-label parchment" type="text" title="Ability Name" name="attr_psionic_name" placeholder="Ability Name" />
|
||||
@@ -1421,7 +1421,7 @@
|
||||
<input type="checkbox" name="attr_minor_power_toggle" class="sheet-arrow" />
|
||||
<h4>Minor Abilities</h4>
|
||||
<div class="body">
|
||||
<fieldset class="repeating_minor_powers">
|
||||
<fieldset class="repeating_minorpowers">
|
||||
<div class="powers-panel">
|
||||
<button type="roll" class="rollpower" name='roll_power' value="@{whispertoggle}&{template:custom} {{color=red}} {{title=**@{nametoggle}'s**}} {{subtitle=**@{power_name}**}} {{desc=@{power_desc}}}">Roll</button>
|
||||
<input class="power-label parchment" type="text" title="Ability Name" name="attr_power_name" placeholder="Minor Ability Name" />
|
||||
@@ -1435,7 +1435,7 @@
|
||||
<input type="checkbox" name="attr_super_power_toggle" class="sheet-arrow" />
|
||||
<h4>Major Super Powers</h4>
|
||||
<div class="body">
|
||||
<fieldset class="repeating_super_powers">
|
||||
<fieldset class="repeating_superpowers">
|
||||
<div class="powers-panel">
|
||||
<button type="roll" class="rollpower" name='roll_power' value="@{whispertoggle}&{template:custom} {{color=red}} {{title=**@{nametoggle}'s**}} {{subtitle=**@{power_name}**}} {{desc=@{power_desc}}}">Roll</button>
|
||||
<input class="power-label parchment" type="text" title="Power Name" name="attr_power_name" placeholder="Super Power Name" />
|
||||
@@ -2403,7 +2403,7 @@ on("change:spd change:combatskill change:hth1_numberattacks change:hth2_numberat
|
||||
});
|
||||
|
||||
// Hand to Hand Skill Toggle
|
||||
on('change:combatskill', () => {
|
||||
on('change:combatskill sheet:opened', () => {
|
||||
getAttrs(['combatskill'], values => {
|
||||
const skills = ['initiative', 'strike', 'parry', 'dodge', 'damage', 'disarm', 'knockout', 'pullpunch', 'rollpunch', 'entangle', 'critical', 'numberattacks'];
|
||||
const output = {};
|
||||
|
||||
Reference in New Issue
Block a user