This commit is contained in:
2022-01-16 16:18:22 +01:00
parent 7a05d66d0b
commit a92ed693df
2 changed files with 4 additions and 4 deletions

View File

@ -518,7 +518,7 @@ export class PegasusActor extends Actor {
let stat = this.getStat(statKey);
if (stat) {
let rollData = this.getCommonRollData()
rollData.specList = this.getRelevantSpec(armor.data.statistic)
rollData.specList = this.getRelevantSpec(statKey)
rollData.mode = "stat"
rollData.title = `Stat ${stat.label}`;
rollData.stat = stat;
@ -555,9 +555,9 @@ export class PegasusActor extends Actor {
rollData.mode = "MR"
rollData.stat = mr
rollData.activePerks = duplicate(this.getActivePerks()),
rollData.specList = this.getRelevantSpec(armor.data.statistic),
rollData.specList = this.getRelevantSpec('mr'),
this.startRoll(rollData);
this.startRoll(rollData);
} else {
ui.notifications.warn("MR not found !");
}