ZeroSpace.gg

Cyclops

Protectorate T3 Army Unit

import { ProtectorateArmyUnit } from "../../../../defaults/protectorate.js"; import { Attack, Upgrade } from "../../../../engine/ability.js"; export class Cyclops extends ProtectorateArmyUnit { override uuid: string; static override src = "src/zerospace/faction/protectorate/unit/cyclops.ts"; constructor() { super(); // Fix: HP - set later in mutable properties section this.hexiteCost = 100; this.fluxCost = 150; this.buildTime = 45; this.name = "Cyclops"; this.tier = "T3"; this.hotkey = "F"; this.supply = 6; this.uuid = "d04eaaff-d9b7-4b7a-ac5c-29230e14d816"; this.internalId = "Troop_Prot_Disruptor_C"; this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Prot_Disruptor.Default__Troop_Prot_Disruptor_C"; this.internalTags = ["Attackable.Unit.Troop", "Attackable.ArmorType.Medium"]; this.internalSecondaryTags = ["Vehicle"]; this.description = "Vehicle equipped with a long range laser which increases in damage over time."; this.hp = 350; this.armorType = "medium"; this.speed = 600; this.turnSpeed = 1000; this.pushability = 0.45; this.attacks.spherewalkerParticleCannon = new Attack({ internalId: "Default__Weapon_ProtDisrupterBeam_C", name: "Spherewalker Particle Cannon", damage: 4, cooldown: 0.4, armorPenetration: 100, delay: 0.1, range: 1300, targets: ["air", "ground"], bonusDamage: [{ multiplier: 1.75, vs: ["armor:heavy"] }], charge: { duration: 7, multiplier: 5.0 }, parentId: this.id, parentUUID: this.uuid, }); this.upgrades.chargeSpeed = new Upgrade({ name: "Charge Speed", unlockedBy: ["faction/protectorate/building/mechanical-research-lab"], description: "-50% Plasma Ray charge time", fluxCost: 100, researchTime: 50, tier: "T1", position: "A", parentId: this.id, parentUUID: this.uuid, }); this.createdBy = ["faction/protectorate/building/war-foundry"]; this.unlockedBy = ["faction/protectorate/building/war-foundry"]; this.upgradedBy = ["faction/protectorate/building/mechanical-research-lab"]; } } export default Cyclops;