Class PrayerPlanner.Options

java.lang.Object
privbot.mechanics.PrayerPlanner.Options
Enclosing class:
PrayerPlanner

public static final class PrayerPlanner.Options extends Object
Planner settings. Immutable; each wither returns a changed copy.
  • Method Details

    • defaults

      public static PrayerPlanner.Options defaults()
      No idle style, no idle fallback, idle 1 tick, delay 0, no settle animations, settle 1 tick.
    • idleStyle

      public PrayerPlanner.Options idleStyle(CombatStyle s)
      The style to fall back to after idleFallback(boolean) triggers (default none).
    • idleFallback

      public PrayerPlanner.Options idleFallback(boolean on)
      Whether to revert to the idle style when nobody has attacked for the idle ticks (default false).
    • idleTicks

      public PrayerPlanner.Options idleTicks(int ticks)
      Ticks without an attack before the idle fallback applies (minimum 1, default 1).
    • delayTicks

      public PrayerPlanner.Options delayTicks(int ticks)
      Ticks between an attack animation's first tick and the switch (minimum 0, default 0).
    • settleAnimations

      public PrayerPlanner.Options settleAnimations(Set<Integer> animations)
      Animations whose hit is decided settleTicks after they first show (default none).
    • settleTicks

      public PrayerPlanner.Options settleTicks(int ticks)
      Ticks from a settle animation's first tick until its hit is decided (minimum 1, default 1).