Advertisement
VTsilaLETImogila

Untitled

Oct 13th, 2019
200
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 IcicleCrash extends PhysicalMove{
  5.     public IcicleCrash(){
  6.         super(Type.NORMAL, 85,90);
  7.     }
  8.     @Override
  9.     public void applyOppEffects(Pokemon p) {
  10.         if (Math.random() <= 0.3){
  11.             Effect.flinch(p);
  12.         }
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement