The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Book of Belial Synergies!
 此主题已被置顶,因此可能具有重要性
JamesB456  [开发者] 2022 年 12 月 31 日 上午 6:19
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.
< >
正在显示第 1 - 1 条,共 1 条留言
SonicSSJ2 2024 年 7 月 17 日 下午 12:29 
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!
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50