Named level profile

Dynamic threshold for step Level, MinLevel, MaxLevel, SkipForLvl and Grind; see Configurable Level Profiles.

值的格式
string
適用範圍
step-level-requirement

技術說明保留英文原文。欄位名稱與 Lua 範例維持不變。

範例

原始檔範例。請依照你的路線替換 ID 與數值;本網站不會執行 Lua。

Lua · 01
MinLevel = "MidnightDelves"

行為與詳細資訊

Forms shown in the documentation, not an exhaustive runtime schema. Constant runtime types are not inferred.

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.

Filters and Conditions
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. Failure disables the route.
Route-level AnyOfAlternatives use step filters; failure hides the route, including failures of nested level conditions.
Conditional nextRoute / prefab entriesUse step filters; these affect the suggestion or prefab membership.
Level requirement forms
FormMeaning / supported fields
MinLevel = 10Whole level threshold.
Grind = 87.5Level 87 with at least 50% XP progress.
MinLevel = "MidnightDelves"Named dynamic threshold from the configured active XP bonuses.
Grind = { level = 3, xp = 325 }Level 3 with at least 325 XP into that level.
Grind = { level = 4, xp = -700 }At most 700 XP remaining before level 4.
Grind = { level = 60, xp = 0, questLogXP = { 4901, 4508 } }Deducts the current rewards of listed, completed quests still in the player's log. Unknown XP, unfinished quests and already rewarded quests give no credit.
SkipIfCooldown = { { itemID = 6948, operator = ">", seconds = 2, once = true } }Skips 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.
Supported fieldsStep Grind, Level, MinLevel, MaxLevel, SkipForLvl. Route-selection level thresholds remain numeric; BeLvl does not accept profiles or absolute XP tables.
Absolute XP validationFinite integers: level >= 1, signed xp. Uses the current client's XP range for the relevant level; out-of-range targets clamp to its boundaries. Missing XP data delays completion.
Configurable Level Profiles

Definitions live in APR-Core/config/LevelProfiles.lua. Reload after editing.

Configurable Level Profiles
Definition / fieldMeaning
APR.LevelBonusSourcesReusable XP-bonus sources referenced by name in profiles.
Source auras / 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 minLevel / 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 levels[0] required. Greatest bonus breakpoint not exceeding the active total wins; no interpolation (12% uses 10%, if the next row is 20%).
Unknown source/profileRaises an error rather than silently dropping the threshold.
Refresh and progressionBonuses refresh as auras, achievements, levels and world state change. Updates do not rewind skipped steps or remove inserted parallel groups.
Midnight Delver's Call Profile
UseSyntax / detail
Activate reward groupsMinLevel = "MidnightDelves" in group conditions.
Stop questing at the thresholdSkipForLvl = "MidnightDelves" on questing steps.
Wait before the hand-in circuitGrind = "MidnightDelves". Keep reward steps and final fallback quests capped at 90.
CalibrationConfigured empirical thresholds include a rounded 4% margin after a full hand-in ended 22,072 XP short of level 90. They depend on collecting the intended rewards.
Active sourcesMidnightMentorship, WindsOfMysteriousFortune, WarMode, Timeways, MysteriousWisdom, Darkmoon.
Midnight Delver's Call Profile

The profile is an empirical estimate for all ten pending Delver's Call rewards.

A route report reached approximately 89.5 from 87.8 with six rewards, leaving four

Silvermoon rewards unspent. With the reported 5% mentorship, 10% potion and the

configured 15% War Mode bonus, the provisional full-tour target is 87.30 at 30%.

This anchor is an estimate, not a measured ten-quest completion threshold.

Midnight Delver's Call Profile

For lower bonuses, convert the anchor into absolute XP instead of subtracting

fixed fractions of a level. The published Midnight XP table

gives 548,535 XP for 87-88, 570,590 for 88-89 and 592,980 for 89-90.

Thus the anchor leaves 0.70 * 548535 + 570590 + 592980 = 1547544.5 XP to earn.

For total bonus b, use 1547544.5 * (1 + b / 100) / 1.30 as the provisional

reward budget, convert the remaining XP back to a starting level, and round the

start upward to the next 5% of a level.

Midnight Delver's Call Profile
Total active bonusRequired level
0%88.00
5%87.85
10%87.75
15%87.65
20%87.55
25%87.45
30%87.30
35%87.30
Midnight Delver's Call Profile

This keeps the base reward budget constant. Although reward XP scales with level,

it does not invent a per-quest scaling curve or count extra XP from starting

later. It assumes all ten rewards and the configured bonuses remain applicable;

missing rewards, different effective bonuses and the approximate report can change

the result. Validate these targets in game before treating them as guarantees.

Midnight Delver's Call Profile

