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

Examples of org.pokenet.server.battle.mechanics.statuses.field.FieldEffect.unapply()


        }
        public void switchIn(Pokemon p) {
            BattleField field = p.getField();
            FieldEffect eff = field.getEffectByType(WeatherEffect.class);
            if (eff != null) {
                eff.unapply(p);
                eff.unapply(p.getOpponent());
            }
        }
        public boolean switchOut(Pokemon p) {
            p.setAbility(null, true);
View Full Code Here


        public void switchIn(Pokemon p) {
            BattleField field = p.getField();
            FieldEffect eff = field.getEffectByType(WeatherEffect.class);
            if (eff != null) {
                eff.unapply(p);
                eff.unapply(p.getOpponent());
            }
        }
        public boolean switchOut(Pokemon p) {
            p.setAbility(null, true);
            BattleField field = p.getField();
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.