ICC LK minor update (#931)

PP

Removed pre stacking for ranged when volatile ooze spawn (they will kill it much faster now and only stack if someone actually gets targeted by ooze)

LK

Hunters will use trnaq shot to remove enrage from shamblings

Improved valkyr cc

Minimized ping-ponging during winter phase
This commit is contained in:
Noscopezz
2025-01-31 17:48:33 +01:00
committed by GitHub
parent a8a31a2e2f
commit 6719d61ae0
2 changed files with 70 additions and 54 deletions

View File

@@ -681,14 +681,24 @@ float IccLichKingAddsMultiplier::GetValue(Action* action)
Unit* boss = AI_VALUE2(Unit*, "find target", "the lich king");
if (!boss)
return 1.0f;
Unit* currentTarget = AI_VALUE(Unit*, "current target");
if (dynamic_cast<IccLichKingWinterAction*>(action))
{
if(dynamic_cast<CombatFormationMoveAction*>(action) || dynamic_cast<IccLichKingAddsAction*>(action))
if (currentTarget && currentTarget->GetGUID() == boss->GetGUID())
{
if (dynamic_cast<ReachMeleeAction*>(action) || dynamic_cast<ReachSpellAction*>(action) || dynamic_cast<ReachTargetAction*>(action))
return 0.0f;
}
if (dynamic_cast<CombatFormationMoveAction*>(action) || dynamic_cast<IccLichKingAddsAction*>(action))
return 0.0f;
return 1.0f;
}
//melee reach, spell reach, ranged reach
if (botAI->IsRanged(bot))
{
// Check for defile presence