- Added Auriaya fall from floor protection (#1318)

This commit is contained in:
kadeshar
2025-05-20 17:24:45 +02:00
committed by GitHub
parent 5910866362
commit e68c5a76c6
7 changed files with 61 additions and 1 deletions

View File

@@ -487,6 +487,17 @@ bool KologarnCrunchArmorTrigger::IsActive()
return bot->HasAura(SPELL_CRUNCH_ARMOR);
}
bool AuriayaFallFromFloorTrigger::IsActive()
{
// Check boss and it is alive
Unit* boss = AI_VALUE2(Unit*, "find target", "auriaya");
if (!boss || !boss->IsAlive())
return false;
// Check if bot is on the floor
return bot->GetPositionZ() < ULDUAR_AURIAYA_AXIS_Z_PATHING_ISSUE_DETECT;
}
bool HodirBitingColdTrigger::IsActive()
{
Unit* boss = AI_VALUE2(Unit*, "find target", "hodir");