Expand description
Resolves consumable settings to buff spells.
StructsΒ§
- Consumable
Selection π - The four consumable slots parsed from intent settings, before data resolution.
- Resolved
Item πSpell
EnumsΒ§
- Consumable
Setting π - One consumable slot as written in the intent settings.
ConstantsΒ§
- AUGMENT_
RUNE_ πNAME - FLASK_
ALCHEMICAL_ πCHAOS_ NAME - PANDAREN_
FOOD_ πMULTIPLIER - TEMPERED_
POTION_ πKEY - Legacy
potionvalue 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
tokenat crafting-qualityrank: exact tokenized-name matches win over the shortest containing name; same-named rank variants order by item level (rank 1 = lowest), withrankclamped to the available variants. - resolve_
augment_ πrune_ slot - resolve_
buff_ πslot - resolve_
consumable_ πspells - Resolve a parsed
ConsumableSelectionto buff spells via the data resolver. - resolve_
food_ πslot - resolve_
named_ πconsumable - split_
quality_ πrank - use_
spell_ πid - The itemβs on-use spell.