Package l2p.gameserver.model.entity.olympiad

Examples of l2p.gameserver.model.entity.olympiad.OlympiadGame.endGame()


        if(i >= hp)
        {
          if(olymp_game.getType() != CompType.TEAM && olymp_game.getType() != CompType.TEAM_RANDOM)
          {
            olymp_game.setWinner(getOlympiadSide() == 1 ? 2 : 1);
            olymp_game.endGame(20000, false);
            setCurrentHp(1, false);
            attacker.getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE);
            attacker.sendActionFailed();
            return;
          }
View Full Code Here


            return;
          }
          else if(olymp_game.doDie(this)) // Все умерли
          {
            olymp_game.setWinner(getOlympiadSide() == 1 ? 2 : 1);
            olymp_game.endGame(20000, false);
          }
        }
      }
      else
      {
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.