NETRATz / evaluatedecks

Automatically exported from code.google.com/p/evaluatedecks
0 stars 0 forks source link

Logic error when Laird dies to a flurried Undertaker #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attack deck: Si
2. Defense deck: SiI4
3. Full command used: iteratedecks-cli.exe -vv Si SiI4

What is the expected output? What do you see instead?
After the attack deck dies the following error is kicked out:
Logic error:
Zero attack in ActiveDeck::AttackCommanderOnce!

What version of the product are you using? On what operating system?
iteratedecks-cli 480

Please provide any additional information below.

Here is the output from -vv:

C:\Applications\TyrantSimulator>iteratedecks-cli.exe -vv Si SiI4
Simulation 0 starts
Turn 1 starts
Turn 1 ends
Turn 2 starts
[  3|C "Laird" H:12] picks [  4|U "Undertaker" A:2 H:6 D:3]
Turn 2 ends
Turn 3 starts
Turn 3 ends
Turn 4 starts
Turn 4 ends
Turn 5 starts
Turn 5 ends
Turn 6 starts
Turn 6 ends
Turn 7 starts
Turn 7 ends
Turn 8 starts
[  8|U "Undertaker" A:2 H:6 D:0] begins attack
On Attack [  1|C "Laird" H:12] Weaken 2 [  8|U "Undertaker" A:2 H:6 D:0]
[  1|C "Laird" H:10] suffered 2 damage
[  8|U "Undertaker" A:0 H:6 D:0] ends attack
Turn 8 ends
Turn 9 starts
Turn 9 ends
Turn 10 starts
[  8|U "Undertaker" A:2 H:6 D:0] begins attack
[  8|U "Undertaker" A:2 H:6 D:0] flurries 2
On Attack [  1|C "Laird" H:10] Weaken 2 [  8|U "Undertaker" A:2 H:6 D:0]
[  1|C "Laird" H:8] suffered 2 damage
Logic error:
Zero attack in ActiveDeck::AttackCommanderOnce!

Original issue reported on code.google.com by malats...@gmail.com on 4 Sep 2012 at 3:23

GoogleCodeExporter commented 9 years ago
You forgot to mention whether it was Linux, Windows, or Mac OS. 

Original comment by AnthonyK...@gmail.com on 5 Sep 2012 at 3:47

GoogleCodeExporter commented 9 years ago
Considering the command ends with .exe (which it does neither on linux nor mac) 
its probably windows. There are no official mac releases yet.

Thanks for the report. Its pretty much perfect, only one thing left:
The expected output... (okay... you probably expect it not to crash...) ... 
something like an estimated winrate. (In this example this is trivial, which 
makes it a good example, just writing this for future reference.)

Original comment by fabianku...@web.de on 6 Sep 2012 at 1:00

GoogleCodeExporter commented 9 years ago
I am using Windows 7 SP1.

And yes, expected output is "no crash" ;) I've been trimming down the examples 
to their basic cases as best I can.

Original comment by malats...@gmail.com on 6 Sep 2012 at 2:43

GoogleCodeExporter commented 9 years ago
That one still exists... will be resolved. I wrong-implemented "canAttack()".

Original comment by fabianku...@web.de on 6 Sep 2012 at 9:33