Print Page | Close Window

Battle mechanics

Printed From: Illyriad
Category: Strategies, Guides & Help
Forum Name: General Questions
Forum Description: If your gameplay question isn't answered in the help files, please post it here.
URL: http://forum.illyriad.co.uk/forum_posts.asp?TID=7325
Printed Date: 19 Apr 2024 at 21:36
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: Battle mechanics
Posted By: Lotharblack
Subject: Battle mechanics
Date Posted: 09 Oct 2017 at 21:08
Greetings 

From what i understand ,when 2 armies class the mechanic that determines the result is roughly the following: 

- For the attacker , equipment , terrain and enemy troop type are factored in and the resulting total attack value determines how many defender troops are going to perish. 

For the defender ,, equipment , terrain and enemy troop type are factored in and the resulting total defense value determines how many attacker troops are going to perish. 

Defender values don't matter at al for the attacker and the same goes for the attack values of the attacker. Also defense values do not affect the amount of troops that are going to die on either side. 

So i got some questions for the above : 

- Do regular troops got hit points? I mean if an identical army attacks under identical terrain circumstances a t1 spear army and a t2 spear army , will the number of casualties of the defending army  be the same? 

- Does commander health affects regular troop survivability? I mean will a commander with higher health absorb more dmg? 

- What will happen if an attacking army with sufficient attack value to kill all defenders meet with a defending army with sufficient defend value to kill all attackers? (The answer "Chuck Norris dies " is considered invalid) 



-------------
Lord Loth



Replies:
Posted By: Ten Kulch
Date Posted: 09 Oct 2017 at 21:21
The equation is roughly:

Attack = total attack points * terrain modifier * equipment * commander bonuses

The attacker type (cav, sword, bow, spear) determines the defense category of the defender.

Defense = total defense points vs that attack type * terrain modifier * equipment * commander bonuses * wall bonus

The lesser total army is completely destroyed. The army with more points takes casualties as a percent of lesser/bigger.

-------------
Check out my blog, http://illywarmonger.blogspot.com" rel="nofollow - Warmongering in Illyriad for self-defense techniques, military city construction, and PvP strategies.


Posted By: Ten Kulch
Date Posted: 09 Oct 2017 at 21:26
Commander hit points don't affect troop survival, only the commander's ability to potentially survive multiple battles.

A losing commander is slain with their army. HP doesn't matter when you lose.

The winning commander takes a number of hit points damage equal to the percent of their army that was destroyed. Your commander can still die after a string of victories if they run out of hit points. That is very common during tournaments.

-------------
Check out my blog, http://illywarmonger.blogspot.com" rel="nofollow - Warmongering in Illyriad for self-defense techniques, military city construction, and PvP strategies.


Posted By: Dabrelis
Date Posted: 16 Jan 2018 at 06:26
There is a strange thing that I noticed.
Apparently defenders are kind of “guaranteed” to kill a constant numbers of attackers.

What I mean?
If I use 26 axmen I would kill bunch of animals and lose 8 guys.
If instead I use 30 axmen, I would still kill animals, but lose more - 9 or 10. I could not achieve less than 8 losses, regardless of how many men I fielded.

The implication for hunting is that killing whatever beast comes at almost constant cost. Maybe it can be decreased by having better commanders and/or adding equipment. But NOT by having extra numbers.


Posted By: Tink XX
Date Posted: 16 Jan 2018 at 06:50
Originally posted by Lotharblack Lotharblack wrote:

Greetings 

- Do regular troops got hit points? I mean if an identical army attacks under identical terrain circumstances a t1 spear army and a t2 spear army , will the number of casualties of the defending army  be the same? 



It won't be the same because T2 spear units have a higher defense score. So, I guess the answer to the question is "yes".

Originally posted by Lotharblack Lotharblack wrote:


- Does commander health affects regular troop survivability? I mean will a commander with higher health absorb more dmg?

