ZeroSpace.gg

Corsair Hovercraft

Free-corsairs T3 Merc Unit

import { FreeCorsairsMercUnit } from "../../../../defaults/corsair.js"; import { Attack, Spell } from "../../../../engine/ability.js"; class CorsairHovercraft extends FreeCorsairsMercUnit { override uuid: string; static override src = "src/zerospace/mercenary/free-corsairs/unit/corsair-hovercraft.ts"; constructor() { super(); this.name = "Corsair Hovercraft"; this.tier = "T3"; this.hexiteCost = 200; this.fluxCost = 125; this.buildCount = 2; this.hotkey = ""; this.internalId = "Troop_DreadHover_C"; this.internalTags = ["Attackable.Unit.Troop", "Attackable.ArmorType.Medium"]; this.internalSecondaryTags = ["Vehicle"]; this.uuid = "d72cec9a-b300-4bf6-bcae-158004d97ae0"; this.description = "Medium hovercraft which can lay mines which explode upon contact with enemies."; this.shortName = "Hovercraft"; this.hp = 375; this.shields = 0; this.armor = 0; this.armorType = "medium"; this.speed = 550; this.turnSpeed = 10000; this.pushability = 0.45; this.supply = 4; this.createdBy = ["mercenary/free-corsairs/building/free-corsair-merc-outpost"!]; this.unlockedBy = ["faction/free-corsairs/talents/free-corsair-bunkers"]; this.attacks.powderedShot = new Attack({ name: "Powdered Shot", damage: 10, shots: 3, volleys: 2, cooldown: 3, cooldownBetweenShots: 0.04, armorPenetration: 0, delay: 0, range: 900, targets: ["air", "ground"], parentId: this.id, parentUUID: this.uuid, }); this.spells.layMines = new Spell({ name: "Lay Mines", cooldown: 75, charges: 3, targets: ["map"], targetMode: "location", description: "Lay 3 mines which deal 30 damage and slow enemies upon contact.", parentId: this.id, parentUUID: this.uuid, }); } } export default CorsairHovercraft;