mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
feat(Scripts/IcecrownCitadel): Allow game masters to skip boss checks (#15810)
This commit is contained in:
@@ -1445,8 +1445,13 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CheckRequiredBosses(uint32 bossId, Player const* /*player*/) const override
|
||||
bool CheckRequiredBosses(uint32 bossId, Player const* player) const override
|
||||
{
|
||||
if (player->GetSession()->GetSecurity() >= SEC_MODERATOR)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
switch (bossId)
|
||||
{
|
||||
case DATA_THE_LICH_KING:
|
||||
|
||||
Reference in New Issue
Block a user