Fix: message quand /stress sans valeur #493
@ -888,6 +888,10 @@ export class RdDUtility {
|
||||
/*-------------------------------------------- */
|
||||
static distribuerStress(stressValue, raison = 'Inconnu', nomJoueur = undefined) {
|
||||
if (game.user.isGM) {
|
||||
if (stressValue == undefined){
|
||||
ui.notifications.warn("Pas de valeuir de stress à distribuer!");
|
||||
return;
|
||||
}
|
||||
if (nomJoueur == undefined) {
|
||||
for (let actor of game.actors) {
|
||||
if (actor.hasPlayerOwner) {
|
||||
|
Loading…
Reference in New Issue
Block a user