SkillGoal

Wait until the actual learned skill rank reaches the target. Display localized current/target progress; crafting stays manual. See [Skill rank goals](#skill-rank-goals).

Formato do valor
Lua
Escopo
Action / Progression Options

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
{
    SkillGoal = { skillID = 8888, rank = 25 },
    MinLevel = 10,
},

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
Skill rank goals

SkillGoal = { skillID = 8888, rank = 25 } is a primary step action on Retail

and Forever. Both fields are required positive integers: skillID identifies

the skill line, and rank is the target learned rank. No other fields are accepted.

Use one primary action per step; keep training, collecting reagents and reaching

a skill rank in separate steps.

The current step, arrow action text and quest-order list show the native localized

skill name and current/target progress. If the name is unavailable, the client’s

localized unknown label and numeric skill ID identify the objective. The step

completes only when the observed rank is greater than or equal to rank. Missing,

unlearned or partially populated skill data yields zero; headers never count as

skills. A skill cap, temporary bonus, reagent count, recipe cast or projected number

of crafts does not establish that the target rank has been learned. Crafting stays

manual. Native skill changes refresh the objective through the existing event

dispatcher, without periodic polling.

Ordinary step conditions still control visibility and skipping. SkillGoal waits;

Skill filters another action. Do not add a Skill filter requiring the same target

rank to a pending goal: that filter would skip it before the target is reached.

A goal can appear in a parallel group; the group's existing activation rules remain

unchanged. Put any guard that must remain live on the goal step itself. The preview

reads progress without advancing the route; group snapshots carry the rendered

progress through the existing text protocol.

Synthetic example (8888 is an invented skill ID; replace it with the intended

client skill-line ID):

{
    SkillGoal = { skillID = 8888, rank = 25 },
    MinLevel = 10,
},

At an eligible level, learned rank 24 keeps this step pending; rank 25 or 26

completes it. With missing skill data it remains pending at 0/25. Below level 10,

the level filter skips the step rather than waiting for either level or skill.

Trainer destinations without coordinates

LearnProfession and LearnSkill do not require Coord, Coords or Zone.

When both coordinate fields are absent, APR searches the service catalogue for

eligible reachable trainers and chooses by estimated travel time. Navigation stays

inside the active guide: reaching the trainer does not advance the authored step

or replace the guide with a service detour. Explicit Coord or Coords takes

precedence and keeps the authored destination.

Known initial profession-learning spells select that profession's trainer category;

known weapon-learning spells in LearnSkill select the corresponding weapon

trainer. Ordinary LearnSkill class training uses the character's class. Optional

LearnSkill.npcID restricts the destination and the trainer interaction to that NPC.

For spellIDs, all requested spells participate in capability matching; an explicit

trainer capability list missing any requested spell is rejected. A higher-rank or

recipe spell supplied through LearnProfession requires exact catalogue evidence

that the trainer teaches it. Missing evidence keeps destination resolution pending

instead of assuming that any trainer for a profession teaches every rank or recipe.

Unknown character/location data or the absence of a reachable matching trainer

keeps the learning instruction pending; it does not mark the spell as learned.

LearnProfession completes from native learned-spell evidence and does not buy

training itself. LearnSkill retains its existing trainer interaction: the player

opens the trainer; APR can buy selected available, affordable services when its

action guards allow it. Combat, conditions, trainer restrictions and modifier

overrides still apply. This routing behavior does not craft anything and does not

complete a subsequent SkillGoal merely because training or travel occurred.

{ LearnProfession = 2259 }, -- Initial Alchemy learning; no fixed trainer coordinate.
{ LearnSkill = { spellID = 6673 }, Class = "WARRIOR" }, -- Class training.

For all-services training, use LearnSkill = { allAvailable = true, npcID = 911 };

the trainer ID is required. Keep the appropriate class and level filters on the

step. Missing service-catalogue data is not a reason to remove an explicit authored

coordinate or broaden an NPC restriction.

Filters and Conditions

Conditions on the same table combine with AND. Use AnyOf for alternatives, AllOf for repeated predicates and Not to invert a whole condition table.

ScopeSupported conditions / result
Steps and parallelSteps[].conditionsAll filters below; group conditions control insertion, while a failed step filter skips that step.
Route conditions: visibilityInterfaceVersion, InterfaceVersionExact, DontHaveSpell, IsQuestReadyForTurnIn, HasAchievement, DontHaveAchievement, Faction, Race, Class, ClassNot, Event, AlliedRace, IsQuestCompleted, IsQuestUncompleted. Failure hides the route.
Route conditions: availabilityNumeric Level, MinLevel, MaxLevel, BeLvl, plus ClassSpec and Zones. Enforced failures disable the route; level recommendations follow the policy below.
Route-level AnyOfAlternatives use the route selection policy; enforced failures hide the route. Nested level recommendations follow the policy below.
Conditional nextRoute / prefab entriesUse step filters; these affect the suggestion or prefab membership.

For Forever reputation guides, route level thresholds are recommendations for manual

selection at every level, including thresholds of 10 or below. Ordinary Forever

leveling chapters use the same policy. The browser, manual addition and direct

activation share this rule; an unmet recommendation stays visible as a warning.

Faction restrictions and declared quest/route prerequisites remain mandatory.

Starter and specialized routes keep their existing entry policy. Level predicates

under Not keep their original meaning. Automatic recommendations and step/group

filters still enforce the authored levels; selecting a guide does not waive quest

or activity requirements.

OptionDescriptionExpected Syntax
AlliedRaceRestricts based on whether the character is an allied race.AlliedRace = true
AllOfRequire every enclosed condition table to match. Useful for repeated predicates such as several quest-presence checks.AllOf = { { IsQuestNotOnQuest = 10 }, { IsQuestNotOnQuest = 20 } }
AnyOfRequires at least one alternative condition table to match, in addition to all other conditions on the step/group. An empty list never matches.AnyOf = { { IsQuestOnQuest = 86733 }, { IsQuestCompleted = 86852, IsQuestUncompleted = 86733 } }
BeLvlExact effective level check. The player must be at least this level, but below the next whole level.BeLvl = 88
ClassRequire one or more classes; accepts tokens or class IDs.Class = { "HUNTER", "ROGUE" }
ClassNotExclude one or more classes; route mismatches hide the route.ClassNot = APR.Classes.Evoker
ClassSpecRestricts to a specialization ID. For routes, failing this condition makes the route disabled rather than hidden.ClassSpec = APR.Specs["Mage - Frost"]
CollectionRequire at least quantity items (default 1) in bags plus the saved character bank, using the same count as LootItems.Collection = { itemID = 5465, quantity = 50 }
DontHaveAchievementVisible only if the achievement is missing.DontHaveAchievement = 9924
DontHaveAuraRequires the aura to be absent.DontHaveAura = 32182
DontHaveSpellRequires a spell to be unknown by both the player and pet. With a list, none of the listed spells may be known. Uses the same spellbook wrapper as HasSpell.DontHaveSpell = { 264211, 264434 }
EquippedItemRequire one slot entry or a nonempty list (every entry must pass). Omit itemID for any item; invert = true negates that entry.EquippedItem = { slot = 16, itemID = 2493 }
EquippedItemStatCompare a slot's stat token, QUALITY or LEVEL. A nonempty list requires every entry to pass. See resource fields below.EquippedItemStat = { slot = 16, stat = "ITEM_MOD_DAMAGE_PER_SECOND_SHORT", operator = "<", value = 3.5 }
EventRestricts to a specific APR event mode, such as Remix.Event = APR.EVENTS.Remix
FactionRestricts to a faction ("Alliance" or "Horde").Faction = "Horde"
GenderRestricts to a gender (1 neutral, 2 male, 3 female).Gender = 3
HardcoreRequire Hardcore (true) or non-Hardcore (false). Clients without C_GameRules.IsHardcoreActive count as non-Hardcore.Hardcore = false
HasAchievementRequires a specific achievement.HasAchievement = 12593
HasAuraRequires a specific buff or aura.HasAura = 178207
HasSpellRequires the player or pet to know a specific spell.HasSpell = 34090
InterfaceVersionMinimum client interface version; route mismatches hide the route.InterfaceVersion = 110200
IsOneOfQuestsCompletedRequires at least one quest in the list to be completed.IsOneOfQuestsCompleted = { 31588, 31589 }
IsOneOfQuestsCompletedOnAccountAccount-wide variant of IsOneOfQuestsCompleted.IsOneOfQuestsCompletedOnAccount = { 49929, 49930 }
IsOneOfQuestsUncompletedRequires none of the listed quests to be completed (negates IsOneOfQuestsCompleted).IsOneOfQuestsUncompleted = { 31588, 31589 }
IsOneOfQuestsUncompletedOnAccountAccount-wide variant of IsOneOfQuestsUncompleted.IsOneOfQuestsUncompletedOnAccount = { 49929, 49930 }
IsQuestCompletedRequires a single quest to be completed.IsQuestCompleted = 35049
IsQuestNotOnQuestRequires the quest to be absent from this character's current log. Combine with IsQuestUncompleted to exclude completed quests too.IsQuestNotOnQuest = 86737
IsQuestOnQuestRequires the quest in this character's current log; account completion is not sufficient.IsQuestOnQuest = 86737
IsQuestReadyForTurnInTrue for a quest in this character's log with completed objectives, or a quest already turned in by this character. A list requires every quest to be ready.IsQuestReadyForTurnIn = 93384
IsQuestsCompletedRequires all listed quests to be completed.IsQuestsCompleted = { 31821, 31822 }
IsQuestsCompletedOnAccountAccount-wide variant of IsQuestsCompleted.IsQuestsCompletedOnAccount = { 49929, 49930 }
IsQuestsUncompletedRequires at least one listed quest to still be incomplete.IsQuestsUncompleted = { 31821, 31822 }
IsQuestsUncompletedOnAccountAccount-wide variant of IsQuestsUncompleted.IsQuestsUncompletedOnAccount = { 49929, 49930 }
IsQuestUncompletedRequires a single quest to be incomplete.IsQuestUncompleted = 35049
ItemCountCompare current item counts, summing itemIDs if supplied. Includes equipped items; optional bank/toy counting. See resource fields below.ItemCount = { itemIDs = { 6948 }, operator = ">=", count = 1 }
LevelMinimum level/XP threshold; see level requirement forms below.Level = 80
MaxLevelMaximum level/XP threshold, inclusive.MaxLevel = 69
MinLevelMinimum level/XP threshold; keeps rewards eligible at higher levels.MinLevel = 10
MoneyCompare cash actually owned, in copper. See resource fields below.Money = { operator = ">=", copper = 10000 }
VendorMoneyCompare cash plus carried items' estimated vendor value; uses the same inventory/equipment rules as LootMoney.VendorMoney = { copper = 102, equippedSlots = { 16 } }
Named level profileDynamic threshold for step Level, MinLevel, MaxLevel, SkipForLvl and Grind; see Configurable Level Profiles.MinLevel = "MidnightDelves"
NotInvert the complete enclosed condition table.Not = { HasSpell = 6673 }
OnlyInZonesShows and executes the step only in one of these current player map IDs; otherwise skips it. Does not set navigation coordinates.OnlyInZones = { 2541 }
PickedLoaSpecifies the chosen Loa in Zandalar (1 = Bwonsamdi, 2 = Rezan).PickedLoa = 1
QuestLineSkipPrevents the optional group popup if a questline is intentionally skipped.QuestLineSkip = 51226
RaceRequire one or more races; accepts names or race IDs.Race = { "Orc", "Troll" }
ReputationLevelShows the step only after the requested standing, renown level, or friendship rank has been reached.ReputationLevel = { factionID = 2590, type = APR.REPUTATION_TYPE.Renown, level = 10 }
SkillFilter only: compare learned skill rank, or its cap with maximum = true. Accepts a key, skill ID or localized name; default rank is 1 and operator is >=. An unmet filter skips the step; use SkillGoal to wait for a rank.Skill = { skill = "cooking", rank = 50, operator = ">=" }
SkipForLvlSkips the step once the player's effective level is greater than or equal to the given value.SkipForLvl = 89.18
SkipForPrimaryProfessionsSkip once at least X primary professions are learned (positive integer). 2 keeps the step with zero or one profession. Cooking, fishing, first aid and archaeology never count.SkipForPrimaryProfessions = 2
SkipForReputationHides and skips the step once the requested standing, renown level, or friendship rank has been reached.SkipForReputation = { factionID = 2773, type = APR.REPUTATION_TYPE.Friendship, level = 5 }
SkipInZonesHides and skips the step in any of these current player map IDs. Does not set navigation coordinates.SkipInZones = { 2393 }
InterfaceVersionExactRequire an exact client interface version.InterfaceVersionExact = 120100

Sincronizado com o GitHub · 6d80020 · Dados salvos

Pesquisar na wiki

12 resultados

Explorar a wiki