APR.LevelBonusSources

Reusable XP-bonus sources referenced by name in profiles.

Формат значения
table
Область применения
xp-configuration

Технические описания сохранены на английском языке оригинала. Имена полей и примеры Lua не изменены.

Примеры

Пример из исходной документации. Замените идентификаторы и значения для своего маршрута; этот сайт не выполняет 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: Яйцо с травами
    },
    MysteriousWisdom = {
        auras = { 1221184 }, -- 1221184: Прилив таинственной мудрости
        bonus = 10,
        items = { 239142 }, -- 239142: Бутылка с зельем таинственной мудрости
    },
    Darkmoon = {
        -- WHEE! and the hat provide the same non-stacking bonus.
        auras = { 136583, 46668 }, -- 136583: Цилиндр Новолуния ; 46668: ВУХУУУ!
        bonus = 10,
        items = { 93730, 171364 }, -- 93730: Цилиндр Новолуния ; 171364: Цилиндр Новолуния
    },
    TenLands = {
        auras = { 289982 }, -- 289982: Настой десяти краев
        bonus = 10,
        items = { 166750, 166751 }, -- 166750: Настой десяти краев ; 166751: Настой десяти краев
        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: Знания о временных потоках
            [423860] = { [1] = 5, [2] = 10, [3] = 15, [4] = 30 }, -- 423860: Знания о временных потоках
            [1269518] = 30, -- 1269518: Укрощение потоков времени
            [1229050] = 30, -- 1229050: Укрощение потоков времени
            [1258528] = 30, -- 1258528: Укрощение потоков времени
            [471544] = 30, -- 471544: Укрощение потоков времени
            [423861] = 30, -- 423861: Укрощение потоков времени
        },
    },
    WarMode = {
        isActive = function() return C_PvP and C_PvP.IsWarModeActive and C_PvP.IsWarModeActive() or false end,
        bonus = 15,
    },
    Below80Mentorship = {
        auras = { 430191 }, -- 430191: Обучение у наставников отряда
        maxLevelExclusive = 80,
        achievementBonuses = {
            [19470] = 5, -- 19470: Один наставник отряда: The War Within
            [19460] = 10, -- 19460: Два наставника отряда: The War Within
            [19475] = 15, -- 19475: Три наставника отряда: The War Within
            [19476] = 20, -- 19476: Четыре наставника отряда: The War Within
            [19477] = 25, -- 19477: Пять наставников отряда: The War Within
        },
    },
    WindsOfMysteriousFortune = {
        auras = { 1287282, 1214848 }, -- 1287282: Ветра таинственной удачи ; 1214848: Ветра таинственной удачи
        bonus = 20,
    },
    MidnightMentorship = {
        auras = { 430191 }, -- 430191: Обучение у наставников отряда
        minLevel = 80,
        maxLevelExclusive = 90,
        achievementBonuses = {
            [42328] = 5, -- 42328: Один наставник отряда: Midnight
            [42329] = 10, -- 42329: Два наставника отряда: Midnight
            [42330] = 15, -- 42330: Три наставника отряда: Midnight
            [42331] = 20, -- 42331: Четыре наставника отряда: Midnight
            [42332] = 25, -- 42332: Пять наставников отряда: Midnight
        },
    },
}

Available bonus sources

  • Food (Forever) · ForeverFood · 5%

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

    Well Fed XP Boost (1243969) · Яйцо с травами (6888)

  • Mysterious Wisdom · MysteriousWisdom · 10%

    Прилив таинственной мудрости (1221184) · Бутылка с зельем таинственной мудрости (239142)

  • Darkmoon Faire · Darkmoon · 10%

    Aura variants do not stack.

    Цилиндр Новолуния (136583) · ВУХУУУ! (46668) · Цилиндр Новолуния (93730) · Цилиндр Новолуния (171364)

  • Ten Lands · TenLands · 10%

    Below level 50.

    Настой десяти краев (289982) · Настой десяти краев (166750) · Настой десяти краев (166751)

  • Timeways · Timeways · 5 / 10 / 15 / 30%

    Only the highest active variant counts.

    Знания о временных потоках (1269517) · Знания о временных потоках (423860) · Укрощение потоков времени (1269518) · Укрощение потоков времени (1229050) · Укрощение потоков времени (1258528) · Укрощение потоков времени (471544) · Укрощение потоков времени (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.

    Обучение у наставников отряда (430191) · Один наставник отряда: The War Within (19470) · Два наставника отряда: The War Within (19460) · Три наставника отряда: The War Within (19475) · Четыре наставника отряда: The War Within (19476) · Пять наставников отряда: The War Within (19477)

  • Winds of Mysterious Fortune · WindsOfMysteriousFortune · 20%

    Requires an active event aura.

    Ветра таинственной удачи (1287282) · Ветра таинственной удачи (1214848)

  • Midnight Mentorship · MidnightMentorship · 5 / 10 / 15 / 20 / 25%

    Levels 80–89; the highest completed achievement tier counts.

    Обучение у наставников отряда (430191) · Один наставник отряда: Midnight (42328) · Два наставника отряда: Midnight (42329) · Три наставника отряда: Midnight (42330) · Четыре наставника отряда: Midnight (42331) · Пять наставников отряда: 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 / aura1221184Прилив таинственной мудрости ↗MysteriousWisdom
Spell / aura136583Цилиндр Новолуния ↗Darkmoon
Spell / aura46668ВУХУУУ! ↗Darkmoon
Spell / aura289982Настой десяти краев ↗TenLands
Spell / aura1269517Знания о временных потоках ↗Timeways
Spell / aura423860Знания о временных потоках ↗Timeways
Spell / aura1269518Укрощение потоков времени ↗Timeways
Spell / aura1229050Укрощение потоков времени ↗Timeways
Spell / aura1258528Укрощение потоков времени ↗Timeways
Spell / aura471544Укрощение потоков времени ↗Timeways
Spell / aura423861Укрощение потоков времени ↗Timeways
Spell / aura430191Обучение у наставников отряда ↗Below80Mentorship, MidnightMentorship
Spell / aura1287282Ветра таинственной удачи ↗WindsOfMysteriousFortune
Spell / aura1214848Ветра таинственной удачи ↗WindsOfMysteriousFortune
Item6888Яйцо с травами ↗ForeverFood
Item239142Бутылка с зельем таинственной мудрости ↗MysteriousWisdom
Item93730Цилиндр Новолуния ↗Darkmoon
Item171364Цилиндр Новолуния ↗Darkmoon
Item166750Настой десяти краев ↗TenLands
Item166751Настой десяти краев ↗TenLands
Achievement19470Один наставник отряда: The War Within ↗Below80Mentorship
Achievement19460Два наставника отряда: The War Within ↗Below80Mentorship
Achievement19475Три наставника отряда: The War Within ↗Below80Mentorship
Achievement19476Четыре наставника отряда: The War Within ↗Below80Mentorship
Achievement19477Пять наставников отряда: The War Within ↗Below80Mentorship
Achievement42328Один наставник отряда: Midnight ↗MidnightMentorship
Achievement42329Два наставника отряда: Midnight ↗MidnightMentorship
Achievement42330Три наставника отряда: Midnight ↗MidnightMentorship
Achievement42331Четыре наставника отряда: Midnight ↗MidnightMentorship
Achievement42332Пять наставников отряда: 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.

Поведение и подробности

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.

Синхронизировано с GitHub · 6d80020 · Сохранённые данные

Поиск по вики

12 результатов

Открыть вики