From c5bff73a8308f605d2af2a2b826ce20711279c4f Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Fri, 10 Oct 2025 16:02:28 +0200 Subject: [PATCH] Update cs_individualProgression.cpp add a few more options for .ip tele --- src/cs_individualProgression.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cs_individualProgression.cpp b/src/cs_individualProgression.cpp index 3d2c95a..0a000c6 100644 --- a/src/cs_individualProgression.cpp +++ b/src/cs_individualProgression.cpp @@ -77,7 +77,7 @@ public: static bool HandleTeleIndividualProgressionCommand(ChatHandler* handler, Optional player, std::string location) { - if (location != "naxx40" && location != "onyxia40") + if (location != "naxx40" && location != "onyxia40" && location != "naxx" && location != "onyxia") { handler->PSendSysMessage("|cff00ffff{}|r is not a valid teleport location.", location); return false; @@ -88,13 +88,13 @@ public: uint32 progressionLevel = target->GetPlayerSetting("mod-individual-progression", SETTING_PROGRESSION_STATE).value; std::string playername = target->GetName(); - if (location == "naxx40" && ((progressionLevel < PROGRESSION_TBC_TIER_5 && isAttuned(target)) || target->IsGameMaster())) + if ((location == "naxx" || location == "naxx40" ) && ((progressionLevel < PROGRESSION_TBC_TIER_5 && isAttuned(target)) || target->IsGameMaster())) { target->SetRaidDifficulty(RAID_DIFFICULTY_10MAN_HEROIC); target->TeleportTo(533, 3005.51f, -3434.64f, 304.195f, 6.2831f); return true; } - else if (location == "onyxia40" && ((progressionLevel < PROGRESSION_TBC_TIER_5 && target->HasItemCount(ITEM_DRAKEFIRE_AMULET)) || target->IsGameMaster())) + else if ((location == "onyxia" || location == "onyxia40") && ((progressionLevel < PROGRESSION_TBC_TIER_5 && target->HasItemCount(ITEM_DRAKEFIRE_AMULET)) || target->IsGameMaster())) { target->SetRaidDifficulty(RAID_DIFFICULTY_10MAN_HEROIC); target->TeleportTo(249, 29.1607f, -71.3372f, -8.18032f, 4.58f);