Uses of Class
privbot.mechanics.KnockoutRisk.Assessment
Packages that use KnockoutRisk.Assessment
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 KnockoutRisk.Assessment in privbot.mechanics
Fields in privbot.mechanics declared as KnockoutRisk.AssessmentMethods in privbot.mechanics that return KnockoutRisk.AssessmentModifier and TypeMethodDescriptionstatic KnockoutRisk.AssessmentKnockoutRisk.assess(int now, Integer hp, Integer maxHp, Integer maxHit, Integer nextHitTick, Integer sendDelay, Integer riskPercent, Integer accuracyPercent, Integer marginPercent) An eat is due when readable HP is at or below the estimated danger line and now is at or past the last send tick that could process the eat one tick before the predicted hit.static KnockoutRisk.AssessmentKnockoutRisk.assessCandidates(int now, Integer hp, Integer maxHp, List<KnockoutRisk.Candidate> candidates, Integer reflect, Integer nextHitTick, Integer sendDelay, Integer riskPercent, Integer marginPercent) Assess all supplied possible next attacks and take their highest danger line.Methods in privbot.mechanics with parameters of type KnockoutRisk.AssessmentModifier and TypeMethodDescriptionstatic ConsumePlanner.StateConsumePlanner.State.fromFrame(FightFrame frame, Integer worstHit, Integer lastFood, Integer lastCombo, Integer lastPotion, Integer idleTick, Integer deferredSince, KnockoutRisk.Assessment risk) Build from a same-tick fight frame.Constructors in privbot.mechanics with parameters of type KnockoutRisk.AssessmentModifierConstructorDescriptionState(int tick, Integer hp, Integer maxHp, Integer prayer, Integer worstHit, Integer lastFood, Integer lastCombo, Integer lastPotion, Integer idleTick, Integer deferredSince, ItemContainerSnapshot inventory, KnockoutRisk.Assessment risk, Integer attack, Integer attackReal, Integer strength, Integer strengthReal, Integer magic, Integer magicReal)