add-move

Define custom Pokémon moves with types, power, accuracy, and damage logic.

13|5|Updated Apr 6, 2023
One-click install
npx skills add https://github.com/ewei068/pokestar --skill add-move
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-move
Source: https://github.com/ewei068/pokestar/tree/main/.cursor/skills/add-move
Command: npx skills add https://github.com/ewei068/pokestar --skill add-move

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured way to add new, custom moves to the Pokémon battle system, enabling the expansion of combat mechanics and strategies.

Core Features & Use Cases

  • Move Definition: Define custom moves with specific types, power, accuracy, cooldowns, targeting, and damage types.
  • Execution Logic: Implement complex move effects using a rich context and generic helper methods for damage, status, and buffs.
  • Use Case: Add a new signature move for a custom Pokémon, like "Shadow Ball" with a chance to lower the target's Special Defense, by defining its properties and execution logic in moves.js.

Quick Start

Add a new move definition to src/battle/data/moves.js following the provided structure.

Frequently Asked Questions about add-move

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add custom moves to a Pokemon battle system?

To add custom Pokemon moves, define their properties like type, power, accuracy, and targeting in the `moves.js` file, then implement their execution logic using generic helper methods for damage and buffs.

What properties can I define when creating a new Pokemon move?

When creating a new Pokemon move, you can define its type, power, accuracy, cooldowns, targeting rules, and damage types to integrate smoothly with existing battle mechanics.

How do I implement complex move effects like status conditions and debuffs?

Complex move effects are implemented by writing execution logic that leverages the rich context and generic helper methods provided for applying damage, status conditions, buffs, and debuffs to targets.

Can I add a signature move with a chance to lower the target's Special Defense?

Yes, you can add a signature move with secondary effects by defining the base properties in the move definition and coding the Special Defense debuff logic within the execution block.

Does adding new moves require external dependencies or libraries?

No external dependencies are required to add new moves; the Skill integrates directly with your existing battle mechanics and data definitions using built-in helper methods.

What is the best way to structure custom move data for game development?

The best way to structure custom move data is to follow the existing format in `src/battle/data/moves.js`, ensuring all move properties and execution logic align with the current battle system architecture.