2017-04-18 19:51:23 +00:00
|
|
|
/// <reference path="../LootTemplate.ts"/>
|
2017-02-07 00:08:07 +00:00
|
|
|
|
2017-02-09 00:00:35 +00:00
|
|
|
module TS.SpaceTac.Equipments {
|
2017-02-07 00:08:07 +00:00
|
|
|
/**
|
|
|
|
* Drone that repairs damage done to the hull.
|
|
|
|
*/
|
2017-04-18 19:51:23 +00:00
|
|
|
export class RepairDrone extends LootTemplate {
|
2017-02-07 00:08:07 +00:00
|
|
|
constructor() {
|
2017-04-18 22:55:59 +00:00
|
|
|
super(SlotType.Weapon, "Repair Drone", "Drone able to repair small hull breaches, remotely controlled by human pilots");
|
2017-02-07 00:08:07 +00:00
|
|
|
|
2017-04-18 19:51:23 +00:00
|
|
|
this.setSkillsRequirements({ "skill_human": 1 });
|
|
|
|
this.addDroneAction(irepeat(4), istep(300, irepeat(10)), istep(1, irepeat(0.2)), istep(100, irepeat(10)), [
|
|
|
|
new EffectTemplate(new ValueEffect("hull"), { "value": istep(30, irepeat(3)) })
|
|
|
|
]);
|
2017-02-07 00:08:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|