Skip to content

Commit

Permalink
Update worlds/hk/Options.py
Browse files Browse the repository at this point in the history
Co-authored-by: Exempt-Medic <[email protected]>
  • Loading branch information
qwint and Exempt-Medic authored Sep 8, 2024
1 parent 0748cc4 commit 9adbb0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/hk/Options.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ class PlandoCharmCosts(OptionDict):
display_name = "Charm Notch Cost Plando"
valid_keys = frozenset(charm_names)
schema = Schema({
Optional(name): And(int, lambda n: 6 >= n >= 0, error="Charm costs must be in the range 0-6.") for name in charm_names
Optional(name): And(int, lambda n: 6 >= n >= 0, error="Charm costs must be integers in the range 0-6.") for name in charm_names
})

def get_costs(self, charm_costs: typing.List[int]) -> typing.List[int]:
Expand Down

0 comments on commit 9adbb0f

Please sign in to comment.