Profile bonuses
Named profiles with bonuses = { "SourceName", ... } and levels = { [0] = 88, [20] = 87.25 }.
- Формат значения
- table
- Область применения
- level-profile
Технические описания сохранены на английском языке оригинала. Имена полей и примеры Lua не изменены.
Примеры
Пример из исходной документации. Замените идентификаторы и значения для своего маршрута; этот сайт не выполняет Lua.
bonuses = { "SourceName", ... }bonuses = { "MidnightMentorship", "WindsOfMysteriousFortune", "WarMode", "Timeways",
"MysteriousWisdom", "Darkmoon" },Available bonus sources
- Mysterious Wisdom ·
MysteriousWisdom· 10%Прилив таинственной мудрости (1221184) · Бутылка с зельем таинственной мудрости (239142)
- Darkmoon Faire ·
Darkmoon· 10%Aura variants do not stack.
Цилиндр Новолуния (136583) · ВУХУУУ! (46668) · Цилиндр Новолуния (93730) · Цилиндр Новолуния (171364)
- 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.
- 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.
| Type | ID | Name | Bonus source |
|---|---|---|---|
| Spell / aura | 1221184 | Прилив таинственной мудрости ↗ | MysteriousWisdom |
| Spell / aura | 136583 | Цилиндр Новолуния ↗ | Darkmoon |
| Spell / aura | 46668 | ВУХУУУ! ↗ | Darkmoon |
| 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 | 239142 | Бутылка с зельем таинственной мудрости ↗ | MysteriousWisdom |
| Item | 93730 | Цилиндр Новолуния ↗ | Darkmoon |
| Item | 171364 | Цилиндр Новолуния ↗ | Darkmoon |
| Achievement | 42328 | Один наставник отряда: Midnight ↗ | MidnightMentorship |
| Achievement | 42329 | Два наставника отряда: Midnight ↗ | MidnightMentorship |
| Achievement | 42330 | Три наставника отряда: Midnight ↗ | MidnightMentorship |
| Achievement | 42331 | Четыре наставника отряда: Midnight ↗ | MidnightMentorship |
| Achievement | 42332 | Пять наставников отряда: 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 / 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 · Сохранённые данные