Ticket #2444: auras-part1.patch

File auras-part1.patch, 4.9 KB (added by Silk, 10 years ago)

Adds Auras for the heroes for which there is currently sufficient description to actually do so.

  • data/mods/public/simulation/data/auras/cav_armor_2.json

     
     1{
     2    "affects":["Cavalry"],
     3    "affectedPlayers":["Player"],
     4    "modifications":[{"value":"Armour/Pierce","add":2},{"value":"Armour/Hack","add":2},{"value":"Armour/Crush","add":2}]
     5}
  • data/mods/public/simulation/data/auras/eleph_attack_20.json

     
     1{
     2    "affects":["Elephant"],
     3    "affectedPlayers":["Player"],
     4    "modifications":[{"value":"Attack/Melee/Hack","multiply":1.2}, {"value":"Attack/Melee/Crush","multiply":1.2},
     5       {"value":"Attack/Charge/Hack","multiply":1.2}, {"value":"Attack/Charge/Crush","multiply":1.2}]
     6}
     7 No newline at end of file
  • data/mods/public/simulation/data/auras/eleph_speed_20.json

     
     1{
     2    "affects":["Elephant"],
     3    "affectedPlayers":["Player"],
     4    "modifications":[{"value":"UnitMotion/WalkSpeed","multiply":1.2}]
     5}
     6 No newline at end of file
  • data/mods/public/simulation/data/auras/melee_inf_seige.json

     
     1{
     2    "affects":["Melee Infantry"],
     3    "affectedPlayers":["Player"],
     4    "modifications":[{"value":"Attack/Melee/Hack","add":2}]
     5}
  • data/mods/public/simulation/data/auras/merc_cost_50.json

     
     1{
     2    "affects":["Mercenary"],
     3    "affectedPlayers":["Player"],
     4    "modifications":[{"value":"Cost/Resources/stone","mult":0.5}, {"value":"Cost/Resources/food","mult":0.5},
     5        {"value":"Cost/Resources/wood","mult":0.5}, {"value":"Cost/Resources/metal","mult":0.5}]
     6}
  • data/mods/public/simulation/data/auras/struct_buildtime_10.json

     
     1{
     2    "affects":["Structure"],
     3    "affectedPlayers":["Player"],
     4    "modifications":[{"value":"Cost/BuildTime","multiply":0.9}]
     5}
  • data/mods/public/simulation/templates/units/ptol_hero_ptolemy_I.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_hero_elephant_melee">
     3  <Auras>
     4    <struct_buildtime_10>
     5      <Type>range</Type>
     6      <Radius>77</Radius>
     7    </struct_buildtime_10>
     8    <merc_cost_50>
     9      <Type>global</Type>
     10    </merc_cost_50>
    311  <Builder>
    412    <Rate>1.0</Rate>
    513    <Entities datatype="tokens">
  • data/mods/public/simulation/templates/units/sele_hero_antiochus_great.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_hero_cavalry_spearman">
     3  <Auras>
     4    <cav_armor_2>
     5      <Type>Global</Type>
     6    </cav_armor_2>
     7  </Auras>
    38  <Builder>
    49    <Rate>1.0</Rate>
    510    <Entities datatype="tokens">
  • data/mods/public/simulation/templates/units/sele_hero_seleucus_victor.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_hero_elephant_melee">
     3  <Auras>
     4    <eleph_attack_20>
     5      <Type>range</Type>
     6      <Radius>80</Radius>
     7    </eleph_attack_20>
     8    <eleph_speed_20>
     9      <Type>range</Type>
     10      <Radius>80</Radius>
     11    </eleph_speed_20>
     12  </Auras>
    313  <Builder>
    414    <Rate>1.0</Rate>
    515    <Entities datatype="tokens">