Archived
small cleanup
This commit is contained in:
+1
-3
@@ -3,7 +3,6 @@ Checks the actions of the user and prevent the user to do something illegal
|
||||
"""
|
||||
|
||||
from typing import TYPE_CHECKING, List, Dict, Optional, Callable, Coroutine, Any
|
||||
from uuid import UUID
|
||||
from model import (
|
||||
Serializable,
|
||||
CardType,
|
||||
@@ -11,7 +10,6 @@ from model import (
|
||||
Effect,
|
||||
CardEffects,
|
||||
EffectType,
|
||||
EffectTimes,
|
||||
Team,
|
||||
)
|
||||
|
||||
@@ -86,7 +84,7 @@ class Turn(Serializable):
|
||||
effect.effect_type is None
|
||||
or effect.effect_type == EffectType.CHAMPION_ACTION
|
||||
):
|
||||
if len(effect.mutex) == 0 and effect.times == None:
|
||||
if len(effect.mutex) == 0 and effect.times is None:
|
||||
await self.use_effect_with_check(effect_id=str(effect.uuid))
|
||||
else:
|
||||
for _ in range(effect.amount):
|
||||
|
||||
Reference in New Issue
Block a user