ZeroSpace.gg

Juggernaut

Protectorate T3 Army Unit

import { ProtectorateArmyUnit } from "../../../../defaults/protectorate.js"; import { Attack, Spell, Upgrade } from "../../../../engine/ability.js"; export class Juggernaut extends ProtectorateArmyUnit { override uuid: string; static override src = "src/zerospace/faction/protectorate/unit/juggernaut.ts"; constructor() { super(); this.hexiteCost = 175; this.fluxCost = 125; this.buildTime = 80; this.name = "Juggernaut"; this.tier = "T3"; this.hotkey = "S"; this.supply = 8; this.uuid = "c934b44a-00b7-4fe9-aa48-ba35ab0ae196"; this.internalId = "Troop_Prot_Juggernaut_C"; this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Prot_Juggernaut.Default__Troop_Prot_Juggernaut_C"; this.internalTags = ["Attackable.Unit.Troop", "Attackable.ArmorType.Heavy", "Local.Prot.Juggernaut", "Logic.ABES"]; this.internalSecondaryTags = ["Vehicle"]; this.hp = 1000; this.armorType = "heavy"; this.speed = 450; this.armor = 1; this.energy = 7; this.turnSpeed = 350; this.pushability = 0.45; this.description = "Tank which gains thermal charge as it attacks. Can be discharged to deal area damage."; this.attacks.dualHR7RailCannons = new Attack({ name: "Dual HR-7 Rail Cannons", damage: 100, cooldown: 2.4, armorPenetration: 0, delay: 0.1, range: 700, bonusDamage: [{ multiplier: 2.0, vs: ["massive"] }], targets: ["ground"], parentId: this.id, parentUUID: this.uuid, }); this.spells.incinerationProtocol = new Spell({ name: "Incineration Protocol", description: "Deals 250 damage to nearby enemies over 5 seconds. cannot move while active. 200 radius", energyCost: 7, energyType: "abes", damage: 250, parentId: this.id, parentUUID: this.uuid, }); this.upgrades.mobileDischarge = new Upgrade({ name: "Mobile Discharge", description: "Allows the juggernaut to move while Incineration Protocol is Active", fluxCost: 150, researchTime: 50, tier: "T3.5", parentId: this.id, parentUUID: this.uuid, }); this.upgrades.highPressureVents = new Upgrade({ name: "High-Pressure Vents", tier: "T3.5", fluxCost: 150, researchTime: 50, description: "+40% Incineration Protocol Radius", 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 Juggernaut;