MantisBT - VCMI
View Issue Details
0000979VCMIMechanics - Battlespublic2012-05-26 17:582014-05-30 17:41
Ivan 
Warmonger 
normalminoralways
closedfixed 
x86_64Ubuntu Linux12.04 (precise)
 
0.9 
0000979: Summon elementals does not works
As in description. I can hear sound but no animation or appearing creatures. Affects all 4 elements.
No tags attached.
Issue History
2012-05-26 17:58IvanNew Issue
2012-05-26 18:02WarmongerAssigned To => Warmonger
2012-05-26 18:02WarmongerStatusnew => assigned
2012-05-26 19:12WarmongerNote Added: 0002569
2012-05-26 19:27IvanNote Added: 0002570
2012-05-27 14:55majaczekNote Added: 0002575
2012-05-27 15:00WarmongerNote Added: 0002577
2012-05-27 15:00WarmongerNote Edited: 0002577bug_revision_view_page.php?bugnote_id=2577#r1672
2012-06-09 19:24WarmongerNote Added: 0002642
2012-06-09 19:24WarmongerStatusassigned => resolved
2012-06-09 19:24WarmongerFixed in Version => 0.9
2012-06-09 19:24WarmongerResolutionopen => fixed
2014-05-30 17:41beegeeStatusresolved => closed

Notes
(0002569)
Warmonger   
2012-05-26 19:12   
I just tested it on VCMI_tests_2011b with Sir Mullich and it worked fine, at least for Water Elementals.
(0002570)
Ivan   
2012-05-26 19:27   
Ok. It looks that water element is the only one that works. 3 other fail with no place found error:

CStupidAI [0x7f5c863fd380]: battleStart called
CStupidAI [0x7f5c863fd380]: battleNewRoundFirst called
CStupidAI [0x7f5c863fd380]: battleNewRound called
CStupidAI [0x7f5c863fd380]: actionStarted called
No place found for new stack!
CStupidAI [0x7f5c863fd380]: battleNewStackAppeared called
CStupidAI [0x7f5c863fd380]: battleSpellCast called
CStupidAI [0x7f5c863fd380]: actionFinished called

And water elements are placed incorrectly - they're partially outside from battlefield.
(0002575)
majaczek   
2012-05-27 14:55   
Bingo! It tries to spawn it outside battlefield - but work for Water Elemental since it is only two-hex summon.
(0002577)
Warmonger   
2012-05-27 15:00   
Yes, but it doesn't explain the problem. I would like someone to explain why getting free hexes is so much complicated and not reusable :P

(0002642)
Warmonger   
2012-06-09 19:24   
Fixed in r2479.