ZSGG Public Library
Corsair Flamer
Free-corsairs T3 Merc Unit
import { FreeCorsairsMercUnit } from "../../../../defaults/corsair.js";
import { Attack } from "../../../../engine/ability.js";
class CorsairFlamer extends FreeCorsairsMercUnit {
override uuid: string;
static override src = "src/zerospace/mercenary/free-corsairs/unit/corsair-flamer.ts";
constructor() {
super();
this.hexiteCost = 100;
this.fluxCost = 200;
this.name = "Corsair Flamer";
this.tier = "T3";
this.hotkey = "";
this.internalId = "Troop_Dread_Flamer_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Dread_Flamer.Default__Troop_Dread_Flamer_C";
this.internalTags = ["Attackable.Unit.Troop", "Attackable.ArmorType.Heavy"];
this.internalSecondaryTags = ["Vehicle"];
this.uuid = "2f95493e-6fee-4d2e-a722-9c537690c413";
this.description = "Heavy tank with short range area damage. \nDeals bonus damage vs light units.";
this.shortName = "Flamer";
this.hp = 1000;
this.shields = 0;
this.armor = 2;
this.armorType = "heavy";
this.speed = 450;
this.supply = 6;
this.turnSpeed = 1000;
this.pushability = 0.45;
// TODO: Convert to getter - this.infuseCost = 16;
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: "Rigged G17 Flamespitter",
damage: 9,
cooldown: 0.25,
armorPenetration: 0,
delay: 0.01,
range: 400,
targets: ["ground"],
arcAngle: 40,
bonusDamage: [{ multiplier: 1.5, vs: ["armor:light"] }],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default CorsairFlamer;