APR.LevelBonusSources

Reusable XP-bonus sources referenced by name in profiles.

Formato do valor
table
Escopo
xp-configuration

As descrições técnicas são mantidas no inglês original. Os nomes dos campos e os exemplos em Lua não são alterados.

Exemplos

Exemplo das fontes. Substitua IDs e valores de acordo com sua rota; este site não executa 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: Ovo Assado com Ervas
    },
    MysteriousWisdom = {
        auras = { 1221184 }, -- 1221184: Surto de Sabedoria Misteriosa
        bonus = 10,
        items = { 239142 }, -- 239142: Garrafa de Sabedoria Misteriosa
    },
    Darkmoon = {
        -- WHEE! and the hat provide the same non-stacking bonus.
        auras = { 136583, 46668 }, -- 136583: Cartola de Negraluna ; 46668: IUPI!
        bonus = 10,
        items = { 93730, 171364 }, -- 93730: Cartola de Negraluna ; 171364: Cartola de Negraluna
    },
    TenLands = {
        auras = { 289982 }, -- 289982: Grogue das Dez Terras
        bonus = 10,
        items = { 166750, 166751 }, -- 166750: Grogue das Dez Terras ; 166751: Grogue das Dez Terras
        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: Conhecimento dos Percursos Temporais
            [423860] = { [1] = 5, [2] = 10, [3] = 15, [4] = 30 }, -- 423860: Conhecimento de Percursos Temporais
            [1269518] = 30, -- 1269518: Maestria dos Percursos Temporais
            [1229050] = 30, -- 1229050: Maestria dos Percursos Temporais
            [1258528] = 30, -- 1258528: Maestria dos Percursos Temporais
            [471544] = 30, -- 471544: Maestria dos Percursos Temporais
            [423861] = 30, -- 423861: Maestria dos Percursos Temporais
        },
    },
    WarMode = {
        isActive = function() return C_PvP and C_PvP.IsWarModeActive and C_PvP.IsWarModeActive() or false end,
        bonus = 15,
    },
    Below80Mentorship = {
        auras = { 430191 }, -- 430191: Progressão de Nível Orientada do Bando de Guerra
        maxLevelExclusive = 80,
        achievementBonuses = {
            [19470] = 5, -- 19470: Um mentor do Bando de Guerra: The War Within
            [19460] = 10, -- 19460: Dois mentores do Bando de Guerra: The War Within
            [19475] = 15, -- 19475: Três mentores do Bando de Guerra: The War Within
            [19476] = 20, -- 19476: Quatro mentores do Bando de Guerra: The War Within
            [19477] = 25, -- 19477: Cinco mentores do Bando de Guerra: The War Within
        },
    },
    WindsOfMysteriousFortune = {
        auras = { 1287282, 1214848 }, -- 1287282: Ventos da Fortuna Misteriosa ; 1214848: Ventos da Fortuna Misteriosa
        bonus = 20,
    },
    MidnightMentorship = {
        auras = { 430191 }, -- 430191: Progressão de Nível Orientada do Bando de Guerra
        minLevel = 80,
        maxLevelExclusive = 90,
        achievementBonuses = {
            [42328] = 5, -- 42328: Um mentor do Bando de Guerra: Midnight
            [42329] = 10, -- 42329: Dois mentores do Bando de Guerra: Midnight
            [42330] = 15, -- 42330: Três mentores do Bando de Guerra: Midnight
            [42331] = 20, -- 42331: Quatro mentores do Bando de Guerra: Midnight
            [42332] = 25, -- 42332: Cinco mentores do Bando de Guerra: Midnight
        },
    },
}

