Uses of Class
privbot.mechanics.PvpArbiter.Context
Packages that use PvpArbiter.Context
Package
Description
Pure game-mechanic rules shared by plugins on every server: the same name and meaning on Impact, Elorin, Orion,
SpawnPK and Roat Pkz.
-
Uses of PvpArbiter.Context in privbot.mechanics
Methods in privbot.mechanics with parameters of type PvpArbiter.ContextModifier and TypeMethodDescriptionstatic InstantMaulPlan.PlanInstantMaulPlan.plan(PvpFightHistory.View fight, Boolean enabled, Boolean opponentAlive, Boolean instantSpecVerified, Boolean genericSpecialClear, int hpThreshold, Set<Integer> maulIds, Boolean eatDue, Integer lastAskedTick, Boolean sameTickSequenceVerified, PvpArbiter.Context arbiter) Select an instant finisher using current HP bar, distance, energy, orb and exact container items.static KnockoutWeaponPlan.PlanKnockoutWeaponPlan.plan(PvpFightHistory.View fight, KnockoutWeaponDecision.Decision decision, Set<Integer> koIds, GearSetup mainSetup, Boolean mainSwitchAllowed, PvpArbiter.Context arbiter) Bind a same-tick KO decision to exact server-verified weapon IDs and frame containers.static PvpActionPlanner.PlanPvpActionPlanner.plan(PvpFightHistory.View fight, ConsumePlanner.Settings settings, ConsumePlanner.State state, PvpArbiter.Context arbiter, List<PvpArbiter.Action> otherActions) The fight view, consume state, arbiter facts and other proposed actions must describe the same tick.static PvpActionPlanner.PlanPvpActionPlanner.plan(PvpFightHistory.View fight, ConsumePlanner.Settings settings, ConsumePlanner.State state, PvpArbiter.Context arbiter, SpecialAttackPolicy.Decision special, Boolean specSetReady, List<PvpArbiter.Action> otherActions) As above, with same-tick proof that the special set is worn.static PvpActionPlanner.PlanPvpActionPlanner.plan(PvpFightHistory.View fight, ConsumePlanner.Settings settings, ConsumePlanner.State state, PvpArbiter.Context arbiter, SpecialAttackPolicy.Decision special, Boolean specSetReady, PvpMovement.Decision movement, List<PvpArbiter.Action> otherActions) Also arbitrate a same-tick movement proposal with its proven destination.static PvpActionPlanner.PlanPvpActionPlanner.plan(PvpFightHistory.View fight, ConsumePlanner.Settings settings, ConsumePlanner.State state, PvpArbiter.Context arbiter, SpecialAttackPolicy.Decision special, Boolean specSetReady, PvpMovement.Decision movement, StylePlanner.Decision style, List<PvpArbiter.Action> otherActions) Also turn a same-tick, frame-derived style decision into gear proposals.static PvpActionPlanner.PlanPvpActionPlanner.plan(PvpFightHistory.View fight, ConsumePlanner.Settings settings, ConsumePlanner.State state, PvpArbiter.Context arbiter, SpecialAttackPolicy.Decision special, List<PvpArbiter.Action> otherActions) As above, also translating a same-tick special decision into an arm or disarm proposal when required.static PvpActionPlanner.PlanPvpActionPlanner.planWithSpecialSet(PvpFightHistory.View fight, ConsumePlanner.Settings settings, ConsumePlanner.State state, PvpArbiter.Context arbiter, SpecialAttackPolicy.Decision special, GearSetup specialSet, PvpMovement.Decision movement, StylePlanner.Decision style, List<PvpArbiter.Action> otherActions) Derive special-set readiness from the exact frame being planned, avoiding a stale caller-retained flag.static List<PvpArbiter.Action> PvpArbiter.resolve(PvpArbiter.Context c, List<PvpArbiter.Action> proposed) Resolve and return a stable dispatch ordering.