weapon-system

Centralize forging, durability, and repair logic for wuxia game weapons.

5|1|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/Wjiajie/wuxiaX --skill weapon-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: weapon-system
Source: https://github.com/Wjiajie/wuxiaX/tree/main/.agent/skills/weapon-system
Command: npx skills add https://github.com/Wjiajie/wuxiaX --skill weapon-system

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill centralizes the weapon lifecycle in a wuxia game, including forging, durability tracking, and repair logic, to ensure consistent weapon behavior across fights and quests.

Core Features & Use Cases

  • Forging: generate weapon attributes based on material quality and smith level.
  • Durability: model wear during combat and exploration with defined consumption rules.
  • Repair: simulate smith maintenance to restore durability and influence on performance.
  • Use Case: a player crafts a legendary blade and maintains it through long campaigns with periodic repairs.

Quick Start

Run the provided test script to validate core behavior: python3 scripts/test_logic.py

Frequently Asked Questions about weapon-system

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

FAQPage Schema
How do I manage weapon durability and repair logic in a wuxia game engine?

Weapon durability and repair logic in a wuxia game engine is managed by centralizing wear simulation during combat and smith maintenance routines. This ensures consistent weapon behavior by defining consumption rules that model degradation and restoring performance through scheduled repairs.

How does weapon forging work in a wuxia game simulation?

Weapon forging in a wuxia game simulation generates weapon attributes based on material quality and smith level. This mechanism allows players to craft legendary blades with dynamically calculated stats for use across long combat campaigns and exploration quests.

Can I integrate weapon lifecycle management with an existing protagonist inventory system?

Weapon lifecycle management supports modular integration with an existing protagonist inventory and skill system. By utilizing a scripts and references structure, the forging, durability, and repair logic connects to player data without requiring extensive architectural rewrites.

What is the best way to track weapon wear during combat and exploration?

Tracking weapon wear during combat and exploration is best handled by defining durability consumption rules within a centralized game engine logic script. This approach models degradation consistently across fights and quests, preventing inconsistent weapon performance states.

How do I test weapon forging and repair logic for a game?

Test weapon forging and repair logic for a game by running the provided validation script via python3 scripts/test_logic.py. This executes core behavior checks to ensure the durability tracking and maintenance simulations function correctly before runtime deployment.