v0.13.8

PLAYER_LEVEL_UP

eventimplementedavailable in: camelot

Fires when the player gains a level, with what the new level adds. · description by wowlua

declarationwowlua
declare event PLAYER_LEVEL_UP(level: number, healthDelta: number, powerDelta: number, numNewTalents: number, numNewPvpTalentSlots: number, strengthDelta: number, agilityDelta: number, staminaDelta: number, intellectDelta: number, spiritDelta: number)

Payload

#nametypedescription
1levelnumberThe new level.
2healthDeltanumberHealth gained.
3powerDeltanumberPower, such as mana, gained.
4numNewTalentsnumberTalent points gained.
5numNewPvpTalentSlotsnumberPvP talent slots unlocked.
6strengthDeltanumberStrength gained.
7agilityDeltanumberAgility gained.
8staminaDeltanumberStamina gained.
9intellectDeltanumberIntellect gained.
10spiritDeltanumberSpirit gained.

Blizzard's documentation marks the event as synchronous.

In wowlua's emulated client

implementedThe emulator fires it on its own, from its levels model. what the statuses mean

sources

Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Unit system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.