The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Book of Belial Synergies!
 This topic has been pinned, so it's probably important
JamesB456  [developer] 31 Dec, 2022 @ 6:19am
Bug Report
Report any bugs here that aren't known issues.
Known Issues
-Giantbook animations don't show up properly for some items.
-Book of Virtues may work improperly for some items.
< >
Showing 1-1 of 1 comments
SonicSSJ2 17 Jul, 2024 @ 12:29pm 
Hey there. It seems like this mod causes familiar that have different states (e.g.: blood puppy, lost soul, bumbo) to be reset on run continue (I did check with only this mod enabled and with mods disabled). I did some testing and found out the MC_POST_NEW_ROOM callback is causing it (specifically the "player:EvaluateItems()" line), so i tinkered with the code a bit and came up with this:
function mod:POST_NEW_ROOM() for p = 0, game:GetNumPlayers() - 1 do local player = Isaac.GetPlayer(p) local data = player:GetData() data.damageBuff = 0 if data.WaitingForTeleportTwo then data.WaitingForTeleportTwo = false data.damageBuff = data.damageBuff + 2 spawnFireEffects(player.Position, true) end player:AddCacheFlags(CacheFlag.CACHE_DAMAGE) player:EvaluateItems() end end mod:AddCallback(ModCallbacks.MC_POST_GAME_STARTED, function() mod:AddCallback(ModCallbacks.MC_POST_NEW_ROOM, mod.POST_NEW_ROOM) end) mod:AddCallback(ModCallbacks.MC_PRE_GAME_EXIT, function() mod:RemoveCallback(ModCallbacks.MC_POST_NEW_ROOM, mod.POST_NEW_ROOM) end)
I'm not sure if it's the best solution but it solves the familiars issue and the teleport 2.0 synergy seems to work fine. If you have some time, please do check it out!
< >
Showing 1-1 of 1 comments
Per page: 1530 50