Skip to main content

CharacterGetEffects

Callable


  • Returns a list of effects for a character from some or all groups


    Parameters

    • C: Character

      The character to check

    • optionalGroups: readonly AssetGroupName[] = null

      Optional: The list of groups to consider. If none defined, check all groups

    • optionalAllowDuplicates: boolean = false

      Optional: If true, keep duplicates of the same effect provided they're taken from different groups

    Returns EffectName[]

    • A list of effects