APR / API
Синтаксис маршрутов
Найдите поле. Разберитесь, как оно работает. Скопируйте пример в свой маршрут.
198 результатов
Начните с основ
Технические описания сохранены на английском языке оригинала. Имена полей и примеры Lua не изменены.
Определение маршрута20
categoryRoute category enum. Common values are leveling, speedrun, campaign, etc.
conditionsRoute selection rules; see the supported scopes in Filters and Conditions.
expansionExpansion enum used to group the route in the UI.
gameVersionClient family: "retail", "forever" or "classic". Incompatible routes are hidden and unavailable.
labelDisplay name shown in the route list.
mapIDMain map ID for the route. Used as route metadata and zone fallback.
nextRouteFollow-up route keys. Conditional entries must also pass the target route's selection rules.
parallelStepsDeclare before steps. Insert eligible groups at the current position, or after the current InstanceQuest block. Single EquipItem/UseItem actions inherit live group conditions; other groups retain activation-only conditions.
parallelSteps[].repeatableFor a single UseItem action, allow a fresh activation after the previous action was passed and the conditions became false then true (for example, another book was received).
prefabPrefab membership and ordering. Entry conditions select membership without hiding manual route selection.
requiredRouteRequired route keys. Applicable unfinished requirements are added before this route; hard visibility failures waive them, temporary level/spec/zone restrictions do not.
stepsMain ordered list of route steps.
legacyLabelsPrevious labels recognized when resolving saved route names.
autoStartOnMapAllows starter-route detection on the route's map.
notSkippablePrioritize this starter route and protect it from automatic prefab reset suggestions.
hiddenFromSelectionHide the route from manual route selection.
temporaryTemporary guide that preserves the parent route for resuming afterward.
sojournerAchievementIDCompleted Sojourner achievement that allows campaign auto-skip when the player enables that setting.
scenariosScenario variants for an instance route; each has scenarioID, steps and optional label/index.
delveMarks a route as a Delve guide.
Действия и продвижение55
AchievementTrack an achievement or criterion. Prefer criteriaID over positional criteriaIndex; if both are given, the ID wins.
BankDepositMove every listed bag stack into the open Classic character bank and bank bags; excludes guild, reagent and warband banks.
BankWithdrawMove every listed Classic character-bank stack into bags while the bank is open.
BuyMerchantBuy quantities from the open merchant as a main or secondary action. MerchantNPC restricts the merchant; place junk sales before purchases.
ChromiePickSelects a specific Chromie Time timeline by option ID.
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.
DestroyItemsDelete every bag stack of the listed items and wait until absent; no quantity limit.
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.
DoneQuests to turn in. The step completes once all listed quests are handed in. If using DoneDB, keep a base Done field as well.
DoneDBAlternative quest IDs counted as the same hand-in. Requires Done.
DoScenarioIndicates that the player should complete the scenario.
DroppableQuestDefines passive or active dropped-quest tracking. When used without DropQuest, it behaves like a filler hint.
DropQuestQuest obtained from a mob drop. Must be paired with a corresponding DroppableQuest.
EmoteRequires performing an emote on a target or at a step.
EnterInstanceGuides the player into an instance.
EnterScenarioGuides the player to a scenario entrance.
ExitTutorialExile's Reach specific step that auto-skips if the exit quest is no longer tracked.
FillersOptional side objectives that can progress during any step without blocking the route.
GetFPLearn a flight path node.
GrindWait until the level/XP threshold is reached; supports numbers, absolute XP and named profiles.
GroupMarks an optional group quest and shows a popup (questID, Number).
GroupTaskAssociates the step with WantedQuestList to store the player's decision for a group quest.
LearnProfessionChecks if a specific profession spell is learned.
LearnSkillTrain spells at a trainer. Waits if unavailable or unaffordable; add the required MinLevel and class filters.
LeaveInstancePrompts to leave the instance once objectives are done.
LeaveQuestAbandons a single quest from the quest log.
LeaveQuestsAbandons multiple quests from the quest log.
LeaveScenarioPrompts to leave the scenario once objectives are done.
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.
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.
MountVehicleAutomatically validates when a mount / boarding event is detected.
NoteInformational step accepting a string or array of strings. Seen notes are remembered and can auto-skip on later resets / revisits.
NpcDismountAutomatically dismounts to talk to the targeted NPC.
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.
PickUpDBAlternative quest IDs for the same pickup step (class / faction variants). Requires PickUp.
QpartQuest objectives to complete, mapped by quest ID and objective index.
QpartDBAlternative quest IDs for the same Qpart block. Requires Qpart.
QpartPartSplits a single objective into guided sub-parts. Commonly paired with TrigText. Supports fraction and percentage style progress markers.
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.
ReputationWait for the target standing, renown or friendship rank; shows progress within the current rank. See reputation types below.
ResetRouteShows a confirmation popup that resets the active route back to step 1.
RouteCompletedMarks the route as finished and triggers route completion flow. Must stay as the last step.
ScenarioFine-grained scenario objective tracking (scenarioID, stepID, criteriaID, etc.), optionally tied to a quest ID.
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.
SetHSStep to set the Hearthstone.
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.
TreasureTreasure or vignette step. The addon tracks the treasure's anchor quest, with optional item details for the tooltip.
UseDalaHSDalaran Hearthstone variant.
UseFlightPathStep for using a flight master. Validates once the flight is complete.
UseGarrisonHSGarrison Hearthstone variant.
UseHSStep to use the Hearthstone.
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.
UseSpellStandalone spell-cast action. questID is required. Use SpellButton when the spell supports another objective.
VehicleExitForces exiting a vehicle.
WarModeAsk the player to enable War Mode; completes when it is desired. The quest ID supplies the label. XP bonuses require active War Mode.
Навигация и выбор целей23
BoatIndicates the player should take a boat instead of flying. Requires UseFlightPath.
CoordWorld coordinates used by the arrow (x, y in WoW units).
CoordsMultiple coordinate variants for the same step. Typically paired with Zones; each entry should include its own Zone.
EmoteETADuration in seconds of the AFK countdown, started once after the matching step emote is performed via the button, chat command or APR. Displaying the step does not start it.
ETAEstimated AFK timer duration in seconds.
GossipETAStarts an AFK timer after gossip confirmation.
InstanceQuestMarks instance steps; delays automatic Delve suggestions. A nearby matching DoScenario is replaced by the guide while preserving preceding setup steps.
IsAdventureMapAllows auto-accepting quests from the Adventure Map.
NameOptional custom name to override the taxi node name.
NoArrowHides the navigation arrow for this step.
NoAutoFlightMapPrevents automatic flight / gossip selection for this step.
NodeIDFlight path node ID used on UseFlightPath steps.
NonSkippableWaypointPrevents the step from being skipped manually.
RangeDistance in yards from Coord to consider the location reached.
SingleWaypointDisplayDistanceDisplay only the distance to the next waypoint instead of the remaining waypoint chain.
SpecialETAHideHides the AFK timer even if ETA is set.
SpellETAStart the AFK timer after the successful cast of spellID, or the use spell of itemID.
TakePortalUse a portal; completes at mapID or when the linked quest is completed. Destination names come from the map ID.
WaypointQuest-related waypoint displayed until completion.
WaypointDBAlternative waypoint quests that allow skipping if already completed. Requires Waypoint.
ZoneExpected map ID for the step.
ZonesMultiple valid map IDs for a single step. Also acts as a condition: the step is only considered valid when the player is in one of those maps.
ZoneStepTriggerAutomatically validates the step when entering the specified radius.
Автоматизация и отображение19
BloodlustAdds a reminder to use Heroism / Bloodlust.
BuffsList of buff spell IDs to recommend.
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.
DenyNPCNPC ID whose gossip should be closed automatically.
DontskipvidPrevents automatic skipping of cutscenes or videos.
ExtraActionBPrompts use of the special extra action button.
ExtraLineText*Additional helper lines displayed in the current step panel. Supports numbered variants such as ExtraLineText2, ExtraLineText3, etc. Accepts localization keys or literal text.
GossipOptionIDsAutomatically select dialogue by option ID, rather than position.
InVehicleIndicates vehicle status (1 = enter, 2 = stay in vehicle).
MerchantNPCLimit the step purchase to this merchant NPC.
NoAutoAcceptKeep the quest pickup visible but require manual acceptance.
NoAutoTurnInKeep the quest hand-in visible but require manual interaction.
PreviewImagesDisplays one or more clickable image previews in the current step panel. Relative paths are resolved from APR-Core/assets/; full Interface\\... paths are also accepted.
RaidIconNPC ID to mark with a raid icon.
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.
SpellTriggerAutomatically completes the step when the given spell is cast.
TrigText*Text fragments used as completion triggers (TrigText, TrigText2, etc.).
UseGliderDisplays available gliders for controlled jumps.
IsCampaignQuestMarks the step as part of a campaign.
Фильтры и условия54
AlliedRaceRestricts based on whether the character is an allied race.
AllOfRequire every enclosed condition table to match. Useful for repeated predicates such as several quest-presence checks.
AnyOfRequires at least one alternative condition table to match, in addition to all other conditions on the step/group. An empty list never matches.
BeLvlExact effective level check. The player must be at least this level, but below the next whole level.
ClassRequire one or more classes; accepts tokens or class IDs.
ClassNotExclude one or more classes; route mismatches hide the route.
ClassSpecRestricts to a specialization ID. For routes, failing this condition makes the route disabled rather than hidden.
CollectionRequire at least quantity items (default 1) in bags plus the saved character bank, using the same count as LootItems.
DontHaveAchievementVisible only if the achievement is missing.
DontHaveAuraRequires the aura to be absent.
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.
EquippedItemRequire one slot entry or a nonempty list (every entry must pass). Omit itemID for any item; invert = true negates that entry.
EquippedItemStatCompare a slot's stat token, QUALITY or LEVEL. A nonempty list requires every entry to pass. See resource fields below.
EventRestricts to a specific APR event mode, such as Remix.
FactionRestricts to a faction ("Alliance" or "Horde").
GenderRestricts to a gender (1 neutral, 2 male, 3 female).
HardcoreRequire Hardcore (true) or non-Hardcore (false). Clients without C_GameRules.IsHardcoreActive count as non-Hardcore.
HasAchievementRequires a specific achievement.
HasAuraRequires a specific buff or aura.
HasSpellRequires the player or pet to know a specific spell.
InterfaceVersionMinimum client interface version; route mismatches hide the route.
IsOneOfQuestsCompletedRequires at least one quest in the list to be completed.
IsOneOfQuestsCompletedOnAccountAccount-wide variant of IsOneOfQuestsCompleted.
IsOneOfQuestsUncompletedRequires none of the listed quests to be completed (negates IsOneOfQuestsCompleted).
IsOneOfQuestsUncompletedOnAccountAccount-wide variant of IsOneOfQuestsUncompleted.
IsQuestCompletedRequires a single quest to be completed.
IsQuestNotOnQuestRequires the quest to be absent from this character's current log. Combine with IsQuestUncompleted to exclude completed quests too.
IsQuestOnQuestRequires the quest in this character's current log; account completion is not sufficient.
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.
IsQuestsCompletedRequires all listed quests to be completed.
IsQuestsCompletedOnAccountAccount-wide variant of IsQuestsCompleted.
IsQuestsUncompletedRequires at least one listed quest to still be incomplete.
IsQuestsUncompletedOnAccountAccount-wide variant of IsQuestsUncompleted.
IsQuestUncompletedRequires a single quest to be incomplete.
ItemCountCompare current item counts, summing itemIDs if supplied. Includes equipped items; optional bank/toy counting. See resource fields below.
LevelMinimum level/XP threshold; see level requirement forms below.
MaxLevelMaximum level/XP threshold, inclusive.
MinLevelMinimum level/XP threshold; keeps rewards eligible at higher levels.
MoneyCompare cash actually owned, in copper. See resource fields below.
VendorMoneyCompare cash plus carried items' estimated vendor value; uses the same inventory/equipment rules as LootMoney.
Named level profileDynamic threshold for step Level, MinLevel, MaxLevel, SkipForLvl and Grind; see Configurable Level Profiles.
NotInvert the complete enclosed condition table.
OnlyInZonesShows and executes the step only in one of these current player map IDs; otherwise skips it. Does not set navigation coordinates.
PickedLoaSpecifies the chosen Loa in Zandalar (1 = Bwonsamdi, 2 = Rezan).
QuestLineSkipPrevents the optional group popup if a questline is intentionally skipped.
RaceRequire one or more races; accepts names or race IDs.
ReputationLevelShows the step only after the requested standing, renown level, or friendship rank has been reached.
SkillCompare learned skill rank, or its cap with maximum = true. Accepts a key, skill ID or localized name; default rank is 1 and operator is >=.
SkipForLvlSkips the step once the player's effective level is greater than or equal to the given value.
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.
SkipForReputationHides and skips the step once the requested standing, renown level, or friendship rank has been reached.
SkipInZonesHides and skips the step in any of these current player map IDs. Does not set navigation coordinates.
InterfaceVersionExactRequire an exact client interface version.
SkipIfCooldownSkips this step when the item cooldown exceeds the threshold on entry. Use spellID for a spell. Omit once to monitor continuously, for example < 300 on a farming/waiting step.
Прочее и устаревшие элементы3
Reputation constants11
APR.REPUTATION_TYPE.FriendshipMeaning of level: Friendship rank number shown for the NPC faction.
APR.REPUTATION_TYPE.RenownMeaning of level: Renown level shown on the major faction track.
APR.REPUTATION_TYPE.StandardMeaning of level: Standard standing ID from 1 through 8.
APR.REPUTATION_STANDING.ExaltedStanding ID: 8
APR.REPUTATION_STANDING.FriendlyStanding ID: 5
APR.REPUTATION_STANDING.HatedStanding ID: 1
APR.REPUTATION_STANDING.HonoredStanding ID: 6
APR.REPUTATION_STANDING.HostileStanding ID: 2
APR.REPUTATION_STANDING.NeutralStanding ID: 4
APR.REPUTATION_STANDING.ReveredStanding ID: 7
APR.REPUTATION_STANDING.UnfriendlyStanding ID: 3
Configurable Level Profiles12
APR.LevelBonusSourcesReusable XP-bonus sources referenced by name in profiles.
Source aurasAny listed active aura OR a true predicate activates the source once. Item ownership alone never activates a bonus.
Source isActiveAny listed active aura OR a true predicate activates the source once. Item ownership alone never activates a bonus.
Source bonusPercentage contributed while active.
Source achievementBonusesAchievement ID → percentage; highest completed tier wins, while the source must still be active.
Source auraBonusesAura ID → percentage or stack-count tiers. Selects the highest active variant and highest matched stack tier; missing/restricted counts use one application.
Source minLevelInclusive minimum and exclusive maximum; sources outside their range contribute nothing.
Source maxLevelExclusiveInclusive minimum and exclusive maximum; sources outside their range contribute nothing.
Source itemsUsable item IDs offered as optional reminders when the source's aura is absent.
APR.LevelRequirementProfilesNamed profiles with bonuses = { "SourceName", ... } and levels = { [0] = 88, [20] = 87.25 }.
Profile bonusesNamed profiles with bonuses = { "SourceName", ... } and levels = { [0] = 88, [20] = 87.25 }.
Profile levels[0] required. Greatest bonus breakpoint not exceeding the active total wins; no interpolation (12% uses 10%, if the next row is 20%).