mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Options: fix all games templates breaking due to invalid progression balancing
This commit is contained in:
@@ -461,6 +461,7 @@ class Range(NumericOption):
|
|||||||
class SpecialRange(Range):
|
class SpecialRange(Range):
|
||||||
special_range_cutoff = 0
|
special_range_cutoff = 0
|
||||||
special_range_names: typing.Dict[str, int] = {}
|
special_range_names: typing.Dict[str, int] = {}
|
||||||
|
"""Special Range names have to be all lowercase as matching is done with text.lower()"""
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_text(cls, text: str) -> Range:
|
def from_text(cls, text: str) -> Range:
|
||||||
@@ -638,9 +639,9 @@ class ProgressionBalancing(SpecialRange):
|
|||||||
range_end = 99
|
range_end = 99
|
||||||
display_name = "Progression Balancing"
|
display_name = "Progression Balancing"
|
||||||
special_range_names = {
|
special_range_names = {
|
||||||
"Disabled": 0,
|
"disabled": 0,
|
||||||
"Normal": 50,
|
"normal": 50,
|
||||||
"Extreme": 99,
|
"extreme": 99,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user