Exemple #1
0
void BattlegroundKT::HandleKillPlayer(Player *player, Player *killer)
{
    if (GetStatus() != STATUS_IN_PROGRESS)
        return;

    EventPlayerDroppedOrb(player);

    Battleground::HandleKillPlayer(player, killer);
}
Exemple #2
0
void BattlegroundKT::RemovePlayer(Player* plr, ObjectGuid guid)
{
    EventPlayerDroppedOrb(plr);
    m_playersZone.erase(plr->GetGUID());
}
Exemple #3
0
void BattlegroundKT::RemovePlayer(Player* player, uint64 guid, uint32 /*team*/)
{
    EventPlayerDroppedOrb(player, guid);
    m_playersZone.erase(guid ? guid : player->GetGUID());
}