Skip to main content

StruggleStrengthGetDifficulty

Callable

  • StruggleStrengthGetDifficulty(C: Character, PrevItem: Item, NextItem?: Item): { auto: number; difficulty: number; timer: number }

  • Performs the difficulty calculation for the Strength minigame

    This function calculates the challenge level based on the base item difficulty, the skill of the rigger and the escapee, accounting for the escapee being bound in a way.


    Parameters

    • C: Character

      The character who tries to struggle

    • PrevItem: Item

      The item, the character wants to struggle out of

    • optionalNextItem: Item

      The item that should substitute the first one

    Returns { auto: number; difficulty: number; timer: number }

    • Nothing
    • auto: number
    • difficulty: number
    • timer: number