Better Auto Seelie filtering

:copium:
This commit is contained in:
Joaquin 2022-08-27 23:13:47 -06:00
parent e043d48d3e
commit 5a09e9f61b
2 changed files with 6 additions and 2 deletions

View File

@ -393,7 +393,8 @@ namespace cheat::game::filters
"WatchTower02",
"StonePile",
"BrokenWall",
"WoodenBox"
"WoodenBox",
"RoadBlock"
}
};
SimpleFilter Animals = { EntityType__Enum_1::EnvAnimal };

View File

@ -5,6 +5,7 @@
#include <cheat/events.h>
#include <cheat/game/EntityManager.h>
#include <cheat/game/util.h>
#include <cheat/game/filters.h>
namespace cheat::feature
{
@ -59,7 +60,9 @@ namespace cheat::feature
auto distance = manager.avatar()->distance(entity);
float radius = 100.0f;
if (entity->name().find("Seelie_") != std::string::npos)
if (game::filters::puzzle::Seelie.IsValid(entity) ||
game::filters::puzzle::WarmingSeelie.IsValid(entity) ||
game::filters::puzzle::ElectroSeelie.IsValid(entity))
{
if (entity->name().find("ElectricSeelie") != std::string::npos)
{