Add "Aranara" for NPC filters

This commit is contained in:
NctimeAza 2022-08-29 02:56:38 +08:00 committed by GitHub
parent b12c71ca4e
commit 370c9bd61e
2 changed files with 12 additions and 2 deletions

View File

@ -263,6 +263,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
{ {
@ -778,7 +788,7 @@ namespace cheat::feature
ADD_FILTER_FIELD(plant, Pinecone); ADD_FILTER_FIELD(plant, Pinecone);
ADD_FILTER_FIELD(plant, Qingxin); ADD_FILTER_FIELD(plant, Qingxin);
ADD_FILTER_FIELD(plant, Radish); ADD_FILTER_FIELD(plant, Radish);
ADD_FILTER_FIELD(plant, RukkhashavaMushroom); ADD_FILTER_FIELD(plant, RukkhashavaMushrooms);
ADD_FILTER_FIELD(plant, SakuraBloom); ADD_FILTER_FIELD(plant, SakuraBloom);
ADD_FILTER_FIELD(plant, SangoPearl); ADD_FILTER_FIELD(plant, SangoPearl);
ADD_FILTER_FIELD(plant, SeaGanoderma); ADD_FILTER_FIELD(plant, SeaGanoderma);

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_" };