[Raid] Naxx grobbulus

This commit is contained in:
Yunfan Li
2024-06-05 19:37:39 +08:00
parent be3b2c82f8
commit d0ee39aa3a
5 changed files with 32 additions and 9 deletions

View File

@@ -19,6 +19,18 @@
#include "WarriorActions.h"
#include "DruidBearActions.h"
float GrobbulusMultiplier::GetValue(Action* action)
{
Unit* boss = AI_VALUE2(Unit*, "find target", "grobbulus");
if (!boss) {
return 1.0f;
}
if (dynamic_cast<AvoidAoeAction*>(action)) {
return 0.0f;
}
return 1.0f;
}
float HeiganDanceMultiplier::GetValue(Action* action)
{
Unit* boss = AI_VALUE2(Unit*, "find target", "heigan the unclean");