feat(Scripts/IcecrownCitadel): Allow game masters to skip boss checks (#15810)
This commit is contained in:
@@ -1445,8 +1445,13 @@ public:
|
|||||||
return false;
|
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)
|
switch (bossId)
|
||||||
{
|
{
|
||||||
case DATA_THE_LICH_KING:
|
case DATA_THE_LICH_KING:
|
||||||
|
|||||||
Reference in New Issue
Block a user