The actor whose data is being prepared.
An array of default changes to be applied to the actor.
Called by Hooks.callAll
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
A hook event fired by the system when an actor's data is prepared and the system adds inherent/default Changes.