MDL/ADRL fixes + MR fixes

This commit is contained in:
2023-09-19 13:52:09 +02:00
parent 552ff9564a
commit bbf0f31d4c
3 changed files with 32 additions and 26 deletions

View File

@@ -801,11 +801,11 @@ export class PegasusUtility {
}
}
}
let actor = game.actors.get(rollData.actorId)
if (toRem.length > 0) {
//console.log("Going to remove one use effects", toRem)
let actor = game.actors.get(rollData.actorId)
actor.deleteEmbeddedDocuments('Item', toRem)
}
actor.checkEFfectsHindranceDeletion(rollData.statKey)
}
/* -------------------------------------------- */