MoveMetaData

constructor(ailment: Handle.Named<MoveAilment>, category: Handle.Named<MoveCategory>, minHits: Int?, maxHits: Int?, minTurns: Int?, maxTurns: Int?, drain: Int, healing: Int, critRate: Int, ailmentChance: Int, flinchChance: Int, statChance: Int)(source)

Parameters

ailment

The status ailment this move inflicts on its target.

category

The category of move this move falls under, e.g. damage or ailment.

minHits

The minimum number of times this move hits. Null if it always hits once.

maxHits

The maximum number of times this move hits. Null if it always hits once.

minTurns

The minimum number of turns this move continues to take effect. Null if it always lasts one turn.

maxTurns

The maximum number of turns this move continues to take effect. Null if it always lasts one turn.

drain

HP drain (if positive) or Recoil damage (if negative), in percent of damage dealt.

healing

The amount of hp gained by the attacking Pokemon, in percent of it's maximum HP.

critRate

Critical hit rate bonus.

ailmentChance

The likelihood this attack will cause an ailment.

flinchChance

The likelihood this attack will cause the target Pokémon to flinch.

statChance

The likelihood this attack will cause a stat change in the target Pokémon.