ZSGG Public Library
Protectorate Prospector
Protectorate T0 Harvester Unit
import { ProtectorateHarvesterUnit } from "../../../../defaults/protectorate.js";
import { Heal } from "../../../../engine/ability.js";
export class ProtectorateProspector extends ProtectorateHarvesterUnit {
override uuid: string;
static override src = "src/zerospace/faction/protectorate/unit/protectorate-prospector.ts";
constructor() {
super();
this.hexiteCost = 100;
this.fluxCost = 0;
this.buildTime = 30;
this.gathersFlux = 1;
this.gathersRichFlux = 2;
this.name = "Protectorate Prospector";
this.tier = "T0";
this.uuid = "9344860c-09c9-40e0-903b-f143d5a23ac9";
this.internalId = "Troop_Prot_Harvester_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Prot_Harvester.Default__Troop_Prot_Harvester_C";
this.internalTags = [
"Attackable.Unit.Troop",
"Attackable.Unit.Scavenger",
"Unit.IgnoreAllArmySelect",
"Unit.AutoControlGroup.Ignore",
"Attackable.ArmorType.Harvester",
];
this.internalSecondaryTags = ["Vehicle"];
this.unlockedBy = ["faction/protectorate/building/operating-tower"];
this.description =
"Harvests flux. Can release a healing wave. \nHarvesters respawn 60 seconds after being destroyed.";
this.hp = 400;
this.maxOwned = 10;
this.turnSpeed = 2000;
this.pushability = 0.45;
this.heals.healingWave = new Heal({
name: "Healing Wave",
description: "heals 150 in a 400 range area",
hotkey: "L",
cooldown: 60.0,
cooldownAtBuild: true,
range: 400,
targets: ["friendly:ground", "friendly:air"],
targetMode: "around-self",
healing: 150,
parentId: this.id,
parentUUID: this.uuid,
});
this.createdBy = ["faction/protectorate/building/operating-tower"];
}
}
export default ProtectorateProspector;