Initial release
This commit is contained in:
@ -268,6 +268,12 @@ export class MaleficesActor extends Actor {
|
||||
return `systems/fvtt-malefices/images/icons/${attrKey}.webp`
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
incDecDestin( value) {
|
||||
let newValue = this.system.pointdestin + value
|
||||
this.update( {'system.pointdestin': newValue})
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
getCommonRollData() {
|
||||
|
||||
@ -277,6 +283,8 @@ export class MaleficesActor extends Actor {
|
||||
rollData.actorId = this.id
|
||||
rollData.img = this.img
|
||||
rollData.phyMalus = this.getPhysiqueMalus()
|
||||
rollData.destin = this.system.pointdestin
|
||||
rollData.isReroll = false
|
||||
|
||||
console.log("ROLLDATA", rollData)
|
||||
|
||||
|
Reference in New Issue
Block a user