UNPKG

@zerospacegg/iolin

Version:

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

74 lines (62 loc) 2.89 kB
/** * Infusion - Grell symbiotic enhancement */ import { GameMechanic } from "../../engine/mechanic.js"; export class Infusion extends GameMechanic { constructor() { super(); this.name = "Infusion"; this.uuid = "d15e602a-fac1-403a-83d5-3fbe6589f105"; // Simple description for API/JSON usage this.description = "Infusion is the Grell faction's signature enhancement ability that permanently strengthens friendly units through symbiotic biological augmentation, providing +50% HP and damage."; // Rich wiki content with {{box}} components this.wiki = ` ## Overview Infusion is the Grell faction's signature enhancement ability that permanently strengthens friendly units through symbiotic biological augmentation. {{box-grid}} {{box header="Base Infusion" icon="mdi-dna"}} **Standard Enhancement** - **Health Bonus**: +50% maximum HP - **Damage Bonus**: +50% attack damage - **Permanence**: Effects last for the unit's lifetime - **Target**: Any friendly unit {{/box}} {{box header="Double Infusion" icon="mdi-vector-triangle"}} **Advanced Enhancement** - **PvP Unlock**: Grell Level 6 talent - **Co-op Unlock**: Vynthra commander progression - **Stacking Formula**: 1.5² = **2.25x** original HP and damage - **Ultimate Power**: Massive unit enhancement {{/box}} {{/box-grid}} ## Cost Structure Infusion costs are based on the target unit's supply value: {{box-grid}} {{box header="Standard Formula" icon="mdi-calculator"}} **Supply-Based Pricing** - **Formula**: Unit Supply × 2 = Topbar Energy Cost - **Example**: 2 supply unit = 4 topbar energy - **Example**: 5 supply unit = 10 topbar energy - **Example**: 8 supply unit = 16 topbar energy {{/box}} {{box header="Cost Efficiency" icon="mdi-chart-line"}} **Value Analysis** - **High Supply Units**: Most cost-effective for enhancement - **Low Supply Units**: Expensive relative to base stats - **Special Cases**: Some units have custom infusion costs - **ROI Consideration**: Factor in unit survival time {{/box}} {{box header="Strategic Timing" icon="mdi-clock-time-eight"}} **When to Infuse** - **Pre-Combat**: Infuse before major engagements - **Core Army**: Enhance units you plan to keep long-term - **Economic Balance**: Ensure sustainable energy generation - **Avoid Expendables**: Don't infuse units likely to die quickly {{/box}} {{/box-grid}} `; } } Infusion.src = "src/zerospace/mechanic/infusion.ts"; export default Infusion; //# sourceMappingURL=infusion.js.map