Adds a new MoveAttr to the move (appends to the attr array)
if the MoveAttr also comes with a condition, also adds that to the conditions array: MoveCondition
Almost identical to attr, except you are passing in a MoveAttr object, instead of a constructor and it's arguments
the called object Move
Applies each MoveCondition
function of this move to the params, determines if the move can be used prior to calling each attribute's apply()
boolean: false if any of the apply()'s return false, else true
Adds a new MoveAttr to the move (appends to the attr array)
if the MoveAttr also comes with a condition, also adds that to the conditions array: MoveCondition
the called object Move
Sets the MoveFlags.BALLBOMB_MOVE
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.BITING_MOVE
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.CHECK_ALL_HITS
flag for the calling Move
The Move
that called this function
Adds a move condition to the move
MoveCondition
or MoveConditionFunc, appends to conditions array a new MoveCondition object
the called object Move
Sets the MoveFlags.DANCE_MOVE
flag for the calling Move
The Move
that called this function
Internal dev flag for documenting edge cases. When using this, please document the known edge case.
the called object Move
Sees if, given the target pokemon, a move fails on it (by looking at each MoveAttr
of this move
Pokemon
using the move
Pokemon
receiving the move
Move
using the move
Utils.BooleanHolder
to hold boolean value
string of the failed text, or null
Check if a move has an attribute that matches attrType
any attribute that extends MoveAttr
true if the move has attribute attrType
Sets the MoveFlags.HIDE_TARGET
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.HIDE_USER
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.IGNORE_ABILITIES
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.IGNORE_PROTECT
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.IGNORE_SUBSTITUTE
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.IGNORE_VIRTUAL
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.MAKES_CONTACT
flag for the calling Move
Default true
, set to false
if the move doesn't make contact
The Move
that called this function
Marks the move as "partial": appends texts to the move name
the called object Move
Sets the MoveFlags.POWDER_MOVE
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.PULSE_MOVE
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.PUNCHING_MOVE
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.RECKLESS_MOVE
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.REDIRECT_COUNTER
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.SLICING_MOVE
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.SOUND_BASED
flag for the calling Move
The Move
that called this function
Sets the move target of this move
MoveTarget
the move target to set
the called object Move
Sets the MoveFlags.TRIAGE_MOVE
flag for the calling Move
The Move
that called this function
Marks the move as "unimplemented": appends texts to the move name
the called object Move
Sets the MoveFlags.WIND_MOVE
flag for the calling Move
The Move
that called this function
The chance of a move's secondary effects activating