Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(PlayerHooks): OnLearnSpell(player, spellid) #46

Merged
merged 1 commit into from
Jun 20, 2022

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
Member

55Honey commented Jun 20, 2022

Thanks a Lot @tkn963

@55Honey 55Honey merged commit 60c9041 into azerothcore:master Jun 20, 2022
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.

None yet

4 participants