Package org.pokenet.server.battle.mechanics.moves.MoveList

Examples of org.pokenet.server.battle.mechanics.moves.MoveList.TrappingEffect


    public boolean isTrappable(Pokemon p) {
        return true;
    }
   
    public void applyToOpponent(Pokemon owner, Pokemon p) {
        p.addStatus(owner, new TrappingEffect(null) {
            public String getDescription() {
                return null;
            }
            public boolean canSwitch(Pokemon p) {
                return !isTrappable(p)
View Full Code Here

TOP

Related Classes of org.pokenet.server.battle.mechanics.moves.MoveList.TrappingEffect

Copyright © 2018 www.massapicom. 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.