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-06-12 22:28:54 +00:00
|
|
|
super(SlotType.Weapon, "Repair Drone", "Drone able to repair small hull breaches, using quantum patches");
|
2017-02-07 00:08:07 +00:00
|
|
|
|
2017-06-11 20:44:12 +00:00
|
|
|
this.setSkillsRequirements({ "skill_quantum": 1 });
|
2017-05-22 16:29:04 +00:00
|
|
|
this.setCooldown(irepeat(1), istep(3, irepeat(0.2)));
|
2017-05-29 18:12:57 +00:00
|
|
|
this.addDroneAction(irepeat(4), istep(300, irepeat(10)), istep(10, irepeat(1)), istep(150, irepeat(5)), [
|
2017-05-23 17:17:33 +00:00
|
|
|
new EffectTemplate(new ValueEffect("hull"), { "value": istep(5) })
|
2017-04-18 19:51:23 +00:00
|
|
|
]);
|
2017-02-07 00:08:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|