Skip to main content

Module consumables

Module consumables 

Source
Expand description

Resolves consumable settings to buff spells.

StructsΒ§

ConsumableSelection πŸ”’
The four consumable slots parsed from intent settings, before data resolution.
ResolvedItemSpell πŸ”’

EnumsΒ§

ConsumableSetting πŸ”’
One consumable slot as written in the intent settings.

ConstantsΒ§

AUGMENT_RUNE_NAME πŸ”’
FLASK_ALCHEMICAL_CHAOS_NAME πŸ”’
PANDAREN_FOOD_MULTIPLIER πŸ”’
TEMPERED_POTION_KEY πŸ”’
Legacy potion value selecting the TWW default prepot.
TEMPERED_POTION_NAME πŸ”’

FunctionsΒ§

consumable_item_budget πŸ”’
Resolves the consuming item’s ilvl budget; coefficient-valued consumable effects are item-budget-scaled, literal base-points effects are not.
food_amount_multiplier πŸ”’
food_buff_for_use_spell πŸ”’
parse_bool_or_name πŸ”’
parse_consumable_selection πŸ”’
Parses consumable selections, including legacy boolean settings.
pick_item πŸ”’
Pick the item for token at crafting-quality rank: exact tokenized-name matches win over the shortest containing name; same-named rank variants order by item level (rank 1 = lowest), with rank clamped to the available variants.
resolve_augment_rune_slot πŸ”’
resolve_buff_slot πŸ”’
resolve_consumable_spells πŸ”’
Resolve a parsed ConsumableSelection to buff spells via the data resolver.
resolve_food_slot πŸ”’
resolve_named_consumable πŸ”’
split_quality_rank πŸ”’
use_spell_id πŸ”’
The item’s on-use spell.