Package lineage2.gameserver.model.entity.olympiad

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


      if ((hp - damage) <= 1)
      {
        if (game.getType() != CompType.TEAM)
        {
          game.setWinner(getOlympiadSide() == 1 ? 2 : 1);
          game.endGame(20000, false);
          setCurrentHp(1, false);
          attacker.getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE);
          attacker.sendActionFailed();
          return;
        }
View Full Code Here


          return;
        }
        else if (game.doDie(this))
        {
          game.setWinner(getOlympiadSide() == 1 ? 2 : 1);
          game.endGame(20000, false);
        }
      }
    }
    super.onReduceCurrentHp(damage, attacker, skill, awake, standUp, directHp);
  }
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.