The combat engine code could really use a refactor.
Especially CombatCommandAttack - the class is huge and has a ton of complexity inside it. It has become difficult to expand.
The code is in this package: com.projectswg.holocore.services.gameplay.combat.command
The code is also hard to test, because there's a lot of chance involved. Perhaps when instrumenting the code, we can supply a hardcoded die roll.
The combat engine code could really use a refactor. Especially
CombatCommandAttack
- the class is huge and has a ton of complexity inside it. It has become difficult to expand. The code is in this package:com.projectswg.holocore.services.gameplay.combat.command
The code is also hard to test, because there's a lot of chance involved. Perhaps when instrumenting the code, we can supply a hardcoded die roll.