FunctionsStruggleStrengthGetDifficultyStruggleStrengthGetDifficulty CallableStruggleStrengthGetDifficulty(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.ParametersC: CharacterThe character who tries to strugglePrevItem: ItemThe item, the character wants to struggle out ofoptionalNextItem: ItemThe item that should substitute the first oneReturns { auto: number; difficulty: number; timer: number }Nothingauto: numberdifficulty: numbertimer: 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.