*Added a check for Eventstarting in hyjal - by Bagsac
--HG-- branch : trunk
This commit is contained in:
@@ -230,6 +230,13 @@ void hyjalAI::StartEvent(Player* player)
|
|||||||
if(!player)
|
if(!player)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Map* Hyjal = m_creature->GetMap();
|
||||||
|
if(Hyjal->GetPlayersCountExceptGMs() < 15) //check if there are more than 15 players in hyjal (abuse prevent)
|
||||||
|
{
|
||||||
|
//error_log("Some Players try to farm in Hyjal (less than 15 people)");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Talk(BEGIN);
|
Talk(BEGIN);
|
||||||
|
|
||||||
EventBegun = true;
|
EventBegun = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user