[Raid] Sync with azerothcore (update the core before pull this commit)

This commit is contained in:
Yunfan Li
2024-05-26 23:44:10 +08:00
parent 9510b6b4df
commit fb839823af
5 changed files with 25 additions and 24 deletions

View File

@@ -26,7 +26,7 @@ float HeiganDanceMultiplier::GetValue(Action* action)
return 1.0f;
}
boss_heigan::boss_heiganAI* boss_ai = dynamic_cast<boss_heigan::boss_heiganAI*>(boss->GetAI());
auto* boss_ai = dynamic_cast<Heigan::boss_heigan::boss_heiganAI*>(boss->GetAI());
EventMap* eventMap = &boss_ai->events;
uint32 curr_phase = boss_ai->currentPhase;
uint32 curr_dance = eventMap->GetNextEventTime(4);
@@ -266,7 +266,7 @@ float GluthGenericMultiplier::GetValue(Action* action)
}
if (dynamic_cast<PetAttackAction*>(action)) {
Unit* target = AI_VALUE(Unit*, "current target");
if (target && target->GetEntry() == NPC_ZOMBIE_CHOW) {
if (target && target->GetEntry() == Gluth::NPC_ZOMBIE_CHOW) {
return 0.0f;
}
}