mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 04:01:32 -06:00
MM2: Fix Shuffled Weaknesses Seed Bleed (#4689)
This commit is contained in:
@@ -92,7 +92,7 @@ def set_rules(world: "MM2World") -> None:
|
||||
world.wily_5_weapons = slot_data["wily_5_weapons"]
|
||||
else:
|
||||
if world.options.random_weakness == RandomWeaknesses.option_shuffled:
|
||||
weapon_tables = [table for weapon, table in weapon_damage.items() if weapon not in (0, 8)]
|
||||
weapon_tables = [table.copy() for weapon, table in weapon_damage.items() if weapon not in (0, 8)]
|
||||
world.random.shuffle(weapon_tables)
|
||||
for i in range(1, 8):
|
||||
world.weapon_damage[i] = weapon_tables.pop()
|
||||
|
Reference in New Issue
Block a user