Fix Tarot Cloth Rep modifiers + Car Battery overhaul (#675)

* Tarot Cloth Rep fix, Car Battery updates

* oops I readded detailed

* oops I readded detailed

* Less full replaces in tarot cloth table

* oops bad copypaste

* Finished AB+ car battery

* Car Battery rep check in progress

* Yum Heart co-op

* Car Battery in progress

* Finish Car Battery, add Isaac color

* Move the functions out

* Add files via upload

* No effect

* Finished Car Battery synergies

* some Greed conditionals

* some Greed conditionals

* fix Black Feather in AB+

* move the apply function

* Greed conds + move apply func
This commit is contained in:
Buurazu authored and GitHub committed 2024-06-15 13:04:32 +02:00
1 parent 6c79d567ff
commit 2ae25e6752
6 files changed
+552 -401

No files matched your search

+7 -1
View File
@@ -235,7 +235,13 @@ local function BlackFeatherCallback(descObj)
itemCounter = itemCounter + EID.player:GetCollectibleNum(itemID)
end
for trinketID, _ in pairs(EID.blackFeatherTrinkets) do
itemCounter = itemCounter + EID.player:GetTrinketMultiplier(trinketID)
-- in AB+, GetTrinketMultiplier doesn't take an ID, it's just 1 (or 2 with Mom's Box)
if EID.isRepentance then
itemCounter = itemCounter + EID.player:GetTrinketMultiplier(trinketID)
else
if EID.player:GetTrinket(0) == trinketID then itemCounter = itemCounter + EID.player:GetTrinketMultiplier() end
if EID.player:GetTrinket(1) == trinketID then itemCounter = itemCounter + EID.player:GetTrinketMultiplier() end
end
end
local hasBox = EID.collectiblesOwned[439]