Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "ScriptPCH.h"
- #include "Battleground.h"
- class FastArenaCrystal : public GameObjectScript
- {
- public:
- FastArenaCrystal()
- : GameObjectScript("FastArenaCrystal")
- {
- }
- bool OnGossipHello(Player* player, GameObject* go)
- {
- if (Battleground *bg = player->GetBattleground())
- if (bg->isArena())
- ChatHandler(player->GetSession()).PSendSysMessage("Players clicked: %u", bg->ClickFastStart(player, go));
- return false;
- }
- };
- void AddSC_fast_arena_start()
- {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement