Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import ru.ifmo.se.pokemon.*;
- public class Waterfall extends PhysicalMove{
- public Waterfall(){
- super(Type.WATER, 80.0, 100.0);
- }
- protected String describe(){
- return " испустил водопад";
- }
- protected void applyOppEffect(Pokemon p){
- Effect eff = new Effect().chance(0.2);
- eff.flinch(p);
- }
- protected boolean checkAccuracy(Pokemon att, Pokemon def){
- return true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement