Roll : Added target info in Roll

This commit is contained in:
Vlyan
2022-02-17 15:24:50 +01:00
parent 448fadeca7
commit efe1e088ed
18 changed files with 148 additions and 68 deletions

View File

@@ -40,7 +40,7 @@ export class CombatL5r5e extends Combat {
const combatant = game.combat.combatants.find((c) => c.id === combatantId);
// Skip non character types (army)
if (!["character", "npc"].includes(combatant.actor.data.type)) {
if (!combatant.actor.isCharacter) {
updatedCombatants.push({
_id: combatant.id,
initiative: 0,