UNPKG

@zerospacegg/iolin

Version:

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

74 lines (62 loc) 3.29 kB
/** * Mind Control - Temporary unit conversion */ import { GameMechanic } from "../../engine/mechanic.js"; export class MindControl extends 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}} `; } } MindControl.src = "src/zerospace/mechanic/mind-control.ts"; export default MindControl; //# sourceMappingURL=mind-control.js.map