1
0
forked from 0ad/0ad
0ad/binaries/data/mods/public/simulation/templates/template_unit_hero.xml
2012-12-22 23:39:18 +00:00

79 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit">
<Armour>
<Hack>10.0</Hack>
<Pierce>20.0</Pierce>
<Crush>15.0</Crush>
</Armour>
<Attack>
<Melee>
<Hack>40.0</Hack>
<Pierce>0.0</Pierce>
<Crush>0.0</Crush>
<MaxRange>5.0</MaxRange>
<RepeatTime>1500</RepeatTime>
</Melee>
<Charge>
<Hack>120.0</Hack>
<Pierce>0.0</Pierce>
<Crush>0.0</Crush>
<MaxRange>5.0</MaxRange>
<MinRange>0.0</MinRange>
</Charge>
</Attack>
<Cost>
<Population>2</Population>
<BuildTime>60</BuildTime>
<Resources>
<food>100</food>
<metal>250</metal>
</Resources>
</Cost>
<Health>
<Max>600</Max>
<RegenRate>0.5</RegenRate>
</Health>
<Identity>
<GenericName>Hero</GenericName>
<Classes datatype="tokens">Hero Organic</Classes>
<RequiredTechnology>phase_city</RequiredTechnology>
</Identity>
<Loot>
<xp>400</xp>
<food>10</food>
<wood>0</wood>
<stone>0</stone>
<metal>25</metal>
</Loot>
<Minimap>
<Type>hero</Type>
</Minimap>
<Selectable>
<Overlay>
<AlwaysVisible/>
<Texture>
<MainTexture>star/256x256.png</MainTexture>
<MainTextureMask>star/256x256_mask.png</MainTextureMask>
</Texture>
</Overlay>
</Selectable>
<Sound>
<SoundGroups>
<attack>attack/weapon/sword.xml</attack>
<death>actor/human/death/death.xml</death>
</SoundGroups>
</Sound>
<TrainingRestrictions>
<Category>Hero</Category>
</TrainingRestrictions>
<UnitMotion>
<WalkSpeed>9.0</WalkSpeed>
<Run>
<Speed>22.5</Speed>
</Run>
</UnitMotion>
<Vision>
<Range>60</Range>
</Vision>
</Entity>