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-16 18:05:47 +00:00
|
|
|
this.setLifetime(1, 2);
|
2017-02-19 16:54:19 +00:00
|
|
|
this.setDeployDistance(300, 400);
|
|
|
|
this.setEffectRadius(100, 200);
|
2017-02-07 00:08:07 +00:00
|
|
|
this.setPowerConsumption(4, 5);
|
|
|
|
|
2017-02-16 00:17:09 +00:00
|
|
|
this.addEffect(new ValueEffect("hull"), 30, 60);
|
2017-02-07 00:08:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|