MantisBT - VCMI
View Issue Details
0000119VCMIMechanics - Objectspublic2009-10-06 10:112013-06-10 12:17
Steven Aus 
Warmonger 
lowfeaturealways
resolvedfixed 
0.74 
0.82 
0000119: Random Artifact and Reward Artifact Placement Rules
When filling random artifact slots in a certain game, or deciding on what random artifacts can be given out by defeating a certain map site (or are given in Treasure Chests, Shipwreck Survivors or other pickups like Flotsams, first visit of Wagons etc.):

1. All of one class of random artifact must be placed before one artifact gets repeated in a random slot;
2. if for some reason there are even more, all of them must appear twice before a third placing of one particular artifact in a random artifact slot or as reward is done by the game;
3. non-random artifacts placed on the map by the map-maker don't count when deciding what artifact to put in random artifact slots. The game rations the number of times a particular artifact (like a "Rib Cage" or a "Sandals of the Saint") appears in a random artifact slot (the random artifact slots of a particular power of artifact are set and placed by the map-maker in the editor);
4. (i) artifacts banned in the SoD/WoG editor never appear in a random artifact or as a random artifact reward slot for map sites that give out random artifacts (although even if combination artifacts are banned, they may still be assembled if all the pieces of that combo are available from random artifacts and/or specifically placed by the map-maker);
   (ii) also banned are artifacts that are the requirements for any Seer Hut, Quest Guard or Special Victory Condition.
(All the artifacts in rule 4 are considered banned from any random artifact slot, or any map site or pickup that can possibly give random artifact/s.)

So in H3 when a particular game is starting up the number of duplicate random artifacts in random artifact slots is always minimised by the above rules, and any game-breaking artifacts are excluded.

Phew! =) If there are any conditions I've missed, please add notes to this issue - but I'm pretty sure these are all the ones that currently apply in standard H3 Complete/SoD. :)
No tags attached.
related to 0000433closed Warmonger VCMI not respect the setting in mapeditor which artifacts should not appear on the map. 
related to 0000128closed Warmonger Default for RoE and AB maps to not have combination artifact appear as random relic class artifacts - like the default in SoD. 
Issue History
2009-10-06 10:11Steven AusNew Issue
2009-10-06 10:19WarmongerNote Added: 0000054
2009-10-06 10:19WarmongerAssigned To => Warmonger
2009-10-06 10:19WarmongerPrioritynormal => low
2009-10-06 10:19WarmongerStatusnew => assigned
2009-10-06 22:11ZamolxisDescription Updated
2009-10-24 19:22WarmongerNote Added: 0000158
2009-10-24 19:23WarmongerStatusassigned => feedback
2009-10-25 10:43Steven AusNote Added: 0000159
2009-11-28 07:56WarmongerCategoryMechanics - Other => Mechanics - Objects
2010-03-04 19:32WarmongerRelationship addedrelated to 0000433
2010-06-28 05:09WarmongerStatusfeedback => assigned
2010-06-28 06:12WarmongerNote Added: 0000992
2010-06-28 06:12WarmongerStatusassigned => resolved
2010-06-28 06:12WarmongerFixed in Version => 0.89
2010-06-28 06:12WarmongerResolutionopen => fixed
2011-05-28 19:43ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=82#r82
2012-01-23 06:44WarmongerRelationship addedhas duplicate 0000853
2012-01-23 06:44WarmongerRelationship deletedhas duplicate 0000853
2013-06-10 12:17ZamolxisRelationship addedrelated to 0000128

Notes
(0000054)
Warmonger   
2009-10-06 10:19   
1. and 2. can be easily handled, 3. and 4. are not yet implemented.
(0000158)
Warmonger   
2009-10-24 19:22   
Implemented for all adventure objects, it's more complicated for free random artifacts.
(0000159)
Steven Aus   
2009-10-25 10:43   
Congratulations on your progress, it is an important step. =) Do you or the VCMI Team have some idea when the next release or development version is coming, or not sure yet (due to Tow and Tow dragon being back at their university studies and having less free time)?
(0000992)
Warmonger   
2010-06-28 06:12   
Fixed in r1620