Join: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
m (spelling)
m (Standardize decimal with the rest of the wiki)
 
(14 intermediate revisions by 8 users not shown)
Line 1: Line 1:
'''Joining''' is a feature where a stack of [[wandering creature]]s 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 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:
'''Joining''' is a feature where a stack of [[wandering creature]]s 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, explained below.
# the stack will join for free,
# the stack will join for gold, or
# the stack will fight.
In other words, even if the charisma value is greater than mood value, the stack of wandering creatures may still be willing to fight.


== Calculation and factors ==   
== Calculation and factors ==   
{| cellspacing=0 cellpadding=1 style="border: 0.5px solid black; width:400px; float:right;"
{| class="wikitable" style="margin: 0 0 0 1em; float:right; width:400px;"
| colspan=2 align=center bgcolor={{Grey 3}} style="border-bottom: 1px solid black;" | '''Mood values'''
! colspan=2 | Mood values (M)
|-
| colspan=2 style="padding-left: 0.5em; font-size:90%;" | A value that is set by the map creator for each wandering monster.<br>• Default level is 'Aggressive'.<br>• If the M-value is a range, a random number is picked at the beginning of the battle.
|-  
|-  
| style="padding-left: 0.5em; width:75px;" | '''M'''
! style="padding-left: 0.5em; width:75px;" | M
| style="padding-left: 0.5em;" | '''Aggression:'''
! style="padding-left: 0.5em;" | Aggression level
|-  
|-  
|  style="padding-left: 0.5em;" | -4
|  style="padding-left: 0.5em;" | -4
Line 26: Line 24:
|  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="background-color:darkgray;" |
|-
! colspan=2 | Sympathy values (S<sub>y</sub>)
|-
| colspan=2 style="padding-left: 0.5em; font-size:90%;" | How many of the hero's creatures are from the same creature type as the wandering creature (upgraded does not matter)?<br>• Exception: Water/Ice, Fire/Energy and Earth/Magma Elemental upgrades count as different types.
|-
!  style="padding-left: 0.5em;" | S<sub>y</sub>
!  style="padding-left: 0.5em;" | Sympathy description
|-
|  style="padding-left: 0.5em;" | 0
|  style="padding-left: 0.5em; font-size:90%;" | Zero
|-
|  style="padding-left: 0.5em;" | 1
|  style="padding-left: 0.5em; font-size:90%;" | At least one
|-  
|-  
| colspan=2 align=center bgcolor={{Grey 3}} style="border-top: 1px solid black; border-bottom: 1px solid black;" | '''Strength values'''
| style="padding-left: 0.5em;" | 2
style="padding-left: 0.5em; font-size:90%;" | Over 50% of the hero's creatures
|}
 
{| class="wikitable" style="margin: 0 0 0 1em; float:right; width:400px;"
|-
|-
| style="padding-left: 0.5em;" | '''S<sub>t</sub>'''
! colspan=2 | Strength values (S<sub>t</sub>)
| style="padding-left: 0.5em;" | '''k'''
|-
| colspan=2 style="padding-left: 0.5em; font-size:90%;" | A value based on the relative strength of the 2 armies (See equation for 'k' to left).<br>• '*' means rounded down''
|-
!  style="padding-left: 0.5em;" | S<sub>t</sub>
! style="padding-left: 0.5em;" | k
|-
|-
|  style="padding-left: 0.5em;" | 11
|  style="padding-left: 0.5em;" | 11
Line 39: Line 61:
|-  
|-  
|  style="padding-left: 0.5em;" | -1
|  style="padding-left: 0.5em;" | -1
|  style="padding-left: 0.5em;" | 0,5 ≤ k < 1
|  style="padding-left: 0.5em;" | 0.5 ≤ k < 1
|-  
|-  
|  style="padding-left: 0.5em;" | -2
|  style="padding-left: 0.5em;" | -2
|  style="padding-left: 0.5em;" | 0,333 ≤ k < 0,5
|  style="padding-left: 0.5em;" | 0.333 ≤ k < 0.5
|-  
|-  
|  style="padding-left: 0.5em;" | -3
|  style="padding-left: 0.5em;" | -3
|  style="padding-left: 0.5em;" | k < 0,333
|  style="padding-left: 0.5em;" | k < 0.333
 
|-
| colspan=2 style="background-color:darkgray;" |
|-  
|-  
| colspan=2 style="padding-left: 0.5em;" | <sup>''* rounded down''</sup>
! colspan=2 | Diplomacy values (D)
|-  
|-
| colspan=2 align=center bgcolor={{Grey 3}} style="border-top: 1px solid black; border-bottom: 1px solid black;" | '''Diplomacy values'''
| colspan=2 style="padding-left: 0.5em; font-size:90%;" | The level of the Diplomacy skill.<br>• Add +1 if playing on Easy difficulty and not having Expert Diplomacy
|-
|-
| style="padding-left: 0.5em;" | '''D'''
! style="padding-left: 0.5em;" | D
| style="padding-left: 0.5em;" | '''Level of Diplomacy'''
! style="padding-left: 0.5em;" | [[Diplomacy]] level
|-
|-
|  style="padding-left: 0.5em;" | 1
|  style="padding-left: 0.5em;" | 1
Line 65: Line 90:
|  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 align=center bgcolor={{Grey 3}} style="border-top: 1px solid black; border-bottom: 1px solid black;" | '''Sympathy values'''
|-
|  style="padding-left: 0.5em;" | '''S<sub>y</sub>'''
|  style="padding-left: 0.5em;" | '''Sympathy description'''
|-
|  style="padding-left: 0.5em;" | 0
|  style="padding-left: 0.5em; font-size:90%;" | No creatures from the same town type.
|-
|  style="padding-left: 0.5em;" | 1
|  style="padding-left: 0.5em; font-size:90%;" | At least one creature from the same town type.
|-
|  style="padding-left: 0.5em;" | 2
|  style="padding-left: 0.5em; font-size:90%;" | Over 50% creatures from the same town type.
|}
|}
=== Possible Creature Actions ===
{{Math|C < M → Creatures will fight}}
{{Math|C < M → Creatures will fight}}
{{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|}}
:* C is the Charisma value (see equation below)
{{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}}
:* M is the Mood value (see chart on right)
{{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|C ≥ M → 3 possible outcomes}}
# Stack will join for free if S<sub>y</sub> + D ≥ M
# Stack will join for gold if S<sub>y</sub> + D + 2 ≥ M
# 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>}}
:* S<sub>t</sub> is is strength value (see table to right)
:* D is [[Diplomacy]] value (see table to right)
:* S<sub>y</sub> is Sympathy value (see table to right)
 
 
{{Math|k <nowiki>=</nowiki> H &times; Hero army Strength</sub> / AI army Strength}}
:* H is hero strength value (see equation below)
:* NOTE: The army strength is the sum of AI creature values.


