[DiscordArchive] anyone know how to seperate lockouts for toc 10 normal / toc 10 heroic?
[DiscordArchive] anyone know how to seperate lockouts for toc 10 normal / toc 10 heroic?
Archived author: Chaz • Posted: 2019-07-09T11:26:47.316000+00:00
Original source
anyone know how to seperate lockouts for toc 10 normal / toc 10 heroic?
Archived author: Chaz • Posted: 2019-07-09T11:29:54.884000+00:00
Original source
also guys, here is how to add an ilvl requirement to a map, this for TOC 25 man for example..
add it to
`void OnPlayerEnter(Player* player)`
` if (player->GetMap()->GetDifficulty() == RAID_DIFFICULTY_25MAN_NORMAL)
{
if (!player->IsGameMaster() && player->GetAverageItemLevel() <= 220) //Change 220 to ILVL target. Don't forget to update the message ILVL.
{
player->TeleportTo(571, 8515.889648f, 629.25f, 547.395996f, 1.574f);
player->GetSession()->SendNotification("You need an iLvl of 221 or higher to enter this instance.");
ChatHandler(player->GetSession()).PSendSysMessage("You need an iLvl of 221 or higher to enter this instance.");
}
}
`
Archived author: Chaz • Posted: 2019-07-09T11:30:34.467000+00:00
Original source
in instance_trial_of_the_crusader.cpp