Type Parameters

Hierarchy

Implemented by

Properties

actionStack: readonly ActionType[]
callingAction: ActionType
executor: E
hasSetCanUse: boolean
targetTile?: default

Methods

  • The items passed to this method will be registered as items potentially to be damaged when the action completes.

    Parameters

    • Rest ...items: (undefined | default)[]

    Returns IActionApi<E, CU>

  • Parameters

    Returns IActionApi<E, CU>

  • Parameters

    • skill: SkillType
    • Optional multiplier: number
    • Optional actionTier: number
    • Optional bypass: true
    • Optional times: number

    Returns IActionApi<E, CU>

  • Returns the items registered for this action via addItems.

    Returns readonly default[]

  • Type Parameters

    Parameters

    • argument: any
    • index: number
    • argumentType: A

    Returns argument is IActionArgumentTypeMap[A]

  • Check if a creature on a tile and blocking the execution of the action

    Returns

    When checking before the action is being executed: true if a creature is on a tile and that creature is not hidden, false otherwise

    When checking when the action is being execute true if a creature is on a tile, false otherwise

    Parameters

    Returns boolean

  • Checks if stuff is blocking the tile

    Parameters

    Returns boolean

  • Removes all items added via addItems

    Returns IActionApi<E, CU>

  • Removes specific items added by addItems

    Parameters

    • Rest ...items: (undefined | default)[]

    Returns IActionApi<E, CU>

  • Parameters

    • delay: number
    • Optional replace: boolean

    Returns IActionApi<E, CU>

  • Parameters

    Returns IActionApi<E, CU>

  • Parameters

    • color: IRGB
    • Optional count: number
    • Optional inFront: boolean

    Returns IActionApi<E, CU>

  • Parameters

    • color: IRGB
    • Optional inFront: boolean

    Returns IActionApi<E, CU>

  • Parameters

    Returns IActionApi<E, CU>

  • Sets the chance that this action will create a rune item in the player's inventory.

    Parameters

    • chance: number

    Returns IActionApi<E, CU>

  • Sets the chance that this action will create a rune item in the player's inventory.

    Parameters

    • alignment: undefined | ArrayOr<Deity>
    • chance: number

    Returns IActionApi<E, CU>

  • Parameters

    • Optional skill: SkillType
    • Optional actionTier: number

    Returns IActionApi<E, CU>

  • Returns IActionApi<E, CU>

  • Returns IActionApi<E, CU>

  • Parameters

    • Optional updateFov: boolean

    Returns IActionApi<E, CU>

  • Returns IActionApi<E, CU>

Generated using TypeDoc