Examples of MoveListEntry


Examples of org.pokenet.server.battle.mechanics.moves.MoveListEntry

            // Assume that the first effect is the PercentEffect!
            PercentEffect perc = (PercentEffect)statusMove.getEffects()[0];
            perc.setPercent(1.0/3.0);
        } else if (name.equals("Blizzard")) {
            if (poke.getField().getMechanics() instanceof JewelMechanics)  {
                return new MoveListEntry("Blizzard", new StatusMove(
                    PokemonType.T_ICE, 120, 0.7, 5, new StatusEffect[] {
                        new FreezeEffect()
                        },
                    new boolean[] { false },
                    new double[] { 0.1 }
View Full Code Here

Examples of org.pokenet.server.battle.mechanics.moves.MoveListEntry

    public MoveListEntry getTransformedMove(Pokemon p, MoveListEntry entry) {
        if (m_move == null) {
            setChoice(p, p.getField().getMechanics(), entry);
        } else if (m_transform) {
            for (int i = 0; i < 4; ++i) {
                MoveListEntry move = p.getMove(i);
                if ((move != null) && move.equals(m_move)) {
                    if (p.getPp(i) == 0)
                        return entry;
                }
            }
            entry = m_move;
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.