MantisBT - VCMI
View Issue Details
0002339VCMIMechanics - Objectspublic2015-11-28 19:342016-02-17 08:38
SXX 
SXX 
normalminoralways
resolvedfixed 
0.98e 
0.98g 
0002339: Placed event: disappear after first visit even if it's marked as permanent
Important note about H3 behaviour: if permanent placed event have guards they disappear once killed once. So event apply every time, but guards only till killed.
No tags attached.
duplicate of 0001857resolved SXX Cannot revisit Events marked as such 
? EventTest.h3m (4,092) 2016-02-16 21:37
https://bugs.vcmi.eu/file_download.php?file_id=2459&type=bug
Issue History
2015-11-28 19:34SXXNew Issue
2015-11-28 19:34SXXStatusnew => assigned
2015-11-28 19:34SXXAssigned To => SXX
2015-11-28 20:11SXXNote Added: 0006129
2015-11-28 20:11SXXStatusassigned => resolved
2015-11-28 20:11SXXFixed in Version => 0.98f
2015-11-28 20:11SXXResolutionopen => fixed
2015-11-28 20:14SXXSummaryPlaced event disappear after first visit even if it's marked as permanent => Placed event: disappear after first visit even if it's marked as permanent
2015-12-24 12:39SXXRelationship addedduplicate of 0001857
2016-02-16 21:37KantorFile Added: EventTest.h3m
2016-02-16 21:38KantorNote Added: 0006429
2016-02-16 21:38KantorStatusresolved => feedback
2016-02-16 21:38KantorResolutionfixed => reopened
2016-02-17 08:11SXXNote Added: 0006430
2016-02-17 08:11SXXStatusfeedback => assigned
2016-02-17 08:11SXXNote Deleted: 0006430
2016-02-17 08:16SXXNote Added: 0006431
2016-02-17 08:38SXXNote Added: 0006433
2016-02-17 08:38SXXStatusassigned => resolved
2016-02-17 08:38SXXFixed in Version0.98f => 0.98g
2016-02-17 08:38SXXResolutionreopened => fixed

Notes
(0006129)
SXX   
2015-11-28 20:11   
https://github.com/vcmi/vcmi/commit/ce5b7c73be320c742b4c2f0464eb7e6b911c8190 [^]
(0006429)
Kantor   
2016-02-16 21:38   
This one is still an issue.
(0006431)
SXX   
2016-02-17 08:16   
Ok it's looks like that specific to creature set. CGEvent based on CGPandoraBox that simply pass it's own creature set so if you take creature it's no longer belong to map object.

So event is not removed, but it's simply don't have creatures to give you.

Nice catch!
(0006433)
SXX   
2016-02-17 08:38   
Ok it's was a bit different problem than what I was thinking about.
Now it's fixed:
https://github.com/vcmi/vcmi/commit/07961766ca1a9461ef2b7d6d3a744ec49395cfdd [^]