small Pandora's/Void bug fixes (#742)

* Reduce line break in pandora desc
* Include Alabaster Box in single use
* fix out of order ids
* Improve Void + single use actives
* remove single use check in api
This commit is contained in:
Buurazu authored and GitHub committed 2024-11-18 19:41:57 +01:00
1 parent f6d96b9d8c
commit e4cc1e05c1
6 files changed
+18 -8

No files matched your search

+1 -1
View File
@@ -1321,7 +1321,7 @@ end
function EID:PlayerVoidedCollectible(player, collectibleID)
local playerNum = EID:getPlayerID(player, true)
local isCollectibleAbsorbed = EID.absorbedItems[tostring(playerNum)] and EID.absorbedItems[tostring(playerNum)][tostring(collectibleID)]
if player:HasCollectible(477) and isCollectibleAbsorbed and not EID.SingleUseCollectibles[collectibleID] then
if player:HasCollectible(477) and isCollectibleAbsorbed then
return true, player, i
end
end
+4 -4
View File
@@ -327,10 +327,10 @@ EID:AddItemConditional("5.300.48", 286, nil, { lineColor = "ColorSilver" })
EID:AddItemConditional(286, "5.300.48", "? + Blank Pedestal") -- ? Card + Blank Card
EID:AddSynergyConditional(368, {69, 118, 316, 229, 395, 114, 329}, "Almost No Effect") -- Epiphora + Charge Shots / Ludovico
EID:AddSynergyConditional({127, 297, 347, 490, 483, 515, 475}, 477, "Void Single Use") -- Void + Single Use Actives
if EID.isRepentance then EID:AddSynergyConditional({536, 585, 577, 628, 636}, 477, "Void Single Use") end -- Void + Single Use Actives
EID:AddSynergyConditional({127, 297, 347, 490, 483, 515, 475, 536}, "5.300.48", "? Card Single Use") -- ? Card + Single Use Actives
if EID.isRepentance then EID:AddSynergyConditional({585, 577, 628, 636}, "5.300.48", "? Card Single Use") end -- ? Card + Single Use Actives
EID:AddSynergyConditional({127, 297, 347, 475, 483, 490, 515}, 477, "Void Single Use") -- Void + Single Use Actives
if EID.isRepentance then EID:AddSynergyConditional({536, 577, 585, 628, 636}, 477, "Void Single Use") end -- Void + Single Use Actives
EID:AddSynergyConditional({127, 297, 347, 475, 483, 490, 515, 536}, "5.300.48", "? Card Single Use") -- ? Card + Single Use Actives
if EID.isRepentance then EID:AddSynergyConditional({577, 585, 628, 636}, "5.300.48", "? Card Single Use") end -- ? Card + Single Use Actives
EID:AddConditional(521, EID.PlayersHaveRestock) -- Coupon + Restock/Greed
for k,_ in pairs(EID.blackFeatherItems) do EID:AddItemConditional(k, "5.350.80", "Black Feather", {lineColor="BlinkGray"}) end -- Black Feather
+1
View File
@@ -1122,6 +1122,7 @@ EID.SingleUseCollectibles = {
}
if EID.isRepentance then
EID.SingleUseCollectibles[577] = true -- Damocles
EID.SingleUseCollectibles[585] = true -- Alabaster Box
EID.SingleUseCollectibles[622] = true -- Genesis
EID.SingleUseCollectibles[628] = true -- Death Certificate
EID.SingleUseCollectibles[636] = true -- R Key