skillRaised⚓︎
This event is invoked whenever the player naturally gains a new level a skill. This is typically through exercise, training, or reading books.
--- @param e skillRaisedEventData
local function skillRaisedCallback(e)
end
event.register(tes3.event.skillRaised, skillRaisedCallback)
Tip
This event can be filtered based on the skill
event data.
Tip
An event can be claimed by setting e.claim
to true
, or by returning false
from the callback. Claiming the event prevents any lower priority callbacks from being called.
Event Data⚓︎
level
(number): Read-only. The new level of the skill.skill
(tes3.skill): Read-only. The skill that gained a new level experience. Maps to values fromtes3.skill
table.source
(tes3.skillRaiseSource): Read-only. The source of the skill raise. Maps to values intes3.skillRaiseSource
enumeration.