`familiarcantakedamage` custom tag causes familiars to take contact damage from enemies with no collision damage
Noticed that my familiars using the familiarcantakedamage flag were taking damage from stonies and black flies. I'm assuming that the logic used for the tag doesn't take into account the actual collision damage of the enemies but I don't think it is intended for them to be taking damage in the case where the enemies don't deal contact damage normally.
Adding on to this, the familiars aren't actually taking damage but it is running the MC_ENTITY_TAKE_DMG callbacks for the affected familiars, just with zero as the damage amount. Still not sure if the callback should be running in this case.
The funny thing with this is that the same thing happens for the two vanilla familiars that use the same functionality as this tag (Punching Bag and Lost Soul). That is, if either of those familiars touch a black fly they trigger MC_ENTITY_TAKE_DMG with 0 damage. This happens even without REPENTOGON.
I can't really tell you WHY it works this way for them, but it does.
I know there are other vanilla familiars that can take damage from enemies and do not do this (like Minisaacs), but they are implemented differently internally.