dmgcalc: Calculates the damage a move will do against a target

Description Usage Arguments

View source: R/pokemon.R

Description

Calculates the damage a move will do against a target

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
dmgcalc(
  attacker,
  target,
  move,
  weather = NA,
  atk = 15,
  def = 15,
  atklvl = 40,
  deflvl = 40,
  raid = F,
  atkraid = F,
  ...
)

Arguments

attacker

The row number of the mon who's attacking

target

The name of the mon under attack

move

The name of the move being used

weather

Optionally, what the weather type is

atk

Attacker's attack

def

Defender's defense

atklvl

Attacker's level

deflvl

Defender's level

raid

Is it a raid boss or a regular mon?

atkraid

Is the attacker a raid boss?


thelit/openpogo documentation built on Jan. 16, 2020, 12:52 a.m.