mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Comment cleanup
This commit is contained in:
@@ -10,7 +10,7 @@ void WotlkDungeonVHStrategy::InitTriggers(std::vector<TriggerNode*> &triggers)
|
|||||||
NextAction::array(0, new NextAction("attack erekem", ACTION_RAID + 1), nullptr)));
|
NextAction::array(0, new NextAction("attack erekem", ACTION_RAID + 1), nullptr)));
|
||||||
|
|
||||||
// Moragg
|
// Moragg
|
||||||
// TODO: This guy has Optic Link which may require stacking, add if needed
|
// TODO: This guy has Optic Link which may require moving, add if needed
|
||||||
|
|
||||||
// Ichoron
|
// Ichoron
|
||||||
triggers.push_back(new TriggerNode("ichoron target",
|
triggers.push_back(new TriggerNode("ichoron target",
|
||||||
|
|||||||
@@ -33,44 +33,3 @@ bool CyanigosaPositioningTrigger::IsActive()
|
|||||||
return boss && !botAI->IsTank(bot) && !botAI->IsRangedDps(bot);
|
return boss && !botAI->IsTank(bot) && !botAI->IsRangedDps(bot);
|
||||||
// return boss && botAI->IsMelee(bot) && !botAI->IsTank(bot);
|
// return boss && botAI->IsMelee(bot) && !botAI->IsTank(bot);
|
||||||
}
|
}
|
||||||
|
|
||||||
// bool CorpseExplodeTrigger::IsActive()
|
|
||||||
// {
|
|
||||||
// Unit* boss = AI_VALUE2(Unit*, "find target", "trollgore");
|
|
||||||
// if (!boss) { return false; }
|
|
||||||
|
|
||||||
// float distance = 6.0f; // 5 unit radius, 1 unit added as buffer
|
|
||||||
// GuidVector corpses = AI_VALUE(GuidVector, "nearest corpses");
|
|
||||||
// for (auto i = corpses.begin(); i != corpses.end(); ++i)
|
|
||||||
// {
|
|
||||||
// Unit* unit = botAI->GetUnit(*i);
|
|
||||||
// if (unit && unit->GetEntry() == NPC_DRAKKARI_INVADER)
|
|
||||||
// {
|
|
||||||
// if (bot->GetExactDist2d(unit) < distance)
|
|
||||||
// {
|
|
||||||
// return true;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// return false;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// bool CrystalHandlerTrigger::IsActive()
|
|
||||||
// {
|
|
||||||
// Unit* boss = AI_VALUE2(Unit*, "find target", "novos the summoner");
|
|
||||||
// if (!boss) { return false; }
|
|
||||||
|
|
||||||
// // Target is not findable from threat table using AI_VALUE2(),
|
|
||||||
// // therefore need to search manually for the unit name
|
|
||||||
// GuidVector targets = AI_VALUE(GuidVector, "possible targets no los");
|
|
||||||
|
|
||||||
// for (auto i = targets.begin(); i != targets.end(); ++i)
|
|
||||||
// {
|
|
||||||
// Unit* unit = botAI->GetUnit(*i);
|
|
||||||
// if (unit && unit->GetEntry() == NPC_CRYSTAL_HANDLER)
|
|
||||||
// {
|
|
||||||
// return true;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// return false;
|
|
||||||
// }
|
|
||||||
|
|||||||
Reference in New Issue
Block a user