@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
42 lines • 1.53 kB
JavaScript
/**
* Bulky Spiderling - XP Tower Guardian
*
* Guardians of the XP towers. Each tower spawns 8 of these at the beginning
* of the game, which you must clear to gain initial control of the tower.
* These are simple but resilient creatures that serve as the primary defense
* for neutral XP-generating structures across the battlefield.
*
* As a T0 unit, they're basic but numerous, relying on swarm tactics and
* their natural resilience to protect valuable resources.
*/
import { Attack } from "../../../../engine/ability.js";
import { JungleAIArmyUnit } from "../../jungle-ai-classes.js";
class BulkySpiderling extends JungleAIArmyUnit {
constructor() {
super();
this.name = "Bulky Spiderling";
this.tier = "T0";
this.hotkey = "";
this.buildCount = 1;
this.domain = "ground";
this.uuid = "22c3bdf7-fa38-460e-b953-1cfb07df7332";
// Mutable properties (can be modified by upgrades)
this.hp = 85;
this.speed = 300;
this.armorType = "none";
// Basic melee attack
this.attacks.attack = new Attack({
name: "Attack",
damage: 4,
cooldown: 0.5,
range: 100,
targets: ["ground"],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
// Static property for source path
BulkySpiderling.src = "src/zerospace/nonplayer/jungle-ai/unit/bulky-spiderling.ts";
export default BulkySpiderling;
//# sourceMappingURL=bulky-spiderling.js.map