Permalink
Browse files

Core/Battlegrounds: Add Deepwind Gorge and Silvershard Mines code(Nee…

…d testing dunno if it works)
  • Loading branch information...
1 parent 63bb72c commit d6c011fca4f4e920d33232de2949eb9aa8f1cc86 @Keital Keital committed Dec 6, 2016
@@ -216,7 +216,12 @@ enum ScoreType
SCORE_MMR_CHANGE = 23,
//TK
SCORE_ORB_HANDLES = 21,
- SCORE_ORB_SCORE = 22
+ SCORE_ORB_SCORE = 22,
+ // SM
+ SCORE_CARTS_HELPED = 23,
+ // DG
+ SCORE_MINES_ASSAULTED = 24,
+ SCORE_MINES_DEFENDED = 25
};
enum BattlegroundType
@@ -432,7 +437,7 @@ class Battleground
// Packet Transfer
// method that should fill worldpacket with actual world states (not yet implemented for all battlegrounds!)
- virtual void FillInitialWorldStates(WorldStateBuilder& /*builder*/) { }
+ void FillInitialWorldStates(WorldStateBuilder& /*builder*/) { }
void SendPacketToTeam(uint32 TeamID, WorldPacket* packet, Player* sender = NULL, bool self = true);
void SendPacketToAll(WorldPacket* packet);
void YellToAll(Creature* creature, const char* text, uint32 language);
@@ -36,7 +36,7 @@
#include "BattlegroundTP.h"
#include "BattlegroundBFG.h"
#include "BattlegroundDG.h"
-#include "BattlegroundSM.h"
+#include "BattlegroundSSM.h"
#include "BattlegroundTOK.h"
#include "Chat.h"
#include "Map.h"
@@ -844,7 +844,7 @@ Battleground* BattlegroundMgr::CreateNewBattleground(BattlegroundTypeId original
bg = new BattlegroundDG(*(BattlegroundDG*)bg_template);
break;
case BATTLEGROUND_SM:
- bg = new BattlegroundSM(*(BattlegroundSM*)bg_template);
+ bg = new BattlegroundSSM(*(BattlegroundSSM*)bg_template);
break;
case BATTLEGROUND_RB:
case BATTLEGROUND_AA:
@@ -954,7 +954,7 @@ bool BattlegroundMgr::CreateBattleground(CreateBattlegroundData& data)
bg = new BattlegroundDG;
break;
case BATTLEGROUND_SM:
- bg = new BattlegroundSM;
+ bg = new BattlegroundSSM;
break;
default:
return false;
Oops, something went wrong.

0 comments on commit d6c011f

Please sign in to comment.