Lua LearnSpell

From ArcEmu-Wiki
Jump to: navigation, search

Descripton

LearnSpell(id) learns a player a spell, so the player get it in the spellbook.

Usage/Example

function learn_spell(player, event)
player:LearnSpell(5487)
end

This script would learn a player the spell 5487.

Personal tools