2017-02-07 00:08:07 +00:00
|
|
|
/// <reference path="AbstractDrone.ts"/>
|
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
export class RepairDrone extends AbstractDrone {
|
|
|
|
constructor() {
|
|
|
|
super("Repair Drone");
|
|
|
|
|
|
|
|
this.min_level = new IntegerRange(1, 4);
|
|
|
|
|
2017-02-08 18:54:02 +00:00
|
|
|
this.setLifetime(1, 1);
|
2017-02-07 00:08:07 +00:00
|
|
|
this.setDeployDistance(50, 100);
|
|
|
|
this.setEffectRadius(40, 80);
|
|
|
|
this.setPowerConsumption(4, 5);
|
|
|
|
|
2017-02-09 22:21:39 +00:00
|
|
|
this.addEffect(new ValueEffect("hull"), 10, 20);
|
2017-02-07 00:08:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|