Added ability to apply the strife to the actor

This commit is contained in:
Vlyan
2022-02-13 13:34:24 +01:00
parent 64b436627f
commit 8c4072d8af
11 changed files with 83 additions and 22 deletions

View File

@@ -632,7 +632,7 @@ export class DicePickerDialog extends FormApplication {
let targetToken;
if (isMin === null) {
// only one target, get the first element
targetToken = Array.from(game.user.targets).values().next()?.value.document.actor;
targetToken = Array.from(game.user.targets).values().next()?.value.document;
} else {
// Group (Min/Max)
const targetGrp = Array.from(game.user.targets).reduce(