1
0
forked from 0ad/0ad

[Gameplay A24] - Unify ranged attack ranges.

New values:
- javelineers: 30
- slingers: 50
- crossbowmen: 60
- archers and structures: 70
- archers with archery tradition - 80

Patch by: @Nescio
Differential revision: D3297
Reviewed by: @borg-
This was SVN commit r24539.
This commit is contained in:
Freagarach 2021-01-11 09:21:24 +00:00
parent ec26d3ef3f
commit a46d74b14d
26 changed files with 75 additions and 65 deletions

View File

@ -17,9 +17,9 @@
"requirementsTooltip": "Unlocked in Village Phase.",
"icon": "archery_tradition.png",
"researchTime": 60,
"tooltip": "Archers −10% training time, +8 attack range, and −10% ranged attack spread.",
"tooltip": "Archers −10% training time, +10 attack range, and −10% ranged attack spread.",
"modifications": [
{ "value": "Attack/Ranged/MaxRange", "add": 8 },
{ "value": "Attack/Ranged/MaxRange", "add": 10 },
{ "value": "Attack/Ranged/Spread", "multiply": 0.9 },
{ "value": "Cost/BuildTime", "multiply": 0.9 },
{ "value": "Vision/Range", "add": 8 }

View File

@ -1,13 +1,12 @@
{
"autoResearch": true,
"icon": "upgrade_advanced.png",
"tooltip": "Advanced and Elite units +20% training time, +1 armor, +10% health, +0.7 capture attack strength, +20% loot, and −30% gather speed; Healers +5 healing strength and +3 healing range; Melee units +20% attack damage; Ranged units +4 attack range and −10% spread.",
"tooltip": "Advanced and Elite units +20% training time, +1 armor, +10% health, +0.7 capture attack strength, +20% loot, and −30% gather speed; Healers +5 healing strength and +3 healing range; Melee units +20% attack damage; Ranged units −10% spread.",
"modifications": [
{ "value": "Attack/Capture/Capture", "add": 0.7 },
{ "value": "Attack/Melee/Damage/Hack", "multiply": 1.2, "affects": "Melee" },
{ "value": "Attack/Melee/Damage/Pierce", "multiply": 1.2, "affects": "Melee" },
{ "value": "Attack/Melee/Damage/Crush", "multiply": 1.2, "affects": "Melee" },
{ "value": "Attack/Ranged/MaxRange", "add": 4, "affects": "Ranged" },
{ "value": "Attack/Ranged/Spread", "multiply": 0.9, "affects": "Ranged" },
{ "value": "Cost/BuildTime", "multiply": 1.2 },
{ "value": "Health/Max", "multiply": 1.1 },

View File

@ -1,13 +1,12 @@
{
"autoResearch": true,
"icon": "upgrade_elite.png",
"tooltip": "Elite units +20% training time, +1 armor, +10% health, +0.8 capture attack strength, +20% loot, and −30% gather speed; Healers +5 healing strength and +3 healing range; Melee units +20% attack damage; Ranged units +4 attack range and −10% spread.",
"tooltip": "Elite units +20% training time, +1 armor, +10% health, +0.8 capture attack strength, +20% loot, and −30% gather speed; Healers +5 healing strength and +3 healing range; Melee units +20% attack damage; Ranged units −10% spread.",
"modifications": [
{ "value": "Attack/Capture/Capture", "add": 0.8 },
{ "value": "Attack/Melee/Damage/Hack", "multiply": 1.2, "affects": "Melee" },
{ "value": "Attack/Melee/Damage/Pierce", "multiply": 1.2, "affects": "Melee" },
{ "value": "Attack/Melee/Damage/Crush", "multiply": 1.2, "affects": "Melee" },
{ "value": "Attack/Ranged/MaxRange", "add": 4, "affects": "Ranged" },
{ "value": "Attack/Ranged/Spread", "multiply": 0.9, "affects": "Ranged" },
{ "value": "Cost/BuildTime", "multiply": 1.2 },
{ "value": "Health/Max", "multiply": 1.1 },

View File

@ -2,7 +2,7 @@
<Entity parent="template_structure_defensive_tower_stone">
<Attack>
<Ranged>
<MinRange>12.0</MinRange>
<MinRange>12</MinRange>
</Ranged>
</Attack>
<BuildingAI>

View File

@ -4,12 +4,12 @@
<Ranged>
<AttackName>Bow</AttackName>
<Damage>
<Hack>0.0</Hack>
<Pierce>25.0</Pierce>
<Crush>0.0</Crush>
<Hack>0</Hack>
<Pierce>25</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>60.0</MaxRange>
<MinRange>0.0</MinRange>
<MaxRange>70</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>1200</PrepareTime>
<RepeatTime>2000</RepeatTime>
<Delay>0</Delay>

View File

@ -10,12 +10,12 @@
<Ranged>
<AttackName>Bow</AttackName>
<Damage>
<Hack>0.0</Hack>
<Pierce>12.0</Pierce>
<Crush>0.0</Crush>
<Hack>0</Hack>
<Pierce>12</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>72.0</MaxRange>
<MinRange>0.0</MinRange>
<MaxRange>70</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>1200</PrepareTime>
<RepeatTime>2000</RepeatTime>
<Delay>0</Delay>

View File

@ -8,6 +8,8 @@
<Pierce>0</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>70</MaxRange>
<MinRange>10</MinRange>
<PrepareTime>1200</PrepareTime>
<RepeatTime>2000</RepeatTime>
<Delay>0</Delay>

View File

@ -5,8 +5,6 @@
<Damage>
<Pierce>9</Pierce>
</Damage>
<MaxRange>70</MaxRange>
<MinRange>10</MinRange>
<ElevationBonus>9</ElevationBonus>
</Ranged>
</Attack>

View File

@ -5,8 +5,6 @@
<Damage>
<Pierce>12</Pierce>
</Damage>
<MaxRange>76</MaxRange>
<MinRange>10</MinRange>
<ElevationBonus>15</ElevationBonus>
</Ranged>
</Attack>

View File

@ -4,12 +4,12 @@
<Ranged>
<AttackName>Bow</AttackName>
<Damage>
<Hack>0.0</Hack>
<Pierce>8.0</Pierce>
<Crush>0.0</Crush>
<Hack>0</Hack>
<Pierce>8</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>72.0</MaxRange>
<MinRange>12.0</MinRange>
<MaxRange>70</MaxRange>
<MinRange>12</MinRange>
<PrepareTime>1200</PrepareTime>
<RepeatTime>2000</RepeatTime>
<Delay>0</Delay>

View File

@ -4,12 +4,12 @@
<Ranged>
<AttackName>Bow</AttackName>
<Damage>
<Hack>0.0</Hack>
<Pierce>16.0</Pierce>
<Crush>0.0</Crush>
<Hack>0</Hack>
<Pierce>16</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>72.0</MaxRange>
<MinRange>0.0</MinRange>
<MaxRange>70</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>1200</PrepareTime>
<RepeatTime>2000</RepeatTime>
<Delay>0</Delay>

View File

@ -8,7 +8,7 @@
<Pierce>7</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>72</MaxRange>
<MaxRange>70</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>500</PrepareTime>
<RepeatTime>1000</RepeatTime>
@ -17,6 +17,8 @@
<Speed>100.0</Speed>
<Gravity>39.81</Gravity>
<Spread>3.0</Spread>
<FriendlyFire>false</FriendlyFire>
<LaunchPoint y="3"/>
</Projectile>
<PreferredClasses datatype="tokens">Human</PreferredClasses>
</Ranged>

View File

@ -5,17 +5,20 @@
<AttackName>Javelin</AttackName>
<Damage>
<Hack>0</Hack>
<Pierce>18.0</Pierce>
<Pierce>18</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>28.0</MaxRange>
<MinRange>0.0</MinRange>
<MaxRange>30</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>750</PrepareTime>
<RepeatTime>1250</RepeatTime>
<Delay>0</Delay>
<Projectile>
<Speed>70</Speed>
<Gravity>39.81</Gravity>
<Spread>4.0</Spread>
<FriendlyFire>false</FriendlyFire>
<LaunchPoint y="3"/>
</Projectile>
<PreferredClasses datatype="tokens">Human</PreferredClasses>
</Ranged>

View File

@ -8,7 +8,7 @@
<Pierce>14</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>76</MaxRange>
<MaxRange>70</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>500</PrepareTime>
<RepeatTime>1000</RepeatTime>

View File

@ -4,12 +4,12 @@
<Ranged>
<AttackName>Javelin</AttackName>
<Damage>
<Hack>0.0</Hack>
<Pierce>36.0</Pierce>
<Crush>0.0</Crush>
<Hack>0</Hack>
<Pierce>36</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>32.0</MaxRange>
<MinRange>0.0</MinRange>
<MaxRange>30</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>750</PrepareTime>
<RepeatTime>1250</RepeatTime>
<Delay>0</Delay>

View File

@ -8,7 +8,7 @@
<Pierce>13.5</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>76</MaxRange>
<MaxRange>70</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>500</PrepareTime>
<RepeatTime>1000</RepeatTime>

View File

@ -5,11 +5,11 @@
<AttackName>Javelin</AttackName>
<Damage>
<Hack>0</Hack>
<Pierce>26.0</Pierce>
<Pierce>26</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>28.0</MaxRange>
<MinRange>0.0</MinRange>
<MaxRange>30</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>500</PrepareTime>
<RepeatTime>1000</RepeatTime>
<Delay>0</Delay>

View File

@ -8,7 +8,7 @@
<Pierce>14</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>72</MaxRange>
<MaxRange>70</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>500</PrepareTime>
<RepeatTime>1000</RepeatTime>

View File

@ -8,7 +8,7 @@
<Pierce>28</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>80</MaxRange>
<MaxRange>70</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>500</PrepareTime>
<RepeatTime>1000</RepeatTime>

View File

@ -4,12 +4,12 @@
<Ranged>
<AttackName>Javelin</AttackName>
<Damage>
<Hack>0.0</Hack>
<Pierce>60.0</Pierce>
<Crush>0.0</Crush>
<Hack>0</Hack>
<Pierce>60</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>36.0</MaxRange>
<MinRange>0.0</MinRange>
<MaxRange>30</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>750</PrepareTime>
<RepeatTime>1250</RepeatTime>
<Delay>0</Delay>

View File

@ -8,7 +8,7 @@
<Pierce>27</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>80</MaxRange>
<MaxRange>70</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>500</PrepareTime>
<RepeatTime>1000</RepeatTime>

View File

@ -5,11 +5,11 @@
<AttackName>Javelin</AttackName>
<Damage>
<Hack>0</Hack>
<Pierce>50.0</Pierce>
<Pierce>50</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>32.0</MaxRange>
<MinRange>0.0</MinRange>
<MaxRange>30</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>600</PrepareTime>
<RepeatTime>1000</RepeatTime>
<Delay>0</Delay>

View File

@ -8,7 +8,7 @@
<Pierce>6.7</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>72</MaxRange>
<MaxRange>70</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>500</PrepareTime>
<RepeatTime>1000</RepeatTime>
@ -17,6 +17,8 @@
<Speed>100.0</Speed>
<Gravity>39.81</Gravity>
<Spread>3.0</Spread>
<FriendlyFire>false</FriendlyFire>
<LaunchPoint y="3"/>
</Projectile>
<PreferredClasses datatype="tokens">Human</PreferredClasses>
</Ranged>

View File

@ -5,17 +5,20 @@
<AttackName>Javelin</AttackName>
<Damage>
<Hack>0</Hack>
<Pierce>16.0</Pierce>
<Pierce>16</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>24.0</MaxRange>
<MinRange>0.0</MinRange>
<MaxRange>30</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>750</PrepareTime>
<RepeatTime>1250</RepeatTime>
<Delay>0</Delay>
<Projectile>
<Speed>70</Speed>
<Gravity>39.81</Gravity>
<Spread>4.0</Spread>
<FriendlyFire>false</FriendlyFire>
<LaunchPoint y="3"/>
</Projectile>
<PreferredClasses datatype="tokens">Human</PreferredClasses>
</Ranged>

View File

@ -8,14 +8,17 @@
<Pierce>11.5</Pierce>
<Crush>1.1</Crush>
</Damage>
<MaxRange>48.0</MaxRange>
<MinRange>0.0</MinRange>
<MaxRange>50</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>750</PrepareTime>
<RepeatTime>1250</RepeatTime>
<Delay>0</Delay>
<Projectile>
<Speed>90</Speed>
<Spread>3.5</Spread>
<Gravity>29.81</Gravity>
<FriendlyFire>false</FriendlyFire>
<LaunchPoint y="3"/>
</Projectile>
<PreferredClasses datatype="tokens">Human</PreferredClasses>
</Ranged>

View File

@ -8,10 +8,11 @@
<Pierce>6.5</Pierce>
<Crush>0</Crush>
</Damage>
<MaxRange>76</MaxRange>
<MinRange>0.0</MinRange>
<PrepareTime>2320</PrepareTime>
<MaxRange>60</MaxRange>
<MinRange>0</MinRange>
<PrepareTime>2400</PrepareTime>
<RepeatTime>3000</RepeatTime>
<Delay>0</Delay>
<Projectile>
<Speed>100.0</Speed>
</Projectile>