Examples of incrementLevel()


Examples of org.pokenet.server.battle.mechanics.statuses.StatChangeEffect.incrementLevel()

      public int use(BattleMechanics mech, Pokemon user, Pokemon target) {
        StockpileEffect eff = (StockpileEffect)(user.getEffect(StockpileEffect.class));
        if (eff == null) {
          eff = (StockpileEffect)user.addStatus(user, new StockpileEffect());
        }
        eff.incrementLevel(user);
        return 0;
      }
    }
    ));
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.