Body, Mind & Soul — API Reference
    Preparing search index...

    Function consumeGlyphDurability

    • Consume durability from a glyph for a glyph action. The socket entry on equipped gear is the source of truth for durability; the original glyph item is never modified. Falls back to the item itself if the glyph is not socketed.

      Parameters

      • actor: Actor
      • glyphItem: Item

        The glyph item

      • cost: number

        Durability cost (from action.system.durabilityCost)

      Returns Promise<boolean>

      false if insufficient durability