Available bonus sources

  • Food (Forever) · ForeverFood · 5%

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

    Well Fed XP Boost (1243969) · Ovo Assado com Ervas (6888)

  • Mysterious Wisdom · MysteriousWisdom · 10%

    Surto de Sabedoria Misteriosa (1221184) · Garrafa de Sabedoria Misteriosa (239142)

  • Darkmoon Faire · Darkmoon · 10%

    Aura variants do not stack.

    Cartola de Negraluna (136583) · IUPI! (46668) · Cartola de Negraluna (93730) · Cartola de Negraluna (171364)

  • Ten Lands · TenLands · 10%

    Below level 50.

    Grogue das Dez Terras (289982) · Grogue das Dez Terras (166750) · Grogue das Dez Terras (166751)

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

    Only the highest active variant counts.

    Conhecimento dos Percursos Temporais (1269517) · Conhecimento de Percursos Temporais (423860) · Maestria dos Percursos Temporais (1269518) · Maestria dos Percursos Temporais (1229050) · Maestria dos Percursos Temporais (1258528) · Maestria dos Percursos Temporais (471544) · Maestria dos Percursos Temporais (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.

    Progressão de Nível Orientada do Bando de Guerra (430191) · Um mentor do Bando de Guerra: The War Within (19470) · Dois mentores do Bando de Guerra: The War Within (19460) · Três mentores do Bando de Guerra: The War Within (19475) · Quatro mentores do Bando de Guerra: The War Within (19476) · Cinco mentores do Bando de Guerra: The War Within (19477)

  • Winds of Mysterious Fortune · WindsOfMysteriousFortune · 20%

    Requires an active event aura.

    Ventos da Fortuna Misteriosa (1287282) · Ventos da Fortuna Misteriosa (1214848)

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

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

    Progressão de Nível Orientada do Bando de Guerra (430191) · Um mentor do Bando de Guerra: Midnight (42328) · Dois mentores do Bando de Guerra: Midnight (42329) · Três mentores do Bando de Guerra: Midnight (42330) · Quatro mentores do Bando de Guerra: Midnight (42331) · Cinco mentores do Bando de Guerra: 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 / aura1221184Surto de Sabedoria Misteriosa ↗MysteriousWisdom
Spell / aura136583Cartola de Negraluna ↗Darkmoon
Spell / aura46668IUPI! ↗Darkmoon
Spell / aura289982Grogue das Dez Terras ↗TenLands
Spell / aura1269517Conhecimento dos Percursos Temporais ↗Timeways
Spell / aura423860Conhecimento de Percursos Temporais ↗Timeways
Spell / aura1269518Maestria dos Percursos Temporais ↗Timeways
Spell / aura1229050Maestria dos Percursos Temporais ↗Timeways
Spell / aura1258528Maestria dos Percursos Temporais ↗Timeways
Spell / aura471544Maestria dos Percursos Temporais ↗Timeways
Spell / aura423861Maestria dos Percursos Temporais ↗Timeways
Spell / aura430191Progressão de Nível Orientada do Bando de Guerra ↗Below80Mentorship, MidnightMentorship
Spell / aura1287282Ventos da Fortuna Misteriosa ↗WindsOfMysteriousFortune
Spell / aura1214848Ventos da Fortuna Misteriosa ↗WindsOfMysteriousFortune
Item6888Ovo Assado com Ervas ↗ForeverFood
Item239142Garrafa de Sabedoria Misteriosa ↗MysteriousWisdom
Item93730Cartola de Negraluna ↗Darkmoon
Item171364Cartola de Negraluna ↗Darkmoon
Item166750Grogue das Dez Terras ↗TenLands
Item166751Grogue das Dez Terras ↗TenLands
Achievement19470Um mentor do Bando de Guerra: The War Within ↗Below80Mentorship
Achievement19460Dois mentores do Bando de Guerra: The War Within ↗Below80Mentorship
Achievement19475Três mentores do Bando de Guerra: The War Within ↗Below80Mentorship
Achievement19476Quatro mentores do Bando de Guerra: The War Within ↗Below80Mentorship
Achievement19477Cinco mentores do Bando de Guerra: The War Within ↗Below80Mentorship
Achievement42328Um mentor do Bando de Guerra: Midnight ↗MidnightMentorship
Achievement42329Dois mentores do Bando de Guerra: Midnight ↗MidnightMentorship
Achievement42330Três mentores do Bando de Guerra: Midnight ↗MidnightMentorship
Achievement42331Quatro mentores do Bando de Guerra: Midnight ↗MidnightMentorship
Achievement42332Cinco mentores do Bando de Guerra: 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.

Comportamento e detalhes

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.

Sincronizado com o GitHub · 6d80020 · Dados salvos

Pesquisar na wiki

12 resultados

Explorar a wiki