The values shown in techtree or onscreen rollover help are INITIAL values. If I put code in to display proper value it would required that you have villager selected. Also, if someone was just looking through techtree and not presently playing a game, all they would see is the code and not the proper value.
******************
Regarding bonus/penalty info:
Armor and VS stuff is based on the unit's CURRENT values.
Other things, like regular attack are based on the unit's INITIAL values.
Axeman with 5 hack and 70 hitpoints gets Medium Axeman tech. (+10%) So now he has 5.5 hack and 77 hitpoints.
He gets heavy axeman (+10%/+15%) so now he has 6 hack and 87.5 hitpoints NOT 6.05 hack and 88.55 hitpoints. Not great example, but you see the point.
Axe of Vengeance (+200%) would give Axeman with no other upgrades 15 hack vs buildings, whereas with the medium and heavy tech as well it would be 18 hack vs buildings.
Just remember, in archaic age, priest, ulfsark, hersir, and pharaoh have a reduced attack from their INITIAL or BASE value.
********************
Final note: I upgraded tooltips recently because it appears that Scarab and Behemoth attack rate is +50% of what stat panel shows.
Also, Fire Giant and Heka Gigantes appear to do twice the damage that stat panel shows rather than per second like most other units predominantly do on their regular attack.
Tools for Age of Empires Series at http://aoe3.heavengames.com/downloads/lister.php?category=modpacks
[This message has been edited by xentelian (edited 04-10-2005 @ 01:14 PM).]