Disable effect autotrigger when it has a EffectTime attribute

This commit is contained in:
2024-05-03 00:51:44 +02:00
parent ce52c1ecac
commit cd8fcc78c3
+1 -1
View File
@@ -86,7 +86,7 @@ class Turn(Serializable):
effect.effect_type is None
or effect.effect_type == EffectType.CHAMPION_ACTION
):
if len(effect.mutex) == 0:
if len(effect.mutex) == 0 and effect.times == None:
await self.use_effect_with_check(effect_id=str(effect.uuid))
else:
for _ in range(effect.amount):