APR.LevelBonusSources
Reusable XP-bonus sources referenced by name in profiles.
- 值的格式
- table
- 適用範圍
- xp-configuration
技術說明保留英文原文。欄位名稱與 Lua 範例維持不變。
範例
範例來自原始檔。請依照你的路線替換 ID 與數值;本網站不會執行 Lua。
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: 一個戰隊導師:地心之戰
[19460] = 10, -- 19460: 兩個戰隊導師:地心之戰
[19475] = 15, -- 19475: 三個戰隊導師:地心之戰
[19476] = 20, -- 19476: 四個戰隊導師:地心之戰
[19477] = 25, -- 19477: 五個戰隊導師:地心之戰
},
},
WindsOfMysteriousFortune = {
auras = { 1287282, 1214848 }, -- 1287282: 神秘命運之風 ; 1214848: 神秘命運之風
bonus = 20,
},
MidnightMentorship = {
auras = { 430191 }, -- 430191: 戰隊指導升級
minLevel = 80,
maxLevelExclusive = 90,
achievementBonuses = {
[42328] = 5, -- 42328: 一個戰隊導師:至暗之夜
[42329] = 10, -- 42329: 兩個戰隊導師:至暗之夜
[42330] = 15, -- 42330: 三個戰隊導師:至暗之夜
[42331] = 20, -- 42331: 四個戰隊導師:至暗之夜
[42332] = 25, -- 42332: 五個戰隊導師:至暗之夜
},
},
}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) · 一個戰隊導師:地心之戰 (19470) · 兩個戰隊導師:地心之戰 (19460) · 三個戰隊導師:地心之戰 (19475) · 四個戰隊導師:地心之戰 (19476) · 五個戰隊導師:地心之戰 (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) · 一個戰隊導師:至暗之夜 (42328) · 兩個戰隊導師:至暗之夜 (42329) · 三個戰隊導師:至暗之夜 (42330) · 四個戰隊導師:至暗之夜 (42331) · 五個戰隊導師:至暗之夜 (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 | 1243969 | Well Fed XP Boost ↗Name from APR configuration; aura absent from Wowhead Retail tooltips. The link opens an ID lookup. | ForeverFood |
| Spell / aura | 1221184 | 神秘智慧之湧 ↗ | MysteriousWisdom |
| Spell / aura | 136583 | 暗月禮帽 ↗ | Darkmoon |
| Spell / aura | 46668 | 咿哈! ↗ | Darkmoon |
| Spell / aura | 289982 | 十方藥劑 ↗ | TenLands |
| Spell / aura | 1269517 | 時間之道知識 ↗ | Timeways |
| Spell / aura | 423860 | 時間之道知識 ↗ | Timeways |
| Spell / aura | 1269518 | 時間之道精通 ↗ | Timeways |
| Spell / aura | 1229050 | 時間之道精通 ↗ | Timeways |
| Spell / aura | 1258528 | 時間之道精通 ↗ | Timeways |
| Spell / aura | 471544 | 時間之道精通 ↗ | Timeways |
| Spell / aura | 423861 | 時間之道精通 ↗ | Timeways |
| Spell / aura | 430191 | 戰隊指導升級 ↗ | Below80Mentorship, MidnightMentorship |
| Spell / aura | 1287282 | 神秘命運之風 ↗ | WindsOfMysteriousFortune |
| Spell / aura | 1214848 | 神秘命運之風 ↗ | WindsOfMysteriousFortune |
| Item | 6888 | 香料烘蛋 ↗ | ForeverFood |
| Item | 239142 | 神秘智慧之瓶 ↗ | MysteriousWisdom |
| Item | 93730 | 暗月禮帽 ↗ | Darkmoon |
| Item | 171364 | 暗月禮帽 ↗ | Darkmoon |
| Item | 166750 | 十方藥劑 ↗ | TenLands |
| Item | 166751 | 十方藥劑 ↗ | TenLands |
| Achievement | 19470 | 一個戰隊導師:地心之戰 ↗ | Below80Mentorship |
| Achievement | 19460 | 兩個戰隊導師:地心之戰 ↗ | Below80Mentorship |
| Achievement | 19475 | 三個戰隊導師:地心之戰 ↗ | Below80Mentorship |
| Achievement | 19476 | 四個戰隊導師:地心之戰 ↗ | Below80Mentorship |
| Achievement | 19477 | 五個戰隊導師:地心之戰 ↗ | Below80Mentorship |
| Achievement | 42328 | 一個戰隊導師:至暗之夜 ↗ | MidnightMentorship |
| Achievement | 42329 | 兩個戰隊導師:至暗之夜 ↗ | MidnightMentorship |
| Achievement | 42330 | 三個戰隊導師:至暗之夜 ↗ | MidnightMentorship |
| Achievement | 42331 | 四個戰隊導師:至暗之夜 ↗ | MidnightMentorship |
| Achievement | 42332 | 五個戰隊導師:至暗之夜 ↗ | 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 / 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. |
已從 GitHub 同步 · 6d80020 · 已儲存的資料快照