AgentSkillsCN

modding-doc-scaling

根据Modding_Doc/Scaling中的文档指引,为Hyforged怪物规模调整提供指导。在新增世界规模或怪物规模配置时使用。触发关键词:规模调整、怪物规模、世界规模、NPC等级、模组文档。

SKILL.md
--- frontmatter
name: modding-doc-scaling
description: Doc-derived guidance for Hyforged monster scaling. Use when adding world scaling or monster scaling configs from Modding_Doc/Scaling. Triggers - scaling, monster scaling, world scaling, npc level, modding doc.

Modding Doc: Scaling

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

Documentation References

Doc-Derived How-To (Adding Scaling)

  1. Define world scaling configs in src/main/resources/Server/<YourMod>/Combat/WorldScaling/ to control level-by-distance behavior.
  2. Define monster scaling configs in src/main/resources/Server/<YourMod>/Combat/MonsterScaling/ with AppliesTo and ScaledStats entries.
  3. Use stat IDs from the Stats system (including custom stats) for ScaledStats.
  4. Validate scaling with MonsterScalingService or in-game testing.

Notes:

  • Keep everything data-driven and namespaced; avoid hard-coded values.
  • Favor small, composable configs per monster family to keep tuning manageable.