UNPKG

@zerospacegg/iolin

Version:

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

64 lines 2.45 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 ability_js_1 = require("../../../../engine/ability.cjs"); const dread_classes_js_1 = require("../../dread-classes.cjs"); class DreadHero extends dread_classes_js_1.DreadRaidersHeroUnit { constructor() { super(); this.name = "Dread Hero"; this.hotkey = ""; this.uuid = "d0451700-de2c-4e8a-b79d-b5e09b3b07a0"; 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; // Primary attack - Pulse Rifle this.attacks.pulseRifle = new ability_js_1.Attack({ name: "Pulse Rifle", damage: 21, range: 1200, cooldown: 1.35, 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=dread-hero.js.map