Package-level declarations
Automated batch testing framework for the EliteMobs skill system.
How It Works:
- Groups all skills by weapon type (SWORDS, AXES, BOWS, etc.)
- For each weapon type, spawns a single training dummy
- Tests all levels (10, 20, 30... 100) with all skills active simultaneously
- Uses proc counting to verify skills activate correctly based on unlock level
0-Tick Trick: For melee/armor skills, 200 attacks happen in a single tick by:
- Clearing damage cooldowns through the native adapter before each attack
- Resetting skill cooldowns (endCooldown()) before each attack
Key Classes:
- com.magmaguy.elitemobs.testing.SkillSystemTest - Main test orchestrator
- com.magmaguy.elitemobs.testing.CombatSimulator - Spawns dummies, simulates attacks
- com.magmaguy.elitemobs.testing.CombatTestLog - Logs test results to file
- com.magmaguy.elitemobs.testing.TestReport - Aggregates results for display
Proc Tracking: Skills call incrementProcCount when they activate. The test checks getProcCount to verify activation.
Usage: /em skilltest start
Types
Link copied to clipboard
Combat Simulator - Manages test dummies and simulates attacks for skill testing.
Link copied to clipboard
Writes timestamped test logs to a file for debugging and analysis.
Link copied to clipboard
Admin-only batch diagnostic for the skill system.
Link copied to clipboard
Stores test results for a single skill.
Link copied to clipboard
Aggregates test results and generates formatted reports.