pas de stress/sommeil pour personnage non lié
All checks were successful
Release Creation / build (release) Successful in 1m32s
All checks were successful
Release Creation / build (release) Successful in 1m32s
This commit was merged in pull request #807.
This commit is contained in:
@@ -8,7 +8,7 @@ export class DialogRepos extends Dialog {
|
||||
if (!actor.isPersonnage()) {
|
||||
return
|
||||
}
|
||||
if (!ReglesOptionnelles.isUsing("chateau-dormant-gardien") || !actor.hasPlayerOwner) {
|
||||
if (!ReglesOptionnelles.isUsing("chateau-dormant-gardien") || !actor.isPersonnageJoueur()) {
|
||||
foundry.utils.mergeObject(actor.system.sommeil, {
|
||||
"nouveaujour": true,
|
||||
"insomnie": EffetsDraconiques.isSujetInsomnie(actor),
|
||||
|
||||
Reference in New Issue
Block a user