@alpaca-software/40kdc-data
    Preparing search index...

    Class WeaponKeywordView

    A weapon-keyword catalog entry, linked to the weapons whose profiles reference it. Exposes the keyword's mechanical effect as a buff stack via getBuffs.

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    The full generated WeaponKeyword record.

    Accessors

    Methods

    • Buff contributions from this catalog entry, for one reference site: pass the keyword's parameters (e.g. { value: 1 } for Sustained Hits 1) along with the weaponId that's carrying it (used as the buff source) and the engine context (e.g. attacker stationary?).

      Parameters

      • parameters: Record<string, unknown> | undefined
      • weaponId: string
      • context: EngineContext

      Returns Buff[]