51 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
| <li class="item stat flexrow list-item list-item-shadow" data-attr-key="{{key}}">
 | |
| 
 | |
|   <input type="text" class="item-field-label-medium" name="system.characteristics.{{key}}.value"
 | |
|     value="{{charac.value}}" data-dtype="Number" />
 | |
| 
 | |
|   <span class="item-field-label-medium" name="{{key}}">
 | |
|     <h4 class="item-field-label-medium margin-item-list">{{charac.label}}</a></h4>
 | |
|   </span>
 | |
| 
 | |
|   <h4 class="item-field-label-short margin-item-list">{{charac.base}}</h4>
 | |
| 
 | |
|   {{#if charac.hasroll}}
 | |
|   <h4 class="item-field-label-short margin-item-list"><a class="roll-charac" data-charac-key="{{key}}"><i
 | |
|         class="fas fa-dice"></i>{{charac.roll}}-</a></h4>
 | |
|   {{else}}
 | |
|   <h4 class="item-field-label-short margin-item-list"> </h4>
 | |
|   {{/if}}
 | |
| 
 | |
|   <input type="text" class="item-field-label-long2" name="system.characteristics.{{key}}.notes" value="{{charac.notes}}"
 | |
|     data-dtype="String" />
 | |
| 
 | |
|   {{#if charac.lift}}
 | |
|   <h4 class="item-field-label-short margin-item-list">  </h4>
 | |
|   <h4 class="item-field-label-short margin-item-list">{{charac.lift}}</h4>
 | |
|   <h4 class="item-field-label-medium margin-item-list"><a class="roll-lift-dice" data-charac-key="{{key}}"><i
 | |
|         class="fas fa-dice"></i>{{charac.liftDice}}</a></h4>
 | |
| 
 | |
|   <select class="actor-computer-str-end" name="system.characteristics.str.strendmode"
 | |
|     value="{{charac.strendmode}}">
 | |
|     {{#select charac.strendmode}}
 | |
|     <option value="str20">STR/20 (half normal)</option>
 | |
|     <option value="str10">STR/10 (normal, half heroic)</option>
 | |
|     <option value="str5">STR/5 (heroic)</option>
 | |
|     <option value="0">0</option>
 | |
|     {{/select}}
 | |
|   </select>
 | |
| 
 | |
|   {{/if}}
 | |
| 
 | |
|   {{#if charac.phasesString}}
 | |
|     <h4 class="item-field-label-short margin-item-list">  </h4>
 | |
|     <h4 class="item-field-label-long2 margin-item-list">Phases : {{charac.phasesString}}</h4>
 | |
|   {{/if}}
 | |
| 
 | |
|   {{#if charac.presenceattack}}
 | |
|     <h4 class="item-field-label-short margin-item-list">  </h4>
 | |
|     <h4 class="item-field-label-long margin-item-list">Presence attack</h4>
 | |
|     <a class="roll-direct" data-roll-source="Presence attack"  data-roll-formula="{{charac.presenceattack.rollFormula}}"><i class="fas fa-dice"></i>{{charac.presenceattack.displayFormula}}</a>
 | |
|   {{/if}}
 | |
| 
 | |
| </li> |