Partially: if commander dies (assassinated or killed in a string of repeated successful attacks, like TenK said), the army loses all the commander bonuses and takes bigger damage. Low commander health doesn't affect the army NOR commander hit points in any way.

Originally posted by Lotharblack Lotharblack wrote:


- What will happen if an attacking army with sufficient attack value to kill all defenders meet with a defending army with sufficient defend value to kill all attackers? (The answer "Chuck Norris dies " is considered invalid)

The server will crash and time-space will collapse on itself.
Actually, I've never seen a combat where the attack and defense points lined up so precisely. You'd think everybody dies, but it's an interesting edge case to consider.


Posted By: eowan the short
Date Posted: 16 Jan 2018 at 06:59
Hmm... it'd be interesting to see what would happen there.

If anyone is up for experimentation, I'm happy to provide a small defensive or attacking dwarvish force.



Posted By: Tink XX
Date Posted: 16 Jan 2018 at 07:12
Originally posted by Dabrelis Dabrelis wrote:

There is a strange thing that I noticed.
Apparently defenders are kind of “guaranteed” to kill a constant numbers of attackers.

What I mean?
If I use 26 axmen I would kill bunch of animals and lose 8 guys.
If instead I use 30 axmen, I would still kill animals, but lose more - 9 or 10. I could not achieve less than 8 losses, regardless of how many men I fielded.

The implication for hunting is that killing whatever beast comes at almost constant cost. Maybe it can be decreased by having better commanders and/or adding equipment. But NOT by having extra numbers.


Are you hitting precisely the same number of animals? Look at your reports - my hunch is that it's a slight variation of NPC pack size. You can kill NPCs with zero losses in certain circumstances. If you consider the equation TenK provided above, it's clear that you have to exchange N units' worth of attack points for N defenders' worth of defense points. Zero or near-zero losses occur when the NPC pack did so little damage that percentage wise it's not even enough to kill one unit in your division. For example, if the resulting damage was 1% and you have less than 100 units. These kinds of ratios are achieved by using elite divisions and commander's heroism (see Ten Kulch's blog for details), as you have to have few units and a lot of commander attack points. Still occasionally you'll get a unit or two clipped this way, especially if you have 3-4 elite divisions the fractions from each division will add up to a number greater than 1.


Posted By: Ten Kulch
Date Posted: 16 Jan 2018 at 07:48
It's an "A minus D" combat engine. There are slight variations due to the way casualties are calculated. Generally if it will cost 1000 attackers to kill a particular defender, it doesn't matter if you send 1001 troops, 10000 or 100000. You will lose approximately 1000 in all cases.

Due to the way Heroism works, in micro-battle scenarios like hunting, there is a weird little bump in the curve where sending more troops can cause more casualties. That seems to flatten out very quickly as army sizes climb, and the effect of Heroism becomes negligible.

-------------
Check out my blog, http://illywarmonger.blogspot.com" rel="nofollow - Warmongering in Illyriad for self-defense techniques, military city construction, and PvP strategies.


Posted By: Dabrelis
Date Posted: 16 Jan 2018 at 09:01
Originally posted by Ten Kulch Ten Kulch wrote:

It's an "A minus D" combat engine. There are slight variations due to the way casualties are calculated. Generally if it will cost 1000 attackers to kill a particular defender, it doesn't matter if you send 1001 troops, 10000 or 100000. You will lose approximately 1000 in all cases.

Due to the way Heroism works, in micro-battle scenarios like hunting, there is a weird little bump in the curve where sending more troops can cause more casualties. That seems to flatten out very quickly as army sizes climb, and the effect of Heroism becomes negligible.

Thanks Ten Kulch, makes sense.


Posted By: Dabrelis
Date Posted: 16 Jan 2018 at 16:11
Another question. On arythmetics but on topic.

It is more or less clear when attack comes from one type.
Say 1000 attack points from swords, then you compare to sword defense points for all units and - voila!

But what is the algorythm, if I attack with swords and cavalry?
Say got 1000 attack points in swords, and 1000 in cavalry.

Opponent has a group that can gather 2000 defense points for swords (if all were to defend swords) OR 1500 defense points for cavalry (if all were to defend cavalry).

What is the algorithm there?

I should win I guess, with swords annihilated, and cavalry still on 1/4 size.. did I get it right?



Posted By: Sauron
Date Posted: 16 Jan 2018 at 18:40
Originally posted by Lotharblack Lotharblack wrote:



- What will happen if an attacking army with sufficient attack value to kill all defenders meet with a defending army with sufficient defend value to kill all attackers? (The answer "Chuck Norris dies " is considered invalid) 



What happens is a battle report showing 'mutual destructution'. I have only seen it once or twice and that was from a forwarded npc hunting message, its so rare that many players that have played for years have yet to encounter such a battle.


Posted By: Celebrant
Date Posted: 16 Jan 2018 at 19:04
Word Illyriad in its roots has ill.



Love you all Ill-yrians.



Posted By: Ten Kulch
Date Posted: 16 Jan 2018 at 20:56
Losses are always proportional, I believe. So if the total defense is 1/3 of the attack points, you will lose 33% of the army. That 33% will be applied to all armies and divisions equally (approximately). There is a PDF somewhere that explains the math behind mixed troop types on attack. I haven't read it in years.

Functionally, almost all attacking armies will be homogenous, due to the way that city specialization works in Illyriad.

-------------
Check out my blog, http://illywarmonger.blogspot.com" rel="nofollow - Warmongering in Illyriad for self-defense techniques, military city construction, and PvP strategies.


Posted By: Sene
Date Posted: 01 Jun 2018 at 13:18
Originally posted by Lotharblack Lotharblack wrote:

What will happen if an attacking army with sufficient attack value to kill all defenders meet with a defending army with sufficient defend value to kill all attackers? (The answer "Chuck Norris dies " is considered invalid)

I've seen several zero survivors victory battles. I think it happens when the difference between total attack and defense score of the rival armies is less than 0,01%. It's quite difficult to make that match but if you try hard, you will succeed:) Since there are a number of factors influencing both attack and defense score, it's next to impossible to make them totally equal and set up 'Attack = Defense' battle. But I presume both sides would just loose.


