@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
65 lines • 2.58 kB
JavaScript
"use strict";
/**
* 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
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const ability_js_1 = require("../../../../engine/ability.cjs");
const chakru_classes_js_1 = require("../../chakru-classes.cjs");
const chakru_temple_of_earth_js_1 = __importDefault(require("../building/chakru-temple-of-earth.cjs"));
class ChakruCultist extends chakru_classes_js_1.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 = [chakru_temple_of_earth_js_1.default.id];
this.unlockedBy = [chakru_temple_of_earth_js_1.default.id];
// Acidic Throw attack - Weaponized blood magic
this.attacks.acidicThrow = new ability_js_1.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 ability_js_1.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";
exports.default = ChakruCultist;
//# sourceMappingURL=chakru-cultist.js.map