Nouvelles corrections sur la fiche
This commit is contained in:
@@ -14,9 +14,11 @@ export default class AwERoll extends Roll {
|
||||
get knowledgeBonus() { return this.options.knowledgeBonus ?? 0 }
|
||||
get dc() { return this.options.dc }
|
||||
get outcome() { return this.options.outcome }
|
||||
get actorId() { return this.options.actorId }
|
||||
get actorName() { return this.options.actorName }
|
||||
get actorImage() { return this.options.actorImage }
|
||||
get actorId() { return this.options.actorId }
|
||||
get actorName() { return this.options.actorName }
|
||||
get actorImage() { return this.options.actorImage }
|
||||
get sourceItemName() { return this.options.sourceItemName }
|
||||
get sourceItemImg() { return this.options.sourceItemImg }
|
||||
|
||||
// --- Outcome calculation ---
|
||||
|
||||
@@ -153,9 +155,11 @@ export default class AwERoll extends Roll {
|
||||
bonus,
|
||||
knowledgeBonus,
|
||||
dc,
|
||||
actorId: options.actorId,
|
||||
actorName: options.actorName,
|
||||
actorImage: options.actorImage
|
||||
actorId: options.actorId,
|
||||
actorName: options.actorName,
|
||||
actorImage: options.actorImage,
|
||||
sourceItemName: options.sourceItemName,
|
||||
sourceItemImg: options.sourceItemImg
|
||||
})
|
||||
|
||||
await roll.evaluate()
|
||||
@@ -189,8 +193,10 @@ export default class AwERoll extends Roll {
|
||||
dice: this.dice,
|
||||
outcome: isPrivate ? null : this.outcome,
|
||||
dc: this.dc,
|
||||
actorName: this.actorName,
|
||||
actorImage: this.actorImage,
|
||||
actorName: this.actorName,
|
||||
actorImage: this.actorImage,
|
||||
sourceItemName: this.sourceItemName,
|
||||
sourceItemImg: this.sourceItemImg,
|
||||
isPrivate
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user