UNPKG

@zerospacegg/iolin

Version:

Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)

45 lines 1.81 kB
/** * Marran Hover Tank - T1 fast mobile platform with superior shields * Mobile evolution of fortress world defensive philosophy */ import { Attack } from "../../../../engine/ability.js"; import { MarranMercUnit } from "../../marran-classes.js"; import { MarranMercOutpostBuilding } from "../building/marran-merc-outpost.js"; export class MarranHoverTank extends MarranMercUnit { constructor() { super(); this.name = "Marran Hover Tank"; this.tier = "T1"; this.buildCount = 2; this.hexiteCost = 200; this.fluxCost = 0; this.uuid = "41898d3e-2574-42c6-94e8-87a7d9693f4a"; this.description = "Fast moving hovertank with fast recharging shields. Attacks ground and air units."; // Set short name this.shortName = "Hover Tank"; // Mutable properties - fast mobile platform with shield superiority this.supply = 3; this.hp = 100; this.shields = 200; // Superior shield-to-hull ratio this.armorType = "medium"; this.speed = 825; // Extremely fast for rapid response // TODO: Convert to getter - this.infuseCost = 5; // Relationships this.createdBy = [MarranMercOutpostBuilding.id]; this.unlockedBy = [MarranMercOutpostBuilding.id]; // Abilities using direct constructors this.attacks.attack = new Attack({ name: "Attack", damage: 11, cooldown: 0.6, range: 700, targets: ["air", "ground"], parentId: this.id, parentUUID: this.uuid, }); } } // Static property for source path MarranHoverTank.src = "src/zerospace/mercenary/marran/unit/marran-hover-tank.ts"; export default MarranHoverTank; //# sourceMappingURL=marran-hover-tank.js.map