Fix #74 : Power damage type

This commit is contained in:
sladecraven 2022-09-28 20:23:21 +02:00
parent 9394e0e851
commit 428db5e441
3 changed files with 7 additions and 2 deletions

View File

@ -567,6 +567,7 @@
"deactivatedtext": "", "deactivatedtext": "",
"powerlevelcost": "", "powerlevelcost": "",
"powerdamagetype": "", "powerdamagetype": "",
"powerdamagetypelevel": 0,
"dmgroll": false, "dmgroll": false,
"dmgstatistic": "", "dmgstatistic": "",
"description": "" "description": ""

View File

@ -46,7 +46,7 @@
{{/if}} {{/if}}
{{#if power}} {{#if power}}
<li>Power Damage type : {{power.system.powerdamagetype}}</li> <li>Power Damage type : {{power.system.powerdamagetype}} {{power.system.powerdamagetypelevel}}</li>
{{/if}} {{/if}}
{{#if isResistance}} {{#if isResistance}}

View File

@ -112,10 +112,14 @@
{{/select}} {{/select}}
</select> </select>
</li> </li>
<li class="flexrow"><label class="generic-label">Power Damage Type</label> <li class="flexrow"><label class="generic-label">Damage Type</label>
<input type="text" class="padd-right" name="system.powerdamagetype" value="{{data.powerdamagetype}}" <input type="text" class="padd-right" name="system.powerdamagetype" value="{{data.powerdamagetype}}"
data-dtype="String" /> data-dtype="String" />
</li> </li>
<li class="flexrow"><label class="generic-label">Damage Type Level</label>
<input type="text" class="padd-right" name="system.powerdamagetypelevel" value="{{data.powerdamagetypelevel}}"
data-dtype="Number" />
</li>
{{/if}} {{/if}}
<li class="flexrow"><label class="generic-label">When purchased display text</label> <li class="flexrow"><label class="generic-label">When purchased display text</label>