Class GraniteMaulDecision
java.lang.Object
privbot.mechanics.GraniteMaulDecision
Pure decisions for the Elorin-observed instant granite maul behavior. The caller must select this behavior only
where verified, supply current observations, and execute gear/orb actions through the normal dispatch path.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enum -
Method Summary
Modifier and TypeMethodDescriptionstatic GraniteMaulDecision.DecisionfollowUp(int tick, Boolean fighting, Integer energy, int primarySpecCost, Integer distance, Boolean worn, Boolean carried, Boolean armed, Integer lastAskedTick, Integer lastFiredTick, Boolean eatDue) Follow a separately confirmed non-maul special within three ticks.static GraniteMaulDecision.Decisioninstant(int tick, Boolean enabled, Boolean fighting, Integer energy, Integer opponentHp, int hpThreshold, Integer distance, Boolean worn, Boolean carried, Boolean armed, Boolean eatDue, Integer lastAskedTick) Instant finisher.
-
Method Details
-
instant
public static GraniteMaulDecision.Decision instant(int tick, Boolean enabled, Boolean fighting, Integer energy, Integer opponentHp, int hpThreshold, Integer distance, Boolean worn, Boolean carried, Boolean armed, Boolean eatDue, Integer lastAskedTick) Instant finisher. Null means an input is unreadable; unknown safety, orb, energy, distance or inventory never authorizes a spec. lastAskedTick is null when unknown; use a sufficiently old tick for a known absence. The orb click is a proposal, not proof that a special fired. -
followUp
public static GraniteMaulDecision.Decision followUp(int tick, Boolean fighting, Integer energy, int primarySpecCost, Integer distance, Boolean worn, Boolean carried, Boolean armed, Integer lastAskedTick, Integer lastFiredTick, Boolean eatDue) Follow a separately confirmed non-maul special within three ticks. Unknown facts fail closed.
-