Advertisement
VTsilaLETImogila

Untitled

Oct 13th, 2019
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.31 KB | None | 0 0
  1. package laba1.moves;
  2. import ru.ifmo.se.pokemon.*;
  3.  
  4. public class FireBlast extends SpecialMove{
  5.     public FireBlast(){
  6.         super(Type.FIRE,110,85);
  7.  
  8.     }
  9.     @Override
  10.     public void applyOppEffects(Pokemon p) {
  11.         if (Math.random() <= 0.3) {
  12.             Effect.burn(p) ;
  13.         }
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement