Perhaps its an error in my syntax but I cannot seem to get an attack boost to lower the movement speed or sight of an effected unit.
I was generally expecting that if I add a negative value to an attack boost it will lower the stat instead, however it just doesn't seem to be the case. The units seem to be unaffected by the negative boost for some reason.
I uploaded my xml:
<?xml version="1.0" standalone="no"?>
<unit>
<!-- *** parameters *** -->
<parameters>
<size value="2"/>
<height value="1"/>
<max-hp value="400" regeneration="1"/>
<max-ep value="1" regeneration="1"/>
<armor value="10"/>
<armor-type value="normal"/>
<sight value="10"/>
<time value="75"/>
<multi-selection value="true"/>
<cellmap value="false"/>
<levels>
</levels>
<fields>
<field value="air"/>
</fields>
<properties/>
<light enabled="false"/>
<unit-requirements>
<unit name="factory"/>
</unit-requirements>
<upgrade-requirements/>
<resource-requirements>
<resource name="gold" amount="150"/>
<resource name= "ore" amount="75"/>
<resource name= "energy" amount="10"/>
</resource-requirements>
<resources-stored/>
<image path="../../../../icons/drone2.bmp"/>
<image-cancel path="../../../../icons/stop.bmp"/>
<meeting-point value="false"/>
<selection-sounds enabled="true">
</selection-sounds>
<command-sounds enabled="true">
</command-sounds>
</parameters>
<!-- *** skills *** -->
<skills>
<skill>
<type value="stop"/>
<name value="stop_skill"/>
<ep-cost value="0"/>
<speed value="1000"/>
<anim-speed value="120"/>
<animation path="drone/drone.g3d"/>
<particles value="true">
<particle-file path="air_dust.xml"/>
<particle-file path="fan_blow.xml"/>
<particle-file path="glow.xml"/>
</particles>
<sound enabled="false"/>
</skill>
<skill>
<type value="move"/>
<name value="move_skill"/>
<ep-cost value="0"/>
<speed value="400"/>
<anim-speed value="120"/>
<animation path="drone/drone.g3d"/>
<particles value="true">
<particle-file path="air_dust.xml"/>
<particle-file path="fan_blow.xml"/>
<particle-file path="glow.xml"/>
</particles>
<sound enabled="false"/>
</skill>
<skill>
<type value="move"/>
<name value="chase_skill"/>
<ep-cost value="0"/>
<speed value="400"/>
<anim-speed value="120"/>
<animation path="drone/drone.g3d"/>
<particles value="true">
<particle-file path="air_dust.xml"/>
<particle-file path="fan_blow.xml"/>
<particle-file path="glow.xml"/>
<particle-file path="slow_beam.xml"/>
</particles>
<attack-boost>
<allow-multiple-boosts value="false" />
<radius value="3"/>
<target value="foe" include-self="false"/>
<max-hp value="0"/>
<max-ep value="0"/>
<sight value="0"/>
<attack-strenght value="0"/>
<attack-range value="0"/>
<armor value="0"/>
<move-speed value="-200"/>
<production-speed value="0"/>
<particles value="true">
<affected-particle-file path="slow.xml"/>
</particles>
</attack-boost>
<sound enabled="false"/>
</skill>
<skill>
<type value="attack"/>
<name value="slow_skill"/>
<ep-cost value="0"/>
<speed value="300"/>
<anim-speed value="120"/>
<animation path="drone/drone.g3d"/>
<particles value="true">
<particle-file path="air_dust.xml"/>
<particle-file path="fan_blow.xml"/>
<particle-file path="glow.xml"/>
<particle-file path="slow_beam.xml"/>
</particles>
<sound enabled="true" start-time="0">
</sound>
<attack-strenght value="0"/>
<attack-var value="0"/>
<attack-range value="0"/>
<attack-type value="energy"/>
<attack-start-time value="0.9"/>
<attack-fields>
<field value="land"/>
</attack-fields>
<projectile value="false"/>
<splash value="false"/>
<attack-boost>
<allow-multiple-boosts value="false" />
<radius value="3"/>
<target value="foe"/>
<max-hp value="0"/>
<max-ep value="0"/>
<sight value="0"/>
<attack-strenght value="0"/>
<attack-range value="0"/>
<armor value="-200"/>
<move-speed value="0"/>
<production-speed value="0"/>
<particles value="true">
<affected-particle-file path="slow.xml"/>
</particles>
</attack-boost>
</skill>
<skill>
<type value="die"/>
<name value="die_skill"/>
<ep-cost value="0"/>
<speed value="60"/>
<anim-speed value="70"/>
<animation path="drone/boom.g3d"/>
<sound enabled="true" start-time="0">
</sound>
<particles value="true">
</particles>
<fade value="false"/>
</skill>
</skills>
<!-- *** commands *** -->
<commands>
<command>
<type value= "stop"/>
<name value="stop"/>
<image path="../../../../icons/stop.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<stop-skill value="stop_skill"/>
</command>
<command>
<type value="move"/>
<name value="move"/>
<image path="../../../../icons/move.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="move_skill"/>
</command>
<command>
<type value="attack"/>
<name value="slow"/>
<image path="../../../../icons/attack.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="chase_skill"/>
<attack-skill value="slow_skill"/>
</command>
</commands>
</unit>
Does anyone see whats wrong? If not maybe this is a bug.