Skip to main content

Moves

A move, also known as an attack or technique, is the skill Pokémon primarily use in battle.

info

See more on Bulbapedia

Methods

getElectroBallBasePower()

Returns the Base Power (BP) for move Electro Ball according to the ratio of Pokémon user and target's respective speeds.

Signature

getElectroBallBasePower(userSpeed: number, targetSpeed: number) => number
ParameterTypeRequiredDescription
userSpeednumberYesThe user Pokémon's speed.
targetSpeednumberYesThe target Pokémon's speed.

Returns

A number with the move's base power.

Example

getElectroBallBasePower(1096, 206); // returns 150

getGyroBallBasePower()

Returns the Base Power (BP) for move Gyro Ball according to the ratio of Pokémon user and target's respective speeds.

Signature

getGyroBallBasePower(userSpeed: number, targetSpeed: number) => number
ParameterTypeRequiredDescription
userSpeednumberYesThe user Pokémon's speed.
targetSpeednumberYesThe target Pokémon's speed.

Returns

A number with the move's base power.

Example

getGyroBallBasePower(63, 168); // returns 67

getEruptionBasePower()

Returns the Base Power (BP) for Eruption move according to the ratio of user Pokémon's current HP and maximum HP.

Signature

getEruptionBasePower(currentHp: number, maxHp: number) => number
ParameterTypeRequiredDescription
currentHpnumberYesThe user Pokémon's current HP.
maxHpnumberYesThe user Pokémon's maximum HP.

Returns

A number with the move's Base Power.

Example

getEruptionBasePower(150, 300); // returns 75

getWaterSpoutBasePower()

Returns the Base Power (BP) for Water Spout move according to the ratio of user Pokémon's current HP and maximum HP.

Signature

getWaterSpoutBasePower(currentHp: number, maxHp: number) => number
ParameterTypeRequiredDescription
currentHpnumberYesThe user Pokémon's current HP.
maxHpnumberYesThe user Pokémon's maximum HP.

Returns

A number with the move's Base Power.

Example

getWaterSpoutBasePower(300, 300); // returns 150

getCrushGripBasePower()

Returns the Base Power (BP) for Crush Grip move according to the ratio of target Pokémon's current HP and maximum HP.

Signature

getCrushGripBasePower(currentHp: number, maxHp: number) => number
ParameterTypeRequiredDescription
currentHpnumberYesThe target Pokémon's current HP.
maxHpnumberYesThe target Pokémon's maximum HP.

Returns

A number with the move's Base Power.

Example

getCrushGripBasePower(300, 300); // returns 120

getWringOutBasePower()

Returns the Base Power (BP) for Wring Out move according to the ratio of target Pokémon's current HP and maximum HP.

Signature

getWringOutBasePower(currentHp: number, maxHp: number) => number
ParameterTypeRequiredDescription
currentHpnumberYesThe target Pokémon's current HP.
maxHpnumberYesThe target Pokémon's maximum HP.

Returns

A number with the move's Base Power.

Example

getWringOutBasePower(150, 300); // returns 60

getHardPressBasePower()

Returns the Base Power (BP) for Hard Press move according to the ratio of target Pokémon's current HP and maximum HP.

Signature

getHardPressBasePower(currentHp: number, maxHp: number) => number
ParameterTypeRequiredDescription
currentHpnumberYesThe target Pokémon's current HP.
maxHpnumberYesThe target Pokémon's maximum HP.

Returns

A number with the move's Base Power.

Example

getHardPressBasePower(300, 300); // returns 100

getReversalBasePower()

Returns the Base Power (BP) for Reversal move according to the ratio of user Pokémon's current HP and maximum HP.

Signature

getReversalBasePower(currentHp: number, maxHp: number) => number
ParameterTypeRequiredDescription
currentHpnumberYesThe user Pokémon's current HP.
maxHpnumberYesThe user Pokémon's maximum HP.

Returns

A number with the move's Base Power.

Example

getReversalBasePower(241, 241); // returns 20
getReversalBasePower(1, 241); // returns 200

getFlailBasePower()

Returns the Base Power (BP) for Flail move according to the ratio of user Pokémon's current HP and maximum HP.

Signature

getFlailBasePower(currentHp: number, maxHp: number) => number
ParameterTypeRequiredDescription
currentHpnumberYesThe user Pokémon's current HP.
maxHpnumberYesThe user Pokémon's maximum HP.

Returns

A number with the move's Base Power.

Example

getFlailBasePower(180, 180); // returns 20
getFlailBasePower(1, 180); // returns 200

getBrineBasePower()

Returns the Base Power (BP) for Brine move according to the ratio of target Pokémon's current HP and maximum HP.

Signature

getBrineBasePower(currentHp: number, maxHp: number) => number
ParameterTypeRequiredDescription
currentHpnumberYesThe target Pokémon's current HP.
maxHpnumberYesThe target Pokémon's maximum HP.

Returns

A number with the move's Base Power.

Example

getBrineBasePower(180, 180); // returns 65
getBrineBasePower(89, 180); // returns 130

getHeavySlamBasePower()

Returns the Base Power (BP) for Heavy Slam move according to the according the weight ratio between user and target Pokémons'.

Signature

getHeavySlamBasePower(params: MoveBasePowerByRelativeWeightParams) => number
ParameterTypeRequiredDescription
paramsMoveBasePowerByRelativeWeightParamsYesThe general parameters used for get move Base Power according weight ratio.
params.usernumberYesThe user Pokémon's weight.
params.targetnumberYesThe target Pokémon's weight.
params.minimizebooleanNoIf the target Pokémon has used the move Minimize.

Returns

A number with the move's Base Power.

Example

getHeavySlamBasePower({
user: 300,
target: 100,
minimize: true,
});

getHeatCrashBasePower()

Returns the Base Power (BP) for Heat Crash move according to the according the weight ratio between user and target Pokémons'.

Signature

getHeatCrashBasePower(params: MoveBasePowerByRelativeWeightParams) => number
ParameterTypeRequiredDescription
paramsMoveBasePowerByRelativeWeightParamsYesThe general parameters used for get move Base Power according weight ratio.
params.usernumberYesThe user Pokémon's weight.
params.targetnumberYesThe target Pokémon's weight.
params.minimizebooleanNoIf the target Pokémon has used the move Minimize.

Returns

A number with the move's Base Power.

Example

getHeatCrashBasePower({
user: 300,
target: 100,
minimize: true,
});

getGrassKnotBasePower()

Returns the Base Power (BP) for Grass Knot move according the target Pokémon's weight.

Signature

getGrassKnotBasePower(targetWeight: number) => number
ParameterTypeRequiredDescription
targetWeightnumberYesThe target Pokémon's weight (in kg).

Returns

A number with the move's Base Power.

Example

getGrassKnotBasePower(200); // returns 120

getLowKickBasePower()

Returns the Base Power (BP) for Low Kick move according the target Pokémon's weight.

Signature

getLowKickBasePower(targetWeight: number) => number
ParameterTypeRequiredDescription
targetWeightnumberYesThe target Pokémon's weight (in kg).

Returns

A number with the move's Base Power.

Example

getLowKickBasePower(20); // returns 40

Type Definitions

MoveBasePowerByRelativeWeightParams

An interface to determine some moves Base Power relative to user and target Pokémon's weight.

Type
Interface

Properties

NameRequiredType
user Yes number
target Yes number
minimize No boolean