{{Math|k <nowiki>=</nowiki> A<sub>TOT</sub> / N | A<sub>TOT</sub> is total army strength|N is neutral army strength}}


{{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)}}}}
{{Math|A<sub>TOT</sub> }}
:* A is the hero's [[Primary skills|attack skill]] value
:* D is the hero's [[Primary skills|defense skill]] value


<!--
| style="padding-left: 0.5em; font-size:90%;" | There are no creatures of the same kind as neutrals in hero's army. This includes upgraded creatures as well, and works in both ways for all, except for Magma/Earth, Ice/Water and Energy/Fire Elementals.
|-
| 1
| style="padding-left: 0.5em; font-size:90%;" | There is at least one creature of the same kind as neutrals (including upgrades as in paragraph above) in hero's army.
|-
| 2
| 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]]

Latest revision as of 20:24, 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, explained below.

Calculation and factors[edit | hide | hide all]

Mood values (M)
A value that is set by the map creator for each wandering monster.
• Default level is 'Aggressive'.
• If the M-value is a range, a random number is picked at the beginning of the battle.
M Aggression level
-4 Compliant
1–7 Friendly
1–10 Aggressive
4–10 Hostile
10 Savage
Sympathy values (Sy)
How many of the hero's creatures are from the same creature type as the wandering creature (upgraded does not matter)?
• Exception: Water/Ice, Fire/Energy and Earth/Magma Elemental upgrades count as different types.
Sy Sympathy description
0 Zero
1 At least one
2 Over 50% of the hero's creatures
Strength values (St)
A value based on the relative strength of the 2 armies (See equation for 'k' to left).
• '*' means rounded down
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
Diplomacy values (D)
The level of the Diplomacy skill.
• Add +1 if playing on Easy difficulty and not having Expert Diplomacy
D Diplomacy level
1 No Diplomacy skill
2 Basic level Diplomacy
3 Advanced level Diplomacy
4 Expert level Diplomacy

Possible Creature Actions[edit | hide]

C < M → Creatures will fight

  • C is the Charisma value (see equation below)
  • M is the Mood value (see chart on right)


C ≥ M → 3 possible outcomes

  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[edit | hide]

C = St + D + Sy

  • St is is strength value (see table to right)
  • D is Diplomacy value (see table to right)
  • 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)

External links[edit | hide]