mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
[Raid] Sync with azerothcore (update the core before pull this commit)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user