WIXXZI

Untitled

Sep 19th, 2022
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. -- Challenger Script / Spawn
  2.  
  3. local NPC_ID = 60000
  4. local BOSS_ID1 = 1493
  5. local BOSS_ID2 = 1525
  6.  
  7. function On_Gossip(event, player, unit)
  8.  
  9. player:GossipMenuAddItem(0, "Summon Mok'rash (Easy)", 0, 1)
  10. player:GossipSendMenu(1, unit)
  11. end
  12.  
  13. function On_Select(event, player, creature, sender, intid, code, target)
  14.  
  15. if (intid == 1) then
  16. local Victim = creature:GetVictim()
  17. -- local BOSS = creature:SpawnCreature(BOSS_ID1, -13207.422852, 267.879059, 21.857819, 4.246660, 4, 300000)
  18. local BOSS = PerformIngameSpawn(1, BOSS_ID1, 0, 0, -13207.422852, 267.879059, 21.857819, 4.246660, false, 0, 1)
  19. end
  20. end
  21.  
  22. RegisterCreatureGossipEvent(NPC_ID, 1, On_Gossip)
  23. RegisterCreatureGossipEvent(NPC_ID, 2, On_Select)
Advertisement
Add Comment
Please, Sign In to add comment