Changed to just adding 'isStandardAttack' in adversary data prep

This commit is contained in:
WBHarry 2026-02-26 11:30:54 +01:00
parent 32b6e732fe
commit 73941f1088
2 changed files with 4 additions and 11 deletions

View file

@ -191,6 +191,10 @@ export default class DhpAdversary extends DhCreature {
}
}
prepareDerivedData() {
this.attack.roll.isStandardAttack = true;
}
_getTags() {
const tags = [
game.i18n.localize(`DAGGERHEART.GENERAL.Tiers.${this.tier}`),
@ -406,10 +410,4 @@ export default class DhpAdversary extends DhCreature {
return result;
}
static migrateData(source) {
if (!source.attack.roll.isStandardAttack) source.attack.roll.isStandardAttack = true;
return super.migrateData(source);
}
}