rep D4 transformation change (needs more testing)

This commit is contained in:
Buurazu authored and GitHub committed 2022-12-09 06:23:56 -05:00
1 parent 3e55c6d57f
commit 483bdbb918
1 file changed
+2 -1
+2 -1
View File
@@ -1566,7 +1566,8 @@ EID:AddCallback(ModCallbacks.MC_POST_GAME_STARTED, OnGameStartGeneral)
local function OnUseD4(_, _, _, player)
-- in AB+, USE_ITEM doesn't provide a player
AddActiveItemProgress(player or EID.player, true)
EID:CollectRerolledItemsOfPlayer(player or EID.player)
-- repentance fixed needing to blacklist your new items from counting (and AB+ counts everything)
--EID:CollectRerolledItemsOfPlayer(player or EID.player)
end
EID:AddCallback(ModCallbacks.MC_USE_ITEM, OnUseD4, CollectibleType.COLLECTIBLE_D4)