@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
47 lines • 1.72 kB
JavaScript
/**
* Dread Rover - Fast T1 assault vehicle with twin rapid-fire guns
* High-speed nomadic vehicle that embodies perpetual motion and freedom
*/
import { Attack } from "../../../../engine/ability.js";
import { DreadRaidersMercUnit } from "../../dread-classes.js";
import DreadMercOutpost from "../building/dread-merc-outpost.js";
class DreadRover extends DreadRaidersMercUnit {
constructor() {
super();
this.name = "Dread Rover";
this.tier = "T1";
this.hotkey = "R";
this.hexiteCost = 200;
this.fluxCost = 50;
this.buildTime = 30;
this.buildCount = 2;
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;
// Relationships
this.createdBy = [DreadMercOutpost.id];
this.unlockedBy = [DreadMercOutpost.id];
// Primary attack - Twin rapid-fire guns
this.attacks.attack = new Attack({
name: "Attack",
damage: 4,
volleys: 2,
cooldown: 0.47,
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";
export default DreadRover;
//# sourceMappingURL=dread-rover.js.map