UNPKG

@zerospacegg/iolin

Version:

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

47 lines 1.88 kB
/** * Valkaru Shock Trooper - Elite heavy infantry with electrical weapons and advanced combat armor * T2 heavy unit specializing in electrical warfare and front-line assault operations */ import { Attack } from "../../../../engine/ability.js"; import { ValkaruMercUnit } from "../../valkaru-classes.js"; import ValkaruMercOutpost from "../building/valkaru-merc-outpost.js"; class ValkaruShockTrooper extends ValkaruMercUnit { constructor() { super(); this.name = "Valkaru Shock Trooper"; this.tier = "T2"; this.hotkey = ""; this.hexiteCost = 175; this.fluxCost = 200; this.buildTime = 40; this.buildCount = 1; this.uuid = "804349a6-20a1-459b-95a3-bcd50a40fb26"; this.description = "Medium ranged infantry with splash damage."; // Mutable properties (can be modified by upgrades) this.shortName = "Shock Trooper"; this.hp = 320; this.shields = 0; this.armor = 3; this.armorType = "heavy"; this.speed = 350; this.supply = 3; // Relationships this.createdBy = [ValkaruMercOutpost.id]; this.unlockedBy = [ValkaruMercOutpost.id]; // Shock Blast attack - electrical discharge with high damage this.attacks.shockBlast = new Attack({ name: "Shock Blast", damage: 30, cooldown: 1.8, range: 550, targets: ["ground"], description: "Electrical discharge weapon that delivers devastating energy blasts against enemy formations", parentId: this.id, parentUUID: this.uuid, }); } } // Static property for source path ValkaruShockTrooper.src = "src/zerospace/mercenary/valkaru/unit/valkaru-shock-trooper.ts"; export default ValkaruShockTrooper; //# sourceMappingURL=valkaru-shock-trooper.js.map