add-event-listener
CommunityManage battle event listeners.
Software Engineering#game development#conditional logic#pokemon#callback#battle system#event listener
Authorewei068
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a structured way to register and manage listeners for various battle events, enabling abilities, effects, and items to react dynamically to game occurrences.
Core Features & Use Cases
- Event Subscription: Allows components to subscribe to specific battle events (e.g.,
BEFORE_DAMAGE,AFTER_FAINT). - Conditional Logic: Supports custom conditions for event triggers using callback functions.
- Argument Modification: Enables modification of event arguments to alter battle outcomes.
- Use Case: Implement an ability that heals a Pokémon by 10% of its max HP at the end of every turn, or an item that grants immunity to a specific move type.
Quick Start
Use the add-event-listener skill to register a listener that triggers when a Pokemon faints.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: add-event-listener Download link: https://github.com/ewei068/pokestar/archive/main.zip#add-event-listener Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.