APR.LevelRequirementProfiles
Named profiles with bonuses = { "SourceName", ... } and levels = { [0] = 88, [20] = 87.25 }.
- Value shape
- table
- Scope
- xp-configuration
Technical field names are preserved. Lua examples may include explanatory comments.
Examples
This example comes from the source documentation. Replace the IDs and values to suit your route. The website does not execute Lua.
APR.LevelRequirementProfiles = {
MidnightDelves = {
bonuses = { "MidnightMentorship", "WindsOfMysteriousFortune", "WarMode", "Timeways",
"MysteriousWisdom", "Darkmoon" },
-- Provisional full-tour anchor: 87.30 at 30% bonus, based on the report of
-- six rewards taking ~87.8 to ~89.5 while four Silvermoon rewards were missed.
-- At 87.30, XP remaining to 90 is 0.70 * 548535 + 570590 + 592980.
-- For 0-30%, scale that XP budget by (1 + bonus / 100) / 1.30, then
-- convert back to a starting level and round UP to the next 5% of a level.
-- This assumes the same base reward budget; no unmeasured level-scaling gain is added.
-- Keep 35% at 87.30 and retain the older 40-110% estimates. All need in-game validation.
-- Derivation, assumptions and XP table source: wiki.md, Midnight Delver's Call Profile.
levels = {
-- Total active bonus -> required 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,
[40] = 87.18,
[45] = 86.88,
[50] = 86.68,
[55] = 86.38,
[60] = 86.18,
[65] = 85.88,
[70] = 85.68,
[75] = 85.38,
[80] = 85.18,
[85] = 84.88,
[90] = 84.68,
[95] = 84.38,
[100] = 84.08,
[105] = 83.88,
[110] = 83.68,
},
},
}Available bonus sources
- Mysterious Wisdom ·
MysteriousWisdom· 10%Surge of Mysterious Wisdom (1221184) · Bottle of Mysterious Wisdom (239142)
- Darkmoon Faire ·
Darkmoon· 10%Aura variants do not stack.
Darkmoon Top Hat (136583) · WHEE! (46668) · Darkmoon Top Hat (93730) · Darkmoon Top Hat (171364)
- Timeways ·
Timeways· 5 / 10 / 15 / 30%Only the highest active variant counts.
Knowledge of Timeways (1269517) · Knowledge of Timeways (423860) · Mastery of Timeways (1269518) · Mastery of Timeways (1229050) · Mastery of Timeways (1258528) · Mastery of Timeways (471544) · Mastery of Timeways (423861)
- War Mode ·
WarMode· 15%Requires active War Mode; no entity ID.
- Winds of Mysterious Fortune ·
WindsOfMysteriousFortune· 20%Requires an active event aura.
Winds of Mysterious Fortune (1287282) · Winds of Mysterious Fortune (1214848)
- Midnight Mentorship ·
MidnightMentorship· 5 / 10 / 15 / 20 / 25%Levels 80–89; the highest completed achievement tier counts.
Warband Mentored Leveling (430191) · One Warband Mentor: Midnight (42328) · Two Warband Mentors: Midnight (42329) · Three Warband Mentors: Midnight (42330) · Four Warband Mentors: Midnight (42331) · Five Warband Mentors: Midnight (42332)
Referenced game data
All supported game data referenced by this option and its documented bonus sources. Each link opens the corresponding Wowhead entry.
| Type | ID | Name | Bonus source |
|---|---|---|---|
| Spell / aura | 1221184 | Surge of Mysterious Wisdom ↗ | MysteriousWisdom |
| Spell / aura | 136583 | Darkmoon Top Hat ↗ | Darkmoon |
| Spell / aura | 46668 | WHEE! ↗ | Darkmoon |
| Spell / aura | 1269517 | Knowledge of Timeways ↗ | Timeways |
| Spell / aura | 423860 | Knowledge of Timeways ↗ | Timeways |
| Spell / aura | 1269518 | Mastery of Timeways ↗ | Timeways |
| Spell / aura | 1229050 | Mastery of Timeways ↗ | Timeways |
| Spell / aura | 1258528 | Mastery of Timeways ↗ | Timeways |
| Spell / aura | 471544 | Mastery of Timeways ↗ | Timeways |
| Spell / aura | 423861 | Mastery of Timeways ↗ | Timeways |
| Spell / aura | 430191 | Warband Mentored Leveling ↗ | Below80Mentorship, MidnightMentorship |
| Spell / aura | 1287282 | Winds of Mysterious Fortune ↗ | WindsOfMysteriousFortune |
| Spell / aura | 1214848 | Winds of Mysterious Fortune ↗ | WindsOfMysteriousFortune |
| Item | 239142 | Bottle of Mysterious Wisdom ↗ | MysteriousWisdom |
| Item | 93730 | Darkmoon Top Hat ↗ | Darkmoon |
| Item | 171364 | Darkmoon Top Hat ↗ | Darkmoon |
| Achievement | 42328 | One Warband Mentor: Midnight ↗ | MidnightMentorship |
| Achievement | 42329 | Two Warband Mentors: Midnight ↗ | MidnightMentorship |
| Achievement | 42330 | Three Warband Mentors: Midnight ↗ | MidnightMentorship |
| Achievement | 42331 | Four Warband Mentors: Midnight ↗ | MidnightMentorship |
| Achievement | 42332 | Five Warband Mentors: Midnight ↗ | MidnightMentorship |
The catalog lists the entries configured by APR. Adding another item or spell requires a supported source configuration; its ID alone does not enable a new bonus.
Behavior & details
Type demonstrated by the cited existing configuration declaration; not an exhaustive schema or a required-field inference.
Configurable Level Profiles
Definitions live in APR-Core/config/LevelProfiles.lua. Reload after editing.
| Definition / field | Meaning |
|---|---|
APR.LevelBonusSources | Reusable XP-bonus sources referenced by name in profiles. |
Source auras / isActive | Any listed active aura OR a true predicate activates the source once. Item ownership alone never activates a bonus. |
Source bonus | Percentage contributed while active. |
Source achievementBonuses | Achievement ID → percentage; highest completed tier wins, while the source must still be active. |
Source auraBonuses | Aura ID → percentage or stack-count tiers. Selects the highest active variant and highest matched stack tier; missing/restricted counts use one application. |
Source minLevel / maxLevelExclusive | Inclusive minimum and exclusive maximum; sources outside their range contribute nothing. |
Source items | Usable item IDs offered as optional reminders when the source's aura is absent. |
APR.LevelRequirementProfiles | Named 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/profile | Raises an error rather than silently dropping the threshold. |
| Refresh and progression | Bonuses refresh as auras, achievements, levels and world state change. Updates do not rewind skipped steps or remove inserted parallel groups. |
Synced from GitHub · 6d80020 · Saved snapshot