@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
57 lines • 2.28 kB
JavaScript
"use strict";
/**
* Dread Rover - Fast T1 assault vehicle with twin rapid-fire guns
* High-speed nomadic vehicle that embodies perpetual motion and freedom
*/
Object.defineProperty(exports, "__esModule", { value: true });
const dread_js_1 = require("../../../../defaults/dread.cjs");
const ability_js_1 = require("../../../../engine/ability.cjs");
class DreadRover extends dread_js_1.DreadRaidersMercUnit {
constructor() {
super();
// Auto-generated fixes from dev data comparison
this.hexiteCost = 100;
this.fluxCost = 25;
this.name = "Dread Rover";
this.tier = "T1";
this.hotkey = "R";
this.internalId = "Troop_Dread_Rover_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Dread_Rover.Default__Troop_Dread_Rover_C";
this.internalTags = ["Attackable.Unit.Troop", "Attackable.ArmorType.Light"];
this.internalSecondaryTags = ["Vehicle"];
this.uuid = "02ebf5cc-78dd-4201-9f4a-7fea47f55c17";
this.description =
"Light vehicle which can shoot while moving. Gains bonus attack speed vs nearby units. Attacks ground and air units.";
// Mutable properties (can be modified by upgrades)
this.shortName = "Rover";
this.hp = 320;
this.shields = 0;
this.armor = 0;
this.armorType = "light";
this.speed = 750;
this.supply = 3;
this.turnSpeed = 5000;
this.pushability = 0.45;
// Relationships
this.createdBy = ["mercenary/dread/building/dread-merc-outpost"];
this.unlockedBy = ["mercenary/dread/building/dread-merc-outpost"];
// Primary attack - Twin rapid-fire guns
this.attacks.attack = new ability_js_1.Attack({
name: "Attack",
damage: 4,
volleys: 2,
cooldown: 0.47,
cooldownBetweenShots: 0.47,
armorPenetration: 0,
delay: 0,
range: 700,
targets: ["air", "ground"],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
// Static property for source path
DreadRover.src = "src/zerospace/mercenary/dread/unit/dread-rover.ts";
exports.default = DreadRover;
//# sourceMappingURL=dread-rover.js.map