Differential D2337 Diff 10007 binaries/data/mods/public/simulation/templates/template_unit_infantry_ranged_archer.xml
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/template_unit_infantry_ranged_archer.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<Entity parent="template_unit_infantry_ranged"> | <Entity parent="template_unit_infantry_ranged"> | ||||
<Armour> | <Armour> | ||||
<Hack>1</Hack> | <Hack>1</Hack> | ||||
<Pierce>1</Pierce> | <Pierce>1</Pierce> | ||||
</Armour> | </Armour> | ||||
<Attack> | <Attack> | ||||
<Ranged> | <Ranged> | ||||
<Damage> | <Damage> | ||||
<Hack>0</Hack> | <Hack>0</Hack> | ||||
<Pierce>6.0</Pierce> | <Pierce>6.0</Pierce> | ||||
<Crush>0</Crush> | <Crush>0</Crush> | ||||
</Damage> | </Damage> | ||||
<GiveStatus> | |||||
<Bogus> | |||||
<Name>Bogus</Name> | |||||
<Tooltip>Some bogus bonus tooltip describing the effect of the modifiers. This speeds up the entity but halves the health and resource gathering speed.</Tooltip> | |||||
<Duration>15000</Duration> | |||||
<Modifiers> | |||||
<Haste> | |||||
<Paths datatype="tokens">UnitMotion/WalkSpeed</Paths> | |||||
<Affects datatype="tokens">Unit</Affects> | |||||
<Add>20</Add> | |||||
</Haste> | |||||
<Health> | |||||
<Paths datatype="tokens">Health/Max ResourceGatherer/BaseSpeed</Paths> | |||||
<Affects datatype="tokens">Unit Structure</Affects> | |||||
<Multiply>0.5</Multiply> | |||||
</Health> | |||||
</Modifiers> | |||||
</Bogus> | |||||
<Bogus2> | |||||
<Name>Bogus-Test2</Name> | |||||
<Duration>10000</Duration> | |||||
<Interval>1000</Interval> | |||||
<Damage> | |||||
<Poison>1</Poison> | |||||
</Damage> | |||||
</Bogus2> | |||||
<AnotherBogus> | |||||
<Tooltip>Some bogus bonus tooltip describing the effect of the modifiers. This increases the armour permanently.</Tooltip> | |||||
<Interval>1000</Interval> | |||||
<Damage> | |||||
<Poisson>1</Poisson> | |||||
</Damage> | |||||
<Modifiers> | |||||
<Resiliance> | |||||
<Paths datatype="tokens">Armour/Hack Armour/Pierce Armour/Crush</Paths> | |||||
<Affects datatype="tokens">Unit</Affects> | |||||
<Add>20</Add> | |||||
</Resiliance> | |||||
</Modifiers> | |||||
</AnotherBogus> | |||||
</GiveStatus> | |||||
<MaxRange>72.0</MaxRange> | <MaxRange>72.0</MaxRange> | ||||
<MinRange>0.0</MinRange> | <MinRange>0.0</MinRange> | ||||
<PrepareTime>600</PrepareTime> | <PrepareTime>600</PrepareTime> | ||||
<RepeatTime>1000</RepeatTime> | <RepeatTime>1000</RepeatTime> | ||||
<Projectile> | <Projectile> | ||||
<Speed>75.0</Speed> | <Speed>75.0</Speed> | ||||
<Spread>3.0</Spread> | <Spread>3.0</Spread> | ||||
</Projectile> | </Projectile> | ||||
</Ranged> | </Ranged> | ||||
</Attack> | </Attack> | ||||
<Cost> | <Cost> | ||||
<Resources> | <Resources> | ||||
<food>50</food> | <food>50</food> | ||||
<wood>50</wood> | <wood>50</wood> | ||||
</Resources> | </Resources> | ||||
</Cost> | </Cost> | ||||
<Identity> | <Identity> | ||||
<VisibleClasses datatype="tokens">Archer</VisibleClasses> | <VisibleClasses datatype="tokens">Archer</VisibleClasses> | ||||
<GenericName>Archer</GenericName> | <GenericName>Archer</GenericName> | ||||
</Identity> | </Identity> | ||||
<Loot> | <Loot> | ||||
<wood>5</wood> | <wood>5</wood> | ||||
</Loot> | </Loot> | ||||
<Upgrade> | |||||
<Test> | |||||
<Entity>units/athen_ship_fishing</Entity> | |||||
</Test> | |||||
</Upgrade> | |||||
<UnitMotion> | <UnitMotion> | ||||
<WalkSpeed op="mul">1.1</WalkSpeed> | <WalkSpeed op="mul">1.1</WalkSpeed> | ||||
</UnitMotion> | </UnitMotion> | ||||
</Entity> | </Entity> |
Wildfire Games · Phabricator