mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-18 03:05:43 +00:00
ICC minor update (#950)
GS Bots will mark mage with skull rti Rotface Fixed bots glitching thru walls and floors (added check if position is valid before moving) PP Bots will mark volatile ooze with skull rti now which will help them focus it and kill asap (usefull for heroic when both volatile ooze and gas cloud are present at the same time) VDW Added default group position in the middle of the room so that bots don't spread out too much, which will force them to focus supressers more Fixed Boss healers not keeping themself alive when low on HP
This commit is contained in:
@@ -492,6 +492,11 @@ bool IccBpcKineticBombTrigger::IsActive()
|
||||
{
|
||||
GuidVector npcs = AI_VALUE(GuidVector, "nearest hostile npcs");
|
||||
|
||||
Aura* aura = botAI->GetAura("Shadow Prison", bot, false, true);
|
||||
if (aura)
|
||||
if (aura->GetStackAmount() > 12)
|
||||
return false;
|
||||
|
||||
// Check for hunters first
|
||||
bool hasHunter = false;
|
||||
Group* group = bot->GetGroup();
|
||||
@@ -584,6 +589,15 @@ bool IccSisterSvalnaTrigger::IsActive()
|
||||
|
||||
bool IccValithriaPortalTrigger::IsActive()
|
||||
{
|
||||
|
||||
Unit* boss = bot->FindNearestCreature(36789, 100.0f);
|
||||
if (!boss)
|
||||
return false;
|
||||
|
||||
//for gruop position for non healers
|
||||
if(!botAI->IsHeal(bot) && (bot->GetDistance(ICC_VDW_GROUP_POSITION) > 35.0f))
|
||||
return true;
|
||||
|
||||
// Only healers should use portals
|
||||
if (!botAI->IsHeal(bot) || bot->HasAura(70766))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user