UNPKG

@zerospacegg/iolin

Version:

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

78 lines (66 loc) 3.45 kB
"use strict"; /** * Mind Control - Temporary unit conversion */ Object.defineProperty(exports, "__esModule", { value: true }); exports.MindControl = void 0; const mechanic_js_1 = require("../../engine/mechanic.cjs"); class MindControl extends mechanic_js_1.GameMechanic { constructor() { super(); this.name = "Mind Control"; this.uuid = "cbb6d422-d7f1-4144-bd90-50e7398e5db5"; // Simple description for API/JSON usage this.description = "Mind Control is a powerful ability that temporarily converts enemy units to fight for the caster's faction, turning the enemy's strength against them with full unit capabilities."; // Rich wiki content with {{box}} components this.wiki = ` ## Overview Mind Control is a powerful ability that temporarily converts enemy units to fight for the caster's faction, turning the enemy's strength against them. {{box-grid}} {{box header="Unit Conversion" icon="mdi-brain"}} **Temporary Enemy Control** - **Temporary Control**: Enemy unit fights for the caster - **Full Capabilities**: Controlled unit retains all original abilities - **Command Authority**: Player gains complete control over the unit - **Original Stats**: Unit maintains all stats and abilities {{/box}} {{box header="Duration System" icon="mdi-timer"}} **Control Mechanics** - **Base Duration**: Fixed time period for control effect - **Status Resist Impact**: Higher status resist = shorter control duration - **Automatic Reversion**: Unit returns to original owner when effect expires - **Predictable**: Control duration can be calculated and planned {{/box}} {{/box-grid}} ## Tactical Applications Mind Control offers both aggressive and defensive strategic options: {{box-grid}} {{box header="Offensive Applications" icon="mdi-sword-cross"}} **Aggressive Usage** - **Turn Enemy Strength**: Use powerful enemy units against their own forces - **Flanking Maneuvers**: Position controlled units behind enemy lines - **Ability Exploitation**: Use the controlled unit's special abilities - **Force Multiplication**: Temporarily increase your army size {{/box}} {{box header="Defensive Applications" icon="mdi-shield-check"}} **Protective Usage** - **Neutralize Threats**: Remove dangerous enemy units from combat - **Temporary Numbers**: Gain additional firepower during critical moments - **Disruption**: Break enemy formations and coordinated attacks - **Breathing Room**: Create time to reposition or retreat {{/box}} {{box header="Target Selection" icon="mdi-crosshairs"}} **Strategic Targeting** - **High-Value Units**: Prioritize expensive or powerful enemy units - **Low Status Resist**: Target units with minimal resistance for longer control - **Strategic Position**: Control units in key battlefield locations - **Ability Synergy**: Choose units whose abilities complement your strategy {{/box}} {{/box-grid}} `; } } exports.MindControl = MindControl; MindControl.src = "src/zerospace/mechanic/mind-control.ts"; exports.default = MindControl; //# sourceMappingURL=mind-control.js.map