I could not find a Battletech third edition sheet on roll20, but I did find someone that made a battletech sheet and I was trying to update it to third. However, my knowledge of HTML is a bit on the low side. The sheet was made with the Gunnery skill and I was trying to break it into Ballistic, Energy, and Missile. In the weapon entry section, each weapon has a drop down menu where you chose the type.
<span
class="sheet-weapons-label">Equipment Type</span><br>
<select
class="sheet-rw-select" type="number"
name="attr_type">
<option value="0"
>Other</option>
<option
value="@{warrior1_energy}">Energy</option>
<option
value="@{warrior1_ballistic}">Ballistic</option>
<option
value=@{warrior1_missile}"">Missile</option>
</select> I'm betting I probably coded this section wrong.
But, for the attack roll button, I'm not sure how to pull the actual skill over. The code for the attack is:
<button type="roll"
value="&{template:battletech} {{background=[[@{color}]]
}}{{header=@{character_name} }} {{text-one=@{name} }} {{text-two=To
Hit: [[ [[@{pilotgunnery}]] [Gunnery Skill] +
[[?{Movement|Stationary,0|Walked,1|Ran,2|Jumped,3|VTOL,1}]]
[Movement] + [[ @{heat_modifier} ]] [Heat] +
[[?{Range|Short,0|Medium,2|Long,4|Extreme,8|Minimum,1|Minimum -1
Hex,2|Minimum -2 Hex,3|Minimum -3 Hex,4|Minimum -4 Hex,5|Minimum -5
Hex,6|Minimum -6 Hex,7}]] [Range] + [[?{Terrain
Modifiers|None,0|+1,1|+2,2|+3,3|+4,4|+5,5+6,6|+7,7|+8,8|+9,9}]]
[Terrain] + [[?{Target Movement|0-2 Hexes,0|3-4 Hexes,1|5-6
Hexes,2|7-9 Hexes,3|10-13 Hexes,4|14-18 Hexes,5|19-24 Hexes,6|25+
Hexes,7}]] [Target Movement] + ( [[?{Additional Modifiers|0}]] )
[Additional Modifiers] ]]+ }} {{rollname=Attack: }} {{roll=[[2d6]] }}
{{Damage:= @{damage} }} {{Heat:= @{heatgenerated} }}
{{footer=@{location} - @{name} }}" name="roll_attack"
title="%{selected|repeating_weapons_$0_attack}" /> Fire
Weapon</button> Can anyone help with this?