Battles

From First Feudal Wiki
Revision as of 12:56, 11 February 2022 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Enemies will periodically attack the village, and you will have to be prepared to protect it. If there is at least one enemy in the area, press (Key G) to change all peasants' professions to warrior. Once you turn off the call to arms, the peasants will return to their previously assigned professions.

Left-click to attack with a weapon (for bows and crossbows, you can hold the left mouse button before an attack to increase shot accuracy). Right-click to block (if a shield is equipped). By blocking a melee attack, you can stun an attacker for a short time.

Weapon damage is reduced by a randomly selected piece of the defender's armor. The durability of the attacker's weapon and the defender's armor is reduced. If an attack crits, half the damage penetrates the armor.

You can use buildings such as walls, towers, and traps to defend your village. In addition to human enemies, you might also find yourself up against wild animals, too.

Enemy quantity and enemies equip quality is increased over time. Also quantity of enemies depends on how long ago previous enemies came (it will be more enemies after long pause in enemies events).

Formula for enemies quality coefficient:

round(baseSpawnQuality*eventSpawnQualityCoeff*(1+bronzeKnightCoeff*0.1)+eventSpawnQualityAddConst)+1)

Where

baseSpawnQuality = power(gameTime*enemyPowerSettings/1000,0.7)
gameTime - ingame seconds timer.
enemyPowerSettings varies from 0.5 to 2 depending on which evolution rate is set before game start
eventSpawnQualityCoeff is 1 for default enemy event. 0.9 for thiefs event. 1.15 for caravan event. 1.2 for military victory events. 1.5 for "robberies attracted attention" event.
eventSpawnQualityAddConst = eventSpawnQualityCoeff*2 (only for eventSpawnQualityCoeff bigger than 1, else eventSpawnQualityAddConst = 0). Also eventSpawnQualityAddConst  is increased by 2 for military victory events.
bronzeKnightCoeff is increased by 1 for each Bronze Knight built.

Maximum enemy quality is 50. Quality affects enemies weapon and armor tier, quality of the gear and characteristics (STR, DEX, CON):

Characteristics randomed between statsMin and statsMax. Tier 0 - no armor, Tier 5 - steel weapon and armor. EquipQuality affects max equip quality (with equipQuality 4 up to excellent gear can roll).
Enemy quality 0:
statsMin=9;
statsMax=11;
tier=0;
equipQuality=1;

Enemy quality 1:
 statsMin=9;
 statsMax=11;
 tier=0;
 equipQuality=2;
  
Enemy quality 2:
 statsMin=10;
 statsMax=12;
 tier=0;
 equipQuality=3;
  
Enemy quality 3:
 statsMin=10;
 statsMax=12;
 tier=0;
 equipQuality=4;

Enemy quality 4:
 statsMin=11;
 statsMax=13;
 tier=1;
 equipQuality=1;

Enemy quality 5:
 statsMin=11;
 statsMax=13;
 tier=1;
 equipQuality=2;

Enemy quality 6:
 statsMin=12;
 statsMax=14;
 tier=1;
 equipQuality=3;

Enemy quality 7:
 statsMin=12;
 statsMax=14;
 tier=1;
 equipQuality=4;

Enemy quality 8:
 statsMin=13;
 statsMax=15;
 tier=2;
 equipQuality=1;
  
Enemy quality 9:
 statsMin=13;
 statsMax=15;
 tier=2;
 equipQuality=2;

Enemy quality 10:
 statsMin=14;
 statsMax=15;
 tier=2;
 equipQuality=3;

Enemy quality 11:
 statsMin=14;
 statsMax=15;
 tier=2;
 equipQuality=4;

Enemy quality 12:
 statsMin=14;
 statsMax=16;
 tier=3;
 equipQuality=1;

Enemy quality 13:
 statsMin=14;
 statsMax=16;
 tier=3;
 equipQuality=2;

Enemy quality 14:
 statsMin=15;
 statsMax=16;
 tier=3;
 equipQuality=2;

