ZeroSpace.gg

Marran Heavy Trooper

Marran T4 Merc Unit

import { MarranMercUnit } from "../../../../defaults/marran.js"; import { Attack } from "../../../../engine/ability.js"; export class MarranHeavyTrooper extends MarranMercUnit { override uuid: string; static override src = "src/zerospace/mercenary/marran/unit/marran-heavy-trooper.ts"; constructor() { super(); this.hexiteCost = 100; this.fluxCost = 200; this.buildCount = 2; this.name = "Marran Heavy Trooper"; this.tier = "T4"; this.internalId = "Troop_Marran_MP_HeavyTrooper_C"; this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Marran_MP_HeavyTrooper.Default__Troop_Marran_MP_HeavyTrooper_C"; this.internalTags = [ "Attackable.Unit.Troop", "Attackable.Unit.Light", "Attackable.ArmorType.Light", "Attackable.Biological", ]; this.internalSecondaryTags = ["Infantry"]; this.uuid = "3f2d8c5a-1b9e-4a3f-8c7d-9e6a5b4c3d2f"; this.description = "Infantry unit that deals massive damage to heavy enemies."; this.shortName = "Heavy Trooper"; this.supply = 4; this.hp = 150; this.shields = 150; this.armorType = "light"; this.armor = 1; this.speed = 450; this.turnSpeed = 5000; this.pushability = 1; this.createdBy = ["mercenary/marran/building/marran-mothership"!]; this.unlockedBy = ["faction/marran/talents/upgrade-mothership"]; this.attacks.railgun = new Attack({ name: "Railgun", damage: 40, cooldown: 1.7, armorPenetration: 0, delay: 0.1, range: 1500, targets: ["ground"], parentId: this.id, parentUUID: this.uuid, bonusDamage: [{ multiplier: 2.0, vs: ["armor:heavy"] }], }); } } export default MarranHeavyTrooper;