UNPKG

@zerospacegg/iolin

Version:

Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)

66 lines 2.65 kB
"use strict"; /** * Chakru Mercenary Faction * Cha'Kru Kingdom - Masters of blood magic and biotechnology, worshipping the mythic Leviathan * * Mercenary faction structure: * - Two talents (Revive, Lifesteal) * - Six units (3 water-based, 3 earth-based) * - Two temple buildings (Temple of Water, Temple of Earth) * - No hero (mercHeroesAllowed = true but no specific hero) * - Two sacrifice topbars (Sacrifice to Pachamama, Sacrifice to Illapu) */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Chakru = void 0; const chakru_js_1 = require("../../defaults/chakru.cjs"); // Import units // Import buildings // Create concrete Chakru faction class class Chakru extends chakru_js_1.ChakruFaction { constructor() { super(); this.name = "Cha'Kru Kingdom"; this.uuid = "92e6d4b9-621c-4859-a86a-4249e4dc6531"; // Mercenary faction settings // Set talents this.talents.revive = new chakru_js_1.ChakruTalent({ uuid: "56aa47b8-720b-4523-96e8-d1c307c3efe7", name: "Revive", level: 2, description: "Units revive with 50% health when killed", }); this.talents.lifesteal = new chakru_js_1.ChakruTalent({ uuid: "2723225b-2489-4c01-8e71-a237071f68eb", name: "Lifesteal", level: 4, description: "Units heal for 25% of damage dealt", }); // Set topbars this.topbars.sacrificeToPachamama = new chakru_js_1.ChakruTopbar({ name: "Sacrifice to Pachamama", description: "Sacrifice units to Pachamama for earth power", }); this.topbars.sacrificeToIllapu = new chakru_js_1.ChakruTopbar({ name: "Sacrifice to Illapu", description: "Sacrifice units to Illapu for water power", }); // Set units array this.units = [ "mercenary/chakru/unit/chakru-clackjaw", "mercenary/chakru/unit/chakru-cultist", "mercenary/chakru/unit/chakru-ghost-crab", "mercenary/chakru/unit/chakru-hatun", "mercenary/chakru/unit/chakru-rageborn", "mercenary/chakru/unit/chakru-warrior", ]; // Set buildings array this.buildings = ["mercenary/chakru/building/chakru-temple-of-earth", "mercenary/chakru/building/chakru-temple-of-water"]; // Set heroes array (TODO: implement Chakru hero) this.heroes = []; } } exports.Chakru = Chakru; // Static property for source path Chakru.src = "src/zerospace/mercenary/chakru.ts"; exports.default = Chakru; //# sourceMappingURL=chakru.js.map