Merge pull request #789 from Grimfeather/Onyxia-access-issue-again

level 80s couldn't walk into Onyxia's Lair
now they can
This commit is contained in:
Grimfeather
2025-10-06 01:50:22 +02:00
committed by GitHub

View File

@@ -154,6 +154,10 @@ public:
{
player->SetRaidDifficulty(RAID_DIFFICULTY_10MAN_HEROIC);
player->TeleportTo(249, 29.1607f, -71.3372f, -8.18032f, 4.58f);
}
else if (player->GetLevel() == IP_LEVEL_WOTLK && (player->HasItemCount(ITEM_DRAKEFIRE_AMULET) || isExcludedFromProgression(player)))
{
player->TeleportTo(249, 29.1607f, -71.3372f, -8.18032f, 4.58f);
}
else if (player->GetLevel() > IP_LEVEL_TBC && player->GetLevel() < IP_LEVEL_WOTLK)
{
@@ -161,9 +165,9 @@ public:
}
else if (!player->HasItemCount(ITEM_DRAKEFIRE_AMULET))
{
handler.PSendSysMessage("You must have the Drakefire Amulet in your inventory to enter this version of Onyxia\'s Lair.");
handler.PSendSysMessage("You must have the Drakefire Amulet in your inventory to enter Onyxia\'s Lair.");
}
else if (progressionLevel > PROGRESSION_TBC_TIER_4)
else if (player->GetLevel() <= IP_LEVEL_TBC && progressionLevel > PROGRESSION_TBC_TIER_4)
{
handler.PSendSysMessage("Your progression level is too high to enter this version of Onyxia\'s Lair.");
}