176{
179 {
182 break;
188 break;
194 break;
197 break;
200 break;
203 break;
206 break;
207 }
208
209
210 if (field)
211 {
213 field = 0;
214 }
218 {
221 break;
223 {
225 artkit = 2;
228 if (alliance_towers < 3)
231 break;
232 }
234 {
236 artkit = 1;
239 if (horde_towers < 3)
242 break;
243 }
249 break;
250 }
251
254 for (auto itr = bounds.first; itr != bounds.second; ++itr)
255 itr->second->SetGoArtKit(artkit);
256
258 for (auto itr = bounds.first; itr != bounds.second; ++itr)
259 itr->second->SetGoArtKit(artkit2);
260
261
262 if (field)
264
265
268}
std::uint32_t uint32
Definition Define.h:107
#define sMapMgr
Definition MapMgr.h:220
#define sObjectMgr
Definition ObjectMgr.h:1636
const uint32 HP_LANG_LOSE_A[HP_TOWER_NUM]
Definition OutdoorPvPHP.cpp:30
const uint32 HP_LANG_CAPTURE_H[HP_TOWER_NUM]
Definition OutdoorPvPHP.cpp:36
const uint32 HP_LANG_CAPTURE_A[HP_TOWER_NUM]
Definition OutdoorPvPHP.cpp:34
const uint32 HP_LANG_LOSE_H[HP_TOWER_NUM]
Definition OutdoorPvPHP.cpp:32
const uint32 HP_CREDITMARKER[HP_TOWER_NUM]
Definition OutdoorPvPHP.h:44
const uint32 HP_TowerArtKit_H[HP_TOWER_NUM]
Definition OutdoorPvPHP.h:58
const uint32 OutdoorPvPHPBuffZones[OutdoorPvPHPBuffZonesNum]
Definition OutdoorPvPHP.h:26
const uint32 HP_MAP_N[HP_TOWER_NUM]
Definition OutdoorPvPHP.h:50
const uint32 HP_MAP_H[HP_TOWER_NUM]
Definition OutdoorPvPHP.h:54
const uint32 HP_MAP_A[HP_TOWER_NUM]
Definition OutdoorPvPHP.h:52
const uint32 HP_TowerArtKit_A[HP_TOWER_NUM]
Definition OutdoorPvPHP.h:56
const uint32 HP_TowerArtKit_N[HP_TOWER_NUM]
Definition OutdoorPvPHP.h:60
@ OBJECTIVESTATE_HORDE
Definition OutdoorPvP.h:45
@ OBJECTIVESTATE_NEUTRAL_HORDE_CHALLENGE
Definition OutdoorPvP.h:47
@ OBJECTIVESTATE_ALLIANCE
Definition OutdoorPvP.h:44
@ OBJECTIVESTATE_NEUTRAL_ALLIANCE_CHALLENGE
Definition OutdoorPvP.h:46
@ OBJECTIVESTATE_HORDE_ALLIANCE_CHALLENGE
Definition OutdoorPvP.h:49
@ OBJECTIVESTATE_NEUTRAL
Definition OutdoorPvP.h:43
@ OBJECTIVESTATE_ALLIANCE_HORDE_CHALLENGE
Definition OutdoorPvP.h:48
#define sWorldSessionMgr
Definition WorldSessionMgr.h:110
GameObjectBySpawnIdContainer & GetGameObjectBySpawnIdStore()
Definition Map.h:370
ObjectiveStates _state
Definition OutdoorPvP.h:167
ObjectiveStates _oldState
Definition OutdoorPvP.h:166
ObjectGuid::LowType m_capturePointSpawnId
Definition OutdoorPvP.h:125
OutdoorPvP * _pvp
Definition OutdoorPvP.h:173
std::unordered_map< uint32, ObjectGuid::LowType > _objects
Definition OutdoorPvP.h:178
void SendObjectiveComplete(uint32 id, ObjectGuid guid=ObjectGuid::Empty)
Definition OutdoorPvP.cpp:476
Definition OutdoorPvPHP.h:96
void SendUpdateWorldState(uint32 field, uint32 value)
Definition OutdoorPvP.cpp:456