mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-07 23:52:29 +00:00
Tooltip correction
Properly displays tooltips for the Infographic, To GM, and Inline Mod buttons. Adds a tooltip to the Shock button. Notes a typo in Vehicles, pending some way to change attr names nondestructively
This commit is contained in:
@@ -261,12 +261,12 @@
|
||||
<div class='minimisable_infographic_main'>
|
||||
|
||||
<div class='minimisable_infographic_toggles'>
|
||||
<label><input type='checkbox' name='attr_infographic' class='collapsible_entity_switch select_button hidden' checked/><span class='select_text'>Infographic</span></label>
|
||||
<label><input type='checkbox' name='attr_to-gm' value='/w gm' class='select_button hidden' /><span class='select_text'>To GM</span></label>
|
||||
<label><input type='checkbox' name='attr_inlinemod-toggle' value='?{Modifier|0}' class='select_button hidden' checked/><span class='select_text'>Inline Mod</span></label>
|
||||
<label title='Toggles a display showing Wounds, Fatigue, Fate Pts, and Force Field info'><input type='checkbox' name='attr_infographic' class='collapsible_entity_switch select_button hidden' checked/><span class='select_text'>Infographic</span></label>
|
||||
<label title='If selected, all rolls from this sheet will be whispered to GM, instead of posted in public'><input type='checkbox' name='attr_to-gm' value='/w gm' class='select_button hidden' /><span class='select_text'>To GM</span></label>
|
||||
<label title='If selected, most rolls made will also ask for a situational Modifier'><input type='checkbox' name='attr_inlinemod-toggle' value='?{Modifier|0}' class='select_button hidden' checked/><span class='select_text'>Inline Mod</span></label>
|
||||
<p></p>
|
||||
<button class='clear minimisable_infographic_override' type='roll' name='scatter' value="@{to-gm}&{template:mythic} {{character= @{character_name}}} {{scatter-range= [[(?{Degrees of Failiure|1})+?{Modifier|0}]]}} {{scatter-direction=[[1d10]]}}">Scatter</button>
|
||||
<button class='clear minimisable_infographic_override' type='roll' name='shock' value="@{to-gm}&{template:mythic} {{character= @{character_name}}} {{shock= [[(?{Fear DoF|1})*10 + 1d100]]}}">Shock</button>
|
||||
<button class='clear minimisable_infographic_override' type='roll' name='shock' title='Used when character fails some types of Fear test' value="@{to-gm}&{template:mythic} {{character= @{character_name}}} {{shock= [[(?{Fear DoF|1})*10 + 1d100]]}}">Shock</button>
|
||||
<button class='clear minimisable_infographic_override' type='roll' name='d100' value="@{to-gm}&{template:mythic} [[ ([[?{Target Number|50}]] - [[1d100]])/10]] {{d100= }} {{character= @{character_name}}} {{target= $[[0]]}} {{roll=$[[1]]}} {{difference=$[[2]]}}">1d100</button>
|
||||
<button class='clear minimisable_infographic_override' type='roll' name='righteousfury' value="@{to-gm}&{template:mythic} {{character= @{character_name}}} {{righteousfury= }} {{@{settings_crunchsummary}= }} {{target= [[?{Target|Person, 0|Vehicle, 1}]] }} {{location= [[?{Location|Arm/Weapon, 0|Body/Propulsion, 1|Head/Turret, 2|Leg/Hull, 3}]]}} {{type= [[?{Damage Type|Energy, 0|Explosive, 1|Impact, 2|Rending, 3}]] }} {{roll=[[ ceil(?{Dice Roll|1d5, 1d5|1d10, 1d10} / ?{Mitigation|None, 1| True Grit, 2}) ]] }} ">Righteous Fury</button>
|
||||
</div>
|
||||
@@ -2332,6 +2332,7 @@
|
||||
<div class='vehicles_G13'>Carrying Capacity</div>
|
||||
<input name='attr_vehicle-crew' type='text' class='vehicles_G14 full_width' placeholder='Minimum Crew Prerequisite' />
|
||||
<input name='attr_vehicle-compliment' type='text' class='vehicles_G15 full_width' placeholder='Maximum Crew Space' />
|
||||
<!-- TODO: correct "attr_vehicle_complement" -->
|
||||
</div>
|
||||
|
||||
<div class='vehicles_grid2'>
|
||||
|
||||
Reference in New Issue
Block a user