Connection ErrorBad RequestThis page went staleSession ExpiredSign in requiredForbiddenNot FoundToo Many RequestsServer ErrorBad GatewayService UnavailableGateway TimeoutHTTP Version Not Supported
Session Expired
Your session has expired. Please log in to continue.
Sign in required
You need an account to do that. Sign in or create one — it only takes a minute.
This page went stale
Your security token was rejected, usually because the page sat open too long or you signed in elsewhere. Nothing was saved. Reload the page and try again.
Request Failed
We encountered an issue while processing your request.
Please check your internet connection and try again.
Error Details:
Share Link
A program for determining luck/morality in Heroes 3!
2VDV_forever: The traffic light for HoMM I 1.1 will probably be ready by the end of the week.
Here's some interesting information:
The probability of luck occurring (both positive and negative) is 1/12 (+1/-1), 2/12 (+2/-2), 3/12 (+3/-3), which is twice as high as the probability of morale!
The probability of negative morale occurring is -n/12 (n=-1, -2, -3), but in some cases, there is still a 25% chance of avoiding negative morale, even if it should have occurred.
R does not change when skipping a turn, casting a spell, or during the turn of enemy units if they are not attacking.
R changes when attacking (either your unit or the enemy, the number of changes depends on the level and the number of units on both the attacking and defending sides), as well as after the turn (not an attack) of your unit.
It is impossible to repeat the battle based on the description (I tested battles without a Hero on the enemy side).