Skip to content

Commit 9f39f3e

Browse files
Stop impossible Orb with The Chromatic
there might be more? I haven't tested every blind don't think so though
1 parent bf09cbe commit 9f39f3e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/overrides.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ function Blind:defeat(s)
198198
end
199199
if
200200
--Stop impossible blind combinations from happening
201+
--Needs a better system than this, needs a lovely patch for other mods to add to this list currently (TODO)
201202
(self.name ~= "cry-oldarm" or not G.GAME.defeated_blinds["bl_psychic"])
202203
and (self.name ~= "The Psychic" or not G.GAME.defeated_blinds["bl_cry_oldarm"])
203204
and (self.name ~= "cry-oldarm" or not G.GAME.defeated_blinds["bl_cry_scorch"])
@@ -208,6 +209,10 @@ function Blind:defeat(s)
208209
and (self.name ~= "cry-Tax" or not G.GAME.defeated_blinds["bl_cry_lavender_loop"])
209210
and (self.name ~= "The Needle" or not G.GAME.defeated_blinds["bl_cry_tax"])
210211
and (self.name ~= "cry-Tax" or not G.GAME.defeated_blinds["bl_needle"])
212+
and (self.name ~= "The Needle" or not G.GAME.defeated_blinds["bl_cry_chromatic"])
213+
and (self.name ~= "cry-chromatic" or not G.GAME.defeated_blinds["bl_needle"])
214+
and (self.name ~= "cry-Tax" or not G.GAME.defeated_blinds["bl_cry_chromatic"])
215+
and (self.name ~= "cry-chromatic" or not G.GAME.defeated_blinds["bl_cry_tax"])
211216
then
212217
G.GAME.defeated_blinds[self.config.blind.key or ""] = true
213218
end

0 commit comments

Comments
 (0)