I'm not sure if anyone discovered this, but I just tested AOEd/RORd, and found some things out.
civ_#_unit_###_attack_data:has 11 different data outputs.
0 was given to Ballistas and Helepoli, but I didn't find out what they did (0 4)
1= Slinger Special (+2 ATK vs Archers) (1 4)
2= Cheat Unit Special (x2 ATK to all units) (2 4)
3= Ranged (3 3)
4= Melee (4 3)
6= Catapult Special (x8 ATK vs Buildings, after factoring in Building Resistance (5 Pierce Armour, then divide damage by 5)) (6 4)
7= x3 ATK vs Priests (I believe, because the Chariot haad it, but AOE crashes when I test out the Chariot with attack data of7 7)
8= Camel Special (+8 ATK vs Cavalry, +4 ATK vs Chariots) (8 4)
9= Cavalry Special (+5 ATK vs Infantry)9 4)
10 was Given to Villagers, and always negative (10 -150)
12= Animal Bonus (Damage unaffected by Unit Armour) (12 4)
Armour Data, I believe is the opposite of Attack Data (Seeing as Armour Data of 3 4 means 4 Pierce Armour, as Attack Data of 3 4 means Pierce Attack)
That probably means that if a cavalry has Armour of 8 2, it will only suffer 6 extra damage from a camel.
0 was given to Ballistas and Helepoli, but I didn't find out what they did (
1= Slinger Special (+2 ATK vs Archers) (
2= Cheat Unit Special (x2 ATK to all units) (
3= Ranged (
4= Melee (
6= Catapult Special (x8 ATK vs Buildings, after factoring in Building Resistance (5 Pierce Armour, then divide damage by 5)) (
7= x3 ATK vs Priests (I believe, because the Chariot haad it, but AOE crashes when I test out the Chariot with attack data of
8= Camel Special (+8 ATK vs Cavalry, +4 ATK vs Chariots) (
9= Cavalry Special (+5 ATK vs Infantry)
10 was Given to Villagers, and always negative (
12= Animal Bonus (Damage unaffected by Unit Armour) (
Armour Data, I believe is the opposite of Attack Data (Seeing as Armour Data of 3 4 means 4 Pierce Armour, as Attack Data of 3 4 means Pierce Attack)
That probably means that if a cavalry has Armour of 8 2, it will only suffer 6 extra damage from a camel.
[This message has been edited by dom0601 (edited 01-10-2012 @ 06:25 PM).]