Join: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
Line 80: Line 80:
|  style="padding-left: 0.5em; font-size:90%;" | Over 50% creatures from the same town type.
|  style="padding-left: 0.5em; font-size:90%;" | Over 50% creatures from the same town type.
|}
|}
{{Math|C < M → Creatures will fight}}
{{Math|C < M → Creatures will fight}}<br/><br/>
{{Math|C ≥ M|1. Stack will join for free if S<sub>y</sub> + D ≥ M|2. Stack will join for gold if S<sub>y</sub> + D + 2 ≥ M|3. Stack will fight if S<sub>y</sub> + D + 2 < M|}}
{{Math|C ≥ M |<br/>1. Stack will join for free if S<sub>y</sub> + D ≥ M |<br/> 2. Stack will join for gold if S<sub>y</sub> + D + 2 ≥ M | <br/>3. Stack will fight if S<sub>y</sub> + D + 2 < M|}}<br/><br/>
{{Math|C <nowiki>=</nowiki> S<sub>t</sub> + D + S<sub>y</sub>| C is Charisma value|S<sub>t</sub> is is strength factor |D is [[Diplomacy]] value|S<sub>y</sub> is sympathy value}}
{{Math|H <nowiki>=</nowiki> {{sqrt|(1 + 0,05 &times; A) &times; (1 + 0,05 &times; D)}}|H is hero strength value<br>A is [[Primary skills|attack skill]] value<br>D is [[Primary skills|defense skill]] value}}


{{Math|k <nowiki>=</nowiki> A<sub>TOT</sub> / N | A<sub>TOT</sub> is total army strength|N is neutral army strength}}
{{Math|C <nowiki>=</nowiki> S<sub>t</sub> + D + S<sub>y</sub>|<br/> C is Charisma value |<br/> S<sub>t</sub> is is strength factor |<br/> D is [[Diplomacy]] value |<br/> S<sub>y</sub> is sympathy value}}<br/><br/>


{{Math|AI is sum of all creatures' [[AI value]]}}
{{Math|H <nowiki>=</nowiki> {{sqrt|(1 + 0,05 &times; A) &times; (1 + 0,05 &times; D)}}|<br/>H is hero strength value<br>A is [[Primary skills|attack skill]] value<br>D is [[Primary skills|defense skill]] value}}<br/><br/>
 
{{Math|k <nowiki>=</nowiki> A<sub>TOT</sub> / N |<br/> A<sub>TOT</sub> is total army strength|<br/> N is neutral army strength}}<br/><br/>
 
{{Math|AI is sum of all creatures' [[AI value]]}}<br/><br/>
{{Math|A<sub>TOT</sub> }}
{{Math|A<sub>TOT</sub> }}


<!--
<!--
Line 99: Line 102:
| style="padding-left: 0.5em; font-size:90%;" | Total number of creatures of the same kind as neutrals in hero's army (including upgrades as in paragraphs above) compromises more then 50% of the army.  
| style="padding-left: 0.5em; font-size:90%;" | Total number of creatures of the same kind as neutrals in hero's army (including upgrades as in paragraphs above) compromises more then 50% of the army.  
!-->
!-->
== External links ==
== External links ==
* [http://heroescommunity.com/viewthread.php3?TID=28341 Thread: Diplomacy internals on Heroes Community]]
* [http://heroescommunity.com/viewthread.php3?TID=28341 Thread: Diplomacy internals on Heroes Community]]

Revision as of 09:31, 13 December 2017

Joining is a feature where a stack of wandering creatures are willing to become a part of hero's army for free or in exchange for gold. Whether or not the stack will join depends on several factors, but basically if the hero's charisma value (C) is lower than creature stack's mood value (M) the creatures will fight. If charisma is greater there are three possible outcomes:

  1. the stack will join for free,
  2. the stack will join for gold, or
  3. the stack will fight.

In other words, if the charisma value is greater than mood value there is a possibility that the stack will join, but they may still be willing to fight.

Calculation and factors

Mood values
M Aggression:
-4 Compliant
1–7 Friendly
1–10 Aggressive
4–10 Hostile
10 Savage
Strength values
St k
11 k ≥ 7
2 × (k-1)* 1 ≤ k < 7
-1 0,5 ≤ k < 1
-2 0,333 ≤ k < 0,5
-3 k < 0,333
* rounded down
Diplomacy values
D Level of Diplomacy
1 No Diplomacy skill
2 Basic level Diplomacy
3 Advanced level Diplomacy
4 Expert level Diplomacy
Sympathy values
Sy Sympathy description
0 No creatures from the same town type.
1 At least one creature from the same town type.
2 Over 50% creatures from the same town type.

C < M → Creatures will fight

C ≥ M
1. Stack will join for free if Sy + D ≥ M

2. Stack will join for gold if Sy + D + 2 ≥ M

3. Stack will fight if Sy + D + 2 < M


C = St + D + Sy
C is Charisma value

St is is strength factor

D is Diplomacy value

Sy is sympathy value


H = (1 + 0,05 × A) × (1 + 0,05 × D)
H is hero strength value
A is attack skill value
D is defense skill value


k = ATOT / N
ATOT is total army strength

N is neutral army strength


AI is sum of all creatures' AI value

ATOT


External links