UP and CoS dungeons

- Utgarde Pinnacle implementation
- Culling of Stratholme implementation
- Added additional value ("nearest hostile npcs") needed to expose some hidden trigger-type npc units (eg. frost breath on Skadi fight in UP)
This commit is contained in:
Bobblybook
2024-10-21 22:29:03 +11:00
committed by 姜耀
parent 07da4ad959
commit 3aa43cbb3c
31 changed files with 665 additions and 18 deletions

View File

@@ -24,6 +24,19 @@ protected:
bool AcceptUnit(Unit* unit) override;
};
class NearestHostileNpcsValue : public NearestUnitsValue
{
public:
NearestHostileNpcsValue(PlayerbotAI* botAI, float range = sPlayerbotAIConfig->sightDistance)
: NearestUnitsValue(botAI, "nearest hostile npcs", range)
{
}
protected:
void FindUnits(std::list<Unit*>& targets) override;
bool AcceptUnit(Unit* unit) override;
};
class NearestVehiclesValue : public NearestUnitsValue
{
public: