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

Examples of org.pokenet.server.battle.mechanics.statuses.field.RainEffect


    if (m_player.getMap().isWeatherForced()) {
      switch (m_player.getMap().getWeather()) {
      case NORMAL:
        return;
      case RAIN:
        this.applyEffect(new RainEffect());
        return;
      case HAIL:
        this.applyEffect(new HailEffect());
        return;
      case SANDSTORM:
View Full Code Here


  public static FieldEffect getWeatherEffect() {
    switch(m_weather) {
    case NORMAL:
      return null;
    case RAIN:
      return new RainEffect();
    case HAIL:
      return new HailEffect();
    case SANDSTORM:
      return new SandstormEffect();
    case FOG:
View Full Code Here

    if (m_players[0].getMap().isWeatherForced()) {
      switch (m_players[0].getMap().getWeather()) {
      case NORMAL:
        return;
      case RAIN:
        this.applyEffect(new RainEffect());
        return;
      case HAIL:
        this.applyEffect(new HailEffect());
        return;
      case SANDSTORM:
View Full Code Here

    if (m_player.getMap().isWeatherForced()) {
      switch (m_player.getMap().getWeather()) {
      case NORMAL:
        return;
      case RAIN:
        this.applyEffect(new RainEffect());
        return;
      case HAIL:
        this.applyEffect(new HailEffect());
        return;
      case SANDSTORM:
View Full Code Here

TOP

Related Classes of org.pokenet.server.battle.mechanics.statuses.field.RainEffect

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.