UNPKG

@zerospacegg/iolin

Version:

Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)

37 lines 1.53 kB
/** * Protectorate Harvester - Advanced resource harvester with integrated medical support * Dual-purpose unit combining resource gathering with healing capabilities */ import { Heal } from "../../../../engine/ability.js"; import { ProtectorateHarvesterUnit } from "../../protectorate-classes.js"; import OperatingTower from "../building/operating-tower.js"; export class ProtHarvester extends ProtectorateHarvesterUnit { constructor() { super(); this.name = "Protectorate Harvester"; this.tier = "T0"; this.uuid = "9344860c-09c9-40e0-903b-f143d5a23ac9"; this.unlockedBy = ["faction/protectorate/building/operating-tower"]; this.description = "Harvests flux. Has Healing Wave ability. Harvesters respawn 60s after being destroyed."; this.hp = 400; this.heals.healingWave = new Heal({ name: "Healing Wave", description: "heals 150 in a 400 range area", hotkey: "L", cooldown: 60.0, cooldownAtBuild: true, range: 400, targets: ["friendly:ground", "friendly:air"], targetMode: "around-self", healing: 150, parentId: this.id, parentUUID: this.uuid, }); // Unit relationships this.createdBy = [OperatingTower.id]; } } // Static property for source path ProtHarvester.src = "src/zerospace/faction/protectorate/unit/prot-harvester.ts"; export default ProtHarvester; //# sourceMappingURL=prot-harvester.js.map