@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
75 lines (63 loc) • 3.24 kB
JavaScript
/**
* Status Resist
*/
import { GameMechanic } from "../../engine/mechanic.js";
export class StatusResist extends GameMechanic {
constructor() {
super();
this.name = "Status Resist";
this.uuid = "41448ba6-4303-4e1a-9731-d6a7275840a2";
// Simple description for API/JSON usage
this.description = "Status Resist is a defensive mechanic that provides units with resistance or immunity to debilitating status effects, ensuring reliable performance against crowd control strategies.";
// Rich wiki content with {{box}} components
this.wiki = `
## Overview
Status Resist is a defensive mechanic that provides units with resistance or immunity to debilitating status effects, ensuring reliable performance against crowd control strategies.
{{box-grid}}
{{box header="Protected Status Effects" icon="mdi-shield-bug"}}
**Common Debuffs Resisted**
- **Stuns**: Temporary complete incapacitation
- **Mind Control**: Enemy conversion abilities
- **Slows**: Movement and attack speed reductions
- **Other Debuffs**: Various negative status effects
- **Disable Immunity**: Protection against crowd control
{{/box}}
{{box header="Resistance Levels" icon="mdi-shield-star"}}
**Protection Tiers**
- **Partial Resistance**: Reduced duration or effectiveness
- **High Resistance**: Significantly shortened debuff duration
- **Complete Immunity**: Total protection against specific effects
- **Scaling Protection**: Variable resistance based on unit design
{{/box}}
{{/box-grid}}
## Tactical Advantages
Status resistance provides multiple layers of battlefield benefit:
{{box-grid}}
{{box header="Combat Reliability" icon="mdi-shield-check"}}
**Dependable Performance**
- **Consistent Performance**: Units maintain effectiveness under pressure
- **Crowd Control Immunity**: Resist enemy disable attempts
- **Formation Stability**: Resistant units anchor battle lines
- **Pressure Resistance**: Reliable function in high-stress situations
{{/box}}
{{box header="Strategic Counter-Play" icon="mdi-chess-knight"}}
**Enemy Strategy Negation**
- **Counter-Play**: Neutralizes specific enemy strategies
- **Core Unit Protection**: Safeguards key army components
- **Engagement Confidence**: Reduced risk of ability-based shutdowns
- **Meta Adaptation**: Counters control-heavy enemy compositions
{{/box}}
{{box header="Formation Strategy" icon="mdi-formation-close"}}
**Army Composition**
- **Frontline Anchors**: High-resist units lead charges
- **Mixed Compositions**: Combine resistant and vulnerable units
- **Protection Roles**: Use resistant units to shield others
- **Engagement Priority**: Resistant units can safely engage first
{{/box}}
{{/box-grid}}
`;
}
}
StatusResist.src = "src/zerospace/mechanic/status-resist.ts";
export default StatusResist;
//# sourceMappingURL=status-resist.js.map