Skip to content

Commit

Permalink
Pass CI Checks
Browse files Browse the repository at this point in the history
  • Loading branch information
rrealmuto committed Jun 20, 2023
1 parent 2d89da0 commit a0a471e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ItemPool.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ def get_pool_core(world: World) -> tuple[list[str], dict[str, Item]]:
junk_pool[:] = [('Ice Trap', 1)]
# Get a list of all "junk" type items
junk = [item for item, weight in junk_pool_base] + ['Rupee (1)', 'Recovery Heart', 'Bombs (20)', 'Arrows (30)']
junk_count = get_pool_count(pool, junk)
junk_count = get_pool_count(pool, junk)
num_to_replace = int((world.settings.custom_ice_trap_percent / 100.0) * junk_count) if world.settings.junk_ice_traps == 'custom_percent' else world.settings.custom_ice_trap_count
replace_x_items(pool, junk, num_to_replace)

Expand Down
2 changes: 1 addition & 1 deletion SettingsList.py
Original file line number Diff line number Diff line change
Expand Up @@ -3630,7 +3630,7 @@ class SettingInfos:
replaced by Ice Traps, even those in the
base pool.
'Custom (count)' : Allows specifying a specific number of
'Custom (count)' : Allows specifying a specific number of
"Junk items" to be converted to Ice Traps in the pool.
'Custom (%)' : Allows specifiying a percentage of
Expand Down

0 comments on commit a0a471e

Please sign in to comment.