@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
52 lines • 2.21 kB
JavaScript
"use strict";
/**
* 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
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const ability_js_1 = require("../../../../engine/ability.cjs");
const valkaru_classes_js_1 = require("../../valkaru-classes.cjs");
const valkaru_merc_outpost_js_1 = __importDefault(require("../building/valkaru-merc-outpost.cjs"));
class ValkaruShockTrooper extends valkaru_classes_js_1.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 = [valkaru_merc_outpost_js_1.default.id];
this.unlockedBy = [valkaru_merc_outpost_js_1.default.id];
// Shock Blast attack - electrical discharge with high damage
this.attacks.shockBlast = new ability_js_1.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";
exports.default = ValkaruShockTrooper;
//# sourceMappingURL=valkaru-shock-trooper.js.map