Skip to content

Commit

Permalink
forgot the test
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvris committed May 31, 2024
1 parent d9bf59e commit c5a4035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/mm2/test/test_weakness.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def validate_wily_5(base: MM2TestBase) -> None:
boss_damage = weapon_boss[boss]
weapon_weight = {weapon: (weapon_energy[weapon] / damage) if damage else 0 for weapon, damage in
boss_damage.items() if weapon_energy[weapon]}
if any(boss_damage[i] > 0 for i in range(8)):
if any(boss_damage[i] > 0 for i in range(8)) and 8 in weapon_weight:
# We get exactly one use of Time Stopper during the rush
# So we want to make sure that use is absolutely needed
weapon_weight[8] = min(weapon_weight[8], 0.001)
Expand Down

0 comments on commit c5a4035

Please sign in to comment.