Merge pull request #572 from NctimeAza/oversea3.0-AA

Add "Aranara" for NPC filters
This commit is contained in:
Taiga 2022-08-28 21:39:58 -06:00 committed by GitHub
commit 31982eb802
2 changed files with 11 additions and 1 deletions

View File

@ -264,6 +264,16 @@ namespace cheat::feature
} }
name = name.substr(pos1 + 1, pos2 - pos1 - 1); name = name.substr(pos1 + 1, pos2 - pos1 - 1);
} }
else if (name.find("Aranara") != std::string::npos)
{
char AA[] = "Aranara";
name = AA;
}
else if (name.find("Kanban") != std::string::npos)
{
char AA[] = "Paimon";
name = AA;
}
else else
{ {
int j = 0; //number of underscores in the name int j = 0; //number of underscores in the name

View File

@ -101,7 +101,7 @@ namespace cheat::game::filters
SimpleFilter Boar = { EntityType__Enum_1::Monster, "Boar" }; SimpleFilter Boar = { EntityType__Enum_1::Monster, "Boar" };
SimpleFilter Fox = { EntityType__Enum_1::Monster, "Fox" }; SimpleFilter Fox = { EntityType__Enum_1::Monster, "Fox" };
SimpleFilter Squirrel = { EntityType__Enum_1::Monster, "Squirrel" }; SimpleFilter Squirrel = { EntityType__Enum_1::Monster, "Squirrel" };
SimpleFilter Npc = { EntityType__Enum_1::NPC, { "_Liyue", "_Mengde", "_Inazuma", "_Enkanomiya", "_Sumeru", "_Fontaine", "_Natlan", "_Snezhnaya", "_Coop", "_Quest", "_Animal", "_Guide", "_Homeworld", "_Avatar", "_Kanban", "_Monster"} }; SimpleFilter Npc = { EntityType__Enum_1::NPC, { "Liyue", "Mengde", "Inazuma", "Enkanomiya", "Sumeru", "Fontaine", "Aranara", "Natlan", "Snezhnaya", "Coop", "Quest", "Animal", "Guide", "Homeworld", "Avatar", "Kanban", "Monster"} };
SimpleFilter Crane = { EntityType__Enum_1::Monster, "Crane" }; SimpleFilter Crane = { EntityType__Enum_1::Monster, "Crane" };
SimpleFilter Falcon = { EntityType__Enum_1::Monster, "Falcon" }; SimpleFilter Falcon = { EntityType__Enum_1::Monster, "Falcon" };
SimpleFilter LucklightFly = { EntityType__Enum_1::EnvAnimal, "Boltbug_" }; SimpleFilter LucklightFly = { EntityType__Enum_1::EnvAnimal, "Boltbug_" };