UNPKG

@zerospacegg/iolin

Version:

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

60 lines 2.25 kB
/** * Cha'Kru Cultist - Mystical priest-warrior who serves as battlefield support and living conduit to the Leviathan * Earth-aligned devotee with acidic blood magic and healing abilities */ import { Attack, Spell } from "../../../../engine/ability.js"; import { ChakruMercUnit } from "../../chakru-classes.js"; import ChakruTempleOfEarth from "../building/chakru-temple-of-earth.js"; class ChakruCultist extends ChakruMercUnit { constructor() { super(); this.name = "Cha'Kru Cultist"; this.tier = "T1"; this.hotkey = ""; this.hexiteCost = 100; this.fluxCost = 200; this.buildTime = 35; this.buildCount = 2; this.uuid = "e080a169-c298-4103-8380-3a8359abd1c7"; this.description = "Heals and hides friendly units."; // Mutable properties (can be modified by upgrades) this.shortName = "Cultist"; this.hp = 250; this.shields = 0; this.armor = 0; this.armorType = "light"; this.speed = 500; this.supply = 3; this.energy = 100; this.startingEnergy = 50; // Relationships this.createdBy = [ChakruTempleOfEarth.id]; this.unlockedBy = [ChakruTempleOfEarth.id]; // Acidic Throw attack - Weaponized blood magic this.attacks.acidicThrow = new Attack({ name: "Acidic Throw", damage: 19, cooldown: 1.3, range: 1200, targets: ["air", "ground"], parentId: this.id, parentUUID: this.uuid, }); // Heal spell - Leviathan blood magic restoration this.spells.heal = new Spell({ name: "Heal", energyCost: 40, energyType: "classic", targets: [], healing: 250, duration: 8, description: "Heals target for 250 HP and provides stealth and +25% movement speed for 8s. Only targets non-mechanical units.", parentId: this.id, parentUUID: this.uuid, }); } } // Static property for source path ChakruCultist.src = "src/zerospace/mercenary/chakru/unit/chakru-cultist.ts"; export default ChakruCultist; //# sourceMappingURL=chakru-cultist.js.map