SpellButton

Spell buttons keyed by quest ID or questID-objective. A value may be one spell or a nonempty list of spells, displayed in list order on the same step. Prefer numeric spell IDs; names must be understood by the client language. Keep one key per quest/objective; repeated Lua keys overwrite earlier values.

Formato do valor
table
Escopo
step

As descrições técnicas são mantidas no inglês original. Os nomes dos campos e os exemplos em Lua não são alterados.

Exemplos

Exemplo das fontes. Substitua IDs e valores de acordo com sua rota; este site não executa Lua.

Lua · 01
SpellButton = { ["49939-1"] = 294197 }` or `SpellButton = { ["5648"] = { 2050, 1243 } }

Comportamento e detalhes

Action / Progression Options

An action waits for completion; a failed step condition skips the step. Use one main action per step.

OptionDescriptionExpected Syntax
AchievementTrack an achievement or criterion. Prefer criteriaID over positional criteriaIndex; if both are given, the ID wins.Achievement = { achievementID = 61960, criteriaID = 111471 } or { achievementID = 61576 }
BankDepositMove every listed bag stack into the open Classic character bank and bank bags; excludes guild, reagent and warband banks.BankDeposit = { items = { 4371, 5465 } }
BankWithdrawMove every listed Classic character-bank stack into bags while the bank is open.BankWithdraw = { items = { 4371 } }
BuyMerchantBuy quantities from the open merchant as a main or secondary action. MerchantNPC restricts the merchant; place junk sales before purchases. Each entry can set isSupply = true for weapon upgrades or consumable replenishment: automatic buying then requires Automation's weapons/consumables opt-in (off by default), while instructions and manual purchase tracking remain active. Leave quest-required purchases unmarked, including food or reagents needed for a quest. optional separately permits unavailable/unaffordable automatic purchases to be omitted; it does not grant opt-in.BuyMerchant = { { itemID = 4371, quantity = 1 } }
ChromiePickSelects a specific Chromie Time timeline by option ID.ChromiePick = 8
DeathSkipWait for death, confirm resurrection at a spirit healer, then finish on resurrection. Does not kill the character or accept an ordinary player resurrection as completion.DeathSkip = true, Hardcore = false
DestroyItemsDelete every bag stack of the listed items and wait until absent; no quantity limit.DestroyItems = { items = { 12345 } }
EquipItemShow the localized item name and an item button; complete once the specified slot contains the item. Use possession and level conditions for deferred parallel reminders.EquipItem = { itemID = 2030, slot = 16 }
DoneQuests to turn in. The step completes once all listed quests are handed in. If using DoneDB, keep a base Done field as well.Done = { 12345, 12400 }
DoneDBAlternative quest IDs counted as the same hand-in. Requires Done.DoneDB = { 12345, 54321 }
DoScenarioIndicates that the player should complete the scenario.DoScenario = { questID = 86912, mapID = 2505 }
DroppableQuestDefines passive or active dropped-quest tracking. When used without DropQuest, it behaves like a filler hint.DroppableQuest = { Qid = 41234, MobId = 133713, Text = "Fel Marauder" }
DropQuestQuest obtained from a mob drop. Must be paired with a corresponding DroppableQuest.DropQuest = 48876
EmoteRequires performing an emote on a target or at a step.Emote = { emote = "salute", npcID = 12345 }
EnterInstanceGuides the player into an instance. Forever dungeon checkpoints use dungeonKey to match the instance ID.EnterInstance = { questID = 12345, mapID = 2505 } or { dungeonKey = "RFC" }
EnterScenarioGuides the player to a scenario entrance.EnterScenario = { questID = 86636, mapID = 2502 }
ExitTutorialExile's Reach specific step that auto-skips if the exit quest is no longer tracked.ExitTutorial = 59985
FillersOptional side objectives that can progress during any step without blocking the route. Associate images with their quest using FillerPreviewImages; see [Image previews](#image-previews).Fillers = { [49529] = { 1 }, [49897] = { 1 } }
GetFPLearn a flight path node.GetFP = 2395
GrindWait until the level/XP threshold is reached; supports numbers, absolute XP and named profiles.Grind = 60
GroupMarks an optional group quest and shows a popup (questID, Number).Group = { questID = 51384, Number = 3 }
GroupTaskAssociates the step with WantedQuestList to store the player's decision for a group quest.GroupTask = 51384
KillNPCWait for an observed boss death in the specified Forever dungeon. Requires npcID, name and dungeonKey; see dungeon checkpoints below.KillNPC = { npcID = 11520, name = "Taragaman the Hungerer", dungeonKey = "RFC" }
LearnProfessionWait for the requested profession spell to be learned. Without Coord or Coords, resolve a matching reachable trainer through the service catalogue; arrival does not complete learning.LearnProfession = 2259
LearnSkillTrain the selected spells at a trainer. Without Coord or Coords, resolve a matching reachable training service. Wait if unavailable or unaffordable; apply the required MinLevel and class filters.LearnSkill = { spellID = 6673 }, MinLevel = 1
LeaveInstancePrompts to leave the instance once objectives are done. A Forever dungeonKey checkpoint completes once the player is outside all instances.LeaveInstance = { questID = 12345, mapID = 2505 } or { dungeonKey = "RFC" }
LeaveQuestAbandons a single quest from the quest log.LeaveQuest = 38254
LeaveQuestsAbandons multiple quests from the quest log.LeaveQuests = { 38254, 38257 }
LeaveScenarioPrompts to leave the scenario once objectives are done.LeaveScenario = { questID = 86912, mapID = 2505 }
SkillGoalWait until the actual learned skill rank reaches the target. Display localized current/target progress; crafting stays manual. See [Skill rank goals](#skill-rank-goals).SkillGoal = { skillID = 8888, rank = 25 }
LootItemsWait for each quantity (default 1) in bags plus the saved character bank. A completed questID also satisfies its entry; no virtual loot or remembered counts.LootItems = { { questID = 86644, itemID = 244143, quantity = 1 } }
LootMoneyWait for cash plus carried items' estimated vendor value to reach copper; shows a progress bar. Excludes banks and uncached prices. See resource fields below.LootMoney = { copper = 10, includeEquipped = true }
MountVehicleAutomatically validates when a mount / boarding event is detected.MountVehicle = true
NoteInformational step accepting a string or array of strings. Seen notes are remembered and can auto-skip on later resets / revisits.Note = { "Open the map", "Follow the bridge north" }
NpcDismountAutomatically dismounts to talk to the targeted NPC.NpcDismount = 43733
PickUpList of quest IDs to pick up. The step remains active until all quests are in the log. If using PickUpDB, keep a base PickUp field as well.PickUp = { 39688 }
PickUpDBAlternative quest IDs for the same pickup step (class / faction variants). Requires PickUp.PickUpDB = { 39688, 39694, 40255, 40256 }
QpartQuest objectives to complete, mapped by quest ID and objective index.Qpart = { [12345] = { 1, 2 } }
QpartDBAlternative quest IDs for the same Qpart block. Requires Qpart.QpartDB = { 12345, 12346 }
QpartPartSplits a single objective into guided sub-parts. Commonly paired with TrigText. Supports fraction and percentage style progress markers.QpartPart = { [12345] = { 1 } }, TrigText = "1/3"
RepairOpen the declared NPC's vendor option and repair automatically, independently of general auto-gossip/auto-repair settings. Skip when every durable equipped item reaches minDurability (default 90%). Show the REPAIR label in both panels.Repair = { npcID = 3331, minDurability = 90 }
ReputationWait for the target standing, renown or friendship rank; shows progress within the current rank. See reputation types below.Reputation = { factionID = 2590, type = APR.REPUTATION_TYPE.Renown, level = 10 }
ResetRouteShows a confirmation popup that resets the active route back to step 1.ResetRoute = true
RouteCompletedMarks the route as finished and triggers route completion flow. Must stay as the last step.RouteCompleted = true
ScenarioFine-grained scenario objective tracking (scenarioID, stepID, criteriaID, etc.), optionally tied to a quest ID.Scenario = { criteriaID = 106007, criteriaIndex = 1, scenarioID = 3101, stepID = 15911, questID = 86820 }
SellItemsSell listed stacks and/or grey junk at the open merchant. npcID restricts the vendor; no quantity limit. Junk uses the localized default label; put extra advice in Note.SellItems = { items = { 7073, 7074 }, npcID = 54 } or SellItems = { junk = true }
SetHSStep to set the Hearthstone.SetHS = 31732
TameBeastShow TAMEBEAST (Tame the %s beast) with the cached localized NPC name, falling back to the beast name in Text; update both panels when a live unit reveals its name. Offer spell and target buttons; complete after a successful cast on the specified NPC.TameBeast = { npcID = 3127, spellID = 1515, Text = "Venomtail Scorpid" }
TreasureTreasure or vignette step. The addon tracks the treasure's anchor quest, with optional item details for the tooltip.Treasure = { questID = 89105, itemID = 238553 }
UseDalaHSDalaran Hearthstone variant.UseDalaHS = 44184
UseFlightPathStep for using a flight master. Validates once the flight is complete.UseFlightPath = 39580
UseGarrisonHSGarrison Hearthstone variant.UseGarrisonHS = 110560
UseHSStep to use the Hearthstone.UseHS = 31732
UseItemStandalone item-use action. questID is required; APR resolves the use spell from the item unless itemSpellID is supplied. Use Button when the item supports another objective.UseItem = { questID = 42008, itemID = 173430, itemSpellID = 254294 }
UseSpellStandalone spell-cast action. questID is required. Use SpellButton when the spell supports another objective.UseSpell = { questID = 42476, spellID = 193759 }
VehicleExitForces exiting a vehicle.VehicleExit = true
WarModeAsk the player to enable War Mode; completes when it is desired. The quest ID supplies the label. XP bonuses require active War Mode.WarMode = 60361
Automation and Display
OptionDescriptionExpected Syntax
BloodlustAdds a reminder to use Heroism / Bloodlust.Bloodlust = true
BuffsList of buff spell IDs to recommend.Buffs = { { spellId = 311103, tooltipMessage = "FRESHLEAF_BUFF" } }
ButtonItem buttons keyed by quest ID or questID-objective. A value may be one item ID or a nonempty list of item IDs, displayed in list order on the same step. Keep one key per quest/objective; repeated Lua keys overwrite earlier values.Button = { ["30778-1"] = 81356 } or Button = { ["5648"] = { 12345, 67890 } }
ItemTargetOptional explicit target for UseItem and supporting Button actions. Only "player" is supported; the secure item button still requires a player click and respects combat lockdown. Omit for ordinary item targeting.ItemTarget = "player"
DenyNPCNPC ID whose gossip should be closed automatically.DenyNPC = 209914
DontskipvidPrevents automatic skipping of cutscenes or videos.Dontskipvid = true
ExtraActionBPrompts use of the special extra action button.ExtraActionB = true
ExtraLineText*Additional helper lines displayed in the current step panel. Supports numbered variants such as ExtraLineText2, ExtraLineText3, etc. Accepts localization keys or literal text.ExtraLineText = "Interact with the second console"
FillerPreviewImagesClickable image previews in the Fillers panel, keyed by numeric quest ID from the same step's Fillers. Each image list follows that quest's visible objectives and disappears when none remain. Uses the same paths as PreviewImages.FillerPreviewImages = { [93552] = { "routeHelper\\93552.jpg" } }
GossipOptionIDsAutomatically select dialogue by option ID, rather than position.GossipOptionIDs = { 51901, 51902 }
InVehicleIndicates vehicle status (1 = enter, 2 = stay in vehicle).InVehicle = 1
MerchantNPCLimit the step purchase to this merchant NPC.MerchantNPC = 54
NoAutoAcceptKeep the quest pickup visible but require manual acceptance.NoAutoAccept = true
NoAutoTurnInKeep the quest hand-in visible but require manual interaction.NoAutoTurnIn = true
PreviewImagesDisplays one or more clickable image previews in the current step panel. Use FillerPreviewImages for images associated with optional objectives. Relative paths are resolved from APR-Core/assets/; full Interface\\... paths are also accepted.PreviewImages = { "routeHelper\\86644.jpg" }
RaidIconNPC ID, list of NPC IDs, or entries with npcID, optional questID and objectiveIndex. Explicit quest bindings take priority; otherwise a unique localized kill-objective name is matched across main and filler rows. Fallback: first main quest row, first filler quest row if there is no main quest, then last extra text row. Icons follow skull, cross, square, moon, triangle, diamond, circle, star and align horizontally beside action buttons.RaidIcon = {{npcID = 241743, questID = 12345, objectiveIndex = 1}, 241744}
SpellButtonSpell buttons keyed by quest ID or questID-objective. A value may be one spell or a nonempty list of spells, displayed in list order on the same step. Prefer numeric spell IDs; names must be understood by the client language. Keep one key per quest/objective; repeated Lua keys overwrite earlier values.SpellButton = { ["49939-1"] = 294197 } or SpellButton = { ["5648"] = { 2050, 1243 } }
SpellTriggerAutomatically completes the step when the given spell is cast.SpellTrigger = 306719
TrigText*Text fragments used as completion triggers (TrigText, TrigText2, etc.).TrigText = "Restore the console"
UseGliderDisplays available gliders for controlled jumps.UseGlider = true
IsCampaignQuestMarks the step as part of a campaign.IsCampaignQuest = true

Sincronizado com o GitHub · 6d80020 · Dados salvos

Pesquisar na wiki

12 resultados

Explorar a wiki