Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import ru.ifmo.se.pokemon.*;
- public class Psychic extends SpecialMove{
- public Psychic(){
- super(Type.PSYCHIC, 90.0, 100.0);
- }
- protected String describe(){
- return " ПСИХБОЛЬНОЙ!";
- }
- protected void applyOppEffect(Pokemon p){
- Effect eff = new Effect().chance(0.1).stat(Stat.SPECIAL_DEFENSE, -1);
- p.restore();
- p.addEffect(eff);
- }
- protected boolean checkAccuracy(Pokemon att, Pokemon def){
- return true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement