Scaling Health Mod Wiki › Guides › Scaling Health Difficulty Mechanics
Scaling Health Difficulty Mechanics
The core of the mod is the Difficulty system, which is tracked at three levels: Player, Global, and Area.
Difficulty Types
- Player Difficulty: An individual value for each player that increases slowly over time (default: 0.0016 per second). It can also increase by killing mobs or decrease upon death, depending on configuration.
- Global Difficulty: A world-wide value that affects all players equally. It typically increases at a set rate regardless of player activity.
- Area Difficulty: When a mob spawns, the mod calculates the difficulty of that specific location. This is used to determine the mob's health and damage bonuses.
Area Difficulty Calculation Modes
| Mode | Description |
|---|---|
| AVERAGE | The average difficulty of all players within the search radius. |
| WEIGHTED_AVERAGE | Similar to average, but players closer to the spawn point have a higher impact. |
| MIN_LEVEL | Uses the lowest difficulty level among nearby players. |
| MAX_LEVEL | Uses the highest difficulty level among nearby players. |
| DISTANCE_FROM_SPAWN | Difficulty is based solely on how many blocks the spawn point is from the world origin. |
| DISTANCE_FROM_ORIGIN | Difficulty is based on the distance from coordinates (0,0,0). |
| DISTANCE_AND_TIME | A combination of weighted average player difficulty and distance from spawn. |