UNPKG

@zerospacegg/iolin

Version:

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

62 lines 2.15 kB
"use strict"; /** * Spiderling - Light Grell Infantry * * A small, fast-moving Grell creature that serves as a cheap early-game unit. * Spiderlings are fragile but mobile, making them useful for scouting and * quick harassment tactics. */ Object.defineProperty(exports, "__esModule", { value: true }); const grell_js_1 = require("../../../../defaults/grell.cjs"); const ability_js_1 = require("../../../../engine/ability.cjs"); class Spiderling extends grell_js_1.GrellArmyUnit { constructor() { super(); // Auto-generated fixes from dev data comparison this.name = "Spiderling"; this.tier = "T0"; this.hotkey = ""; this.domain = "ground"; this.uuid = "7c978ffc-7c1f-437f-883f-f2f2604e0102"; // Internal game engine data this.internalId = "Troop_GrellSpiderling_C"; this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_GrellSpiderling.Default__Troop_GrellSpiderling_C"; this.internalTags = [ "Attackable.Unit.Troop", "Attackable.Unit.Light", "Attackable.ArmorType.Light", "Attackable.Biological", ]; this.internalSecondaryTags = []; // Stats from dev data this.hp = 80; this.speed = 725; this.vision = 1800; this.armorType = "light"; this.supply = 0; this.buildTime = 16; this.turnSpeed = 5000; this.pushability = 1; // Costs this.hexiteCost = 0; this.fluxCost = 0; // Basic melee attack this.attacks.attack = new ability_js_1.Attack({ name: "Attack", damage: 4, cooldown: 1, cooldownBetweenShots: 1, range: 100, targets: ["ground"], armorPenetration: 0, delay: 0, parentId: this.id, parentUUID: this.uuid, internalId: "Default__Grell_SpiderlingMelee_C", }); } } // Static property for source path Spiderling.src = "src/zerospace/faction/grell/unit/spiderling.ts"; exports.default = Spiderling; //# sourceMappingURL=spiderling.js.map