Enemy quality 15:
 statsMin=14;
 statsMax=16;
 tier=3;
 equipQuality=3;

Enemy quality 16:
 statsMin=15;
 statsMax=16;
 tier=3;
 equipQuality=3;

Enemy quality 17:
 statsMin=15;
 statsMax=16;
 tier=3;
 equipQuality=4;

Enemy quality 18:
 statsMin=15;
 statsMax=17;
 tier=3;
 equipQuality=4;

Enemy quality 19:
 statsMin=15;
 statsMax=16;
 tier=4;
 equipQuality=1;

Enemy quality 20:
 statsMin=14;
 statsMax=16;
 tier=4;
 equipQuality=1;

Enemy quality 21:
 statsMin=15;
 statsMax=16;
 tier=4;
 equipQuality=2;

Enemy quality 22:
 statsMin=15;
 statsMax=17;
 tier=4;
 equipQuality=2;

Enemy quality 23:
 statsMin=15;
 statsMax=16;
 tier=4;
 equipQuality=3;

Enemy quality 24:
 statsMin=15;
 statsMax=17;
 tier=4;
 equipQuality=3;

Enemy quality 25:
 statsMin=16;
 statsMax=17;
 tier=4;
 equipQuality=3;

Enemy quality 26:
 statsMin=16;
 statsMax=17;
 tier=4;
 equipQuality=4;

Enemy quality 27:
 statsMin=16;
 statsMax=18;
 tier=4;
 equipQuality=4;

Enemy quality 28:
 statsMin=17;
 statsMax=18;
 tier=4;
 equipQuality=4;

Enemy quality 29:
 statsMin=16;
 statsMax=17;
 tier=5;
 equipQuality=1;

Enemy quality 30:
 statsMin=16;
 statsMax=18;
 tier=5;
 equipQuality=1;

Enemy quality 31:
 statsMin=17;
 statsMax=18;
 tier=5;
 equipQuality=1;

Enemy quality 32:
 statsMin=17;
 statsMax=18;
 tier=5;
 equipQuality=2;

Enemy quality 33:
 statsMin=17;
 statsMax=19;
 tier=5;
 equipQuality=2;

Enemy quality 34:
 statsMin=18;
 statsMax=19;
 tier=5;
 equipQuality=2;

Enemy quality 35:
 statsMin=18;
 statsMax=19;
 tier=5;
 equipQuality=3;

Enemy quality 36:
 statsMin=18;
 statsMax=20;
 tier=5;
 equipQuality=3;

Enemy quality 37:
 statsMin=19;
 statsMax=20;
 tier=5;
 equipQuality=3;

Enemy quality 38:
 statsMin=19;
 statsMax=20;
 tier=5;
 equipQuality=4;

Enemy quality 39:
 statsMin=19;
 statsMax=21;
 tier=5;
 equipQuality=4;

Enemy quality 40:
 statsMin=20;
 statsMax=21;
 tier=5;
 equipQuality=4;

Enemy quality 41:
 statsMin=20;
 statsMax=22;
 tier=5;
 equipQuality=4;

Enemy quality 42:
 statsMin=21;
 statsMax=22;
 tier=5;
 equipQuality=4;

Enemy quality 43:
 statsMin=21;
 statsMax=23;
 tier=5;
 equipQuality=4;

Enemy quality 44:
 statsMin=22;
 statsMax=23;
 tier=5;
 equipQuality=4;

Enemy quality 45:
 statsMin=22;
 statsMax=24;
 tier=5;
 equipQuality=4;

Enemy quality 46:
 statsMin=23;
 statsMax=24;
 tier=5;
 equipQuality=4;

Enemy quality 47:
 statsMin=23;
 statsMax=25;
 tier=5;
 equipQuality=4;

Enemy quality 48:
 statsMin=24;
 statsMax=25;
 tier=5;
 equipQuality=4;

Enemy quality 49:
 statsMin=24;
 statsMax=26;
 tier=5;
 equipQuality=4;

Enemy quality 50:
 statsMin=25;
 statsMax=26;
 tier=5;
 equipQuality=4;