feat(Scripts/IcecrownCitadel): Allow game masters to skip boss checks (#15810)

This commit is contained in:
Skjalf
2023-04-03 23:29:51 -03:00
committed by GitHub
parent 3e4d5eca3a
commit 572a7ea60d

View File

@@ -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: