UNPKG

@zerospacegg/iolin

Version:

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

64 lines 2.29 kB
/** * TriArch I'Olin - Arandi Hero * One of the three supreme leaders of the ancient Arandi Empire * Master of interdimensional energy and space-time manipulation */ import { Attack, Spell } from "../../../../engine/ability.js"; import { ArandiHeroUnit } from "../../arandi-classes.js"; class TriarchIolin extends ArandiHeroUnit { constructor() { super(); this.name = "TriArch I'Olin"; this.hotkey = ""; this.uuid = "07219bf3-59a1-4438-bce0-2d346e26e651"; // Mutable properties (can be modified by upgrades) this.hp = 120; this.shields = 120; this.armor = 0; this.armorType = "medium"; this.speed = 500; this.supply = 0; // Primary attack - Interdimensional energy bolts this.attacks.attack = new Attack({ name: "Attack", damage: 23, range: 1200, cooldown: 1.63, targets: ["ground", "air"], description: "Interdimensional energy bolts that manipulate space-time", parentId: this.id, parentUUID: this.uuid, }); // Q - Singularity this.spells.singularity = new Spell({ name: "Singularity", description: "Fire a bolt of energy dealing 30 damage and slowing enemies for 4s. Bolt flies back to the caster.", hotkey: "Q", damage: 30, cooldown: 24, energyCost: 0, energyType: "classic", range: 1200, targets: ["ground", "air"], parentId: this.id, parentUUID: this.uuid, }); // W - Teleport this.spells.teleport = new Spell({ name: "Teleport", description: "Teleport to target location.", hotkey: "W", cooldown: 12, energyCost: 0, energyType: "classic", range: 1500, targets: ["map"], // REMOVED: targetType: "location", // Not valid in Spell type parentId: this.id, parentUUID: this.uuid, }); } } // Static property for source path TriarchIolin.src = "src/zerospace/mercenary/arandi/hero/triarch-iolin.ts"; export default TriarchIolin; //# sourceMappingURL=triarch-iolin.js.map