Collection
Require at least quantity items (default 1) in bags plus the saved character bank, using the same count as LootItems.
- Formato del valor
- table
- Ámbito
- step-condition, parallel-group-condition, next-route-condition, prefab-condition
Las descripciones técnicas se conservan en su inglés original. Los nombres de los campos y los ejemplos de Lua no se modifican.
The lower Resource conditions section contains an obsolete claim that LootItems can use virtual loot or remembered completion. The current option table and implementation count current bags plus saved character-bank contents; a completed questID can also satisfy an entry. Do not use the conflicting paragraph as an API rule.
Ejemplos
Ejemplo de las fuentes. Sustituye los ID y valores según tu ruta; este sitio no ejecuta Lua.
Collection = { itemID = 5465, quantity = 50 }Funcionamiento y detalles
Action details
| Applies to | Detail |
|---|---|
LearnSkill: named spells | spellID = 6673 or spellIDs = { 6673, 100 } supplies localized names; optional npcID restricts the trainer. |
LearnSkill: all services | LearnSkill = { allAvailable = true, npcID = 911 }; trainer ID required. Use text for advice when no spell IDs are supplied. |
SellItems, BankDeposit, BankWithdraw, DestroyItems | Process full stacks; pause in combat or on locked slots and leave foreign cursor items alone. |
| Junk selling | Auto-vendor and SellItems.junk use C_MerchantFrame.SellAllJunkItems() directly when enabled at the merchant, without the button's confirmation popup. Otherwise sell one stack at a time, retrying after locks or rejected requests. Closing the merchant cancels retries. Explicit item/equipment targets remain required after junk selling. |
TameBeast fallback | Text (or legacy text) contains only the beast name; literal names and localization keys are accepted. The cached localized NPC name has priority; target, mouseover, nameplate and name-update events refresh both panels. |
| Item handling fallback | Cached item names take priority; text or Text supplies fallback advice. Localization keys and literal text are accepted. |
Repair threshold | minDurability is a percentage from 0 to 100, inclusive. Each durable equipped item is checked; a damaged weapon cannot be hidden by healthy armor. No durable equipment skips the visit; unavailable or restricted durability data keeps it pending. |
Repair guards | Only npcID may repair. Wait for an open repair merchant, affordable personal cost and condition eligibility. Combat and modifier overrides pause automation. Confirm completion from durability updates; previews never repair or create action state. |
| Main actions | Use separate SellItems and Repair steps with the same coordinates; only one main action per step. |
| Selling then buying | Use successive steps with the same coordinates and character restrictions. Put an already-owned-item purchase filter only on the purchase. |
LootItems, Collection | Character-bank counts are saved while the bank is accessible and reused after closing/reloading. Moving items between bags and bank does not increase the combined count. |
Achievement legacy criterion | Achievement = { achievementID = 61576, criteriaIndex = 1 } tracks by position; prefer a stable criteriaID. |
LootMoney | Use it as the main objective. Money checks spendable cash; it is not a replacement for this collection objective. |
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.
| Scope | Supported conditions / result |
|---|---|
Steps and parallelSteps[].conditions | All filters below; group conditions control insertion, while a failed step filter skips that step. |
Route conditions: visibility | InterfaceVersion, InterfaceVersionExact, DontHaveSpell, IsQuestReadyForTurnIn, HasAchievement, DontHaveAchievement, Faction, Race, Class, ClassNot, Event, AlliedRace, IsQuestCompleted, IsQuestUncompleted. Failure hides the route. |
Route conditions: availability | Numeric Level, MinLevel, MaxLevel, BeLvl, plus ClassSpec and Zones. Enforced failures disable the route; level recommendations follow the policy below. |
Route-level AnyOf | Alternatives use the route selection policy; enforced failures hide the route. Nested level recommendations follow the policy below. |
Conditional nextRoute / prefab entries | Use 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.
| Option | Description | Expected Syntax |
|---|---|---|
AlliedRace | Restricts based on whether the character is an allied race. | AlliedRace = true |
AllOf | Require every enclosed condition table to match. Useful for repeated predicates such as several quest-presence checks. | AllOf = { { IsQuestNotOnQuest = 10 }, { IsQuestNotOnQuest = 20 } } |
AnyOf | Requires 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 } } |
BeLvl | Exact effective level check. The player must be at least this level, but below the next whole level. | BeLvl = 88 |
Class | Require one or more classes; accepts tokens or class IDs. | Class = { "HUNTER", "ROGUE" } |
ClassNot | Exclude one or more classes; route mismatches hide the route. | ClassNot = APR.Classes.Evoker |
ClassSpec | Restricts to a specialization ID. For routes, failing this condition makes the route disabled rather than hidden. | ClassSpec = APR.Specs["Mage - Frost"] |
Collection | Require at least quantity items (default 1) in bags plus the saved character bank, using the same count as LootItems. | Collection = { itemID = 5465, quantity = 50 } |
DontHaveAchievement | Visible only if the achievement is missing. | DontHaveAchievement = 9924 |
DontHaveAura | Requires the aura to be absent. | DontHaveAura = 32182 |
DontHaveSpell | Requires 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 } |
EquippedItem | Require 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 } |
EquippedItemStat | Compare 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 } |
Event | Restricts to a specific APR event mode, such as Remix. | Event = APR.EVENTS.Remix |
Faction | Restricts to a faction ("Alliance" or "Horde"). | Faction = "Horde" |
Gender | Restricts to a gender (1 neutral, 2 male, 3 female). | Gender = 3 |
Hardcore | Require Hardcore (true) or non-Hardcore (false). Clients without C_GameRules.IsHardcoreActive count as non-Hardcore. | Hardcore = false |
HasAchievement | Requires a specific achievement. | HasAchievement = 12593 |
HasAura | Requires a specific buff or aura. | HasAura = 178207 |
HasSpell | Requires the player or pet to know a specific spell. | HasSpell = 34090 |
InterfaceVersion | Minimum client interface version; route mismatches hide the route. | InterfaceVersion = 110200 |
IsOneOfQuestsCompleted | Requires at least one quest in the list to be completed. | IsOneOfQuestsCompleted = { 31588, 31589 } |
IsOneOfQuestsCompletedOnAccount | Account-wide variant of IsOneOfQuestsCompleted. | IsOneOfQuestsCompletedOnAccount = { 49929, 49930 } |
IsOneOfQuestsUncompleted | Requires none of the listed quests to be completed (negates IsOneOfQuestsCompleted). | IsOneOfQuestsUncompleted = { 31588, 31589 } |
IsOneOfQuestsUncompletedOnAccount | Account-wide variant of IsOneOfQuestsUncompleted. | IsOneOfQuestsUncompletedOnAccount = { 49929, 49930 } |
IsQuestCompleted | Requires a single quest to be completed. | IsQuestCompleted = 35049 |
IsQuestNotOnQuest | Requires the quest to be absent from this character's current log. Combine with IsQuestUncompleted to exclude completed quests too. | IsQuestNotOnQuest = 86737 |
IsQuestOnQuest | Requires the quest in this character's current log; account completion is not sufficient. | IsQuestOnQuest = 86737 |
IsQuestReadyForTurnIn | True 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 |
IsQuestsCompleted | Requires all listed quests to be completed. | IsQuestsCompleted = { 31821, 31822 } |
IsQuestsCompletedOnAccount | Account-wide variant of IsQuestsCompleted. | IsQuestsCompletedOnAccount = { 49929, 49930 } |
IsQuestsUncompleted | Requires at least one listed quest to still be incomplete. | IsQuestsUncompleted = { 31821, 31822 } |
IsQuestsUncompletedOnAccount | Account-wide variant of IsQuestsUncompleted. | IsQuestsUncompletedOnAccount = { 49929, 49930 } |
IsQuestUncompleted | Requires a single quest to be incomplete. | IsQuestUncompleted = 35049 |
ItemCount | Compare current item counts, summing itemIDs if supplied. Includes equipped items; optional bank/toy counting. See resource fields below. | ItemCount = { itemIDs = { 6948 }, operator = ">=", count = 1 } |
Level | Minimum level/XP threshold; see level requirement forms below. | Level = 80 |
MaxLevel | Maximum level/XP threshold, inclusive. | MaxLevel = 69 |
MinLevel | Minimum level/XP threshold; keeps rewards eligible at higher levels. | MinLevel = 10 |
Money | Compare cash actually owned, in copper. See resource fields below. | Money = { operator = ">=", copper = 10000 } |
VendorMoney | Compare cash plus carried items' estimated vendor value; uses the same inventory/equipment rules as LootMoney. | VendorMoney = { copper = 102, equippedSlots = { 16 } } |
| Named level profile | Dynamic threshold for step Level, MinLevel, MaxLevel, SkipForLvl and Grind; see Configurable Level Profiles. | MinLevel = "MidnightDelves" |
Not | Invert the complete enclosed condition table. | Not = { HasSpell = 6673 } |
OnlyInZones | Shows and executes the step only in one of these current player map IDs; otherwise skips it. Does not set navigation coordinates. | OnlyInZones = { 2541 } |
PickedLoa | Specifies the chosen Loa in Zandalar (1 = Bwonsamdi, 2 = Rezan). | PickedLoa = 1 |
QuestLineSkip | Prevents the optional group popup if a questline is intentionally skipped. | QuestLineSkip = 51226 |
Race | Require one or more races; accepts names or race IDs. | Race = { "Orc", "Troll" } |
ReputationLevel | Shows 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 } |
Skill | Filter 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 = ">=" } |
SkipForLvl | Skips the step once the player's effective level is greater than or equal to the given value. | SkipForLvl = 89.18 |
SkipForPrimaryProfessions | Skip 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 |
SkipForReputation | Hides 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 } |
SkipInZones | Hides and skips the step in any of these current player map IDs. Does not set navigation coordinates. | SkipInZones = { 2393 } |
InterfaceVersionExact | Require an exact client interface version. | InterfaceVersionExact = 120100 |
Sincronizado desde GitHub · 6d80020 · Datos guardados