UNPKG

@zerospacegg/iolin

Version:

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

93 lines 4.05 kB
/** * Tech Hero - Technological integration specialist with companion bonding and energy manipulation * The pinnacle of Protectorate technological integration - a specialist who has transcended * traditional boundaries between human intuition and artificial enhancement. */ import { ProtectorateHeroUnit } from "../../../../defaults/protectorate.js"; import { Attack, Passive, Spell } from "../../../../engine/ability.js"; export class TechHero extends ProtectorateHeroUnit { constructor() { super(); // Auto-generated fixes from dev data comparison this.hexiteCost = 220; this.fluxCost = 0; this.buildTime = 45; this.rebuildable = true; this.rebuildTime = 60; this.name = "Tech Hero"; this.uuid = "888d3dce-562e-4feb-b010-b608671177ec"; this.internalId = "Troop_MPHero_Tech_C"; this.internalPath = "/Game/Nova/Archetypes_Heroes/Troop_MPHero_Tech.Default__Troop_MPHero_Tech_C"; this.internalTags = [ "Attackable.Unit.Hero", "Logic.SpawnAtOldestSpawner", "Attackable.Biological", "Logic.NoVeterancy", ]; this.internalSecondaryTags = ["Infantry"]; // PKL truth stats - NOT AI fabrications this.hp = 130; this.shields = 130; this.speed = 500; this.vision = 1800; this.supply = 10; this.armorType = "medium"; this.stunResist = 50; this.turnSpeed = 6000; this.healthRegen = 12; this.pushability = 0.1; // Real attack from PKL - NOT fabricated plasmaCannon this.attacks.attack = new Attack({ name: "Attack", damage: 14, cooldown: 1.0, cooldownBetweenShots: 1, range: 1200, targets: ["ground", "air"], armorPenetration: 0, delay: 0.01, parentId: this.id, parentUUID: this.uuid, }); // Real abilities from PKL - NOT AI fabrications this.spells.energyConduit = new Spell({ name: "Energy Conduit", description: "A shot pierces enemies in line (up to 6) - damaging them and slowing them down. Enemy hits makes the companion buff permanently stronger: +40% max shields, +2% attack speed", hotkey: "W", targets: ["map"], cooldown: 25, parentId: this.id, parentUUID: this.uuid, }); this.passives.energyConduitPassive = new Passive({ name: "Energy Conduit (Passive)", description: "Up to 6 hits per cast of energy conduit make the companion shield permanently stronger: +4 max shield and +2% attack speed.", parentId: this.id, parentUUID: this.uuid, }); this.spells.swap = new Spell({ name: "Swap", description: "Fire a projectile. If it hits an enemy unit, swap positions with it. If it doesn't hit one or the unit is too close, jump to the target location. The minimum swap range is indicated by the secondary range circle. The decoy lasts 1 minute.", hotkey: "X", targets: ["map"], cooldown: 15, parentId: this.id, parentUUID: this.uuid, }); this.spells.companion = new Spell({ name: "Companion", description: "A friendly unit can become your companion and gains power (+100 shields). When used on a AI-controlled unit (<= 2 supply cost), you gain control over it.", hotkey: "C", targets: ["ground", "air"], cooldown: 20, parentId: this.id, parentUUID: this.uuid, }); // PKL truth: NO upgrades - AI fabricated Advanced Integration and Master Hacker // Lore properly destroyed to prevent AI fanfiction } } // Static property for source path TechHero.src = "src/zerospace/faction/protectorate/hero/tech-hero.ts"; export default TechHero; //# sourceMappingURL=tech-hero.js.map