libram
    Preparing search index...

    Function maximizeCached

    • Run the maximizer, but only if the objective and certain pieces of game state haven't changed since it was last run.

      Parameters

      • objectives: string[]

        Objectives to maximize for.

      • options: Partial<MaximizeOptions> = {}

        Options for this run of the maximizer.

        • updateOnFamiliarChange

          Re-run the maximizer if familiar has changed. Default true.

        • updateOnCanEquipChanged

          Re-run the maximizer if stats have changed what can be equipped. Default true.

        • forceEquip

          Equipment to force-equip ("equip X").

        • preventEquip

          Equipment to prevent equipping ("-equip X").

        • bonusEquip

          Equipment to apply a bonus to ("200 bonus X").

      Returns boolean

      Whether the maximize call succeeded.