175{
178 {
181 break;
187 break;
193 break;
196 break;
199 break;
202 break;
205 break;
206 }
207
208
209 if (field)
210 {
212 field = 0;
213 }
217 {
220 break;
222 {
224 artkit = 2;
227 if (alliance_towers < 3)
230 break;
231 }
233 {
235 artkit = 1;
238 if (horde_towers < 3)
241 break;
242 }
248 break;
249 }
250
253 for (auto itr = bounds.first; itr != bounds.second; ++itr)
254 itr->second->SetGoArtKit(artkit);
255
257 for (auto itr = bounds.first; itr != bounds.second; ++itr)
258 itr->second->SetGoArtKit(artkit2);
259
260
261 if (field)
263
264
267}
@ MAP_OUTLAND
Definition AreaDefines.h:217
std::uint32_t uint32
Definition Define.h:107
#define sMapMgr
Definition MapMgr.h:220
#define sObjectMgr
Definition ObjectMgr.h:1712
const uint32 HP_LANG_LOSE_A[HP_TOWER_NUM]
Definition OutdoorPvPHP.cpp:29
const uint32 HP_LANG_CAPTURE_H[HP_TOWER_NUM]
Definition OutdoorPvPHP.cpp:35
const uint32 HP_LANG_CAPTURE_A[HP_TOWER_NUM]
Definition OutdoorPvPHP.cpp:33
const uint32 HP_LANG_LOSE_H[HP_TOWER_NUM]
Definition OutdoorPvPHP.cpp:31
const uint32 HP_CREDITMARKER[HP_TOWER_NUM]
Definition OutdoorPvPHP.h:52
const uint32 HP_TowerArtKit_H[HP_TOWER_NUM]
Definition OutdoorPvPHP.h:66
const uint32 OutdoorPvPHPBuffZones[OutdoorPvPHPBuffZonesNum]
Definition OutdoorPvPHP.h:26
const uint32 HP_MAP_N[HP_TOWER_NUM]
Definition OutdoorPvPHP.h:58
const uint32 HP_MAP_H[HP_TOWER_NUM]
Definition OutdoorPvPHP.h:62
const uint32 HP_MAP_A[HP_TOWER_NUM]
Definition OutdoorPvPHP.h:60
const uint32 HP_TowerArtKit_A[HP_TOWER_NUM]
Definition OutdoorPvPHP.h:64
const uint32 HP_TowerArtKit_N[HP_TOWER_NUM]
Definition OutdoorPvPHP.h:68
@ 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
void SendZoneText(uint32 zoneId, char const *text, WorldSession const *self=nullptr, TeamId teamId=TEAM_NEUTRAL) const
Send a System Message to all players in the zone (except self if mentioned)
Definition Map.cpp:2764
GameObjectBySpawnIdContainer & GetGameObjectBySpawnIdStore()
Definition Map.h:355
ObjectiveStates _state
Definition OutdoorPvP.h:169
ObjectiveStates _oldState
Definition OutdoorPvP.h:168
ObjectGuid::LowType m_capturePointSpawnId
Definition OutdoorPvP.h:125
OutdoorPvP * _pvp
Definition OutdoorPvP.h:175
std::unordered_map< uint32, ObjectGuid::LowType > _objects
Definition OutdoorPvP.h:180
void SendObjectiveComplete(uint32 id, ObjectGuid guid=ObjectGuid::Empty)
Definition OutdoorPvP.cpp:477
Definition OutdoorPvPHP.h:104
Map * GetMap() const
Definition OutdoorPvP.h:246
void SendUpdateWorldState(uint32 field, uint32 value)
Definition OutdoorPvP.cpp:457