diff --git a/src/model/turn.py b/src/model/turn.py index 8dae6d9..9ffb267 100644 --- a/src/model/turn.py +++ b/src/model/turn.py @@ -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):