Just my theory, which i stole from some guy, I forget who
Each unit has a set amount of health and has programmed in filters. So every time a unit is hit by a certain damage dealing projectile or slash, it goes through a filter that says how much damage it takes. So if a spearton got hit by, lets say, an arrow the game reduces the speartons health by a set amount, and if it got hit by a rock, it would lower it a larger amount.
Also, the bars are just a visualization of the the amount of health a unit has, and may not necessarily be the actual amount.
What this basically means is that each unit takes a different amount of damage from each attack. It could also mean that a meric has over 9000 health and takes about 1000 damage from an arrow, while a spearton has 45 health, and takes 1 health from each arrow. In other words, trying to quantitatively classify each units health through bars or universal units is useless, as the damage done by different attacks differs by the defender.
While I have little proof for all of this i do have some values that show that an "armor" of some sort does exist. A spearton (generally accepted to be armored) can take about 45 arrows before it dies, while it can only take 17 blazing bolts before dying. A swordwrath (usually classified as unarmored) can take 7 arrows or 4 blazing bolts before it dies. The ratio of the damage of blazing bolts to arrows is about 1/3, while for the swordwrath is 4/7. This shows a clear difference between the individual damage that a sword wrath and spearton take from different projectiles.
Much more further testing is needed to prove this theory, all of which is based on conjecture :P
The only recorded data collected so far shows that different units take different damage from different projectiles, which rules out the possibility of all health no armor.
A way to test the "amor deflects arrows" theory is to have multiple tests of archidon vs spearton arrow counts. If there truly is a probability factor involved, then there should be different results every time.
This is from the original creator of the idea, who expressed it in programming terms
No, but I know how it works.
The characters just have a high resistance to arrows. Here's how the most efficient way to code it is (in Unity's version of C#):
public int Health
if(OnTriggerEnter(gameobject.Find("arrow")))
{
Health == -0.3
}
That's really all there is to it. Then just code the health bar
if(health == 100)
{
GameObject.Find("HealthTextureFull").active = true
}
You get the point. Just add each texture/health value until 0. The reason I gave you the code is so you can get a better understanding of how armor's resistance to arrows works. Also, speartons have a higher health value and are a lot tougher, implying that yes, they have armor to some extend because the speartons are born to die but the sortwraths are made to fight. So..
YES! I have come to the conclusion that armor may have it's own code and may actually have an effect on being hit.