mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-16 00:26:10 +00:00
- Added Biting Cold cheat (#1131)
This commit is contained in:
@@ -287,13 +287,12 @@ bool HodirBitingColdTrigger::IsActive()
|
||||
return false;
|
||||
}
|
||||
|
||||
// Override if boss is casting Flash Freeze
|
||||
if (!boss->HasUnitState(UNIT_STATE_CASTING) || !boss->FindCurrentSpellBySpellId(SPELL_FLASH_FREEZE))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
Player* master = botAI->GetMaster();
|
||||
if (!master || !master->IsAlive())
|
||||
return false;
|
||||
|
||||
return boss && botAI->GetAura("biting cold", bot, false, false, 2);
|
||||
return botAI->GetAura("biting cold", bot, false, false, 2) &&
|
||||
!botAI->GetAura("biting cold", master, false, false, 2);
|
||||
}
|
||||
|
||||
//Snowpacked Icicle Target
|
||||
|
||||
Reference in New Issue
Block a user