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 03d02e15b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}
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
{
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 Fox = { EntityType__Enum_1::Monster, "Fox" };
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 Falcon = { EntityType__Enum_1::Monster, "Falcon" };
SimpleFilter LucklightFly = { EntityType__Enum_1::EnvAnimal, "Boltbug_" };