Better Auto Seelie filtering
:copium:
This commit is contained in:
parent
e043d48d3e
commit
5a09e9f61b
@ -393,7 +393,8 @@ namespace cheat::game::filters
|
||||
"WatchTower02",
|
||||
"StonePile",
|
||||
"BrokenWall",
|
||||
"WoodenBox"
|
||||
"WoodenBox",
|
||||
"RoadBlock"
|
||||
}
|
||||
};
|
||||
SimpleFilter Animals = { EntityType__Enum_1::EnvAnimal };
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user