Advertisement
cressidagp

Arcanist Vandrin

Oct 14th, 2023
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.86 KB | None | 0 0
  1. '''
  2.  
  3. Engine: APE
  4. Zone: Ghostlands
  5. Creature: Arcanist Vandril
  6. .npc portto 64987
  7.  
  8. '''
  9.  
  10. import arcemu
  11. from arcemu import GossipMenu
  12.  
  13. NPC_ID_ARCANIST_VANDRIL = 16197
  14.  
  15. def ArcanistVandril_onHello( unit, event, player ):
  16.  
  17.     menu = GossipMenu( 8417, unit, arcemu.GOSSIP_AUTOSEND_FALSE )
  18.  
  19.     menu.addItem( arcemu.ICON_CHAT, "Arcanist Vandril, what are the Forsaken doing here?", 0, 0 )
  20.  
  21.     menu.addQuests( unit, player )
  22.  
  23.     menu.sendToPlayer( player )
  24.  
  25. def ArcanistVandril_onSelectOption( unit, player, id, enteredCode ):
  26.    
  27.     menu = GossipMenu( 8501, unit, arcemu.GOSSIP_AUTOSEND_FALSE )
  28.  
  29.     menu.sendToPlayer( player )
  30.  
  31. arcemu.RegisterUnitGossipEvent( NPC_ID_ARCANIST_VANDRIL, arcemu.GOSSIP_EVENT_HELLO, ArcanistVandril_onHello )
  32. arcemu.RegisterUnitGossipEvent( NPC_ID_ARCANIST_VANDRIL, arcemu.GOSSIP_EVENT_SELECT, ArcanistVandril_onSelectOption )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement