@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
58 lines • 2.45 kB
JavaScript
"use strict";
/**
* Arandi Horned Mech - Interdimensional combat mech
* Perfect fusion of dimensional mastery and mechanical warfare
* The final unit completing the Arandi mercenary faction
*/
Object.defineProperty(exports, "__esModule", { value: true });
const arandi_js_1 = require("../../../../defaults/arandi.cjs");
const ability_js_1 = require("../../../../engine/ability.cjs");
class ArandiHornedMech extends arandi_js_1.ArandiMercUnit {
constructor() {
super();
// hp and speed are set later in the mutable properties section
this.hexiteCost = 300;
this.fluxCost = 150;
this.buildCount = 2;
this.name = "Arandi Horned Mech";
this.tier = "T1";
this.hotkey = "";
this.uuid = "bc06f7b0-5707-4c28-81cd-adca4071b789";
// Internal game engine data
this.internalId = "Troop_Arandi_Prison_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Arandi_Prison.Default__Troop_Arandi_Prison_C";
this.internalTags = ["Attackable.Unit.Troop", "Attackable.ArmorType.Heavy"];
this.internalSecondaryTags = ["Vehicle"];
this.description =
"Weapon projectiles are slow but can pass through enemies damaging all on its way. Projectile travel distance slightly longer than weapon range. Attacks ground units.";
// Mutable properties (can be modified by upgrades)
this.shields = 0;
this.armor = 2;
this.armorType = "heavy";
this.hp = 450;
this.speed = 495;
this.supply = 3;
this.turnSpeed = 3000;
this.vision = 1800;
this.pushability = 1;
// TODO: Convert to getter - this.infuseCost = 7;
// Primary attack - Energy Pulsar
this.attacks.energyPulsar = new ability_js_1.Attack({
name: "Energy Pulsar",
damage: 40,
range: 1300,
cooldown: 3,
cooldownBetweenShots: 3,
armorPenetration: 0,
delay: 0.1,
targets: ["ground"],
description: "Channels interdimensional power to destabilize molecular bonds across dimensional barriers",
parentId: this.id,
parentUUID: this.uuid,
});
}
}
// Static property for source path
ArandiHornedMech.src = "src/zerospace/mercenary/arandi/unit/arandi-horned-mech.ts";
exports.default = ArandiHornedMech;
//# sourceMappingURL=arandi-horned-mech.js.map