cst-critical

Implement critical hit probability and damage calculations for weapon skills.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a standardized framework to implement, test, and tune critical hit probability and damage across weapon skills, avoiding ad-hoc implementations.

Core Features & Use Cases

  • Centralized crit logic using CriticalHitManager to read chance and multiplier.
  • Weapon-specific crit skills aggregate via SkillBonusCalculator to ensure totals are combined correctly.
  • Cross-tree compatibility supports both passive bonuses and active crit triggers for consistent balance.

Quick Start

Configure a crit-based skill and trigger it in combat to observe crit chance and damage via the CriticalHitManager.

Frequently Asked Questions about cst-critical

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

FAQPage Schema
How do I implement critical hit probability and damage calculations for weapon skills?

To implement critical hit probability and damage calculations, use a centralized framework that reads crit chance and multipliers via CriticalHitManager methods, applying aggregated totals across weapon skills to ensure consistent combat balance.

How does a SkillBonusCalculator aggregate critical damage across weapon trees?

A SkillBonusCalculator aggregates critical damage across weapon trees by combining passive bonuses and active crit triggers into combined totals, ensuring cross-tree compatibility and accurate combat balance for both single-player and server-synced environments.

Can I use centralized critical hit logic for passive bonuses and active triggers?

Yes, centralized critical hit logic supports both passive bonuses and active crit triggers, applying standardized probability and damage calculations across all weapon skills to maintain consistent combat balance in single-player and server-synced environments.

Does this critical hit framework work in server-synced combat environments?

Yes, this critical hit framework works in server-synced combat environments, applying standardized probability and damage calculations across weapon trees while maintaining consistent balance for both active and passive critical events.

What is the best way to tune critical-hit mechanics for game combat balance?

The best way to tune critical-hit mechanics for game combat balance is using a standardized framework with centralized logic, reading chance and multipliers via CriticalHitManager methods to control probability and damage across all weapon skills.