Minor mprovement
This commit is contained in:
parent
8d81b8ed38
commit
bfc831fdb4
|
@ -108,12 +108,12 @@ class Skill:
|
|||
self.twisting = self.numeric_code[self.twisting_start_position:-1]
|
||||
|
||||
def __compute_quart_sommersault_rotation(self) -> None:
|
||||
if self.rotation_quantity == 1 or self.rotation_quantity == 2:
|
||||
if self.rotation_quantity <= 2:
|
||||
if self.direction == FRONTWARD:
|
||||
self.quart_summersault_rotation = self.numeric_code[1]
|
||||
else:
|
||||
self.quart_summersault_rotation = self.numeric_code[0]
|
||||
elif self.rotation_quantity == 3 or self.rotation_quantity == 4:
|
||||
elif self.rotation_quantity <= 4:
|
||||
if self.direction == FRONTWARD:
|
||||
self.quart_summersault_rotation = self.numeric_code[1:3]
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue