@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
62 lines • 2.5 kB
JavaScript
"use strict";
/**
* Sabretooth - Kraegar's loyal companion beast
* Unique rebuildable creature that grows stronger from allied beast deaths
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Sabretooth = void 0;
const ability_js_1 = require("../../../../engine/ability.cjs");
const legion_classes_js_1 = require("../../legion-classes.cjs");
const kraegar_js_1 = __importDefault(require("../hero/kraegar.cjs"));
class Sabretooth extends legion_classes_js_1.LegionSpecialUnit {
constructor() {
super();
this.rebuildTime = 60;
this.rebuildable = true;
this.name = "Sabretooth";
this.tier = "T2";
this.hexiteCost = 150;
this.fluxCost = 150;
this.buildTime = 20;
this.uuid = "57355de4-49e0-4745-b70e-38f9266230a7";
// Companion beast stats - enhanced predator
this.hp = 200;
this.shields = 0;
this.armor = 0;
this.armorType = "medium";
this.speed = 525; // Swift predator
this.supply = 0; // Special companion unit
this.stunResist = 50; // Primal resilience
// Costs
// Relationships - created by Kraegar hero
this.createdBy = [kraegar_js_1.default.id];
this.unlockedBy = [kraegar_js_1.default.id];
// Tags for identification and targeting - none needed for Sabretooth
// Powerful melee attack with razor-sharp claws
this.attacks.attack = new ability_js_1.Attack({
name: "Attack",
damage: 30,
range: 170,
cooldown: 2.0,
targets: ["ground"],
description: "Powerful melee attack with razor-sharp claws",
parentId: this.id,
parentUUID: this.uuid,
});
// Feed passive ability - grows stronger from allied beast deaths
this.passives.feed = new ability_js_1.Passive({
name: "Feed",
description: "Any allied beast that dies anywhere on the map grants +1 dmg and +20hp to Sabretooth.",
parentId: this.id,
parentUUID: this.uuid,
});
// Lore - sacred companion embodying Legion philosophy
}
}
exports.Sabretooth = Sabretooth;
Sabretooth.src = "src/zerospace/faction/legion/hero/sabretooth.ts";
exports.default = Sabretooth;
//# sourceMappingURL=sabretooth.js.map