@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
45 lines • 1.57 kB
JavaScript
/**
* Ravager - Jungle AI Campaign Unit
* Light mechanized infantry with fast movement
*/
import { JungleAIUnit } from "../../../../defaults/jungle-ai.js";
import { Attack } from "../../../../engine/ability.js";
export class Ravager extends 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 Attack({
name: "Attack",
damage: 13,
cooldown: 0.5,
cooldownBetweenShots: 0.5,
range: 60,
targets: ["ground"],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
Ravager.src = "src/zerospace/nonplayer/jungle-ai/unit/ravager.ts";
export default Ravager;
//# sourceMappingURL=ravager.js.map