Can they flee or join, along with being Wild? Because GSC somehow manages to generate guards on the map that never attack, but can flee...
Step 2 - Will they join the battle or not?
The so-called "Mood Coefficient" depends on the value of the neutral army's Mood and the presence of the "Diplomacy" skill in the hero. This coefficient will be compared with the value of the Power Ratio after certain random transformations. If the neutral army is stronger than the hero's army, there will be a battle.
» Mood Coefficient = 0.5 if the Mood value is Friendly
» Mood Coefficient = 1.0 if the Mood value is Aggressive
» Mood Coefficient = 1.5 if the Mood value is Hostile
» Mood Coefficient = 2.0 if the Mood value is Wild
» If the hero has the "Diplomacy" skill, the Mood Coefficient is reduced by 0.2.
The boundaries of the intervals for joining and entering into battle are calculated based on the Mood Coefficient, and then compared with the Power Ratio:
Joining Threshold = (random number from 1 to 7) * Mood Coefficient
Battle Threshold = Joining Threshold + 3 * Mood Coefficient
» Interval 1: If the Power Ratio < Joining Threshold, the neutral army enters into battle.
» Interval 2: If Joining Threshold < Power Ratio < Battle Threshold, the neutral army joins for money.
» Interval 3: If the Power Ratio > Battle Threshold, the neutral army joins for free.
» If the neutral army "fails" the chance to join, it flees (if the Power Ratio is in the 3rd interval) or enters into battle (if the Power Ratio is in the 2nd interval).
Something like that.
NHF 0.90 : NHF - группа в VK
Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...