MantisBT - VCMI
View Issue Details
0000476VCMIMechanics - Adventure Mappublic2010-05-30 20:382022-04-12 09:17
Zamolxis 
SXX 
normalminoralways
closedfixed 
AMD 5600+WindowsXP SP3
0.8b 
0.98f 
0000476: Fly does not ignore all obstacles when there's a reasonably alternative available on land (+ other issues with the Fly spell)
- Fly does not take the shortest, straight path, regardless of whatever terrain and objects are on the way (see first screenshots)
- Fly does not take care we land on a terrain patch which allows movement, if the destination we give is a hero/moster/gate/etc we are trying to attack (see 5th screenshot, hero ends up in water)
- Most tiles of a town seem available for a hero after we have casted Fly (see 6th screenshot). Instead, we should still get the town-image cursor for all tiles, except town gate (if not occupied).
Take Sir Mullich in the map attached to 0000327 (he has all spells) and Fly around a bit. :)
EDIT: There seems to be a similar impact on Water Walk. I'm not going to create a different report for that, but if you play around with Sir Mullich in the map from 0000327 (especially after End Turn) you'll probably see what I mean.
No tags attached.
related to 0000889closed SXX Angel Wings don't work anymore 
jpg 2010-05-30_VCMIFly.jpg (14,913) 2010-05-30 21:35
https://bugs.vcmi.eu/file_download.php?file_id=380&type=bug
jpg

jpg 2010-05-30_H3Fly.jpg (10,880) 2010-05-30 21:35
https://bugs.vcmi.eu/file_download.php?file_id=381&type=bug
jpg

jpg fly_OH3.jpg (27,241) 2010-06-01 08:11
https://bugs.vcmi.eu/file_download.php?file_id=385&type=bug
jpg

jpg fly_VCMI.jpg (30,537) 2010-06-01 08:11
https://bugs.vcmi.eu/file_download.php?file_id=386&type=bug
jpg

jpg 2010-06-01_VCMI08bFly.jpg (73,537) 2010-06-01 09:45
https://bugs.vcmi.eu/file_download.php?file_id=391&type=bug
jpg

jpg 2010-06-01_VCMI08bFlyHorsy.jpg (41,046) 2010-06-01 09:45
https://bugs.vcmi.eu/file_download.php?file_id=392&type=bug
jpg
Issue History
2010-05-30 20:38ZamolxisNew Issue
2010-05-30 21:35ZamolxisFile Added: 2010-05-30_VCMIFly.jpg
2010-05-30 21:35ZamolxisFile Added: 2010-05-30_H3Fly.jpg
2010-05-30 21:48ZamolxisAdditional Information Updatedbug_revision_view_page.php?rev_id=853#r853
2010-06-01 08:11BoulieNote Added: 0000903
2010-06-01 08:11BoulieFile Added: fly_OH3.jpg
2010-06-01 08:11BoulieFile Added: fly_VCMI.jpg
2010-06-01 09:44ZamolxisSummaryFly does not ignore all obstacles when there's a reasonably alternative available on land (but it ends up costing extra MP) => Fly does not ignore all obstacles when there's a reasonably alternative available on land (+ other issues with the Fly spell)
2010-06-01 09:44ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=856#r856
2010-06-01 09:45ZamolxisFile Added: 2010-06-01_VCMI08bFly.jpg
2010-06-01 09:45ZamolxisFile Added: 2010-06-01_VCMI08bFlyHorsy.jpg
2012-03-01 14:36WarmongerRelationship addedrelated to 0000889
2015-03-12 18:02SXXAssigned To => SXX
2015-03-12 18:02SXXStatusnew => assigned
2015-11-24 10:26SXXNote Added: 0006105
2015-11-24 10:26SXXStatusassigned => resolved
2015-11-24 10:26SXXFixed in Version => 0.98f
2015-11-24 10:26SXXResolutionopen => fixed
2022-04-12 09:17PovelitelStatusresolved => closed

Notes
(0000903)
Boulie   
2010-06-01 08:11   
Similar situation is with ignoring guards. Attached screenshots
(0006105)
SXX   
2015-11-24 10:26   
Fixed together with 0000889.

Though pathfinder always use cheapest path and not shortest one. E.g if flying over terrain take less MP it's will be preferable. Cost calculations are imperfect at moment.