Add attribute to shock damage.

This commit is contained in:
kehofset@live.no
2018-02-28 15:06:46 +01:00
parent 1a08023986
commit e084c80f1c
@@ -1267,7 +1267,7 @@
<input type="checkbox" name="attr_add_skill" value="@{weapon_skill_bonus}" style="width: 80px;">
<input type="text" name="attr_weapon_range" style="width: 50px">
<input type="number" name="attr_weapon_ammo" style="width: 35px">
<button type="roll" name="roll_weapon_to_hit" value="/me &{template:attack} {{characterName=@{name}}} {{name=@{weapon_name}}} {{rollValue=[[1d20 + @{attack_bonus}[AB] + @{weapon_attack}[Weapon AB] + [[{{@{weapon_skill_bonus},-1}>0}*(@{weapon_skill_bonus}+2) - 2]][Skill] + @{attribute_mod}[Attribute] + @{weapon_burst}[Burst] + ?{Other Modifier|0}[Modifier]]]}} {{damage=[[@{weapon_damage} + @{attribute_mod}[Attribute] + @{add_skill}[Skill] + @{weapon_burst}[Burst]]]}} {{shock=[[@{weapon_shock} + @{add_skill}[Skill]]]}} {{shock_base=[[@{weapon_shock}]]}} {{shock_ac=[[@{weapon_shock_ac}]]}}"></button>
<button type="roll" name="roll_weapon_to_hit" value="/me &{template:attack} {{characterName=@{name}}} {{name=@{weapon_name}}} {{rollValue=[[1d20 + @{attack_bonus}[AB] + @{weapon_attack}[Weapon AB] + [[{{@{weapon_skill_bonus},-1}>0}*(@{weapon_skill_bonus}+2) - 2]][Skill] + @{attribute_mod}[Attribute] + @{weapon_burst}[Burst] + ?{Other Modifier|0}[Modifier]]]}} {{damage=[[@{weapon_damage} + @{attribute_mod}[Attribute] + @{add_skill}[Skill] + @{weapon_burst}[Burst]]]}} {{shock=[[@{weapon_shock} + @{attribute_mod}[Attribute] + @{add_skill}[Skill]]]}} {{shock_base=[[@{weapon_shock}]]}} {{shock_ac=[[@{weapon_shock_ac}]]}}"></button>
</fieldset>
</div>
</div>