>>21270880Attack is the offencive stat used for the move. In the case of foul play, targets Attack. Its the stat total, what you see in summary screen, +/- stat boosts.
Defence same thing above but the defencive stat. In the case moves like psyshock, or secret sword this would be the targets defence stat even though the move is special.
Base the moves base power. 90 for moves like thunderbolt surf ice beam.
Level is users level.
Modifier is everything else that effects the damage like life orb or blaze boosting the damage, or solid rock lowering damage of super effective hits.