Level

Minimum level/XP threshold; see level requirement forms below.

값 형식
number | string | table
적용 범위
step-condition, parallel-group-condition, next-route-condition, prefab-condition, route-availability-condition

기술 설명은 영어 원문으로 유지됩니다. 필드 이름과 Lua 예제는 변경되지 않았습니다.

예제

원문 예제입니다. 노선에 맞게 ID와 값을 바꾸세요. 이 웹사이트는 Lua를 실행하지 않습니다.

Lua · 01
Level = 80
Lua · 02
{ 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 } },

동작 및 세부 사항

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.
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 시작하기노선과 호환성원하는 만큼 자동화하기나만의 인터페이스 만들기단계가 진행되지 않나요?자주 쓰는 명령어노선 제작과 공유파티와 퀘스트 진행하기
위키 둘러보기