Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import ru.ifmo.se.pokemon.*;
- public class WakeUpSlap extends PhysicalMove{
- public WakeUpSlap(){
- super(Type.FIGHTING, 70.0, 100.0);
- }
- protected String describe(){
- return " ПОРA ВСТAВAТЬ ПОЩЕЧИHA(еcли верить гугл переводчику)";
- }
- protected boolean checkAccuracy(Pokemon att, Pokemon def){
- Status status = def.getCondition();
- if(status == Status.SLEEP){
- Effect eff = new Effect().stat(Stat.ATTACK, 2);
- att.addEffect(eff);
- Effect sleepless = new Effect().condition(Status.NORMAL);
- att.addEffect(sleepless);
- def.addEffect(sleepless);
- }
- return true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement