mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
Update instance_onyxias_lair.cpp
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user