Examples of allowsStatus()


Examples of org.pokenet.server.battle.mechanics.statuses.StatusEffect.allowsStatus()

  public boolean allowsStatus(StatusEffect eff, Pokemon source) {
    Iterator<StatusEffect> i = m_statuses.iterator();
    while (i.hasNext()) {
      StatusEffect clause = i.next();
      if ((clause == null) || !clause.isActive()) continue;
      if (!clause.allowsStatus(eff, source, this)) return false;
    }
    return true;
  }

  /**
 
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.