It seems only 1 <update> will pass the build at same time.
Here's my example: the Longhouse. I want to change it to 120 hammers and +20% building speed.
It works.
It works too.
It doesn't work...
Doesn't work too.
Doesn't work again...
I don't know what's the right code. How can I update 2 or more values at sametime?
Here's my example: the Longhouse. I want to change it to 120 hammers and +20% building speed.
Code:
<Buildings>
<Update>
<Where Type="BUILDING_LONGHOUSE"/>
<Set BuildingProductionModifier="20"/>
</Update>
</Buildings>
Code:
<Buildings>
<Update>
<Where Type="BUILDING_LONGHOUSE"/>
<Set Cost="120"/>
</Update>
</Buildings>
It works too.
Code:
<Buildings>
<Update>
<Where Type="BUILDING_LONGHOUSE"/>
<Set Cost="120"/>
<Set BuildingProductionModifier="20"/>
</Update>
</Buildings>
It doesn't work...
Code:
<Buildings>
<Update>
<Where Type="BUILDING_LONGHOUSE"/>
<Set Cost="120"/>
</Update>
<Update>
<Where Type="BUILDING_LONGHOUSE"/>
<Set BuildingProductionModifier="20"/>
</Update>
</Buildings>
Doesn't work too.
Code:
<Buildings>
<Update>
<Where Type="BUILDING_LONGHOUSE"/>
<Set Cost="120"/>
</Update>
<Row>
<Type>BUILDING_LONGHOUSE</Type>
<BuildingProductionModifier>20</BuildingProductionModifier>
</Row>
</Buildings>
Doesn't work again...
I don't know what's the right code. How can I update 2 or more values at sametime?