
Skill Level
Levelling System for each weapon type, giving better stats the higher the level such as bigger damage and faster charging.
00—hytaleServer2026.1mod
Skill Level
- Adds per-weapon leveling (sword, axe, bow, staff, dagger, spear, other) that progresses when you left-click a living target with that weapon type.
- Each hit grants skill XP; levels rise as XP crosses growing thresholds (base 60 XP with a 30 XP increase per level). Level-up messages appear to confirm progress.
- Higher levels give increasing bonus damage (extra damage is injected on hit) and reduce stamina drain on attacks to mimic faster charge/ready times.
- Weapon type detection uses the item’s weapon config plus id/category keywords; non-matching weapons fall back to the “other” bucket.
- Progress is saved automatically to a data file so levels persist across restarts; it is also flushed again during plugin shutdown.
- Effects are applied only when an actual living target is clicked; normal combat continues alongside the added scaling.
Notes and Tips
- Equip a weapon and attack living entities to build levels; bonuses are applied automatically once XP is gained.
- Damage baselines vary by weapon type, so faster weapons (like daggers) ramp differently from heavier ones (like axes).
- If you use custom weapon ids/categories, align their names with the common keywords above to ensure they slot into the right bucket.
Known Limitations / Future Ideas
- Weapon identification is keyword-based; unusual item ids or categories may be categorized as “other”.
- Charge speed is simulated via reduced stamina drain; if your setup uses a different charging mechanic, the bonus may need tweaking for perfect parity.