• A hook event fired by the system when an actor's data is prepared and the system adds inherent/default Changes.

    Parameters

    • actor: ActorPF

      The actor whose data is being prepared.

    • changes: ItemChange[]

      An array of default changes to be applied to the actor.

    Returns void

    Remarks

    Called by Hooks.callAll

    Example

    Adding a default Change that increases every actor's strength

    Hooks.on("pf1AddDefaultChanges", (actor, changes) => {
    changes.push(
    new pf1.components.ItemChange({
    subTarget: "str",
    formula: "2",
    })
    );
    });

Generated using TypeDoc