Skip to content

Conversation

@noisiver
Copy link

Added OnLearnSpell(player, spellId)

Example:

local PLAYER_EVENT_ON_LEARN_SPELL = 44
local function TestOnLearnSpell(event, player, spellid)
    player:SendBroadcastMessage('You just learned spell id '..spellid)
end
RegisterPlayerEvent(PLAYER_EVENT_ON_LEARN_SPELL, TestOnLearnSpell)

@55Honey
Copy link

55Honey commented Jun 20, 2022

Thanks a Lot @tkn963

@55Honey 55Honey merged commit 60c9041 into azerothcore:master Jun 20, 2022
mostlynick3 pushed a commit to mostlynick3/mod-eluna that referenced this pull request Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants