classes.py
: Condense set_hp_bytes
This commit is contained in:
parent
f805416831
commit
2ad2e639e5
@ -296,8 +296,7 @@ class FumenHeader:
|
|||||||
else:
|
else:
|
||||||
self.order = "<"
|
self.order = "<"
|
||||||
|
|
||||||
def set_hp_bytes(self, n_notes: int, difficulty: str,
|
def set_hp_bytes(self, n_notes: int, difficulty: str, stars: int) -> None:
|
||||||
stars: int) -> None:
|
|
||||||
"""Compute header bytes related to the soul gauge (HP) behavior."""
|
"""Compute header bytes related to the soul gauge (HP) behavior."""
|
||||||
# Note: Ura Oni is equivalent to Oni for soul gauge behavior
|
# Note: Ura Oni is equivalent to Oni for soul gauge behavior
|
||||||
difficulty = 'Oni' if difficulty in ['Ura', 'Edit'] else difficulty
|
difficulty = 'Oni' if difficulty in ['Ura', 'Edit'] else difficulty
|
||||||
|
Loading…
x
Reference in New Issue
Block a user