MantisBT - VCMI
View Issue Details
0000726VCMIMechanics - Battlespublic2011-05-12 04:412017-07-20 15:49
Warmonger 
FeniksFire 
normalfeaturealways
resolvedfixed 
PCWindows 7vanillia
0.84 
1.next 
0000726: Moat does no damage to creatures during siege
Hopefully it's clear how it should work.

I see you're working on battlefield obstacles, so it may be a good time to add this feature.
No tags attached.
related to 0001716closed Ivan No mines during siege of Tower with built Castle 
related to 0002577closed FeniksFire moat deals damage when open gates 
Issue History
2011-05-12 04:41WarmongerNew Issue
2011-05-12 04:41WarmongerStatusnew => assigned
2011-05-12 04:41WarmongerAssigned To => Tow dragon
2015-03-11 17:24SXXNote Added: 0005620
2015-03-11 17:25SXXRelationship addedrelated to 0001716
2015-12-29 10:55SXXAssigned ToTow dragon =>
2015-12-29 10:55SXXStatusassigned => confirmed
2016-01-06 13:47SXXNote Added: 0006251
2016-01-06 14:21SXXNote Edited: 0006251bug_revision_view_page.php?bugnote_id=6251#r3097
2016-01-29 20:39SXXAssigned To => SXX
2016-01-29 20:39SXXStatusconfirmed => assigned
2017-07-20 15:49SXXNote Added: 0007150
2017-07-20 15:49SXXStatusassigned => resolved
2017-07-20 15:49SXXFixed in Version => 1.next
2017-07-20 15:49SXXResolutionopen => fixed
2017-07-20 15:49SXXAssigned ToSXX => FeniksFire
2017-07-20 15:49SXXRelationship addedrelated to 0002577

Notes
(0005620)
SXX   
2015-03-11 17:24   
Moat still need attention. Currently it's not yet work correctly:
1 - In VCMI it's only does damage once when creature step into it, but in H3 it's apply damage on each turn while creature stays in it.
2 - Tower mines likely not implemented or broken. E.g they show damage animation each time, but do zero damage.
(0006251)
SXX   
2016-01-06 13:47   
(edited on: 2016-01-06 14:21)
One more moat specific: currently code that handle damage from obstacle only apply damage from one obstacle. In same time in H3 it's possible to get damage from both moat and placed obstacle. Though there is different issue that prevent you from placing it like that: 0002366

Other important note: in case of Fortress there huge creatures may step in two hexes of moat simultaneously. In this case they only get damage from moat once.

So if you place Fire Wall in Fortress moat twice and then move large creature here then creature will be damaged 3 times: once from moat (even if standing on two moat hexes) and twice by Fire Wall (once for each hex with Fire Wall).

And one more important specific. Creature get damage from obstacles on end of each movement. So if creature get 2nd movement with good morale and remain in moat it's will get damage second time

(0007150)
SXX   
2017-07-20 15:49   
Mostly everything implemented now.