@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
59 lines • 2.49 kB
JavaScript
/**
* 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 { ValkaruMercUnit } from "../../../../defaults/valkaru.js";
import { Attack } from "../../../../engine/ability.js";
class ValkaruShockTrooper extends ValkaruMercUnit {
constructor() {
super();
// Auto-generated fixes will be applied after objects are defined
this.hexiteCost = 100;
this.fluxCost = 37.5;
this.name = "Valkaru Shock Trooper";
this.tier = "T2";
this.hotkey = "";
this.internalId = "Troop_Valk_ShockTrooper_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Valk_ShockTrooper.Default__Troop_Valk_ShockTrooper_C";
this.internalTags = [
"Attackable.Unit.Troop",
"Attackable.Unit.Light",
"Attackable.ArmorType.Medium",
"Attackable.Biological",
];
this.internalSecondaryTags = ["Infantry"];
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 = 375;
this.shields = 0;
this.armor = 5;
this.armorType = "heavy";
this.speed = 450;
this.supply = 3;
this.turnSpeed = 4000;
// Relationships
this.createdBy = ["mercenary/valkaru/building/valkaru-merc-outpost"];
this.unlockedBy = ["mercenary/valkaru/building/valkaru-merc-outpost"];
// Shock Blast attack - electrical discharge with high damage
// Shock Blast attack - electrical discharge weapon
this.attacks.shockBlast = new Attack({
name: "Shock Blast",
damage: 30,
cooldown: 3,
cooldownBetweenShots: 3,
range: 550,
targets: ["ground"],
description: "Electrical discharge weapon that delivers devastating energy blasts against enemy formations",
armorPenetration: 0,
delay: 0.4,
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