Ticket #3989: tower_range_v4.patch

File tower_range_v4.patch, 3.4 KB (added by Imarok, 8 years ago)

Vision range increasement only for ranged units

  • binaries/data/mods/public/simulation/data/auras/mace_hero_demetrius.json

     
    55    { "value": "Attack/Melee/Crush", "add": 10 },
    66    { "value": "Attack/Ranged/Crush", "add": 10 },
    77    { "value": "Attack/Ranged/MaxRange", "multiply": 1.15 }
     8    { "value": "Vision/Range", "multiply": 1.15 }
    89    ],
    910    "auraName": "Hero Aura",
    1011    "auraDescription": "+15% Range and +10 Crush Attack for Siege Engines.",
  • binaries/data/mods/public/simulation/data/technologies/advanced_unit_bonus.json

     
    1010        {"value": "UnitMotion/WalkSpeed",       "add":      0.5,  "affects": "Infantry"},
    1111        {"value": "UnitMotion/WalkSpeed",       "add":      1,    "affects": "Cavalry" },
    1212        {"value": "Attack/Ranged/MaxRange",     "add":      4,    "affects": "Ranged"  },
     13        {"value": "Vision/Range",               "add":      4,    "affects": "Ranged"  },
    1314        {"value": "Attack/Ranged/Spread",       "multiply": 0.95, "affects": "Ranged"  },
    1415        {"value": "Attack/Melee/Hack",          "multiply": 1.2,  "affects": "Melee"   },
    1516        {"value": "Attack/Melee/Pierce",        "multiply": 1.2,  "affects": "Melee"   },
  • binaries/data/mods/public/simulation/data/technologies/attack_tower_range.json

     
    66    "requirementsTooltip": "Unlocked in Town Phase.",
    77    "icon": "arrow.png",
    88    "researchTime": 40,
    9     "tooltip": "Increases defense tower maximum range by 8 meters.",
    10     "modifications": [{"value": "Attack/Ranged/MaxRange", "add": 8}],
     9    "tooltip": "Increases defense tower maximum range and vision range by 8 meters.",
     10    "modifications": [{"value": "Attack/Ranged/MaxRange", "add": 8},
     11                      {"value": "Vision/Range","add": 8}],
    1112    "affects": ["DefenseTower"],
    1213    "soundComplete": "interface/alarm/alarm_upgradearmory.xml"
    1314}
  • binaries/data/mods/public/simulation/data/technologies/elite_unit_bonus.json

     
    1010        {"value": "UnitMotion/WalkSpeed",       "add":      0.5,  "affects": "Infantry"},
    1111        {"value": "UnitMotion/WalkSpeed",       "add":      1,    "affects": "Cavalry" },
    1212        {"value": "Attack/Ranged/MaxRange",     "add":      4,    "affects": "Ranged"  },
     13        {"value": "Vision/Range",               "add":      4,    "affects": "Ranged"  },
    1314        {"value": "Attack/Ranged/Spread",       "multiply": 0.95, "affects": "Ranged"  },
    1415        {"value": "Attack/Melee/Hack",          "multiply": 1.2,  "affects": "Melee"   },
    1516        {"value": "Attack/Melee/Pierce",        "multiply": 1.2,  "affects": "Melee"   },