zachanassian/tu_optimize

[BUG] Jam all does not work

Closed this issue · 1 comments

tu_optimize "Cyrus, Medic(10)" "Alaric, [6390]" +v debug
...
TURN 10 begins for Commander [Alaric hp:40]
Assault 0 [Dream Mutator att:5 hp:32 cd:1, jam charge 5] reduces its timer
Evaluating Commander [Alaric hp:40] skill Enhance Evade all 1
Evaluating Commander [Alaric hp:40] skill Heal righteous 3
Evaluating Commander [Alaric hp:40] skill Strike all 1
Possible targets of Strike:
+ Assault 0 [Medic att:1 hp:7]
+ Assault 1 [Medic att:1 hp:7]
+ Assault 2 [Medic att:1 hp:7]
+ Assault 3 [Medic att:1 hp:7]
+ Assault 4 [Medic att:1 hp:7 cd:1]
Commander [Alaric hp:40] Strike (1) on Assault 0 [Medic att:1 hp:7]
Assault 0 [Medic att:1 hp:7] takes 1 damage
Commander [Alaric hp:40] Strike (1) on Assault 1 [Medic att:1 hp:7]
Assault 1 [Medic att:1 hp:7] takes 1 damage
Commander [Alaric hp:40] Strike (1) on Assault 2 [Medic att:1 hp:7]
Assault 2 [Medic att:1 hp:7] takes 1 damage
Commander [Alaric hp:40] Strike (1) on Assault 3 [Medic att:1 hp:7]
Assault 3 [Medic att:1 hp:7] takes 1 damage
Commander [Alaric hp:40] Strike (1) on Assault 4 [Medic att:1 hp:7 cd:1]
Assault 4 [Medic att:1 hp:7 cd:1] takes 1 damage
Evaluating Assault 0 [Dream Mutator att:5 hp:32, jam charge 5] skill Protect all 5
Possible targets of Protect:
+ Assault 0 [Dream Mutator att:5 hp:32, jam charge 5]
Assault 0 [Dream Mutator att:5 hp:32, jam charge 5] Protect (5) on Assault 0 [Dream Mutator att:5 hp:32, jam charge 5]
Evaluating Assault 0 [Dream Mutator att:5 hp:32, jam charge 5, protected 5] skill Jam all 5
Possible targets of Jam:
+ Assault 0 [Medic att:1 hp:6]
+ Assault 1 [Medic att:1 hp:6]
+ Assault 2 [Medic att:1 hp:6]
+ Assault 3 [Medic att:1 hp:6]
+ Assault 4 [Medic att:1 hp:6 cd:1]
Assault 0 [Dream Mutator att:5 hp:32, jam charge 5, protected 5] jams Assault 0 [Medic att:1 hp:6]
Assault 0 [Dream Mutator att:5 hp:32, jam charge 0, protected 5] attacks Assault 0 [Medic att:1 hp:6, jammed] for 5 damage
Assault 0 [Medic att:1 hp:6, jammed] takes 5 damage
TURN 10 ends for Commander [Alaric hp:40]

Jam all stops after jamming first target

Fixed with version 2.4.0

TURN 10 begins for Commander [Alaric hp:40]
Assault 0 [Dream Mutator att:5 hp:32 cd:1, jam charge 5] reduces its timer
Evaluating Commander [Alaric hp:40] skill Enhance Evade all 1
Evaluating Commander [Alaric hp:40] skill Heal righteous 3
Evaluating Commander [Alaric hp:40] skill Strike all 1
Possible targets of Strike:
+ Assault 0 [Medic att:1 hp:7]
+ Assault 1 [Medic att:1 hp:7]
+ Assault 2 [Medic att:1 hp:7]
+ Assault 3 [Medic att:1 hp:7]
+ Assault 4 [Medic att:1 hp:7 cd:1]
Commander [Alaric hp:40] Strike (1) on Assault 0 [Medic att:1 hp:7]
Assault 0 [Medic att:1 hp:7] takes 1 damage
Commander [Alaric hp:40] Strike (1) on Assault 1 [Medic att:1 hp:7]
Assault 1 [Medic att:1 hp:7] takes 1 damage
Commander [Alaric hp:40] Strike (1) on Assault 2 [Medic att:1 hp:7]
Assault 2 [Medic att:1 hp:7] takes 1 damage
Commander [Alaric hp:40] Strike (1) on Assault 3 [Medic att:1 hp:7]
Assault 3 [Medic att:1 hp:7] takes 1 damage
Commander [Alaric hp:40] Strike (1) on Assault 4 [Medic att:1 hp:7 cd:1]
Assault 4 [Medic att:1 hp:7 cd:1] takes 1 damage
Evaluating Assault 0 [Dream Mutator att:5 hp:32, jam charge 5] skill Protect all 5
Possible targets of Protect:
+ Assault 0 [Dream Mutator att:5 hp:32, jam charge 5]
Assault 0 [Dream Mutator att:5 hp:32, jam charge 5] Protect (5) on Assault 0 [Dream Mutator att:5 hp:32, jam charge 5]
Evaluating Assault 0 [Dream Mutator att:5 hp:32, jam charge 5, protected 5] skill Jam all 5
Possible targets of Jam:
+ Assault 0 [Medic att:1 hp:6]
+ Assault 1 [Medic att:1 hp:6]
+ Assault 2 [Medic att:1 hp:6]
+ Assault 3 [Medic att:1 hp:6]
+ Assault 4 [Medic att:1 hp:6 cd:1]
Assault 0 [Dream Mutator att:5 hp:32, jam charge 5, protected 5] jams Assault 0 [Medic att:1 hp:6]
Assault 0 [Dream Mutator att:5 hp:32, jam charge 5, protected 5] jams Assault 1 [Medic att:1 hp:6]
Assault 0 [Dream Mutator att:5 hp:32, jam charge 5, protected 5] jams Assault 2 [Medic att:1 hp:6]
Assault 0 [Dream Mutator att:5 hp:32, jam charge 5, protected 5] jams Assault 3 [Medic att:1 hp:6]
Assault 0 [Dream Mutator att:5 hp:32, jam charge 5, protected 5] jams Assault 4 [Medic att:1 hp:6 cd:1]
Assault 0 [Dream Mutator att:5 hp:32, jam charge 5, protected 5] attacks Assault 0 [Medic att:1 hp:6, jammed] for 5 damage
Assault 0 [Medic att:1 hp:6, jammed] takes 5 damage
TURN 10 ends for Commander [Alaric hp:40]