1
0
forked from mirrors/0ad

[gameplay-a24] differentiate African and Indian war elephants because of their sizes.

maur, pers, sele champion elephants +10% resource costs, training time,
health, and attack damage;
cart, kush, ptol champion elephants −10% resource costs, training time,
health, and attack damage.

Patch by: @Nescio
Accepted by: @Feldfeld, @borg-
Differential Revision: https://code.wildfiregames.com/D2861
This was SVN commit r23804.
This commit is contained in:
Stan
2020-07-04 18:15:05 +00:00
parent 586b045d09
commit 33042ad23d
8 changed files with 62 additions and 6 deletions
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_champion_elephant_melee">
<Attack>
<Melee>
<Damage>
<Hack op="mul">0.9</Hack>
<Crush op="mul">0.9</Crush>
</Damage>
</Melee>
</Attack>
<Cost>
<BuildTime op="mul">0.9</BuildTime>
<Resources>
<food op="mul">0.9</food>
<metal op="mul">0.9</metal>
</Resources>
</Cost>
<Health>
<Max op="mul">0.9</Max>
</Health>
<Identity>
<GenericName>African War Elephant</GenericName>
</Identity>
<Loot>
<food op="mul">0.9</food>
<metal op="mul">0.9</metal>
</Loot>
</Entity>
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_champion_elephant_melee">
<Attack>
<Melee>
<Damage>
<Hack op="mul">1.1</Hack>
<Crush op="mul">1.1</Crush>
</Damage>
</Melee>
</Attack>
<Cost>
<BuildTime op="mul">1.1</BuildTime>
<Resources>
<food op="mul">1.1</food>
<metal op="mul">1.1</metal>
</Resources>
</Cost>
<Health>
<Max op="mul">1.1</Max>
</Health>
<Identity>
<GenericName>Indian War Elephant</GenericName>
</Identity>
<Loot>
<food op="mul">1.1</food>
<metal op="mul">1.1</metal>
</Loot>
</Entity>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_champion_elephant_melee">
<Entity parent="template_unit_champion_elephant_melee_african">
<Identity>
<Civ>cart</Civ>
<GenericName>North African War Elephant</GenericName>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_champion_elephant_melee">
<Entity parent="template_unit_champion_elephant_melee_african">
<Identity>
<Civ>kush</Civ>
<GenericName>Meroitic War Elephant</GenericName>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_champion_elephant_melee">
<Entity parent="template_unit_champion_elephant_melee_indian">
<Identity>
<Civ>maur</Civ>
<GenericName>Indian War Elephant</GenericName>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_champion_elephant_melee">
<Entity parent="template_unit_champion_elephant_melee_indian">
<Identity>
<Civ>pers</Civ>
<Lang>persian</Lang>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_champion_elephant_melee">
<Entity parent="template_unit_champion_elephant_melee_african">
<Identity>
<Civ>ptol</Civ>
<GenericName>Towered War Elephant</GenericName>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_champion_elephant_melee">
<Entity parent="template_unit_champion_elephant_melee_indian">
<Identity>
<Civ>sele</Civ>
<Lang>greek</Lang>