Add threat level
This commit is contained in:
parent
1ea1b3b1a8
commit
c73e51dfa1
@ -682,7 +682,7 @@ export class PegasusActor extends Actor {
|
||||
updates['data.nrg.value'] = nrgValue
|
||||
}
|
||||
|
||||
nrgValue = PegasusUtility.getDiceValue(this.data.data.statistics.foc.value) + this.data.data.statistics.foc.mod;
|
||||
nrgValue = PegasusUtility.getDiceValue(this.data.data.statistics.mnd.value) + this.data.data.statistics.mnd.mod;
|
||||
if (nrgValue != this.data.data.combat.stunthreshold) {
|
||||
updates['data.combat.stunthreshold'] = nrgValue
|
||||
}
|
||||
|
@ -183,6 +183,6 @@
|
||||
"templateVersion": 81,
|
||||
"title": "Pegasus RPG",
|
||||
"url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg",
|
||||
"version": "0.4.19",
|
||||
"version": "0.4.20",
|
||||
"background" : "./images/ui/pegasus_welcome_page.webp"
|
||||
}
|
||||
|
@ -22,6 +22,7 @@
|
||||
"catchphrasetrigger": "",
|
||||
"charactervalue": 0,
|
||||
"level": 0,
|
||||
"threatlevel": 0,
|
||||
"cdp": 0,
|
||||
"cdpused": 0,
|
||||
"notes": "",
|
||||
|
@ -649,6 +649,11 @@
|
||||
<input type="text" class="" name="data.biodata.cdpused" value="{{data.biodata.cdpused}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="short-label">Threat Level : </label>
|
||||
<input type="text" class="" name="data.biodata.threatlevel" value="{{data.biodata.threatlevel}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<hr>
|
||||
|
Loading…
Reference in New Issue
Block a user