This commit is contained in:
sladecraven 2022-09-27 13:25:36 +02:00
parent cd771c29d1
commit 44af2a1642
2 changed files with 3 additions and 6 deletions

View File

@ -1898,7 +1898,7 @@ export class PegasusActor extends Actor {
/* -------------------------------------------- */
modifyVehicleStun(incDec) {
let stun = this.system.stun.value + incDec
this.update({ 'stun.value': stun })
this.update({ 'system.stun.value': stun })
}
/* -------------------------------------------- */

View File

@ -132,10 +132,7 @@
<ul class="stat-list alternate-list">
<li class="item stat flexrow list-item">
<span class="generic-label small-label">Current</span>
<input type="text" class="" name="system.combat.stunlevel" value="{{data.combat.stunlevel}}"
data-dtype="Number" />
<span class="generic-label small-label">Threshold</span>
<input type="text" class="" name="system.combat.stunthreshold" value="{{data.combat.stunthreshold}}"
<input type="text" class="" name="system.stun.value" value="{{data.stun.value}}"
data-dtype="Number" />
</li>
</ul>
@ -625,7 +622,7 @@
</div>
</li>
{{#each cargos as |cargo key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{money._id}}">
<li class="item flexrow list-item list-item-shadow" data-item-id="{{cargo._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{cargo.img}}" /></a>
<span class="item-name-label">{{cargo.name}}</span>