diff --git a/src/strategy/raids/eyeofeternity/RaidEoEActions.cpp b/src/strategy/raids/eyeofeternity/RaidEoEActions.cpp index 4bacf89e..001733d3 100644 --- a/src/strategy/raids/eyeofeternity/RaidEoEActions.cpp +++ b/src/strategy/raids/eyeofeternity/RaidEoEActions.cpp @@ -78,8 +78,9 @@ bool MalygosTargetAction::Execute(Event event) { if (botAI->IsHeal(bot)) { return false; } + // Init this as boss by default, if no better target is found just fall back to Malygos Unit* newTarget = boss; - Unit* spark = nullptr; + // Unit* spark = nullptr; // GuidVector targets = AI_VALUE(GuidVector, "possible targets no los"); // for (auto& target : targets) diff --git a/src/strategy/raids/eyeofeternity/RaidEoEMultipliers.cpp b/src/strategy/raids/eyeofeternity/RaidEoEMultipliers.cpp index 0866bfb1..f1af75f5 100644 --- a/src/strategy/raids/eyeofeternity/RaidEoEMultipliers.cpp +++ b/src/strategy/raids/eyeofeternity/RaidEoEMultipliers.cpp @@ -15,39 +15,6 @@ #include "ScriptedCreature.h" #include "WarriorActions.h" -// float SartharionMultiplier::GetValue(Action* action) -// { -// Unit* boss = AI_VALUE2(Unit*, "find target", "sartharion"); -// if (!boss) { return 1.0f; } - -// Unit* target = action->GetTarget(); - -// if (botAI->IsMainTank(bot) && dynamic_cast(action)) -// { -// // return 0.0f; -// } - -// if (botAI->IsDps(bot) && dynamic_cast(action)) -// { -// return 0.0f; -// } - -// if (botAI->IsMainTank(bot) && target && target != boss && -// (dynamic_cast(action) || dynamic_cast(action) || dynamic_cast(action) || -// dynamic_cast(action) || dynamic_cast(action))) -// { -// return 0.0f; -// } - -// if (botAI->IsAssistTank(bot) && target && target == boss && -// (dynamic_cast(action) || dynamic_cast(action) || -// dynamic_cast(action) || dynamic_cast(action))) -// { -// return 0.0f; -// } -// return 1.0f; -// } - float MalygosMultiplier::GetValue(Action* action) { Unit* boss = AI_VALUE2(Unit*, "find target", "malygos");