MichaelCrow

Disney Princess 16 hour Special

May 9th, 2013
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.06 KB | None | 0 0
  1. #include "ScriptPCH.h"
  2.  
  3.  struct SoulwellInfo
  4.         {
  5.                 uint32 SoulwellID;
  6.                 uint32 SoulwellCounter;
  7.         };
  8.  
  9. static std::map<uint32, SoulwellInfo> Soulwells;
  10.  
  11. class ExperienceSystem : public PlayerScript
  12. {
  13.         public:
  14.                 ExperienceSystem() : PlayerScript("ExperienceSystem") {}
  15.                
  16.                
  17.                 void OnPvPKill(Player *pKiller, Player *pVictim)
  18.         {
  19.         };
  20.  
  21.  class Soulwell1 : public GameObjectScript
  22.  {
  23.  public:
  24.         Soulwell1 : public GameObjectScript("Soulwell_1") { }
  25.        
  26.         bool OnGossipHello(Player* player, GameObject* go)
  27.         {
  28.         }
  29. };
  30.  
  31.  class Soulwell2 : public GameObjectScript
  32.  {
  33.  public:
  34.         Soulwell2 : public GameObjectScript("Soulwell_2") { }
  35.        
  36.         bool OnGossipHello(Player* player, GameObject* go)
  37.         {
  38.         }
  39. };
  40.  
  41.  class Soulwell3 : public GameObjectScript
  42.  {
  43.  public:
  44.         Soulwell3 : public GameObjectScript("Soulwell_3") { }
  45.        
  46.         bool OnGossipHello(Player* player, GameObject* go)
  47.         {
  48.         }
  49. };
  50.  
  51.  
  52. void AddSC_System()
  53. {
  54.     new ExperienceSystem;
  55.     new Soulwell1;
  56.     new Soulwell2;
  57.     new Soulwell3;
  58. }
Advertisement
Add Comment
Please, Sign In to add comment