ZSGG Public Library
Angry Crab (Map Boss)
Jungle-ai T4 Army Unit
import { JungleAIUnit } from "../../../../defaults/jungle-ai.js";
import { Attack } from "../../../../engine/ability.js";
export class AngryCrab extends JungleAIUnit {
override uuid: string;
static override src = "src/zerospace/nonplayer/jungle-ai/unit/angry-crab.ts";
constructor() {
super();
this.name = "Angry Crab (Map Boss)";
this.shortName = "Angry Crab";
this.tier = "T4";
this.uuid = "a7b8c9d0-e1f2-4a3b-9c8d-7e6f5a4b3c2e";
this.internalId = "Troop_Mapboss_Crab_C";
this.internalTags = [
"Attackable.Unit.Troop",
"Attackable.ArmorType.Heavy",
"Attackable.Biological",
"Logic.MapBoss",
];
this.internalSecondaryTags = [];
this.hp = 3000;
this.armor = 5;
this.armorType = "heavy";
this.speed = 550;
this.stunResist = 50;
this.vision = 3500;
this.turnSpeed = 3000;
this.pushability = 0;
this.healthRegen = 30;
this.description =
"Map Boss: Gains 150 HP + 6 damage every 60s while alive. Respawns 3 minutes after death at whatever stats it would have scaled to if left alive. Copy gained from kill doesn't scale with time - uses current stats at moment of death (Map Boss).";
this.attacks.attack = new Attack({
name: "Attack",
damage: 118,
cooldown: 0.8,
armorPenetration: 0,
delay: 0.215,
range: 1400,
targets: ["ground"],
parentId: this.id,
parentUUID: this.uuid,
});
// TODO: Future enhancement - Add stacking system for time-based scaling effects
}
}
export default AngryCrab;