UNPKG

@zerospacegg/iolin

Version:

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

51 lines 1.83 kB
"use strict"; /** * Legion Laborer - Legion's resource harvesting unit * Harvests flux with healing abilities, essential for Legion economy */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.LegionLaborer = void 0; const ability_js_1 = require("../../../../engine/ability.cjs"); const legion_classes_js_1 = require("../../legion-classes.cjs"); const garrison_tower_js_1 = __importDefault(require("../building/garrison-tower.cjs")); class LegionLaborer extends legion_classes_js_1.LegionHarvesterUnit { constructor() { super(); this.name = "Laborer"; this.tier = "T0"; this.hexiteCost = 75; this.fluxCost = 0; this.buildTime = 25; this.buildCount = 1; this.gathersFlux = 0.7; this.gathersRichFlux = 1.4; this.uuid = "8a5b5790-9747-4639-8596-398bf4f64c38"; // Basic stats this.hp = 150; this.shields = 0; this.armor = 0; this.armorType = "light"; this.speed = 450; this.supply = 0; this.maxOwned = 15; // Production requirements this.createdBy = [garrison_tower_js_1.default.id]; this.unlockedBy = ["faction/legion/building/garrison-tower"]; // Healing ability this.heals.heal = new ability_js_1.Heal({ name: "Heal", healing: 10, range: 100, cooldown: 0.5, parentId: this.id, parentUUID: this.uuid, }); } } exports.LegionLaborer = LegionLaborer; LegionLaborer.src = "src/zerospace/faction/legion/unit/legion-laborer.ts"; exports.default = LegionLaborer; //# sourceMappingURL=legion-laborer.js.map