mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 22:46:12 +01:00
Changed to just adding 'isStandardAttack' in adversary data prep
This commit is contained in:
parent
32b6e732fe
commit
73941f1088
2 changed files with 4 additions and 11 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue