Stances - reonZ/pf2e-toolbelt GitHub Wiki

Add toggles in the character sheet to change your stance with ease.

  • When toggling a stance, any other stance will be removed.
  • If a character has the Opening Stance or Stance Savant feats, they will be offered to select a stances on encounter start or automatically enable the stance if only one exist on the character.
  • You can't toggle stances out of combat (to force a stance, ctrl+click instead).

Settings

Enabled 👤

Enables the feature for you.

API

/*
 * retrieve the api object for this feature
 */
game.modules.get("pf2e-toolbelt")?.api.stances;
/*
 * can this character currently use stances
 */
canUseStances: (actor: CharacterPF2e) => boolean;
/*
 * get the list of stances on this character
 * effectID is only provided if the stance effect is currently active on the character
 */
 getStances: (actor: CharacterPF2e) => {
    name: string;
    itemName: string;
    uuid: string;
    img: string;
    effectUUID: string;
    effectID: string | undefined;
    actionUUID: string;
    actionID: string;
}[]
/*
 * is the "item" a proper stance feat
 */
isValidStance: (stance: ItemPF2e) => stance is stance is FeatPF2e | AbilityItemPF2e
/*
 * toggle the stance on this character, removing any other stance effect in the process
 * force will bypass the combat restriction of stances
 */
toggleStance: (actor: CharacterPF2e, effectUUID: string, force?: boolean) => Promise<void>
⚠️ **GitHub.com Fallback** ⚠️