UNPKG

@zerospacegg/iolin

Version:

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

82 lines 3.1 kB
"use strict"; /** * Dread Hero - Enigmatic leader of the Dread Raiders * Robin Hood-style space pirate who redistributes wealth from corporate powers * Famous for the battle cry "TOASTED GRELL!" when eliminating enemies */ Object.defineProperty(exports, "__esModule", { value: true }); const dread_js_1 = require("../../../../defaults/dread.cjs"); const ability_js_1 = require("../../../../engine/ability.cjs"); class DreadHero extends dread_js_1.DreadRaidersHeroUnit { constructor() { super(); this.hexiteCost = 220; this.fluxCost = 0; this.name = "Yearl"; this.hotkey = ""; this.uuid = "d0451700-de2c-4e8a-b79d-b5e09b3b07a0"; this.internalId = "Troop_MPHero_Dread_C"; this.internalPath = "/Game/Nova/Archetypes_Heroes/Troop_MPHero_Dread.Default__Troop_MPHero_Dread_C"; this.internalTags = [ "Attackable.Unit.Hero", "Logic.SpawnAtOldestSpawner", "Attackable.Biological", "Logic.NoVeterancy", ]; this.internalSecondaryTags = ["Infantry"]; this.description = "Can cliffwalk, throw Sticky bombs, and become invisible while leaving a mine behind."; // Mutable properties (can be modified by upgrades) this.hp = 150; this.shields = 0; this.armor = 0; this.armorType = "medium"; this.speed = 500; this.supply = 10; this.vision = 1800; this.turnSpeed = 6000; this.healthRegen = 6; this.pushability = 0.1; // Primary attack - Pulse Rifle this.attacks.pulseRifle = new ability_js_1.Attack({ name: "Pulse Rifle", damage: 21, range: 1200, cooldown: 1.35, cooldownBetweenShots: 1.35, armorPenetration: 0, delay: 0, targets: ["ground", "air"], parentId: this.id, parentUUID: this.uuid, }); // X - Shadow Walk this.spells.shadowWalk = new ability_js_1.Spell({ name: "Shadow Walk", description: "Cloak, +50% movement speed and 50% dodge chance for 4s", hotkey: "X", cooldown: 25, energyCost: 0, energyType: "classic", targets: ["self"], parentId: this.id, parentUUID: this.uuid, }); // C - Sticky Bomb this.spells.stickyBomb = new ability_js_1.Spell({ name: "Sticky Bomb", description: "Throw a sticky bomb. After 7s it explodes damaging enemies for 50 and stunning them for 4s. If the target dies early the radius is reduced. radius 225", hotkey: "C", cooldown: 45, energyCost: 0, energyType: "classic", targets: ["ground"], delay: 5, parentId: this.id, parentUUID: this.uuid, }); } } // Static property for source path DreadHero.src = "src/zerospace/mercenary/dread/hero/dread-hero.ts"; exports.default = DreadHero; //# sourceMappingURL=yearl.js.map