mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Internalised ChatDamageData.prepareRolls to its own constructor
This commit is contained in:
parent
f1599bf566
commit
124c4749db
3 changed files with 7 additions and 4 deletions
|
|
@ -164,8 +164,6 @@ export default class DHActorRoll extends foundry.abstract.TypeDataModel {
|
|||
}
|
||||
|
||||
prepareDerivedData() {
|
||||
this.damage.prepareRolls();
|
||||
|
||||
if (this.hasTarget) {
|
||||
this.hasHitTarget = this.targets.filter(t => t.hit === true).length > 0;
|
||||
this.currentTargets = this.getTargetList();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue