Ticket #3932: healerAI.diff
File healerAI.diff, 4.4 KB (added by , 8 years ago) |
---|
-
binaries/data/mods/public/simulation/components/UnitAI.js
5459 5459 this.PushOrderFront("Attack", { "target": targ, "force": true, "allowCapture": true }); 5460 5460 return true; 5461 5461 } 5462 5463 // healers on a walk-and-fight order should heal injured units 5464 if (this.IsHealer()) 5465 return this.FindNewHealTargets(); 5466 5462 5467 return false; 5463 5468 }; 5464 5469 -
binaries/data/mods/public/simulation/data/technologies/advanced_unit_bonus.json
13 13 {"value": "Attack/Melee/Hack", "multiply": 1.2, "affects": "Melee" }, 14 14 {"value": "Attack/Melee/Pierce", "multiply": 1.2, "affects": "Melee" }, 15 15 {"value": "Heal/Range", "add": 4, "affects": "Healer" }, 16 {"value": "Vision/Range", "add": 8, "affects": "Healer" }, 16 17 {"value": "Heal/HP", "add": 5, "affects": "Healer" } 17 18 ], 18 19 "affects": ["Advanced Unit", "Elite Unit"] -
binaries/data/mods/public/simulation/data/technologies/elite_unit_bonus.json
13 13 {"value": "Attack/Melee/Hack", "multiply": 1.2, "affects": "Melee" }, 14 14 {"value": "Attack/Melee/Pierce", "multiply": 1.2, "affects": "Melee" }, 15 15 {"value": "Heal/Range", "add": 4, "affects": "Healer" }, 16 {"value": "Vision/Range", "add": 8, "affects": "Healer" }, 16 17 {"value": "Heal/HP", "add": 5, "affects": "Healer" } 17 18 ], 18 19 "affects": ["Elite Unit"] -
binaries/data/mods/public/simulation/data/technologies/heal_range.json
5 5 "spart": "Olympic Pantheon", 6 6 "athen": "Olympic Pantheon" 7 7 }, 8 "description": "Increases the healing range of all healers.",8 "description": "Increases the healing and vision range of all healers.", 9 9 "cost": {"food": 500, "wood": 0, "stone": 0, "metal": 250}, 10 10 "requirements": {"tech": "phase_town"}, 11 11 "requirementsTooltip": "Unlocked in Town Phase.", 12 12 "icon": "healing_range.png", 13 13 "researchTime": 40, 14 "tooltip": "Healers +8 Healing Range .",15 "modifications": [{"value": "Heal/Range", "add": 8.0} ],14 "tooltip": "Healers +8 Healing Range, +15 vision range.", 15 "modifications": [{"value": "Heal/Range", "add": 8.0}, {"value": "Vision/Range", "add": 15.0}], 16 16 "affects": ["Healer"], 17 17 "soundComplete": "interface/alarm/alarm_upgradearmory.xml" 18 18 } -
binaries/data/mods/public/simulation/data/technologies/heal_range_2.json
5 5 "spart": "Akadḗmeia", 6 6 "athen": "Akadḗmeia" 7 7 }, 8 "description": "Increases the healing range of all healers.",8 "description": "Increases the healing and vision range of all healers.", 9 9 "cost": {"food": 1000, "wood": 0, "stone": 0, "metal": 500}, 10 10 "supersedes": "heal_range", 11 11 "requirements": {"tech": "phase_city"}, … … 12 12 "requirementsTooltip": "Unlocked in City Phase.", 13 13 "icon": "healing_range.png", 14 14 "researchTime": 40, 15 "tooltip": "Healers +8 Healing Range .",16 "modifications": [{"value": "Heal/Range", "add": 8.0} ],15 "tooltip": "Healers +8 Healing Range, +15 Vision Range.", 16 "modifications": [{"value": "Heal/Range", "add": 8.0}, {"value": "Vision/Range", "add": 15.0}], 17 17 "affects": ["Healer"], 18 18 "soundComplete": "interface/alarm/alarm_upgradearmory.xml" 19 19 }