APR.LevelBonusSources

Reusable XP-bonus sources referenced by name in profiles.

값 형식
table
적용 범위
xp-configuration

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

예제

원문 예제입니다. 노선에 맞게 ID와 값을 바꾸세요. 이 웹사이트는 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
        bonus = 5,
        items = { 6888 }, -- Herb Baked Egg
    },
    MysteriousWisdom = {
        auras = { 1221184 },
        bonus = 10,
        items = { 239142 },
    },
    Darkmoon = {
        -- WHEE! and the hat provide the same non-stacking bonus.
        auras = { 136583, 46668 },
        bonus = 10,
        items = { 93730, 171364 },
    },
    TenLands = {
        auras = { 289982 },
        bonus = 10,
        items = { 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 },
            [423860] = { [1] = 5, [2] = 10, [3] = 15, [4] = 30 },
            [1269518] = 30,
            [1229050] = 30,
            [1258528] = 30,
            [471544] = 30,
            [423861] = 30,
        },
    },
    WarMode = {
        isActive = function() return C_PvP and C_PvP.IsWarModeActive and C_PvP.IsWarModeActive() or false end,
        bonus = 15,
    },
    Below80Mentorship = {
        auras = { 430191 },
        maxLevelExclusive = 80,
        achievementBonuses = {
            [19470] = 5,
            [19460] = 10,
            [19475] = 15,
            [19476] = 20,
            [19477] = 25,
        },
    },
    WindsOfMysteriousFortune = {
        auras = { 1287282, 1214848 },
        bonus = 20,
    },
    MidnightMentorship = {
        auras = { 430191 },
        minLevel = 80,
        maxLevelExclusive = 90,
        achievementBonuses = {
            [42328] = 5,
            [42329] = 10,
            [42330] = 15,
            [42331] = 20,
            [42332] = 25,
        },
    },
}

동작 및 세부 사항

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.

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.

위키 검색

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