Fixed so that horde damage reduction is only applied to the standard attack

This commit is contained in:
WBHarry 2026-02-22 21:20:27 +01:00
parent 267de9a8cf
commit 32b6e732fe
3 changed files with 15 additions and 2 deletions

View file

@ -86,7 +86,8 @@ export default class DhpAdversary extends DhCreature {
amount: 1
},
roll: {
type: 'attack'
type: 'attack',
isStandardAttack: true
},
damage: {
parts: [
@ -405,4 +406,10 @@ 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);
}
}