Differential D4721 Diff 20542 binaries/data/mods/public/simulation/templates/template_unit_infantry_ranged_crossbowman.xml
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/template_unit_infantry_ranged_crossbowman.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"> | ||||
<Attack> | <Attack> | ||||
<Ranged> | <Ranged> | ||||
<AttackName>Crossbow</AttackName> | <AttackName>Crossbow</AttackName> | ||||
<Damage> | <Damage> | ||||
<Pierce>20</Pierce> | <Pierce>30</Pierce> | ||||
</Damage> | </Damage> | ||||
<MaxRange>45</MaxRange> | <MaxRange>45</MaxRange> | ||||
<PrepareTime>600</PrepareTime> | <PrepareTime>600</PrepareTime> | ||||
<RepeatTime>3000</RepeatTime> | <RepeatTime>3000</RepeatTime> | ||||
<Projectile> | <Projectile> | ||||
<Speed>80</Speed> | <Speed>80</Speed> | ||||
<Spread>3</Spread> | <Spread>3</Spread> | ||||
<Gravity>30</Gravity> | <Gravity>30</Gravity> | ||||
<FriendlyFire>false</FriendlyFire> | <FriendlyFire>false</FriendlyFire> | ||||
<LaunchPoint y="3"/> | <LaunchPoint y="3"/> | ||||
</Projectile> | </Projectile> | ||||
<PreferredClasses datatype="tokens">Human</PreferredClasses> | <PreferredClasses datatype="tokens">Human</PreferredClasses> | ||||
</Ranged> | </Ranged> | ||||
</Attack> | </Attack> | ||||
<Cost> | <Cost> | ||||
<Resources> | <Resources> | ||||
<wood>40</wood> | <wood>50</wood> | ||||
</Resources> | </Resources> | ||||
</Cost> | </Cost> | ||||
<Health> | |||||
<Max op="add">-10</Max> | |||||
</Health> | |||||
<Identity> | <Identity> | ||||
<GenericName>Infantry Crossbowman</GenericName> | <GenericName>Infantry Crossbowman</GenericName> | ||||
<VisibleClasses datatype="tokens">Crossbowman</VisibleClasses> | <VisibleClasses datatype="tokens">Crossbowman</VisibleClasses> | ||||
</Identity> | </Identity> | ||||
<Loot> | <Loot> | ||||
<wood>3</wood> | <wood>5</wood> | ||||
<metal>2</metal> | |||||
</Loot> | </Loot> | ||||
real_tabasco_sauce: It could probably just inherit the loot of the parent class. Shouldn't have metal loot. | |||||
<Resistance> | <Resistance> | ||||
<Entity> | <Entity> | ||||
<Damage> | <Damage> | ||||
<Hack>1</Hack> | <Hack>1</Hack> | ||||
<Pierce>1</Pierce> | <Pierce>1</Pierce> | ||||
</Damage> | </Damage> | ||||
</Entity> | </Entity> | ||||
</Resistance> | </Resistance> | ||||
Show All 11 Lines |
Wildfire Games · Phabricator
It could probably just inherit the loot of the parent class. Shouldn't have metal loot.