Archived
Disable effect autotrigger when it has a EffectTime attribute
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ class Turn(Serializable):
|
|||||||
effect.effect_type is None
|
effect.effect_type is None
|
||||||
or effect.effect_type == EffectType.CHAMPION_ACTION
|
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))
|
await self.use_effect_with_check(effect_id=str(effect.uuid))
|
||||||
else:
|
else:
|
||||||
for _ in range(effect.amount):
|
for _ in range(effect.amount):
|
||||||
|
|||||||
Reference in New Issue
Block a user