AI/Fight Value
| Town | Creature | AI | Fight | |
|---|---|---|---|---|
| 78845 | 56315 | |||
| 39338 | 30260 | |||
| 30501 |
16317 | |||
| 26433 | 24030 | |||
| 8776 | 6033 | |||
| 8721 | 6783 | |||
| 8613 | 6220 | |||
| 7500 | 5000 | |||
| 7220 | 5554 | |||
| 7115 | 5243 | |||
| 6721 | 4929 | |||
| 6433 | 5361 | |||
| 6168 | 5397 | |||
| 5931 | 5272 | |||
| 5341 | 3815 | |||
| 5101 | 3759 | |||
| 5019 | 3585 | |||
| 5003 |
3762 | |||
| 4919 |
3228 | |||
| 4872 | 3654 | |||
| 4336 |
3097 |
|||
| 4120 | 4120 | |||
| 3953 | 3162 | |||
| 3879 | 3879 | |||
| 3718 | 3146 | |||
| 3574 | 2521 | |||
| 3388 | 2420 | |||
| 3162 | 3162 | |||
| 2840 | 2840 | |||
| 2382 | 2029 | |||
| 2343 |
1802 |
|||
| 2116 | 1763 | |||
| 2100 | 1800 | |||
| 2087 | 1753 | |||
| 2030 | 2030 | |||
| 2012 | 1724 | |||
| 1946 | 1668 | |||
| 1814 |
2016 | |||
| 1806 | 1548 | |||
| 1670 | 1413 | |||
| 1685 |
1248 | |||
| 1669 | 1431 | |||
| 1547 | 1215 | |||
| 1544 |
1110 | |||
| 1518 | 1518 | |||
| 1454 | 932 | |||
| 1415 | 1415 | |||
| 1351 | 904 | |||
| 1350 | 1050 | |||
| 1266 | 1055 | |||
| 1224 | 1071 | |||
| 1220 | 894 | |||
| 1210 | 805 | |||
| 1106 | 869 | |||
| 1079 | 889 | |||
| 1068 | 890 | |||
| 1028 | 1028 | |||
| 1027 | 790 | |||
| 1024 | 1024 | |||
| 991 | 793 | |||
| 947 | 631 | |||
| 942 | 748 | |||
| 929 | 929 | |||
| 890 | 890 | |||
| 884 | 680 | |||
| 852 | 655 | |||
| 848 | 742 | |||
| 835 | 835 | |||
| 825 | 900 | |||
| 803 | 765 | |||
| 790 | 608 | |||
| 783 | 652 | |||
| 775 | 775 | |||
| 765 | 765 | |||
| 750 | 500 | |||
| 714 | 561 | |||
| 680 | 467 | |||
| 672 | 672 | |||
| 669 | 398 | |||
| 645 | 478 | |||
| 602 | 376 | |||
| 600 | 600 | |||
| 600 | 650 | |||
| 597 | 597 | |||
| 588 | 588 | |||
| 585 | 415 | |||
| 582 |
485 | |||
| 577 | 423 | |||
| 570 | 418 | |||
| 555 | 518 | |||
| 552 | 506 | |||
| 532 | 418 | |||
| 518 | 471 | |||
| 518 | 407 | |||
| 517 | 690 | |||
| 517 | 379 | |||
| 502 | 386 | |||
| 500 | 10 | |||
| 490 | 490 | |||
| 486 | 324 | |||
| 480 | 480 | |||
| 470 | 360 | |||
| 448 | 364 | |||
| 445 | 445 | |||
| 445 | 445 | |||
| 416 | 520 | |||
| 412 | 412 | |||
| 407 | 311 | |||
| 400 | 5 | |||
| 400 | 5 | |||
| 392 | 308 | |||
| 380 | 315 | |||
| 367 | 245 | |||
| 357 | 275 | |||
| 356 | 324 | |||
| 351 | 324 | |||
| 345 | 345 | |||
| 345 | 415 | |||
| 336 | 240 | |||
| 331 | 195 | |||
| 330 | 415 | |||
| 315 | 252 | |||
| 315 | 315 | |||
| 312 | 250 | |||
| 312 | 208 | |||
| 300 | 10 | |||
| 278 | 232 | |||
| 270 | 270 | |||
| 268 | 215 | |||
| 256 | 256 | |||
| 252 | 231 | |||
| 250 | 339 | |||
| 240 | 210 | |||
| 240 | 200 | |||
| 238 | 196 | |||
| 234 | 195 | |||
| 209 | 209 | |||
| 190 | 190 | |||
| 203 | 174 | |||
| 201 | 155 | |||
| 198 | 248 | |||
| 192 | 175 | |||
| 186 | 186 | |||
| 184 | 115 | |||
| 174 | 174 | |||
| 165 | 150 | |||
| 159 | 145 | |||
| 209 |
174 |
|||
| 155 | 155 | |||
| 154 | 140 | |||
| 145 | 145 | |||
| 138 | 194 | |||
| 138 | 115 | |||
| 135 | 135 | |||
| 130 | 130 | |||
| 128 | 160 | |||
| 126 | 115 | |||
| 151 |
137 |
|||
| 115 | 115 | |||
| 100 | 100 | |||
| 98 | 140 | |||
| 95 | 76 | |||
| 95 | 70 | |||
| 90 | 90 | |||
| 85 | 85 | |||
| 84 | 84 | |||
| 80 | 100 | |||
| 78 | 65 | |||
| 75 | 60 | |||
| 75 | 60 | |||
| 75 | 60 | |||
| 66 | 55 | |||
| 60 | 60 | |||
| 60 | 60 | |||
| 60 | 75 | |||
| 59 | 73 | |||
| 57 | 52 | |||
| 56 | 70 | |||
| 55 | 40 | |||
| 50 | 50 | |||
| 44 | 55 | |||
| 15 | 15 |
AI Value is characteristic of creatures "hidden" in the game mechanics. It is used to determine total army strength, which is used in the calculations for the Diplomacy secondary skill. Creatures sacrificed at the Altar of Sacrifice grant experience equal to 12.5% of their AI Value.
Fight Value is another "hidden" creature characteristic. It is used to determine unit strength, which is used in the calculations for units attack priority in battle (after Speed is taken into account) and the creature loss when visiting a whirlpool (without
Sea Captain's Hat or
Admiral's Hat).
Random Map Generator produces content and zone guards based on their RMG Value, which is a linear function of the AI Value: RMG_Value = AI_value / 2.5 + 2300.
Stack value[edit | hide | hide all]
The value of a stack of creatures (SV) (used by the AI, to an extent, to determine a target to attack), does not follow directly from the stack size and the unit's Fight Value. Instead, the following formula is used:
SV = Total HP / HP × √Sf × ASf × Df × DSf × SGf × Af × (BA × 0.05 + 1) × (BD × 0.05 + 1) × FV
• SV is Stack Value
• Sf is Shield factor: % defense from the Shield spell if it affects the stack, provided the attacker is not able to shoot;
• ASf is Air Shield factor: % defense from the AirShield spell if it affects the stack, provided the attacker is able to shoot;
• Df is Damage factor: average damage / (0.5 * (damage ceiling + damage floor)), which essentially checks for presence of Bless / Curse.
• DSf is Double-Shot factor: 2 if the unit shoots twice
• SGf is Stone Gaze factor: 0.5 if Stone Gaze affects the unit
• Af is Armourer factor: % of damage taken after the Armorer skill is taken into account
• BA is Bonus Attack: bonus attack the unit has due to hero stats and specialty
• BD is Bonus Defence: bonus defence the unit has due to hero stats and specialty
• FV is the unit's Fight Value
Total HP = (Number of units × HP per unit - damage taken)
NOTE: Clones are treated as if they had actual HP of 5.
Army Strength[edit | hide]
Army Strength is a number used in calculations for Diplomacy, as well as how many stacks neutral armies will be split into.
For neutral armies, Army Strength is the sum of the AI Values of the creatures in the neutral army.
For players' armies, Army Strength is the sum of the AI Values of the creatures in their army multiplied by the commanding Hero's strength.
ASp = H × Hero 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
Trivia[edit | hide]
In Fanstratics Newsletter #10, Greg Fulton discussed the design process for coming up with the AI values. In short, while there was a magic excel spreadsheet that came up with a relative value, there was no specific equation - it was largely done by gut feel/guess-and-check.