ZSGG Public Library
Ravager (Creep)
Jungle-ai T1 Army Unit
import { JungleAIUnit } from "../../../../defaults/jungle-ai.js";
import { Attack } from "../../../../engine/ability.js";
export class Ravager extends JungleAIUnit {
override uuid: string;
static override src = "src/zerospace/nonplayer/jungle-ai/unit/ravager.ts";
constructor() {
super();
this.name = "Ravager (Creep)";
this.shortName = "Ravager";
this.tier = "T1";
this.uuid = "d67e7b67-ccfa-41e4-b0fc-eda811f40cef";
this.internalId = "Troop_Corp_Dino_C";
this.internalTags = ["Attackable.Unit.Troop", "Attackable.Unit.Light", "Attackable.ArmorType.Medium"];
this.internalSecondaryTags = ["Mech", "Infantry"];
this.hp = 325;
this.hexiteCost = 85;
this.armor = 0;
this.armorType = "medium";
this.speed = 540;
this.vision = 1800;
this.turnSpeed = 3000;
this.description =
"Fast mechanized infantry unit that provides tactical early-game presence and scouting capabilities. Found in hostile camps on ladder maps.";
// Attack: ground-only anti-infantry
this.attacks.attack = new Attack({
name: "Attack",
damage: 13,
cooldown: 0.5,
armorPenetration: 0,
delay: 0,
range: 60,
targets: ["ground"],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default Ravager;