Join: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Fixed formatting for the formulas)
m (Clean up page)
Line 9: Line 9:
== Calculation and factors ==   
== Calculation and factors ==   
{| class="wikitable" style="margin: 0 0 0 1em; float:right; width:400px;"
{| class="wikitable" style="margin: 0 0 0 1em; float:right; width:400px;"
! colspan=2 style="border-bottom: 1px solid black;" | Mood values
! colspan=2 style="border-bottom: 1px solid black;" | Mood values (M)
|-  
|-  
|  style="padding-left: 0.5em; width:75px;" | '''M'''
|  style="padding-left: 0.5em; width:75px;" | '''M'''
Line 28: Line 28:
|  style="padding-left: 0.5em;" | 10
|  style="padding-left: 0.5em;" | 10
|  style="padding-left: 0.5em;" | Savage
|  style="padding-left: 0.5em;" | Savage
|-  
 
! colspan=2 style="border-bottom: 1px solid black;" | Strength values
|-
! colspan=2 style="border-bottom: 1px solid black;" | Strength values (S<sub>t</sub>)
|-
|-
|  style="padding-left: 0.5em;" | '''S<sub>t</sub>'''
|  style="padding-left: 0.5em;" | '''S<sub>t</sub>'''
|  style="padding-left: 0.5em;" | '''k'''
|  style="padding-left: 0.5em;" | '''k (see equation to left)'''
|-
|-
|  style="padding-left: 0.5em;" | 11
|  style="padding-left: 0.5em;" | 11
Line 50: Line 51:
|-  
|-  
| colspan=2 style="padding-left: 0.5em;" | <sup>''* rounded down''</sup>
| colspan=2 style="padding-left: 0.5em;" | <sup>''* rounded down''</sup>
|-  
|-  
! colspan=2 style="border-bottom: 1px solid black;" | Diplomacy values
! colspan=2 style="border-bottom: 1px solid black;" | Diplomacy values (D)
|-
|-
|  style="padding-left: 0.5em;" | '''D'''
|  style="padding-left: 0.5em;" | '''D'''
Line 67: Line 69:
|  style="padding-left: 0.5em;" | 4
|  style="padding-left: 0.5em;" | 4
|  style="padding-left: 0.5em;" | Expert level [[Diplomacy]]
|  style="padding-left: 0.5em;" | Expert level [[Diplomacy]]
|-
|-
! colspan=2 style="border-bottom: 1px solid black;" | Sympathy values
! colspan=2 style="border-bottom: 1px solid black;" | Sympathy values (S<sub>y</sub>)
|-
|-
|  style="padding-left: 0.5em;" | '''S<sub>y</sub>'''
|  style="padding-left: 0.5em;" | '''S<sub>y</sub>'''
Line 82: Line 85:
|  style="padding-left: 0.5em; font-size:90%;" | Over 50% creatures from the same creature type.
|  style="padding-left: 0.5em; font-size:90%;" | Over 50% creatures from the same creature type.
|}
|}
{{Math|C < M → Creatures will fight}}<br/><br/>
{{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>|<br/> C is Charisma value |<br/> S<sub>t</sub> is is strength factor |<br/> D is [[Diplomacy]] value (add +1 if playing on Easy difficulty and not having Expert Diplomacy) |<br/> S<sub>y</sub> is sympathy value}}<br/><br/>
=== Possible Creature Actions ===
{{Math|C < M → Creatures will fight|<br/>{{---}}• C is the Charisma value (see equation below) |<br/>{{---}}• M is the Mood value (see chart on right)}}
 
 
{{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|}}
 
=== Supporting Equations ===
{{Math|C <nowiki>=</nowiki> S<sub>t</sub> + D + S<sub>y</sub>|<br/>{{---}}• S<sub>t</sub> is is strength factor (see table to right) |<br/>{{---}}• D is [[Diplomacy]] value (see table to right) (add +1 if playing on Easy difficulty and not having Expert Diplomacy) |<br/>{{---}}• S<sub>y</sub> is sympathy value (see table to right)}}
 


{{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> H &times; Hero army Strength</sub> / AI army Strength|<br/>{{---}}• H is hero strength value (see equation below) |<br/>{{---}}• NOTE: The army strength is the sum of AI creature values.}}


{{Math|k <nowiki>=</nowiki> H &times; Hero army Strength</sub> / AI army Strength|
<br/> The army strength is the sum of AI creature values.}}


{{Math|H <nowiki>=</nowiki> {{sqrt|(1 + 0,05 &times; A) &times; (1 + 0,05 &times; D)}}|<br>{{---}}• A is the hero's [[Primary skills|attack skill]] value<br>{{---}}• D is the hero's [[Primary skills|defense skill]] value}}


<!--
<!--

Revision as of 18:22, 1 November 2024

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.

The creature mood is a set by the map creator. The default map setting is "Aggressive", giving a random mood value between 1 and 10.

Calculation and factors

Mood values (M)
M Aggression:
-4 Compliant
1–7 Friendly
1–10 Aggressive
4–10 Hostile
10 Savage
Strength values (St)
St k (see equation to left)
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)
D Level of Diplomacy
1 No Diplomacy skill
2 Basic level Diplomacy
3 Advanced level Diplomacy
4 Expert level Diplomacy
Sympathy values (Sy)
Sy Sympathy description
0 No creatures from the same creature type.
1 At least one creature from the same creature type.
2 Over 50% creatures from the same creature type.

Possible Creature Actions

C < M → Creatures will fight
   • C is the Charisma value (see equation below)

   • M is the Mood value (see chart on right)


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

Supporting Equations

C = St + D + Sy
   • St is is strength factor (see table to right)

   • D is Diplomacy value (see table to right) (add +1 if playing on Easy difficulty and not having Expert Diplomacy)

   • Sy is sympathy value (see table to right)


k = H × Hero army Strength / AI army Strength
   • H is hero strength value (see equation below)

   • NOTE: The army strength is the sum of AI creature values.


H = (1 + 0,05 × A) × (1 + 0,05 × D)
   • A is the hero's attack skill value
   • D is the hero's defense skill value


External links