cst-health

Enforce m_baseHP updates for Valheim health bonuses and SetMaxHealth patching.

1|Updated Jul 15, 2025
One-click install
npx skills add https://github.com/KorCaptain/Valheim_Captain_SkillTree --skill cst-health
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cst-health
Source: https://github.com/KorCaptain/Valheim_Captain_SkillTree/tree/main/.claude/skills/cst-health
Command: npx skills add https://github.com/KorCaptain/Valheim_Captain_SkillTree --skill cst-health

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures HP/health bonuses are applied by updating the core m_baseHP, preventing heal flicker and ensuring consistent healing math within Valheim's health system.

Core Features & Use Cases

  • Enforces inclusion of m_baseHP for all health bonuses and supports SetMaxHealth patching.
  • Provides clear guidance for health, healing, and max health integration, including MMO Body parameter usage for compatible configurations.
  • Works as a standalone rule-set, usable directly by skill implementations or in conjunction with other health-related mods.

Quick Start

Apply health bonuses by increasing m_baseHP (or patching SetMaxHealth) to ensure healing works and to align with MMO Body integration.

Frequently Asked Questions about cst-health

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

FAQPage Schema
Why does my Valheim health bonus cause heal flicker and inconsistent healing?

Health bonuses cause heal flicker when they bypass the core m_baseHP field. You must enforce m_baseHP updates for all HP bonuses to ensure consistent healing math and prevent visual glitches.

How do I apply max health bonuses in Valheim without breaking healing mechanics?

Apply max health bonuses by increasing m_baseHP or patching SetMaxHealth directly. This ensures the Valheim health system recognizes the new maximum and maintains correct healing calculations.

Does Valheim health modification need m_baseHP for MMO-style integration?

Yes, MMO-style integration requires m_baseHP updates to align with getParameter Parameter.Body. This coherence ensures health bonuses and healing function correctly across multiplayer configurations.

Can I use SetMaxHealth patching for standalone Valheim health mods?

Yes, SetMaxHealth patching works for standalone health mods. It serves as an alternative to directly modifying m_baseHP, ensuring healing logic remains stable when applying max health adjustments.

What is the best way to implement custom healing logic in Valheim?

The best way to implement custom healing is to route all health bonuses through m_baseHP updates. This aligns with the core health system, preventing heal flicker and ensuring numerical stability.

When should I not use direct field modification for Valheim HP adjustments?

Avoid direct field modification if it bypasses m_baseHP, as this causes heal flicker. Use SetMaxHealth patching or enforce m_baseHP inclusion to maintain consistent healing behavior.