172{
175 {
178 break;
184 break;
190 break;
193 break;
196 break;
199 break;
202 break;
203 }
204
205
206 if (field)
207 {
209 field = 0;
210 }
214 {
217 break;
219 {
221 artkit = 2;
224 if (alliance_towers < 3)
227 break;
228 }
230 {
232 artkit = 1;
235 if (horde_towers < 3)
238 break;
239 }
245 break;
246 }
247
250 for (auto itr = bounds.first; itr != bounds.second; ++itr)
251 itr->second->SetGoArtKit(artkit);
252
254 for (auto itr = bounds.first; itr != bounds.second; ++itr)
255 itr->second->SetGoArtKit(artkit2);
256
257
258 if (field)
260
261
264}
std::uint32_t uint32
Definition: Define.h:108
#define sObjectMgr
Definition: ObjectMgr.h:1640
#define sMapMgr
Definition: MapMgr.h:221
@ OBJECTIVESTATE_HORDE
Definition: OutdoorPvP.h:44
@ OBJECTIVESTATE_NEUTRAL_HORDE_CHALLENGE
Definition: OutdoorPvP.h:46
@ OBJECTIVESTATE_ALLIANCE
Definition: OutdoorPvP.h:43
@ OBJECTIVESTATE_NEUTRAL_ALLIANCE_CHALLENGE
Definition: OutdoorPvP.h:45
@ OBJECTIVESTATE_HORDE_ALLIANCE_CHALLENGE
Definition: OutdoorPvP.h:48
@ OBJECTIVESTATE_NEUTRAL
Definition: OutdoorPvP.h:42
@ OBJECTIVESTATE_ALLIANCE_HORDE_CHALLENGE
Definition: OutdoorPvP.h:47
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:43
const uint32 HP_TowerArtKit_H[HP_TOWER_NUM]
Definition: OutdoorPvPHP.h:70
const uint32 OutdoorPvPHPBuffZones[OutdoorPvPHPBuffZonesNum]
Definition: OutdoorPvPHP.h:25
const uint32 HP_MAP_N[HP_TOWER_NUM]
Definition: OutdoorPvPHP.h:62
const uint32 HP_MAP_H[HP_TOWER_NUM]
Definition: OutdoorPvPHP.h:66
const uint32 HP_MAP_A[HP_TOWER_NUM]
Definition: OutdoorPvPHP.h:64
const uint32 HP_TowerArtKit_A[HP_TOWER_NUM]
Definition: OutdoorPvPHP.h:68
const uint32 HP_TowerArtKit_N[HP_TOWER_NUM]
Definition: OutdoorPvPHP.h:72
#define sWorld
Definition: World.h:451
GameObjectBySpawnIdContainer & GetGameObjectBySpawnIdStore()
Definition: Map.h:521
ObjectiveStates m_OldState
Definition: OutdoorPvP.h:178
OutdoorPvP * m_PvP
Definition: OutdoorPvP.h:185
ObjectiveStates m_State
Definition: OutdoorPvP.h:179
std::map< uint32, ObjectGuid::LowType > m_Objects
Definition: OutdoorPvP.h:189
ObjectGuid::LowType m_capturePointSpawnId
Definition: OutdoorPvP.h:131
void SendObjectiveComplete(uint32 id, ObjectGuid guid=ObjectGuid::Empty)
Definition: OutdoorPvP.cpp:431
void SendUpdateWorldState(uint32 field, uint32 value)
Definition: OutdoorPvP.cpp:411
Definition: OutdoorPvPHP.h:108