UNPKG

@zerospacegg/iolin

Version:

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

47 lines 1.73 kB
/** * Cha'Kru Clackjaw - Ritualistic berserker warrior with blood magic enhanced chitinous armor * Heavy armored warrior who transforms combat into sacred ritual */ import { Attack } from "../../../../engine/ability.js"; import { ChakruMercUnit } from "../../chakru-classes.js"; import ChakruTempleOfWater from "../building/chakru-temple-of-water.js"; class ChakruClackjaw extends ChakruMercUnit { constructor() { super(); this.name = "Cha'Kru Clackjaw"; this.tier = "T1"; this.hotkey = ""; this.hexiteCost = 225; this.fluxCost = 0; this.buildTime = 30; this.buildCount = 2; this.uuid = "b61d73d5-71a6-469a-b41e-1e9f2f4855ae"; this.description = "Tanky armored unit which reduces incoming damage by 4."; // Mutable properties (can be modified by upgrades) this.shortName = "Clackjaw"; this.hp = 270; this.shields = 0; this.armor = 5; this.armorType = "heavy"; this.speed = 500; this.supply = 3; // TODO: Convert to getter - this.infuseCost = 6; // Relationships this.createdBy = [ChakruTempleOfWater.id]; this.unlockedBy = [ChakruTempleOfWater.id]; // Primary attack - Mandible claws this.attacks.attack = new Attack({ name: "Attack", damage: 18, cooldown: 0.65, range: 140, targets: ["ground"], parentId: this.id, parentUUID: this.uuid, }); } } // Static property for source path ChakruClackjaw.src = "src/zerospace/mercenary/chakru/unit/chakru-clackjaw.ts"; export default ChakruClackjaw; //# sourceMappingURL=chakru-clackjaw.js.map