mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 22:46:12 +01:00
Fixed so that horde damage reduction is only applied to the standard attack
This commit is contained in:
parent
267de9a8cf
commit
32b6e732fe
3 changed files with 15 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue