epfly6 / RepentanceAPIIssueTracker

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

Some hearts that were spawned from items don't have the player (or a familiar) as their spawner entity #520

Open Foks256 opened 2 years ago

Foks256 commented 2 years ago

Some older items, like Squeezy or Crystal Ball, have their spawner entity set as the player.

However some new items, like Fortune Cookie and Soul Locket, have their spawner entity set as nil, which makes it much harder to tell what hearts were spawned by items and what weren't.

This issue is probably present on other pickups aswell.

epfly6 commented 2 years ago

Fortune Cookie image Crystall Ball image

Foks256 commented 2 years ago

I'm a bit lost, does that mean that the Fortune Cookie's hearts are null and the Crystal Ball's hearts take the entity that called them?

epfly6 commented 2 years ago

I'm a bit lost, does that mean that the Fortune Cookie's hearts are null and the Crystal Ball's hearts take the entity that called them?

Spawner for Cookie is nil, Spawner for Crystall Ball is EntityPlayer