Weapons Damage stuff
This commit is contained in:
		| @@ -50,7 +50,12 @@ | ||||
|         {{/if}} | ||||
|  | ||||
|       {{#if (and weapon isSuccess)}} | ||||
|         <li>Roll Damage: [[/r {{weapon.system.damage}}]]</li> | ||||
|         {{#if weapon.system.hashpdamage}} | ||||
|           <li>Roll HP Damage: [[/r {{weapon.system.damage}}]]</li> | ||||
|         {{/if}} | ||||
|         {{#if weapon.system.hasfatiguedamage}} | ||||
|           <li>Roll Fatigue Damage: [[/r {{weapon.system.fatiguedamage}}]]</li> | ||||
|         {{/if}} | ||||
|       {{/if}} | ||||
|  | ||||
|       {{#if (and (not isSuccess) rerolls)}} | ||||
|   | ||||
| @@ -47,9 +47,23 @@ | ||||
|             <input type="text" class="right item-field-label-long" name="system.penetrationmax" value="{{system.penetrationmax}}" data-dtype="String"/> | ||||
|           </li> | ||||
|  | ||||
|           <li class="flexrow"><label class="item-field-label-long">Damage</label> | ||||
|           <li class="flexrow"><label class="item-field-label-vlong">HP damage ?</label> | ||||
|             <label class="attribute-value checkbox"><input type="checkbox" name="system.hashpdamage" {{checked system.hashpdamage}}/></label> | ||||
|           </li> | ||||
|           {{#if system.hashpdamage}} | ||||
|           <li class="flexrow"><label class="item-field-label-vlong">HP Damage formula</label> | ||||
|             <input type="text" class="right item-field-label-long" name="system.damage" value="{{system.damage}}" data-dtype="String"/> | ||||
|           </li> | ||||
|           {{/if}} | ||||
|  | ||||
|           <li class="flexrow"><label class="item-field-label-vlong">Fatigue damage ?</label> | ||||
|             <label class="attribute-value checkbox"><input type="checkbox" name="system.hasfatiguedamage" {{checked system.hasfatiguedamage}}/></label> | ||||
|           </li> | ||||
|           {{#if system.hasfatiguedamage}} | ||||
|           <li class="flexrow"><label class="item-field-label-vlong">Fatigue damage formula</label> | ||||
|             <input type="text" class="right item-field-label-long" name="system.fatiguedamage" value="{{system.fatiguedamage}}" data-dtype="String"/> | ||||
|           </li> | ||||
|           {{/if}}   | ||||
|  | ||||
|           <li class="flexrow"><label class="item-field-label-long">Bulk</label> | ||||
|             <input type="text" class="input-numeric-short padd-right" name="system.bulk" value="{{system.bulk}}" data-dtype="Number"/> | ||||
| @@ -108,9 +122,6 @@ | ||||
|           <li class="flexrow"><label class="item-field-label-vlong">Disable system ?</label> | ||||
|             <label class="attribute-value checkbox"><input type="checkbox" name="system.disablesystems" {{checked system.disablesystems}}/></label> | ||||
|           </li> | ||||
|           <li class="flexrow"><label class="item-field-label-vlong">Fatigue damage ?</label> | ||||
|             <label class="attribute-value checkbox"><input type="checkbox" name="system.fatiguedamage" {{checked system.fatiguedamage}}/></label> | ||||
|           </li> | ||||
|           <li class="flexrow"><label class="item-field-label-vlong">Special effect ?</label> | ||||
|             <label class="attribute-value checkbox"><input type="checkbox" name="system.specialffect" {{checked system.specialffect}}/></label> | ||||
|           </li> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user