Gestion des significatives

This commit is contained in:
2025-10-21 01:37:54 +02:00
parent 7f4f942d50
commit 147e49f2cb
8 changed files with 26 additions and 15 deletions

View File

@@ -84,8 +84,8 @@ export class StatusEffects extends FormApplication {
)
}
static getActorEffetSurprise(actor, forceRequise) {
const effets = actor?.getEffects(StatusEffects.isSurprise, forceRequise) ?? []
static getActorEffetSurprise(actor) {
const effets = actor?.getEffects(StatusEffects.isSurprise) ?? []
return {
effets: effets,
surprise: effets.length > 0