Calculate the best outfit-power you can achieve for a given busk valuation, and then busks.
Param: effectValuer
Either a function that maps effect-duration pairs to values, or an object keyed by numeric modifiers with weights as values, or an array of desired effects
Param: options
An object containing the following optional keys:
Param: options.uselessEffects
An array (defaults to empty) of effects not to consider for the purposes of busk valuation
Param: options.buyItems
Whether or not we should consider purchasing items from NPC stores; defaults to true
Calculate the best outfit-power you can achieve for a given busk valuation, and then busks.
Param: effectValuer
Either a function that maps effect-duration pairs to values, or an object keyed by numeric modifiers with weights as values, or an array of desired effects
Param: options
An object containing the following optional keys:
Param: options.uselessEffects
An array (defaults to empty) of effects not to consider for the purposes of busk valuation
Param: options.buyItems
Whether or not we should consider purchasing items from NPC stores; defaults to true
Returns
Whether we were successful in our endeavor