The 35% tier is capped at 87.30 so more bonus never raises the required level.

The 40-110% tiers retain their older estimates and margins in

APR-Core/config/LevelProfiles.lua. Their original anchors included the

community report

with 25% mentorship plus War Mode. That report did not specify the War Mode

percentage; this profile uses the requested fixed value of 15%.

Midnight Delver's Call Profile

The event contributes 20% only while aura 1287282 OR 1214848 is present. Both

variants together still contribute only 20%. No calendar dates or permanent event

bonus are assumed. Mentorship requires aura 430191; the highest completed Midnight

achievement from 42328 through 42332 supplies 5%, 10%, 15%, 20%, or 25% respectively.

War Mode contributes 15% only while active, not merely requested. Rested XP and

other bonuses are not included in this policy.

Midnight Delver's Call Profile

Timeways is also included when its aura is present. Knowledge variants 1269517

and 423860 grant 5/10/15% at 1/2/3 applications, transforming at four to 30%.

Mastery variants 1269518, 1229050, 1258528, 471544 and 423861 grant 30%. Only the highest Timeways

bonus counts, even if multiple variants or Knowledge and Mastery coexist.

See Blizzard's event description

and Mastery 1269518.

Add Timeways and consumables to the total bonus before looking up the configured

breakpoint; do not subtract fixed level fractions. A total of 90% currently targets

84.68. These higher-bonus estimates still need in-game validation with all ten rewards.

XP Consumables and Optional Reminders
SourceItemsAurasConfigured bonus / restriction
Darkmoon93730, 171364136583, 4666810%; aura variants do not stack.
MysteriousWisdom239142122118410%.
TenLands166750, 16675128998210%; below level 50. Available for lower-level profiles.
XP Consumables and Optional Reminders

Reminders require an item in the character's bags, usable according to

C_Item.IsUsableItem, with no equivalent source aura active, within the source's

level range and below the character's expansion level cap. Banks are excluded.

Only the first usable owned variant per source is shown. Bag and aura updates

remove/re-enable reminders as needed, including buff expiry. Unchanged reminders

do not rebuild the guide; reminder-only changes do not rebuild the route list.

Buttons use APR's existing combat-lockdown handling and require a player click.

XP Consumables and Optional Reminders

Verified catalog:

XP Consumables and Optional Reminders
SourceItemsAurasBonus / restriction
Darkmoon93730, 171364136583, 4666810%; WHEE! and hat variants do not stack
MysteriousWisdom239142122118410%
TenLands166750, 16675128998210%; below level 50 only
XP Consumables and Optional Reminders

MidnightDelves includes MysteriousWisdom and Darkmoon. TenLands is available for

lower-level profiles. Two additional 10% sources extend Midnight's table

to 110% total / target 83.68; this is extrapolated and not a verified completion level.

These sources use the same bonus model as the rest of the profile.

XP Consumables and Optional Reminders

Sources: Bottle of Mysterious Wisdom,

Darkmoon hat and WHEE!,

Ten Lands level limit.

Legacy items 86574, 120182 and 128312 have no XP use effect in current retail

tooltips and are excluded. This is an explicit verified catalog, not automatic

tooltip-based discovery of every item. Add future verified consumables here.

XP Consumables and Optional Reminders

The target is cached in memory and refreshed on player aura changes, achievements,

War Mode status, zone transitions, and entering the world. Unchanged targets do not rebuild the guide. The displayed

Grind label includes the fractional XP percentage. Standard APR progression still

applies: changing buffs does not rewind skipped steps or remove activated parallel

groups. Quest readiness, turn-in zone and campaign prerequisites remain required.

Absolute XP requirements

Step fields Grind, Level, MinLevel, MaxLevel and SkipForLvl also accept

{ level = N, xp = signedInteger }. This extends the existing level resolver;

numeric levels, fractional levels and named level profiles keep their behavior.

Absolute XP requirements
{ Grind = { level = 3, xp = 325 } }, -- Level 3 with at least 325 XP
{ Grind = { level = 4, xp = -700 } }, -- At most 700 XP remaining before level 4
{ PickUp = { 123 }, SkipForLvl = { level = 3, xp = 325 } },
Absolute XP requirements

A positive offset counts XP into level; a negative offset counts backwards

from reaching level. Both values must be finite integers, with level >= 1.

The resolver uses the current client's UnitXPMax while the player is at the

relevant level, so the route does not embed another client's XP table. Thresholds

outside that level's XP range are clamped to its boundaries. Missing XP data

delays completion until the total becomes available. These structures apply to

step fields only, not route visibility conditions or BeLvl.

搜尋百科

開始使用 APR路線與相容性依你的意願自動化打造自己的介面卡在某一步?常用指令建立並分享路線組隊解任務
瀏覽百科