ZeroSpace.gg

Storm Bringer

Legion T3 Army Unit

import { LegionArmyUnit } from "../../../../defaults/legion.js"; import { Attack, Spell } from "../../../../engine/ability.js"; class StormBringer extends LegionArmyUnit { override uuid: string; static override src = "src/zerospace/faction/legion/unit/storm-bringer.ts"; constructor() { super(); this.hexiteCost = 50; this.fluxCost = 125; this.buildTime = 48; this.buildCount = 1; this.name = "Storm Bringer"; this.description = "Light ranged infantry that can create a Tempest. \nAttacking generates energy."; this.tier = "T3"; this.hotkey = ""; this.uuid = "c1ef6b86-ec60-46ba-965a-74e309782926"; this.internalId = "Troop_Legion_MP_DarkDisciple_C"; this.internalPath = "/Game/Nova/Archetypes_Troops/Multiplayer/Legion/Troop_Legion_MP_DarkDisciple.Default__Troop_Legion_MP_DarkDisciple_C"; this.internalTags = [ "Attackable.Unit.Troop", "Attackable.Unit.Light", "Attackable.ArmorType.Light", "Attackable.Biological", "Local.Legion.Infantry.DarkDisciple", ]; this.internalSecondaryTags = ["Biological", "Infantry"]; this.hp = 150; this.shields = 0; this.armor = 0; this.armorType = "light"; this.speed = 450; this.turnSpeed = 5000; this.vision = 1600; this.pushability = 1; this.supply = 4; this.hotkey = "Y"; this.createdBy = ["faction/legion/building/legion-barracks"]; this.unlockedBy = ["faction/legion/building/terror-tower"]; this.attacks.attack = new Attack({ name: "Attack", damage: 4, cooldown: 0.4, armorPenetration: 0, delay: 0, range: 1400, targets: ["ground", "air"], parentId: this.id, parentUUID: this.uuid, }); this.spells.tempest = new Spell({ name: "Tempest", description: "Casts a storm at a target location, dealing 40 damage per second to enemies in the area. Lasts for 5 seconds", energyCost: 50, energyType: "classic", charges: 2, parentId: this.id, parentUUID: this.uuid, }); } } export default StormBringer;