bullet check for RapidFire

This commit is contained in:
Joaquin 2022-08-23 20:50:11 -06:00
parent 302fb171ad
commit 79f2d352d8
4 changed files with 8 additions and 5 deletions

View File

@ -364,6 +364,8 @@ HDHORSETAIL PNG "iconsHD\\Horsetail.png"
HDHYDROABYSSHERALD PNG "iconsHD\\HydroAbyssHerald.png"
HDHYDROBATHYSMALVISHAP PNG "iconsHD\\HydroBathysmalVishap.png"
HDHYDROHYPOSTASIS PNG "iconsHD\\HydroHypostasis.png"
HDILLUSION PNG "iconsHD\\Illusion.png"
@ -1079,6 +1081,8 @@ HORSETAIL PNG "icons\\Horsetail.png"
HYDROABYSSHERALD PNG "icons\\HydroAbyssHerald.png"
HYDROBATHYSMALVISHAP PNG "icons\\HydroBathysmalVishap.png"
HYDROHYPOSTASIS PNG "icons\\HydroHypostasis.png"
ILLUSION PNG "icons\\Illusion.png"

View File

@ -4188,7 +4188,7 @@ namespace app {
struct AbilityComponentProxy* _abilityProxy;
struct TokenManager* _tokenMgr;
VisionType__Enum _NLFDIGCIFIA_k__BackingField;
bool _KLBEFMDPLBE_k__BackingField;
bool _createDuringReconnectingSceneInitFinish_k__BackingField;
bool _isCleared;
bool _checkRemoveifCached_k__BackingField;
bool _hasAddedInitialComponents;
@ -7128,6 +7128,7 @@ namespace app {
struct SafeFloat maxElemEnergy;
struct SafeFloat attackBase;
struct SafeFloat attackPermanent;
struct SafeFloat defenseBase;
struct SafeFloat defensePermanent;
struct SafeFloat addHurtBase;
struct SafeFloat subHurtBase;
@ -7135,7 +7136,6 @@ namespace app {
struct SafeFloat criticalBase;
struct SafeFloat antiCriticalBase;
struct SafeFloat physicalSubHurtBase;
struct SafeFloat ICCABJELAHK;
struct SafeFloat EBKLJENHIND;
struct SafeFloat LAIBHDDNLKJ;
struct SafeFloat OGBPAAPLBGM;

View File

@ -587,8 +587,8 @@ namespace cheat::feature
ADD_FILTER_FIELD(featured, Anemoculus);
ADD_FILTER_FIELD(featured, CrimsonAgate);
ADD_FILTER_FIELD(featured, Electroculus);
ADD_FILTER_FIELD(featured, Dendroculus);
ADD_FILTER_FIELD(featured, Electroculus);
ADD_FILTER_FIELD(featured, Electrogranum);
ADD_FILTER_FIELD(featured, FishingPoint);
ADD_FILTER_FIELD(featured, Geoculus);
@ -708,7 +708,6 @@ namespace cheat::feature
ADD_FILTER_FIELD(monster, Hilichurl);
ADD_FILTER_FIELD(monster, HydroAbyssHerald);
ADD_FILTER_FIELD(monster, HydroBathysmalVishap);
ADD_FILTER_FIELD(monster, HydroHypostasisSummon);
ADD_FILTER_FIELD(monster, Kairagi);
ADD_FILTER_FIELD(monster, Millelith);
ADD_FILTER_FIELD(monster, Mitachurl);

View File

@ -204,7 +204,7 @@ namespace cheat::feature
// Taiga#5555: IDs can be found in ConfigAbility_Avatar_*.json or GadgetExcelConfigData.json
bool bulletID = attackerID >= 40000160 && attackerID <= 41069999;
return avatarID == attackerID || bulletID;
return avatarID == attackerID || bulletID || attacker.type() == app::EntityType__Enum_1::Bullet;
}
bool IsValidByFilter(game::Entity* entity)