ZSGG Public Library
DrillBot (Creep)
Jungle-ai T2 Army Unit
import { JungleAIUnit } from "../../../../defaults/jungle-ai.js";
import { Attack } from "../../../../engine/ability.js";
export class DrillBot extends JungleAIUnit {
override uuid: string;
static override src = "src/zerospace/nonplayer/jungle-ai/unit/drillbot.ts";
constructor() {
super();
this.name = "DrillBot (Creep)";
this.tier = "T2";
this.uuid = "cf2f1923-4e3c-4e88-943d-02750aeb2a5d";
this.internalId = "Troop_Corp_FactoryBot_Campaign_C";
this.internalTags = ["Attackable.Unit.Troop", "Attackable.ArmorType.Heavy", "Local.Corp", "Unit.MapCreep"];
this.internalSecondaryTags = [];
this.hexiteCost = 100;
this.fluxCost = 0;
this.supply = 4;
this.hp = 800;
this.armor = 0;
this.armorType = "heavy";
this.speed = 270;
this.description =
"Heavy armored mechanical unit that attacks while moving. Provides 100 hexite when killed. Found in hostile camps on ladder maps.";
// Attack: attacks while moving capability
this.attacks.attack = new Attack({
name: "Attack",
damage: 12,
cooldown: 0.4,
range: 1600,
targets: ["air", "ground"],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default DrillBot;