Advertisement
hazer_hazer

Untitled

Sep 30th, 2019
496
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.40 KB | None | 0 0
  1. import ru.ifmo.se.pokemon.*;
  2.  
  3. public class Waterfall extends PhysicalMove{
  4.     public Waterfall(){
  5.         super(Type.WATER, 80.0, 100.0);
  6.     }
  7.     protected String describe(){
  8.         return " испустил водопад";
  9.     }
  10.     protected void applyOppEffect(Pokemon p){
  11.         Effect eff = new Effect().chance(0.2);
  12.         eff.flinch(p);
  13.     }
  14.     protected boolean checkAccuracy(Pokemon att, Pokemon def){
  15.         return true;
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement