epfly6 / RepentanceAPIIssueTracker

An unofficial issue tracker for issues with The Binding of Isaac: Repentance's API.
19 stars 1 forks source link

Add some sort of innate check to prevent friendly/charmed monsters from being chosen when getting room enemies. #497

Open MrSeemsGood opened 2 years ago

MrSeemsGood commented 2 years ago

This has been annoying me for a while. I can't think of a single situation where it would be necessary to do something with charmed/friendly monsters, alongside normal enemies.

Currently, both in modding and in the base game, certain mechanics that shouldn't act on friendly monsters, are either getting constantly patched out, or are still there (namely Emergency Contact card or Broken Modem). The solution is as easy as just completely preventing the game from choosing friendly monsters when doing things like FindInRadius(..., ..., EntityPartition.ENEMY) or Entity:IsEnemy()