Merge pull request #15006 from Kaev/3.3.5
Updated BattlegroundWS.cpp 15. minute timer check
This commit is contained in:
commit
fec6523ab2
1 file changed
+1
-1
@@ -157,7 +157,7 @@ void BattlegroundWS::PostUpdateImpl(uint32 diff)
|
||||
player->CastSpell(player, WS_SPELL_FOCUSED_ASSAULT, true);
|
||||
_flagDebuffState = 1;
|
||||
}
|
||||
else if (_flagDebuffState == 1 && _flagSpellForceTimer >= 900000) //15 minutes
|
||||
else if (_flagDebuffState == 1 && _flagSpellForceTimer >= 15*MINUTE*IN_MILLISECONDS) //15 minutes
|
||||
{
|
||||
if (Player* player = ObjectAccessor::FindPlayer(m_FlagKeepers[0]))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user