ZeroSpace.gg

Arandi Judgement

Arandi T4 Merc Unit

import { Attack, Spell } from "../../../../engine/ability.js"; import { MercUnit } from "../../../../engine/unit.js"; export class ArandiJudgement extends MercUnit { override uuid: string; static override src = "src/zerospace/mercenary/arandi/unit/arandi-judgement.ts"; constructor() { super(); this.hexiteCost = 100; this.fluxCost = 200; this.buildTime = 20; this.buildCount = 1; this.name = "Arandi Judgement"; this.tier = "T4"; this.supply = 6; this.energy = 5; this.startingEnergy = 0; this.faction = "arandi"; this.factionName = "Arandi"; this.uuid = "3493bcca-f6ab-4d97-9bfb-161b81687fb7"; this.hp = 600; this.shields = 0; this.armor = 1; this.armorType = "light"; this.speed = 550; this.vision = 1600; this.turnSpeed = 2500; this.domain = "ground"; this.internalId = "Troop_Arandi_MP_Judgement_C"; this.internalPath = "/Game/Nova/Archetypes_Troops/Multiplayer/Arandi/Troop_Arandi_MP_Judgement.Default__Troop_Arandi_MP_Judgement_C"; this.internalTags = [ "Attackable.Unit.Troop", "Attackable.Unit.Light", "Attackable.ArmorType.Light", "Local.Arandi", "Logic.ABES", ]; this.internalSecondaryTags = ["Infantry"]; this.description = "Attack generates energy. Grants shields to allied units every 5 attacks it makes."; // T4 unit: unlocked (and spawned) by the level-6 Upgrade Mothership talent. this.unlockedBy = ["mercenary/arandi/talent/upgrade-mothership"]; this.attacks.energyPulsar = new Attack({ internalId: "Default__Weapon_Arandi_MP_Judgement_C", name: "Energy Pulsar", damage: 50, cooldown: 2.4, armorPenetration: 0, delay: 0.15, range: 1300, targets: ["ground"], parentId: this.id, parentUUID: this.uuid, }); this.spells.shieldGeneration = new Spell({ name: "Shield Generation", description: "Grants shields to nearby friendly units", energyCost: 5, energyType: "abes", parentId: this.id, parentUUID: this.uuid, }); } } export default ArandiJudgement;