ZSGG Public Library
Cha'Kru Chas'ki
Chakru Co-Op T1 Merc Unit
import { ChakruMercUnit } from "../../../../../defaults/chakru.js";
import { Attack } from "../../../../../engine/ability.js";
class CoopChakruChaski extends ChakruMercUnit {
override uuid: string;
static override src = "src/zerospace/coop/mercenary/chakru/unit/coop-chakru-chaski.ts";
constructor() {
super();
this.hexiteCost = 250;
this.fluxCost = 0;
this.buildCount = 3;
//450 in combat, probably still 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 = 450;
this.name = "Cha'Kru Chas'ki";
this.tier = "T1";
this.hotkey = "V";
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 = "9781a3bf-1ded-43ab-9e4d-bcda5d09fe48";
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 = 1;
this.createdBy = ["coop/mercenary/chakru/building/coop-chakru-temple-of-anqas"!];
this.attacks.sacredKnives = new Attack({
internalId: "Default__Kingdom_BloodWarriorWeapon_C",
name: "Sacred Knives",
damage: 18,
cooldown: 1.6,
armorPenetration: 0,
range: 1100,
delay: 0.2,
targets: ["ground", "air"],
bonusDamage: [{ multiplier: 1.5, vs: ["armor:medium"] }],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default CoopChakruChaski;