AgentSkillsCN

modding-doc-progression

根据Modding_Doc/Progression中的文档指引,为Hyforged成长系统提供指导。在新增XP曲线、职业、等级奖励,或从Modding_Doc/Progression中获取XP奖励时使用。触发关键词:成长、XP、等级、职业、曲线、武器标签、模组文档。

SKILL.md
--- frontmatter
name: modding-doc-progression
description: Doc-derived guidance for the Hyforged Progression system. Use when adding XP curves, classes, level rewards, or XP awards from Modding_Doc/Progression. Triggers - progression, xp, level, class, curve, weapon tags, modding doc.

Modding Doc: Progression

This skill summarizes Modding_Doc/Progression at a high level and links to the full references.

Documentation References

Doc-Derived How-To (Adding Progression Content)

  1. Define XP curves in src/main/resources/Server/<YourMod>/Progression/ using namespaced id, type, baseXp, exponent, and maxLevel.
  2. Define class data in src/main/resources/Server/<YourMod>/Progression/Classes/ with weaponTagFamilies and levelRewards.
  3. Configure XP sources and caps in src/main/resources/Server/<YourMod>/Progression/XPConfig.json.
  4. Add XP awards to objectives using the hyforged:xp_award completion type or explicit XP amounts.
  5. Integrate via progression events or ProgressionStatBridge instead of hard-coded level checks.

Notes:

  • Keep everything data-driven and namespaced; avoid hard-coded values.
  • Ensure weapon tags align with existing tag families in your item data.