Source achievementBonuses

Achievement ID → percentage; highest completed tier wins, while the source must still be active.

Value shape
table
Scope
xp-bonus-source

Technical field names are preserved. Lua examples may include explanatory comments.

Examples

This example comes from the source documentation. Replace the IDs and values to suit your route. The website does not execute Lua.

Lua · 01
achievementBonuses = {
            [19470] = 5, -- 19470: One Warband Mentor: The War Within
            [19460] = 10, -- 19460: Two Warband Mentors: The War Within
            [19475] = 15, -- 19475: Three Warband Mentors: The War Within
            [19476] = 20, -- 19476: Four Warband Mentors: The War Within
            [19477] = 25, -- 19477: Five Warband Mentors: The War Within
        },

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
Achievement19470One Warband Mentor: The War Within ↗Below80Mentorship
Achievement19460Two Warband Mentors: The War Within ↗Below80Mentorship
Achievement19475Three Warband Mentors: The War Within ↗Below80Mentorship
Achievement19476Four Warband Mentors: The War Within ↗Below80Mentorship
Achievement19477Five Warband Mentors: The War Within ↗Below80Mentorship
Achievement42328One Warband Mentor: Midnight ↗MidnightMentorship
Achievement42329Two Warband Mentors: Midnight ↗MidnightMentorship
Achievement42330Three Warband Mentors: Midnight ↗MidnightMentorship
Achievement42331Four Warband Mentors: Midnight ↗MidnightMentorship
Achievement42332Five Warband Mentors: 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.

Behavior & details

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.

Synced from GitHub · 6d80020 · Saved snapshot

Search the wiki

12 results

Browse the wiki