UNPKG

@zerospacegg/iolin

Version:

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

80 lines (68 loc) 3.44 kB
"use strict"; /** * Reanimate - Legion necromantic transformation */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Reanimate = void 0; const mechanic_js_1 = require("../../engine/mechanic.cjs"); class Reanimate extends mechanic_js_1.GameMechanic { constructor() { super(); this.name = "Reanimate"; this.uuid = "9dc47357-60a3-49cb-b9c0-7d039e6ad0b6"; // Simple description for API/JSON usage this.description = "Reanimate is a Legion necromantic ability that enhances a unit's performance (+30% speed) before death, then grants it a second life with reduced capabilities (-30% speed)."; // Rich wiki content with {{box}} components this.wiki = ` ## Overview Reanimate is a Legion necromantic ability that enhances a unit's performance before death, then grants it a second life with reduced capabilities. {{box-grid}} {{box header="Phase 1: Living Enhancement" icon="mdi-lightning-bolt"}} **Enhanced Performance** - **Duration**: Until the unit dies - **Attack Speed**: +30% faster attacks - **Movement Speed**: +30% faster movement - **Tactical Advantage**: Improved combat performance and mobility - **Risk Taking**: Enhanced units can afford aggressive positioning {{/box}} {{box header="Phase 2: Undead Resurrection" icon="mdi-skull"}} **Necromantic Revival** - **Trigger**: Automatic upon death - **Attack Speed**: -30% slower attacks (compared to original) - **Movement Speed**: -30% slower movement (compared to original) - **Second Life**: Unit returns to combat with reduced effectiveness - **Extended Value**: Continues fighting beyond initial death {{/box}} {{/box-grid}} ## Strategic Applications Reanimate provides value across both enhancement phases: {{box-grid}} {{box header="Pre-Death Benefits" icon="mdi-rocket"}} **Living Enhancement Value** - **Enhanced Combat**: Faster attacks increase damage output - **Improved Mobility**: Faster movement for positioning and retreats - **Aggressive Tactics**: Enhanced units can take more risks - **Force Multiplication**: Boosted performance during critical moments {{/box}} {{box header="Post-Death Benefits" icon="mdi-replay"}} **Resurrection Value** - **Extended Presence**: Unit continues fighting after first death - **Resource Efficiency**: Gain extra value from initial unit investment - **Disruption**: Continued battlefield presence complicates enemy plans - **Psychological Impact**: Forces enemies to kill units twice {{/box}} {{box header="Unit Selection Strategy" icon="mdi-target"}} **Optimal Targeting** - **High-Value Targets**: Best used on expensive or important units - **Frontline Units**: Maximize both enhanced and reanimated combat time - **Mobile Units**: Movement speed bonus enhances tactical flexibility - **Core Army**: Apply to units central to your battle strategy {{/box}} {{/box-grid}} `; } } exports.Reanimate = Reanimate; Reanimate.src = "src/zerospace/mechanic/reanimate.ts"; exports.default = Reanimate; //# sourceMappingURL=reanimate.js.map