Fixed so that the rally dice will at least show up in the roll selection

This commit is contained in:
WBHarry 2025-07-30 15:58:25 +02:00
parent 8e516df7cb
commit 352ea27046

View file

@ -64,7 +64,7 @@ export default class DualityRoll extends D20Roll {
} }
setRallyChoices() { setRallyChoices() {
return this.data?.parent?.effects.reduce((a, c) => { return this.data?.parent?.appliedEffects.reduce((a, c) => {
const change = c.changes.find(ch => ch.key === 'system.bonuses.rally'); const change = c.changes.find(ch => ch.key === 'system.bonuses.rally');
if (change) a.push({ value: c.id, label: change.value }); if (change) a.push({ value: c.id, label: change.value });
return a; return a;