MantisBT - VCMI
View Issue Details
0000464VCMIMechanics - Battlespublic2010-05-29 13:372010-07-07 22:07
Zamolxis 
Tow 
normalmajoralways
closedfixed 
AMD 5600+Windows XPSP3
0.8b 
 
0000464: Enemy creature order in battle is not according to their speeds (battle queue is correct at start, but not followed)
I believe this came with 0.8b only. Take Sir Mullich in the map attached to 0000327 and attack the blue player above him.

Step 1. Battle starts, creature queue correctly displayed on top: http://i4.photobucket.com/albums/y104/Zamolxis/VCMI/VCMI%2008/2010-05-29_Step1_SeeGargoyle.jpg [^]

Step 2. After Phoenix attacked Gremlins, the Gargoyles suddenly attacked the Phoenix and were killed in retaliation: http://i4.photobucket.com/albums/y104/Zamolxis/VCMI/VCMI%2008/2010-05-29_Step2_GargoyleAttackedAf.jpg [^]

Step 3. Crystal Dragon kills Gremlins, but before Faerie's Dragon turn, Stone Golems suddenly move out of turn: http://i4.photobucket.com/albums/y104/Zamolxis/VCMI/VCMI%2008/2010-05-29_Step3_GolemMovedAfterCry.jpg [^]

Notice in the last screenshot also the battle queue:
- After the Golem moved out of turn, its position changed in the queue from before the Balista to after the Tent
- The Nomad is 4th in the list, but appears again immediately after Phoenix in the next round (which makes me think this bug doesn't affect only the enemy creatures actually). EDIT: Though this is just a temporary bug. Once the next turn starts (Phoenix's move) the order for all creatures gets reset again in the queue.
EDIT: Most probably related to this bug is also the following:

If you take Inteus in the same map, and you attack the Orange player below him, the Magic Elementals in your army will get the 1st move, in spite of the fact that the enemy has the higher speed Phoenix in its army.

It seems that the creature turns simply alternate between the two armies at start, while later on the creatures which moved out of turn get a 2nd turn before the end of the round.
No tags attached.
Issue History
2010-05-29 13:37ZamolxisNew Issue
2010-05-29 13:37ZamolxisStatusnew => assigned
2010-05-29 13:37ZamolxisAssigned To => Tow dragon
2010-05-29 13:49ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=744#r744
2010-05-30 13:14ZamolxisAdditional Information Updatedbug_revision_view_page.php?rev_id=839#r839
2010-05-30 18:30ZamolxisAdditional Information Updatedbug_revision_view_page.php?rev_id=845#r845
2010-05-31 20:42TowNote Added: 0000898
2010-05-31 20:42TowStatusassigned => resolved
2010-05-31 20:42TowResolutionopen => fixed
2010-05-31 20:42TowAssigned ToTow dragon => Tow
2010-07-07 22:07ZamolxisNote Added: 0001033
2010-07-07 22:07ZamolxisStatusresolved => closed

Notes
(0000898)
Tow   
2010-05-31 20:42   
Fixed in r1592.
Creature speed calculation was wrong and when picking next stack to move it behaved as all if creatures had speed 0.
(0001033)
Zamolxis   
2010-07-07 22:07   
Verified as fixed in 0.81