@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
49 lines • 1.74 kB
JavaScript
"use strict";
/**
* Ravager - Jungle AI Campaign Unit
* Light mechanized infantry with fast movement
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Ravager = void 0;
const jungle_ai_js_1 = require("../../../../defaults/jungle-ai.cjs");
const ability_js_1 = require("../../../../engine/ability.cjs");
class Ravager extends jungle_ai_js_1.JungleAIUnit {
constructor() {
super();
this.name = "Ravager (Creep)";
this.shortName = "Ravager";
this.tier = "T1";
this.uuid = "d67e7b67-ccfa-41e4-b0fc-eda811f40cef";
// Internal game engine data
this.internalId = "Troop_Corp_Dino_C";
this.internalTags = [
"Attackable.Unit.Troop",
"Attackable.Unit.Light",
"Attackable.ArmorType.Medium",
"Unit.MapCreep",
];
this.internalSecondaryTags = ["Mech", "Infantry"];
// Combat stats
this.hp = 325;
this.armor = 0;
this.armorType = "medium";
this.speed = 540;
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 ability_js_1.Attack({
name: "Attack",
damage: 13,
cooldown: 0.5,
cooldownBetweenShots: 0.5,
range: 60,
targets: ["ground"],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
exports.Ravager = Ravager;
Ravager.src = "src/zerospace/nonplayer/jungle-ai/unit/ravager.ts";
exports.default = Ravager;
//# sourceMappingURL=ravager.js.map