ZSGG Public Library
Cha'Kru Cultist
Chakru T1 Merc Unit
import { ChakruMercUnit } from "../../../../defaults/chakru.js";
import { Heal, Spell } from "../../../../engine/ability.js";
class ChakruCultist extends ChakruMercUnit {
override uuid: string;
static override src = "src/zerospace/mercenary/chakru/unit/chakru-cultist.ts";
constructor() {
super();
// Fix: HP
this.hexiteCost = 100;
this.fluxCost = 200;
this.buildCount = 2;
this.name = "Cha'Kru Cultist";
this.tier = "T1";
this.hotkey = "";
this.internalId = "Troop_KingdomCultist_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_KingdomCultist.Default__Troop_KingdomCultist_C";
this.internalTags = [
"Attackable.Unit.Troop",
"Attackable.Unit.Light",
"Attackable.ArmorType.Light",
"Attackable.Biological",
"Attackable.Unit.Chakru.A",
];
this.internalSecondaryTags = ["Biological", "Infantry"];
this.uuid = "e080a169-c298-4103-8380-3a8359abd1c7";
this.description = "Heals biological units. Has the ability to cloak nearby units.";
this.shortName = "Cultist";
this.hp = 200;
this.shields = 0;
this.armor = 0;
this.armorType = "light";
this.speed = 500;
this.supply = 3;
this.energy = 100;
this.startingEnergy = 50;
this.turnSpeed = 3000;
this.pushability = 0;
this.createdBy = ["mercenary/chakru/building/chakru-temple-of-earth"!];
this.unlockedBy = ["mercenary/chakru/building/chakru-temple-of-earth"!];
this.spells.safelyHidden = new Spell({
name: "Safely Hidden",
description: "Cloak nearby units for 15 seconds.",
cooldown: 15,
targets: ["air", "ground"],
parentId: this.id,
parentUUID: this.uuid,
});
this.heals.cultivatorsTouch = new Heal({
name: "Cultivator's Touch",
targets: ["ground", "air"],
healing: 19,
cooldown: 1.3,
range: 1200,
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default ChakruCultist;