Fix rnkMessage not passing on actor object for NPCs

This commit is contained in:
Marco Braga
2021-04-22 21:59:36 +02:00
parent 80907c8a01
commit 7943d38e87
3 changed files with 22 additions and 16 deletions

View File

@@ -112,7 +112,7 @@ export class CombatL5r5e extends Combat {
// Ugly but work... i need the new message
if (ids.length === 1) {
combatant.actor.rnkMessage = rnkMessage;
messageOptions.rnkMessage = rnkMessage;
}
// if the character succeeded on their Initiative check, they add 1 to their base initiative value,