Pokemon R/B: Removing Floats from NamedRange #3717

This commit is contained in:
Exempt-Medic 2024-08-05 17:40:16 -04:00 committed by GitHub
parent c0ef02d6fa
commit 203c8f4d89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -418,10 +418,10 @@ class ExpModifier(NamedRange):
"""Modifier for EXP gained. When specifying a number, exp is multiplied by this amount and divided by 16."""
display_name = "Exp Modifier"
default = 16
range_start = default / 4
range_start = default // 4
range_end = 255
special_range_names = {
"half": default / 2,
"half": default // 2,
"normal": default,
"double": default * 2,
"triple": default * 3,
@ -960,4 +960,4 @@ pokemon_rb_options = {
"ice_trap_weight": IceTrapWeight,
"randomize_pokemon_palettes": RandomizePokemonPalettes,
"death_link": DeathLink
}
}