1
0
forked from mirrors/0ad

Removing trailing 0's and leading +'s from operators in templates.

Patch By: Nescio
Differential Revision: https://code.wildfiregames.com/D2609
This was SVN commit r23493.
This commit is contained in:
bb
2020-02-11 20:07:18 +00:00
parent 053b3c424a
commit 909dae4ec1
9 changed files with 15 additions and 15 deletions
@@ -11,7 +11,7 @@
<Height>15.0</Height>
</Footprint>
<Health>
<Max op="mul">2.0</Max>
<Max op="mul">2</Max>
</Health>
<Identity>
<SpecificName>Outpost</SpecificName>
@@ -34,6 +34,6 @@
</SoundGroups>
</Sound>
<UnitMotion>
<WalkSpeed op="mul">1.0</WalkSpeed>
<WalkSpeed op="mul">1</WalkSpeed>
</UnitMotion>
</Entity>
@@ -28,6 +28,6 @@
<GenericName>Hero Cavalry Swordsman</GenericName>
</Identity>
<UnitMotion>
<WalkSpeed op="mul">1.0</WalkSpeed>
<WalkSpeed op="mul">1</WalkSpeed>
</UnitMotion>
</Entity>
@@ -27,7 +27,7 @@
<Height>8.0</Height>
</Footprint>
<Health>
<Max op="mul">2.0</Max>
<Max op="mul">2</Max>
</Health>
<Identity>
<Civ>maur</Civ>
@@ -14,10 +14,10 @@
</Builder>
<Cost>
<Resources>
<food op="add">-10.0</food>
<metal op="add">+20.0</metal>
<food op="add">-10</food>
<metal op="add">20</metal>
</Resources>
<BuildTime op="add">+5</BuildTime>
<BuildTime op="add">5</BuildTime>
</Cost>
<TrainingRestrictions>
<Category>Gladiator</Category>
@@ -15,10 +15,10 @@
</Builder>
<Cost>
<Resources>
<food op="add">-10.0</food>
<metal op="add">+20.0</metal>
<food op="add">-10</food>
<metal op="add">20</metal>
</Resources>
<BuildTime op="add">+5</BuildTime>
<BuildTime op="add">5</BuildTime>
</Cost>
<TrainingRestrictions>
<Category>Gladiator</Category>
@@ -6,7 +6,7 @@
<Pierce op="mul">1.1</Pierce>
<Crush op="mul">1.1</Crush>
</Damage>
<MaxRange op="add">8.0</MaxRange>
<MaxRange op="add">8</MaxRange>
<Splash>
<Damage>
<Pierce op="mul">1.1</Pierce>
@@ -6,7 +6,7 @@
<Pierce op="mul">1.2</Pierce>
<Crush op="mul">0.5</Crush>
</Damage>
<MaxRange op="add">8.0</MaxRange>
<MaxRange op="add">8</MaxRange>
</Ranged>
</Attack>
<Footprint replace="">
@@ -10,10 +10,10 @@
</Builder>
<Cost>
<Resources>
<food op="add">-10.0</food>
<metal op="add">+20.0</metal>
<food op="add">-10</food>
<metal op="add">20</metal>
</Resources>
<BuildTime op="add">+5</BuildTime>
<BuildTime op="add">5</BuildTime>
</Cost>
<Identity>
<Civ>spart</Civ>