Les effets s'appliquent aux créatures

This commit is contained in:
2024-05-26 22:43:07 +02:00
parent 26e8853a94
commit 657566fb11
8 changed files with 8 additions and 13 deletions

View File

@ -180,7 +180,7 @@ export class RdDBaseActorReve extends RdDBaseActor {
}
/* -------------------------------------------- */
isEffectAllowed(effectId) { return true }
isEffectAllowed(effectId) { return false }
getEffects(filter = e => true) {
return this.getEmbeddedCollection("ActiveEffect").filter(filter);