Package org.pokenet.server.battle.mechanics.statuses.abilities

Examples of org.pokenet.server.battle.mechanics.statuses.abilities.IntrinsicAbility.activate()


        } else {
          ability = null;
        }
        user.changeHealth(-damage, true);
        if (ability != null) {
          ability.activate();
        }
        return super.use(mech, user, target);
      }
    }
    ));
View Full Code Here


          public void unapply(Pokemon p) {
            /** This will interfere with mold breaker and gastro acid,
             *  but we will address that later. */
            IntrinsicAbility ability = p.getAbility();
            if ((ability != null) && ability.getName().equals("Levitate")) {
              ability.activate();
            }
            p.getMultiplier(Pokemon.S_ACCURACY).divideBy(1.7);
          }
          public boolean tickPokemon(Pokemon p) {
            return false;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.