Advertisement
Guest User

Untitled

a guest
Mar 9th, 2013
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. local NPC_ID = 112112
  2.  
  3.  
  4. function On_GossipMenu(event, plr, unit)
  5.     plr:GossipMenuAddItem(1, "Morph", 0, 1, 0)
  6.     plr:GossipMenuAddItem(2, "Full Heal", 0, 2, 0)
  7.     plr:GossipMenuAddItem(2, "Remove Resurrection Sickness", 0, 3, 0)
  8.     plr:GossipMenuAddItem(3, "Learn weapon skills", 0, 4, 0)
  9.     plr:GossipMenuAddItem(3, "Advance weapon skills", 0, 5, 0)
  10.     plr:GossipMenuAddItem(3, "Artisan Riding", 0, 6, 0)
  11.     plr:GossipSendMenu(1, unit)
  12. end
  13.  
  14. function On_GossipSelect(plr, event, id, intid, code)
  15.     if (intid == 1) then
  16.     plr:GossipMenuAddItem(1, "Taunka", 0, 10, 0)
  17.     end
  18. end
  19.  
  20. RegisterCreatureGossipEvent(112112, 1, On_GossipMenu)
  21. RegisterCreatureGossipEvent(112112, 2, On_GossipSelect)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement