Package org.jpokemon.pokemon

Examples of org.jpokemon.pokemon.Pokemon.healDamage()


    else if (type.isConditionModifier())
      pokemon.addConditionEffect(ConditionEffect.valueOf(type.toString()));
    else if (type.isFieldModifier())
      user.addSlotEffect(new SlotEffect(SlotEffectType.valueOf(type.toString()), user, enemy));
    else if (type == MoveEffectType.HEALTH_MOD)
      pokemon.healDamage((int) (pokemon.maxHealth() * power / 1000.0));
  }

  private double chance;
  private int move_number, type, target, power;

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.