ZSGG Public Library
Corsair Rover
Free-corsairs T1 Merc Unit
import { FreeCorsairsMercUnit } from "../../../../defaults/corsair.js";
import { Attack } from "../../../../engine/ability.js";
class CorsairRover extends FreeCorsairsMercUnit {
override uuid: string;
static override src = "src/zerospace/mercenary/free-corsairs/unit/corsair-rover.ts";
constructor() {
super();
this.hexiteCost = 200;
this.fluxCost = 50;
this.buildCount = 2;
this.name = "Corsair Rover";
this.tier = "T1";
this.hotkey = "R";
this.internalId = "Troop_Dread_Rover_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Dread_Rover.Default__Troop_Dread_Rover_C";
this.internalTags = ["Attackable.Unit.Troop", "Attackable.ArmorType.Light"];
this.internalSecondaryTags = ["Vehicle"];
this.uuid = "02ebf5cc-78dd-4201-9f4a-7fea47f55c17";
this.description = "Light vehicle which can shoot while moving. \nGains bonus attack speed vs nearby units.";
this.shortName = "Rover";
this.hp = 320;
this.shields = 0;
this.armor = 0;
this.armorType = "light";
this.speed = 750;
this.supply = 3;
this.turnSpeed = 3000;
this.pushability = 0.45;
this.createdBy = ["mercenary/free-corsairs/building/free-corsair-merc-outpost"!];
this.unlockedBy = ["mercenary/free-corsairs/building/free-corsair-merc-outpost"!];
this.attacks.attack = new Attack({
name: "M12 Gatling Gun",
damage: 4,
cooldown: 0.47,
armorPenetration: 0,
delay: 0,
range: 700,
targets: ["air", "ground"],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default CorsairRover;