Body, Mind & Soul — API Reference
    Preparing search index...
    applyEffects: {
        configPartial: string;
        execute: (
            outcome: any,
            __namedParameters: {
                _trackerEffectQueue: any;
                actor: any;
                effectDoc: any;
                featureItem: any;
                parentItem: any;
                targetActor: any;
            },
        ) => Promise<void>;
    }

    Enable an ActiveEffect on the owner (self-trigger) or create/enable a copy on the target actor (when context.targetActor is a different actor). Optionally queues duration to the combat tracker. Config: { effectId, duration, durationUnit }

    Type Declaration

    • configPartial: string
    • execute: (
          outcome: any,
          __namedParameters: {
              _trackerEffectQueue: any;
              actor: any;
              effectDoc: any;
              featureItem: any;
              parentItem: any;
              targetActor: any;
          },
      ) => Promise<void>