Update instance_onyxias_lair.cpp

This commit is contained in:
Grimfeather
2025-10-06 01:46:18 +02:00
committed by GitHub
parent b6bb0d461a
commit 7a44d06b96

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