Posted By: Sene
Date Posted: 01 Jun 2018 at 13:27
Originally posted by Ten Kulch Ten Kulch wrote:

The equation is roughly:

Attack = total attack points * terrain modifier * equipment * commander bonuses
...
Defense = total defense points vs that attack type * terrain modifier * equipment * commander bonuses * wall bonus

sorry, man, but that's wrong. All bonuses are grouped together into 2 multiplier or modifier: (let's call it) General one and Crafted one. 

Attack = attack score * general modifier * crafted modifier;
Defense = defense score * general modifier * crafted modifier.

General modifier includes terrain bonuses / penalty, commander's division attack/defense skil bonus, biome and pres bonus; GM = 1 + (TB% + DB% + BB% + PB%)/100


Posted By: Sene
Date Posted: 01 Jun 2018 at 13:41
Originally posted by Dabrelis Dabrelis wrote:

But what is the algorythm, if I attack with swords and cavalry?
Say got 1000 attack points in swords, and 1000 in cavalry.

In this case the server calculates attack share of each troop type (in your case it's 50% infantry and 50% cavalry), then calculates defense score against all attacking troop types and takes corresponding shares of each. In your example total def score would consist of 50% infantry def score + 50% cavalry def score.

So if we assume a defending army of 200 units all having say 15 infantry def and 12 cavalry def values, then 

Total Defense score = 200*15*0.5 + 200*12*0.5 = 1500 + 1200 = 2700

Thus, in Illy battle mechanic it's actually possible to make an attack outcome worse by adding more troops. If you are attacking spears with a ranged army and decide to add up equipped elite cavalry commanders in hope of better performance - boy, are you in for a nasty surprise.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net