Apollo
Developers
Modules
Combat

Combat Module

Overview

The combat module allows you to modify certain aspects of combat that are usually handled client-sided.

  • Adds the ability to disable the miss penalty, on all versions 1.8 and above.

Sample Code

Explore each integration by cycling through each tab, to find the best fit for your requirements and needs.

Toggle Miss Penalty

public void setDisableMissPenalty(boolean value) {
    this.combatModule.getOptions().set(CombatModule.DISABLE_MISS_PENALTY, value);
}

Available options

  • DISABLE_MISS_PENALTY
    • Whether the player gets a hit delay for a missed hit.
    • Values
      • Type: Boolean
      • Default: false