Fix mod
This commit is contained in:
parent
7a05d66d0b
commit
a92ed693df
@ -518,7 +518,7 @@ export class PegasusActor extends Actor {
|
|||||||
let stat = this.getStat(statKey);
|
let stat = this.getStat(statKey);
|
||||||
if (stat) {
|
if (stat) {
|
||||||
let rollData = this.getCommonRollData()
|
let rollData = this.getCommonRollData()
|
||||||
rollData.specList = this.getRelevantSpec(armor.data.statistic)
|
rollData.specList = this.getRelevantSpec(statKey)
|
||||||
rollData.mode = "stat"
|
rollData.mode = "stat"
|
||||||
rollData.title = `Stat ${stat.label}`;
|
rollData.title = `Stat ${stat.label}`;
|
||||||
rollData.stat = stat;
|
rollData.stat = stat;
|
||||||
@ -555,7 +555,7 @@ export class PegasusActor extends Actor {
|
|||||||
rollData.mode = "MR"
|
rollData.mode = "MR"
|
||||||
rollData.stat = mr
|
rollData.stat = mr
|
||||||
rollData.activePerks = duplicate(this.getActivePerks()),
|
rollData.activePerks = duplicate(this.getActivePerks()),
|
||||||
rollData.specList = this.getRelevantSpec(armor.data.statistic),
|
rollData.specList = this.getRelevantSpec('mr'),
|
||||||
|
|
||||||
this.startRoll(rollData);
|
this.startRoll(rollData);
|
||||||
} else {
|
} else {
|
||||||
|
@ -163,6 +163,6 @@
|
|||||||
"templateVersion": 58,
|
"templateVersion": 58,
|
||||||
"title": "Pegasus RPG",
|
"title": "Pegasus RPG",
|
||||||
"url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg",
|
"url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg",
|
||||||
"version": "0.1.4",
|
"version": "0.1.5",
|
||||||
"background" : "./images/ui/pegasus_welcome_page.webp"
|
"background" : "./images/ui/pegasus_welcome_page.webp"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user