ZSGG Public Library
Marran Halo Tank
Marran Co-Op T3 Merc Unit
import { MarranMercUnit } from "../../../../../defaults/marran.js";
import { Attack } from "../../../../../engine/ability.js";
export class CoopMarranHaloTank extends MarranMercUnit {
override uuid: string;
static override src = "src/zerospace/coop/mercenary/marran/unit/coop-marran-halo-tank.ts";
constructor() {
super();
this.hexiteCost = 200;
this.fluxCost = 200;
this.buildCount = 1;
this.name = "Marran Halo Tank";
this.tier = "T3";
this.hotkey = "V";
this.internalId = "Troop_Marran_Halo_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Marran_Halo.Default__Troop_Marran_Halo_C";
this.internalTags = ["Attackable.Unit.Troop", "Attackable.ArmorType.Heavy", "Local.Marran.HaloTank", "Logic.ABES"];
this.internalSecondaryTags = ["Vehicle"];
this.uuid = "e631d78b-60b5-4417-9c91-478d8a677ab2";
this.description =
"Tank that can attack while moving. \nEach attack charges up a powerful laser, dealing damage in a line after 4 attacks.";
this.shortName = "Halo Tank";
this.supply = 7;
this.energy = 4;
this.startingEnergy = 4;
this.shieldRegen = 9;
this.stunResist = 40;
// TODO: Convert to getter - this.infuseCost = 18;
this.hp = 350;
this.shields = 350;
this.armorType = "heavy";
this.speed = 450;
this.turnSpeed = 1500;
this.pushability = 0.45;
this.createdBy = ["coop/mercenary/marran/building/coop-marran-bulwark"!];
this.attacks.obliterator = new Attack({
internalId: "Default__Weapon_Marran_HaloGun_C",
name: "Obliterator",
damage: 50,
cooldown: 1.3,
armorPenetration: 0,
delay: 0,
range: 1400,
targets: ["ground"],
parentId: this.id,
parentUUID: this.uuid,
});
this.attacks.haloLinearAOE = new Attack({
name: "Halo Linear AOE",
energyCost: 2,
energyType: "abes",
damage: 80,
targets: ["ground"],
description: "Does 80 damage in a line",
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default CoopMarranHaloTank;