Advertisement
Rushor

Untitled

Aug 17th, 2014
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. /*######
  2. ## go_dreaming_glory
  3. ######*/
  4.  
  5. enum
  6. {
  7. SPELL_DREAMING_GLORY = 28694
  8. };
  9.  
  10. bool GOUse_go_dreaming_glory(Player* pPlayer, GameObject* pGo)
  11. {
  12. pPlayer->CastSpell(pPlayer, SPELL_DREAMING_GLORY, true);
  13.  
  14. return false;
  15. }
  16.  
  17. /*######
  18. ## go_mana_thistle
  19. ######*/
  20.  
  21. enum
  22. {
  23. SPELL_MANA_THISTLE = 28718
  24. };
  25.  
  26. bool GOUse_go_mana_thistle(Player* pPlayer, GameObject* pGo)
  27. {
  28. pPlayer->CastSpell(pPlayer, SPELL_MANA_THISTLE, true);
  29.  
  30. return false;
  31. }
  32.  
  33. pNewScript = new Script;
  34. pNewScript->Name = "go_dreaming_glory";
  35. pNewScript->pGOUse = &GOUse_go_dreaming_glory;
  36. pNewScript->RegisterSelf();
  37.  
  38. pNewScript = new Script;
  39. pNewScript->Name = "go_mana_thistle";
  40. pNewScript->pGOUse = &GOUse_go_mana_thistle;
  41. pNewScript->RegisterSelf();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement