Ticket #2620: bonuses.diff

File bonuses.diff, 2.2 KB (added by sanderd17, 10 years ago)

Example tech files, values got from some averaging of normal bonuses given to Advanced and Elite units

  • binaries/data/mods/public/simulation/data/technologies/bonus_advanced.json

     
     1{
     2    "genericName": "Advanced stats",
     3    "autoResearch": true,
     4    "description": "Modifications for the advanced and elite units",
     5    "modifications":
     6    [
     7        {"value": "Armour/Hack", "add": 1},
     8        {"value": "Armour/Pierce", "add": 1},
     9        {"value": "Armour/Crush", "add": 1},
     10        {"value": "Attack/Melee/Hack", "add": 2},
     11        {"value": "Attack/Ranged/MaxRange", "multiply": 1.1},
     12        {"value": "Attack/Ranged/Spread", "multiply": 0.8},
     13        {"value": "Heal/Range", "add": 3},
     14        {"value": "Heal/HP", "add": 2},
     15        {"value": "Health/Max", "add": 10},
     16        {"value": "ResourceGather/BaseSpeed", "multiply": 0.75},
     17        {"value": "UnitMotion/WalkSpeed", "add": -0.5},
     18        {"value": "UnitMotion/Run/Speed", "add": -1}
     19    ],
     20    "affects": ["Advanced", "Elite"]
     21}
  • binaries/data/mods/public/simulation/data/technologies/bonus_elite.json

     
     1{
     2    "genericName": "Elite stats",
     3    "autoResearch": true,
     4    "description": "Modifications for the elite units (on top of the modifications already applied to advanced units)",
     5    "modifications":
     6    [
     7        {"value": "Armour/Hack", "add": 1},
     8        {"value": "Armour/Pierce", "add": 1},
     9        {"value": "Armour/Crush", "add": 1},
     10        {"value": "Attack/Melee/Hack", "add": 2},
     11        {"value": "Attack/Ranged/MaxRange", "multiply": 1.1},
     12        {"value": "Attack/Ranged/Spread", "multiply": 0.9},
     13        {"value": "Heal/Range", "add": 5},
     14        {"value": "Heal/HP", "add": 3},
     15        {"value": "Health/Max", "add": 10},
     16        {"value": "ResourceGather/BaseSpeed", "multiply": 0.75},
     17        {"value": "UnitMotion/WalkSpeed", "add": -0.5},
     18        {"value": "UnitMotion/Run/Speed", "add": -1}
     19    ],
     20    "affects": ["Advanced"]
     21}