libram
    Preparing search index...

    Function createRiderMode

    • Creates a rider mode for this session

      Parameters

      • name: string

        Rider mode name

      • details: Partial<RiderMode>

        An object consisting of various settings for the RiderMode:

        • modifierValueFunction

          Function to value a familiar itself, often using modifiers,

        • dropsValueFunction

          Function to value the drops of a familiar, which are stored as an Item[] or Map<Item, number>

        • ignoreLimitedDrops

          Whether to ignore daily or otherwise limited drops

        • excludeCurrentFamiliar

          Whether to exclude the player's current familiar

      Returns Map<string, RiderMode>

      Map of all rider modes created this session, including the one that was just made