Uses of Class
privbot.mechanics.OpponentLockPolicy.Result
Packages that use OpponentLockPolicy.Result
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 OpponentLockPolicy.Result in privbot.mechanics
Methods in privbot.mechanics that return OpponentLockPolicy.ResultModifier and TypeMethodDescriptionOpponentLockTracker.observe(int tick, List<OpponentLockPolicy.Candidate> candidates, Boolean complete, Boolean underAttack) All facts must come from this tick.static OpponentLockPolicy.ResultOpponentLockPolicy.update(int tick, OpponentLock current, List<OpponentLockPolicy.Candidate> candidates, Boolean complete, Boolean underAttack, int idleTicks, int missingSamples, boolean followAttacker, int followTicks) Apply the flagship's own-target, nearest-attacker, absence, idle and optional follow-attacker rules.Methods in privbot.mechanics with parameters of type OpponentLockPolicy.ResultModifier and TypeMethodDescriptionstatic PvpFightHistory.InputsPvpFightHistory.Inputs.fromLock(FightObservation observation, OpponentLockPolicy.Result result, CombatStyle opponentWeapon, Integer ownCycle, Integer opponentCycle, Integer attributedOpponentHit, Boolean specFired, Boolean meleeProtected, Boolean meleePlayerTargetsUs, boolean excludeMislabelledZero) Bind a lock result to an opponent from this exact observation.