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

Examples of org.pokenet.server.battle.mechanics.statuses.items.HoldItem.deactivate()


        target.addStatus(user, new StatusEffect() {
          public boolean apply(Pokemon p) {
            HoldItem item = p.getItem();
            if ((item != null) && item.isActive()) {
              item.unapply(p);
              item.deactivate();
            }
            return true;
          }
          public String getDescription() {
            return "'s item was nullified.";
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.