Protected
hasProtected
invalidShould this Move
target the user?
User calls a random moveId.
Invalid moves are indicated by what is passed in to invalidMoves: invalidMetronomeMoves
the MoveCondition
or MoveConditionFunc for this Move
This function exists solely to allow tests to override the randomly selected move by mocking this function.
Used by the Enemy AI to rank an attack based on a given target
Used by the Enemy AI to rank an attack based on a given user
Attribute used to call a random move. Used for
Moves.METRONOME
See
apply
for move selection and move call