Uses of Class
privbot.mechanics.Commitment
Packages that use Commitment
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 Commitment in privbot.mechanics
Methods in privbot.mechanics that return CommitmentModifier and TypeMethodDescriptionFolds one plan's commit set, decided ontickagainstopponentId(-1: no opponent in the state, which keeps the one we have).As above, withspecFiredTick: the tick the last spec fired as the decision on this state saw it, orNEVER(the engine passesNEVERwhile the orb is still latched, so an armed read lagging the fire is that spec, not a second one).static CommitmentCommitment.empty()Commitment.facing(int opponentId) The commitment as a decision on a state againstopponentIdreads it: the same one, or nothing when that is a different opponent from the one it belongs to (a new fight; -1 is no opponent, which is a one-tick blip and keeps it).