Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package laba1.moves;
- import ru.ifmo.se.pokemon.*;
- public class IcicleCrash extends PhysicalMove{
- public IcicleCrash(){
- super(Type.NORMAL, 85,90);
- }
- @Override
- public void applyOppEffects(Pokemon p) {
- if (Math.random() <= 0.3){
- Effect.flinch(p);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement