parseLevelSync

protected int parseLevelSync(String rawValue, int contentLevel)

Parses the levelSync value from config. Supports: - Absolute values: "70" means level sync at 70 - Relative values: "+5" means content level + 5, "-3" means content level - 3

Return

The calculated level sync value, or 0 if invalid/disabled

Parameters

rawValue

The raw string value from config

contentLevel

The content level to use for relative calculations (can be -1 for dynamic dungeons)