[Star Wars D6] v2.32 add missing lightsaber dmg roll

This commit is contained in:
Andreas Johansson
2021-02-09 00:14:31 +02:00
parent 61bd432b89
commit 450073d7f8
+2 -1
View File
@@ -569,7 +569,8 @@
<button class="d6-dice rollmod" name="roll_lc_attack" type="roll" value="&{template:default} {{name=@{lightsaberskill}}} {{Roll=[[(@{lightsaberskilldice} -@{WoundMod} +@{Force_Up} +@{sense} +?{Dice mods|0} -1)d6cf0cs0 + @{lightsaberskillpip} +@{Force_EmptinessMod} +@{sensepip} +?{Other Mods(pip)|0} +(1d6@{wilddie})]]}}">LC Attack</button>
<button class="d6-dice rollmod-no" name="roll_lc_attack" type="roll" value="&{template:default} {{name=@{lightsaberskill}}} {{Roll=[[(@{lightsaberskilldice} -@{WoundMod} +@{Force_Up} +@{sense} -1)d6cf0cs0 + @{lightsaberskillpip} +@{Force_EmptinessMod} +@{sensepip} +(1d6@{wilddie})]]}}">LC Attack</button>
<input type="number" name="attr_lightsaberdamagedice" class="smallnumber shortnumber" min="1" value="6"/>D+<input type="number" name="attr_lightsaberdamagepip" class="pipnumber shortnumber" min="0" max="2" value="0"/>
<button class="d6-dice rollmod" name="roll_lc_dmg" type="roll" value="&{template:default} {{name=@{lightsaberskill} damage}} {{Roll=[[(@{lightsaberdamagedice}- 1)d6cf0cs0 +@{lightsaberdamagepip} +@{Force_EmptinessMod} +(1d6@{wilddie})]]}}">LC Damage</button>
<button class="d6-dice rollmod" name="roll_lc_dmg" type="roll" value="&{template:default} {{name=@{lightsaberskill} damage}} {{Roll=[[(@{lightsaberdamagedice} +?{Dice mods|0} -1)d6cf0cs0 +@{lightsaberdamagepip} +@{Force_EmptinessMod} +?{Other Mods(pip)|0} +(1d6@{wilddie})]]}}">LC Damage</button>
<button class="d6-dice rollmod-no" name="roll_lc_dmg" type="roll" value="&{template:default} {{name=@{lightsaberskill} damage}} {{Roll=[[(@{lightsaberdamagedice}- 1)d6cf0cs0 +@{lightsaberdamagepip} +@{Force_EmptinessMod} +(1d6@{wilddie})]]}}">LC Damage</button>
</span>
</div>
</div>