Class SpecialAttackPolicy

java.lang.Object
privbot.mechanics.SpecialAttackPolicy

public final class SpecialAttackPolicy extends Object
Pure special-attack phase ordering. The policy supplies detached blockers, observed orb/energy, and explicit commitment and attempt history; no phase here means a dispatch succeeded or an attack fired.
  • Method Details

    • hpBlocked

      public static Boolean hpBlocked(boolean running, int episodeAge, Integer opponentHp, int threshold, int hysteresis)
      Whether the opponent HP gate blocks a start or a committed episode. A running episode ignores an unreadable HP bar and ignores soft HP movement during its initial commitment window.
    • decide

      Armed status is handled before set readiness: an armed orb can be spent by the next swing.