forked from 0ad/0ad
[Gameplay] Create a 'cataphract' mixin to differentiate Cataphract cavalry from other Cavalry
Adds 1/1/1 armor, but +10 metal cost and -5% speed and slightly slower acceleration and turning Patch by: @wowgetoffyourcellphone Accepted by: real_tabasco_sauce Comments by: @borg- & @chrstgtr Differential revision: https://code.wildfiregames.com/D5141 This was SVN commit r27864.
This commit is contained in:
parent
3fff9df4a0
commit
03ec53b610
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Entity>
|
||||
<Attack>
|
||||
<Melee>
|
||||
<MaxRange op="add">3.0</MaxRange>
|
||||
</Melee>
|
||||
</Attack>
|
||||
<Cost>
|
||||
<Resources>
|
||||
<metal op="add">10</metal>
|
||||
</Resources>
|
||||
</Cost>
|
||||
<Identity>
|
||||
<GenericName>Cataphract Cavalry</GenericName>
|
||||
<VisibleClasses datatype="tokens">Cataphract</VisibleClasses>
|
||||
</Identity>
|
||||
<Position>
|
||||
<TurnRate op="mul">0.8</TurnRate>
|
||||
</Position>
|
||||
<Resistance>
|
||||
<Entity>
|
||||
<Damage>
|
||||
<Hack op="add">1</Hack>
|
||||
<Pierce op="add">1</Pierce>
|
||||
<Crush op="add">1</Crush>
|
||||
</Damage>
|
||||
</Entity>
|
||||
</Resistance>
|
||||
<UnitMotion>
|
||||
<WalkSpeed op="mul">0.95</WalkSpeed>
|
||||
<Acceleration op="mul">0.8</Acceleration>
|
||||
</UnitMotion>
|
||||
</Entity>
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Entity parent="template_unit_champion_cavalry_spearman">
|
||||
<Entity parent="cataphract|template_unit_champion_cavalry_spearman">
|
||||
<Identity>
|
||||
<Civ>pers</Civ>
|
||||
<Lang>persian</Lang>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Entity parent="template_unit_champion_cavalry_spearman">
|
||||
<Entity parent="cataphract|template_unit_champion_cavalry_spearman">
|
||||
<Identity>
|
||||
<Civ>sele</Civ>
|
||||
<Lang>greek</Lang>
|
||||
|
Loading…
Reference in New Issue
Block a user