1
0
forked from 0ad/0ad

Give Chandragupta Maurya Hero two auras.

Patch by: @real_tabasco_sauce
Differential revision: https://code.wildfiregames.com/D4952
Reviewed by: @chrstgtr
Comments by: @Langbart, @wowgetoffyourcellphone
This was SVN commit r27568.
This commit is contained in:
Freagarach 2023-03-06 07:37:20 +00:00
parent 9692a3ec9c
commit 5706426dad
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{
"type": "range",
"radius": 60,
"affects": ["Soldier !Elephant"],
"modifications": [
{ "value": "Attack/Melee/Damage/Hack", "multiply": 1.1 },
{ "value": "Attack/Melee/Damage/Pierce", "multiply": 1.1 },
{ "value": "Attack/Melee/Damage/Crush", "multiply": 1.1 },
{ "value": "Attack/Ranged/Damage/Hack", "multiply": 1.1 },
{ "value": "Attack/Ranged/Damage/Pierce", "multiply": 1.1 },
{ "value": "Attack/Ranged/Damage/Crush", "multiply": 1.1 },
{ "value": "Resistance/Entity/Damage/Hack", "add": 1 },
{ "value": "Resistance/Entity/Damage/Pierce", "add": 1 },
{ "value": "Resistance/Entity/Damage/Crush", "add": 1 }
],
"auraName": "Empire Maker",
"auraDescription": "Soldiers +10% melee and ranged attack damage, +1 crush, hack, pierce resistance.",
"overlayIcon": "art/textures/ui/session/auras/attack_bonus.png"
}

View File

@ -0,0 +1,12 @@
{
"type": "global",
"affects": ["Elephant"],
"modifications": [
{ "value": "Attack/Melee/RepeatTime", "multiply": 0.85 },
{ "value": "Attack/Ranged/RepeatTime", "multiply": 0.85 },
{ "value": "UnitMotion/WalkSpeed", "multiply": 1.10 }
],
"auraName": "Elephant Corps",
"auraDescription": "Elephants +15% attack rate, +10% movement speed.",
"overlayIcon": "art/textures/ui/session/auras/attack_bonus.png"
}

View File

@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_hero_elephant_melee">
<Auras datatype="tokens">
units/heroes/maur_hero_chandragupta_1
units/heroes/maur_hero_chandragupta_2
</Auras>
<Identity>
<Civ>maur</Civ>
<GenericName>Chandragupta Maurya</GenericName>