*Wintergrasp: Tower Control was not applied when entering zone, by Spp

*Wintergrasp: Announce tower and workshops being damaged/destroyed, by Spp
*Wintergrasp: Announce when a player gets rank, by Spp
*Wintergrasp: Implementation of custom commands (.wg for more info), by Spp
    Note: enable on/off will stop timer, it's not a real disable

--HG--
branch : trunk
This commit is contained in:
tartalo
2009-11-02 16:18:30 +01:00
parent d357b45d0a
commit 46ebbdbba7
8 changed files with 440 additions and 67 deletions
+8
View File
@@ -201,6 +201,14 @@ class OPvPWintergrasp : public OutdoorPvP
uint32 GetTimer() const { return m_timer / 1000; };
TeamId GetTeam() const { return m_defender; };
bool isWarTime() const { return m_wartime; };
void setTimer(uint32 timer)
{
if (timer >= 0)
m_timer = timer;
};
void forceChangeTeam();
void forceStopBattle();
void forceStartBattle();
// Temporal BG specific till 3.2
void SendAreaSpiritHealerQueryOpcode(Player *pl, const uint64& guid);