Advertisement
VTsilaLETImogila

Untitled

Oct 13th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.33 KB | None | 0 0
  1. package laba1.moves;
  2. import ru.ifmo.se.pokemon.*;
  3.  
  4. public class StunSpore extends StatusMove {
  5.     public StunSpore() {
  6.         super(Type.GRASS, 0, 75);
  7.     }
  8.  
  9.     @Override
  10.     public void applyOppEffects(Pokemon p) {
  11.         if  (p.hasType(Type.ELECTRIC) == false ){
  12.             Effect.paralyze(p);
  13.         }
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement