Join: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Standardize decimal with the rest of the wiki) |
||
(21 intermediate revisions by 9 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, | '''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. | ||
== Calculation and factors == | == Calculation and factors == | ||
{| | {| class="wikitable" style="margin: 0 0 0 1em; float:right; width:400px;" | ||
| colspan=2 | ! 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;" | Aggression level | |||
|- | |- | ||
| style="padding-left: 0.5em;" | -4 | | style="padding-left: 0.5em;" | -4 | ||
Line 25: | 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 | |||
|- | |- | ||
| | | 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;" | |||
|- | |- | ||
| | ! colspan=2 | Strength values (S<sub>t</sub>) | ||
|- | |||
| 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 38: | Line 61: | ||
|- | |- | ||
| style="padding-left: 0.5em;" | -1 | | style="padding-left: 0.5em;" | -1 | ||
| style="padding-left: 0.5em;" | 0 | | 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 | | 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 | | style="padding-left: 0.5em;" | k < 0.333 | ||
|- | |||
| colspan=2 style="background-color:darkgray;" | | |||
|- | |- | ||
! colspan=2 | Diplomacy values (D) | |||
|- | |- | ||
| colspan=2 | | 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;" | [[Diplomacy]] level | |||
|- | |- | ||
| style="padding-left: 0.5em;" | 1 | | style="padding-left: 0.5em;" | 1 | ||
Line 64: | 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]] | ||
|} | |} | ||
< | === Possible Creature Actions === | ||
{{Math|C < M → Creatures will fight}} | |||
:* C is the Charisma value (see equation below) | |||
:* M is the Mood value (see chart on right) | |||
| | |||
{{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 × 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|H <nowiki>=</nowiki> {{sqrt|(1 + 0.05 × A) × (1 + 0.05 × D)}}}} | |||
:* A is the hero's [[Primary skills|attack skill]] value | |||
:* D is the hero's [[Primary skills|defense skill]] value | |||
== 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
- Stack will join for free if Sy + D ≥ M
- Stack will join for gold if Sy + D + 2 ≥ M
- 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)
- A is the hero's attack skill value
- D is the hero's defense skill value