Uses of Class
privbot.mechanics.ThreatMemory.View
Packages that use ThreatMemory.View
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 ThreatMemory.View in privbot.mechanics
Methods in privbot.mechanics that return ThreatMemory.ViewModifier and TypeMethodDescriptionThreatMemory.observe(int tick, Long lockId, Integer opponentId, Boolean targetsUs, CombatStyle opponentWeapon, List<ThreatMemory.Hit> newHits, List<ThreatMemory.Tell> newTells, Boolean protectMeleeNow, Integer previousSampleTick, Boolean meleePlayerTargetsUs, boolean excludeMislabelledZero) Fold one tick.ThreatMemory.observe(FightObservation observation, Long lockId, PlayerView opponent, CombatStyle opponentWeapon, Set<Integer> verifiedMagicGraphics, Boolean protectMeleeNow, Integer previousSampleTick, Boolean meleePlayerTargetsUs, boolean excludeMislabelledZero) Fold an observer's same-tick frame and events.PvpFightHistory.View.threat()Methods in privbot.mechanics with parameters of type ThreatMemory.ViewModifier and TypeMethodDescriptionIncomingStyleDecision.observe(List<ShotView> shots, Map<Integer, CombatStyle> shotStyles, ThreatMemory.View memory, Boolean opponentEligible, CombatStyle opponentStyle) Classify the earliest avoidable projectile aimed at the player (more than 21 and at most 60 cycles left), then applyIncomingStyleDecision.choose(java.lang.Boolean, privbot.mechanics.CombatStyle, java.lang.Boolean, java.lang.Boolean, privbot.mechanics.CombatStyle, privbot.mechanics.CombatStyle).IncomingStyleDecision.observe(FightObservation observation, ThreatMemory.View memory, Map<Integer, CombatStyle> shotStyles, int opponentIndex, CombatStyle opponentStyle) Apply incoming-style selection to one observation and its same-tick threat memory.static BooleanIncomingStyleDecision.opponentEligible(int tick, ThreatMemory.View memory, Boolean attackersComplete, Boolean otherAttacker) Determine whether the opponent's predicted style can explain recent hits.static BooleanIncomingStyleDecision.opponentEligible(FightObservation observation, ThreatMemory.View memory, int opponentIndex) Combine same-batch bounded NPC and unfiltered player observations for the named locked player.