Hello can someone please show me what I'm doing wrong in this script, I'm trying to make a profession npc but I can't seem to get the npc to teach the player the spell.
- Developer(s): Ghostcrawler336
- Complete: %15
- ScriptName: 'Profession Trainer'
- Comment: N/A
local NPC_ID = 600000
function On_Gossip(event, plr, unit)
plr:GossipMenuAddItem(0, "Alchemy", 1, 0)
function On_Select(event, player, unit, sender, intid, code)
if (intid == 1) then
RegisterCreatureGossipEvent(NPC_ID, 1, On_Gossip)
RegisterCreatureGossipEvent(NPC_ID, 2, On_Select)