Forums WoW Modding Support Archives Azerothcore Discord Archives [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?

[DiscordArchive] anyone know how to seperate lockouts for toc 10 normal / toc 10 heroic?

rektbyfaith
Administrator
0
07-09-2019, 11:26 AM
#1
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?
rektbyfaith
07-09-2019, 11:26 AM #1

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?

rektbyfaith
Administrator
0
07-09-2019, 11:29 AM
#2
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.");

}
}
`
rektbyfaith
07-09-2019, 11:29 AM #2

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.");

}
}
`

rektbyfaith
Administrator
0
07-09-2019, 11:30 AM
#3
Archived author: Chaz • Posted: 2019-07-09T11:30:34.467000+00:00
Original source

in instance_trial_of_the_crusader.cpp
rektbyfaith
07-09-2019, 11:30 AM #3

Archived author: Chaz • Posted: 2019-07-09T11:30:34.467000+00:00
Original source

in instance_trial_of_the_crusader.cpp

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)