Advertisement
hazer_hazer

Untitled

Sep 30th, 2019
468
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.41 KB | None | 0 0
  1. import ru.ifmo.se.pokemon.*;
  2.  
  3. public class IceBeam extends SpecialMove{
  4.     public IceBeam(){
  5.         super(Type.ICE, 90.0, 100.0);
  6.     }
  7.     protected String describe(){
  8.         return " иcпользовал водRную пушку";
  9.     }
  10.     protected void applyOppEffect(Pokemon p){
  11.         Effect eff = new Effect().chance(0.1);
  12.         eff.freeze(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