APR.LevelBonusSources

Reusable XP-bonus sources referenced by name in profiles.

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.

Lua · 01
APR.LevelBonusSources = {
    ForeverFood = {
        gameVersion = "forever",
        -- Herb Baked Egg grants 5% kill XP for 15 minutes after eating for 10 seconds.
        -- The shared XP aura also suppresses the reminder when another buff food is active.
        -- Keep this kill-only bonus out of quest XP requirement profiles.
        auras = { 1243969 }, -- Well Fed XP Boost -- 1243969: Well Fed XP Boost
        bonus = 5,
        items = { 6888 }, -- Herb Baked Egg -- 6888: Herb Baked Egg
    },
    MysteriousWisdom = {
        auras = { 1221184 }, -- 1221184: Surge of Mysterious Wisdom
        bonus = 10,
        items = { 239142 }, -- 239142: Bottle of Mysterious Wisdom
    },
    Darkmoon = {
        -- WHEE! and the hat provide the same non-stacking bonus.
        auras = { 136583, 46668 }, -- 136583: Darkmoon Top Hat ; 46668: WHEE!
        bonus = 10,
        items = { 93730, 171364 }, -- 93730: Darkmoon Top Hat ; 171364: Darkmoon Top Hat
    },
    TenLands = {
        auras = { 289982 }, -- 289982: Draught of Ten Lands
        bonus = 10,
        items = { 166750, 166751 }, -- 166750: Draught of Ten Lands ; 166751: Draught of Ten Lands
        maxLevelExclusive = 50,
    },
    Timeways = {
        -- Take the highest active variant; Knowledge and Mastery never add together.
        auraBonuses = {
            [1269517] = { [1] = 5, [2] = 10, [3] = 15, [4] = 30 }, -- 1269517: Knowledge of Timeways
            [423860] = { [1] = 5, [2] = 10, [3] = 15, [4] = 30 }, -- 423860: Knowledge of Timeways
            [1269518] = 30, -- 1269518: Mastery of Timeways
            [1229050] = 30, -- 1229050: Mastery of Timeways
            [1258528] = 30, -- 1258528: Mastery of Timeways
            [471544] = 30, -- 471544: Mastery of Timeways
            [423861] = 30, -- 423861: Mastery of Timeways
        },
    },
    WarMode = {
        isActive = function() return C_PvP and C_PvP.IsWarModeActive and C_PvP.IsWarModeActive() or false end,
        bonus = 15,
    },
    Below80Mentorship = {
        auras = { 430191 }, -- 430191: Warband Mentored Leveling
        maxLevelExclusive = 80,
        achievementBonuses = {
            [19470] = 5, -- 19470: One Warband Mentor: The War Within
            [19460] = 10, -- 19460: Two Warband Mentors: The War Within
            [19475] = 15, -- 19475: Three Warband Mentors: The War Within
            [19476] = 20, -- 19476: Four Warband Mentors: The War Within
            [19477] = 25, -- 19477: Five Warband Mentors: The War Within
        },
    },
    WindsOfMysteriousFortune = {
        auras = { 1287282, 1214848 }, -- 1287282: Winds of Mysterious Fortune ; 1214848: Winds of Mysterious Fortune
        bonus = 20,
    },
    MidnightMentorship = {
        auras = { 430191 }, -- 430191: Warband Mentored Leveling
        minLevel = 80,
        maxLevelExclusive = 90,
        achievementBonuses = {
            [42328] = 5, -- 42328: One Warband Mentor: Midnight
            [42329] = 10, -- 42329: Two Warband Mentors: Midnight
            [42330] = 15, -- 42330: Three Warband Mentors: Midnight
            [42331] = 20, -- 42331: Four Warband Mentors: Midnight
            [42332] = 25, -- 42332: Five Warband Mentors: Midnight
        },
    },
}

Available bonus sources

  • Food (Forever) · ForeverFood · 5%

    Forever; kill XP only; excluded from quest XP profiles.

    Well Fed XP Boost (1243969) · Herb Baked Egg (6888)

  • 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)

  • Ten Lands · TenLands · 10%

    Below level 50.

    Draught of Ten Lands (289982) · Draught of Ten Lands (166750) · Draught of Ten Lands (166751)

  • 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.

  • Mentorship (below level 80) · Below80Mentorship · 5 / 10 / 15 / 20 / 25%

    Below level 80; the highest completed achievement tier counts.

    Warband Mentored Leveling (430191) · One Warband Mentor: The War Within (19470) · Two Warband Mentors: The War Within (19460) · Three Warband Mentors: The War Within (19475) · Four Warband Mentors: The War Within (19476) · Five Warband Mentors: The War Within (19477)

  • 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.

TypeIDNameBonus source
Spell / aura1243969Well Fed XP Boost ↗Name from APR configuration; aura absent from Wowhead Retail tooltips. The link opens an ID lookup.ForeverFood
Spell / aura1221184Surge of Mysterious Wisdom ↗MysteriousWisdom
Spell / aura136583Darkmoon Top Hat ↗Darkmoon
Spell / aura46668WHEE! ↗Darkmoon
Spell / aura289982Draught of Ten Lands ↗TenLands
Spell / aura1269517Knowledge of Timeways ↗Timeways
Spell / aura423860Knowledge of Timeways ↗Timeways
Spell / aura1269518Mastery of Timeways ↗Timeways
Spell / aura1229050Mastery of Timeways ↗Timeways
Spell / aura1258528Mastery of Timeways ↗Timeways
Spell / aura471544Mastery of Timeways ↗Timeways
Spell / aura423861Mastery of Timeways ↗Timeways
Spell / aura430191Warband Mentored Leveling ↗Below80Mentorship, MidnightMentorship
Spell / aura1287282Winds of Mysterious Fortune ↗WindsOfMysteriousFortune
Spell / aura1214848Winds of Mysterious Fortune ↗WindsOfMysteriousFortune
Item6888Herb Baked Egg ↗ForeverFood
Item239142Bottle of Mysterious Wisdom ↗MysteriousWisdom
Item93730Darkmoon Top Hat ↗Darkmoon
Item171364Darkmoon Top Hat ↗Darkmoon
Item166750Draught of Ten Lands ↗TenLands
Item166751Draught of Ten Lands ↗TenLands
Achievement19470One Warband Mentor: The War Within ↗Below80Mentorship
Achievement19460Two Warband Mentors: The War Within ↗Below80Mentorship
Achievement19475Three Warband Mentors: The War Within ↗Below80Mentorship
Achievement19476Four Warband Mentors: The War Within ↗Below80Mentorship
Achievement19477Five Warband Mentors: The War Within ↗Below80Mentorship
Achievement42328One Warband Mentor: Midnight ↗MidnightMentorship
Achievement42329Two Warband Mentors: Midnight ↗MidnightMentorship
Achievement42330Three Warband Mentors: Midnight ↗MidnightMentorship
Achievement42331Four Warband Mentors: Midnight ↗MidnightMentorship
Achievement42332Five 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 / 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.

Synced from GitHub · 6d80020 · Saved snapshot

Search the wiki

12 results

Browse the wiki