NKHook / NKHook5

A new repo for the new NKHook5
GNU General Public License v3.0
7 stars 3 forks source link

BloonType Targeting Filters and Custom Bloons #22

Open EpicGamer200245 opened 1 year ago

EpicGamer200245 commented 1 year ago

When targeting filters are used and include bloon types, custom bloons are also included when they are not on the list. You are able to exclude the custom bloon, but you still have to change vanilla towers.

DisabledMallis commented 1 year ago

What exactly should the expected behavior be?

EpicGamer200245 commented 1 year ago

The targeting filter should only be including the bloons that are in the included list and not custom bloons that aren't in that list, for example the glue gunner's targeting filter is:

"TargetingFilter": { "Exclude" : { "StatusEffect": [ "Glue" ], }, "Include" : { "BloonType" : [ "Red", "Blue", "Green", "Yellow", "Pink", "Black", "White", "Lead", "Zebra", "Rainbow", "Ceramic", "Golden" ] } },

If the custom bloon isn't in that list then the glue gunner shouldn't be shooting at it, but it still does.

DisabledMallis commented 10 months ago

I have a feeling this issue is related to how custom IDs for bloons and such are injected... might be a while before I know enough about this to be able to fix it. I don't have a lot of information on what exactly is going on with target filters