/exp uniquement sur personnage et messages XP uniquement pour MJ

This commit is contained in:
2021-06-28 16:50:52 +02:00
parent b02ac1e7e1
commit b548d95203
4 changed files with 6 additions and 6 deletions

View File

@ -894,7 +894,7 @@ export class RdDUtility {
}
if (nomJoueur == undefined) {
for (let actor of game.actors) {
if (actor.hasPlayerOwner) {
if (actor.hasPlayerOwner && actor.isPersonnage() ) {
actor.addCompteurValue('stress', stressValue, raison);
ui.notifications.info(`${actor.name} a reçu ${stressValue} points de Stress (raison : ${raison})`);
}