@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
46 lines • 1.74 kB
JavaScript
"use strict";
/**
* DrillBot - Jungle AI Campaign Unit
* Heavy armored mechanical unit that attacks while moving
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.DrillBot = void 0;
const jungle_ai_js_1 = require("../../../../defaults/jungle-ai.cjs");
const ability_js_1 = require("../../../../engine/ability.cjs");
class DrillBot extends jungle_ai_js_1.JungleAIUnit {
constructor() {
super();
this.name = "DrillBot (Creep)";
this.tier = "T2";
this.uuid = "cf2f1923-4e3c-4e88-943d-02750aeb2a5d";
// Internal game engine data
this.internalId = "Troop_Corp_FactoryBot_Campaign_C";
this.internalTags = ["Attackable.Unit.Troop", "Attackable.ArmorType.Heavy", "Local.Corp", "Unit.MapCreep"];
this.internalSecondaryTags = [];
// Combat stats
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 ability_js_1.Attack({
name: "Attack",
damage: 12,
cooldown: 0.4,
cooldownBetweenShots: 0.4,
range: 1600,
targets: ["air", "ground"],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
exports.DrillBot = DrillBot;
DrillBot.src = "src/zerospace/nonplayer/jungle-ai/unit/drillbot.ts";
exports.default = DrillBot;
//# sourceMappingURL=drillbot.js.map