Cost cannot be non-integer, and rounding issues happened.

Reported by: gameboy
This was SVN commit r25245.
This commit is contained in:
wraitii 2021-04-12 14:07:59 +00:00
parent 6d5b710877
commit 2078abdcc4

View file

@ -3,7 +3,7 @@
<Cost>
<BuildTime op="mul">0.7</BuildTime>
<Resources>
<food op="mul">0.4</food>
<food op="mul_round">0.4</food>
<wood>0</wood>
<stone>0</stone>
<!-- Metal is specified on a per-class basis in derived templates. -->
@ -13,7 +13,7 @@
<VisibleClasses datatype="tokens">Mercenary</VisibleClasses>
</Identity>
<Loot>
<food op="mul">0.4</food>
<food op="mul_round">0.4</food>
<wood>0</wood>
<stone>0</stone>
</Loot>