Editing Template Editor

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1,305: Line 1,305:
Then, as long as the value sum '''group_value''' of already generated objects meets one of the conditions '''total_value - group_value >= 1500''' or '''group_value < total_value / 2''', another object with a value between '''0.25*(total_value - group_value)''' and '''1.25*(total_value - group_value)''' is randomly selected and added to the group. This process is repeated until none of the 2 conditions are met, or no valid object can be found within the requested value range. Object groups can be made of a single object.
Then, as long as the value sum '''group_value''' of already generated objects meets one of the conditions '''total_value - group_value >= 1500''' or '''group_value < total_value / 2''', another object with a value between '''0.25*(total_value - group_value)''' and '''1.25*(total_value - group_value)''' is randomly selected and added to the group. This process is repeated until none of the 2 conditions are met, or no valid object can be found within the requested value range. Object groups can be made of a single object.


In HotA strength of treasure object guards that can block the road is limited to one third of zone maximum treasure value (possible bug - it looks like right now the limit is rather ~42,25% instead of 33%. Also take into an account, that number of creatures will always be lower than final value, f.e. if max value in zone is 10000, then max road block is ~4225. However, 76 pixies * 55 = 4180 < 4225, so pixies will block the road).
In HotA strength of treasure object guards that can block the road is limited to one third of zone maximum treasure value (possible bug - it looks like right now the limit is rather 42,25% instead of 33%. Also take into an account, that number of creatures will always be lower than final value, f.e. if max value in zone is 10000, then max road block is ~4225. However, 76 pixies * 55 = 4180 < 4225, so pixies will block the road).


=== Objects and Connections Guards ===
=== Objects and Connections Guards ===
Please note that all contributions to Heroes 3 wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Templates used on this page: