ZeroSpace.gg

Cha'Kru Chas'ki

Chakru T1 Merc Unit

import { ChakruMercUnit } from "../../../../defaults/chakru.js"; import { Attack } from "../../../../engine/ability.js"; class ChakruChaski extends ChakruMercUnit { override uuid: string; static override src = "src/zerospace/mercenary/chakru/unit/chakru-chaski.ts"; constructor() { super(); this.hexiteCost = 250; this.fluxCost = 0; this.buildCount = 3; // 575 in combat, 800 out of it. Only the combat speed fits the schema today; if we ever // add something like `outOfCombatSpeed`, the Roller's rolling form wants it too. this.speed = 575; this.name = "Cha'Kru Chas'ki"; this.tier = "T1"; this.hotkey = ""; this.internalId = "Troop_Kingdom_Warrior_C"; this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Kingdom_Warrior.Default__Troop_Kingdom_Warrior_C"; this.internalTags = [ "Attackable.Unit.Troop", "Attackable.Unit.Light", "Attackable.ArmorType.Light", "Attackable.Biological", "Attackable.Unit.Chakru.A", ]; this.internalSecondaryTags = ["Biological", "Infantry"]; this.uuid = "852c3449-fc4a-4e50-bc80-ec749d25ce04"; this.description = "Ranged warrior which moves faster out of combat. Attacks ground and air units."; this.shortName = "Chas'ki"; this.hp = 200; this.shields = 0; this.armor = 0; this.armorType = "light"; this.supply = 3; this.turnSpeed = 3000; this.pushability = 0; this.createdBy = ["mercenary/chakru/building/chakru-temple-of-earth"!]; this.attacks.sacredKnives = new Attack({ internalId: "Default__Kingdom_BloodWarriorWeapon_C", name: "Sacred Knives", damage: 18, cooldown: 1.6, armorPenetration: 0, range: 1000, delay: 0.2, targets: ["ground", "air"], bonusDamage: [{ multiplier: 1.5, vs: ["armor:medium"] }], parentId: this.id, parentUUID: this.uuid, }); } } export default ChakruChaski;