Package com.l2jfrozen.gameserver.model.zone.type

Examples of com.l2jfrozen.gameserver.model.zone.type.L2BossZone


          // advanced check too if not already cursed
          if (!to_be_cursed)
          {         
            int boss_id = -1;
            L2NpcTemplate boss_template = null;
            L2BossZone boss_zone = GrandBossManager.getInstance().getZone(this);
           
            if (boss_zone != null)
            {
              boss_id = boss_zone.getBossId();
            }
           
            // boolean alive = false;
           
            if (boss_id != -1)
View Full Code Here


              // advanced check too if not already cursed
              if (!to_be_cursed)
              {
                int boss_id = -1;
                L2NpcTemplate boss_template = null;
                L2BossZone boss_zone = GrandBossManager.getInstance().getZone(this);
               
                if (boss_zone != null)
                {
                  boss_id = boss_zone.getBossId();
                }
               
                // boolean alive = false;
               
                if (boss_id != -1)
View Full Code Here

                    boss_id = Integer.parseInt(attrs.getNamedItem("bossId").getNodeValue());
                  }catch(IllegalArgumentException e){
                    e.printStackTrace();
                  }
                 
                  temp = new L2BossZone(zoneId, boss_id);
                }
                /*else if(zoneType.equals("SkillZone"))
                {
                  temp = new L2SkillZone(zoneId);
                }*/
 
View Full Code Here

  {
    for(int i = 31921; i < 31925; i++)
    {
      int[] Location = _startHallSpawns.get(i);
      if(Location!=null && Location.length==3){
        L2BossZone zone = GrandBossManager.getInstance().getZone(Location[0], Location[1], Location[2]);
        if(zone!=null)
          zone.oustAllPlayers();
      }
     
    }

    deleteAllMobs();
View Full Code Here

    return null;
  }

  public boolean checkIfInZone(String zoneType, L2Object obj)
  {
    L2BossZone temp = getZone(obj.getX(), obj.getY(), obj.getZ());
    if(temp == null)
      return false;
    return temp.getZoneName().equalsIgnoreCase(zoneType);
  }
View Full Code Here

      {
        if(Config.DEBUG)
        {
          _log.fine("Teleporting player " + player.getName() + " to new location: " + list.getLocX() + ":" + list.getLocY() + ":" + list.getLocZ());
        }
        L2BossZone _zone = GrandBossManager.getInstance().getZone(list.getLocX(), list.getLocY(), list.getLocZ());
        _zone.allowPlayerEntry(player, 300);
        player.teleToLocation(list.getLocX(), list.getLocY(), list.getLocZ(), true);
      }
      else if(!list.getIsForNoble() && (Config.ALT_GAME_FREE_TELEPORT || player.reduceAdena("Teleport", list.getPrice(), this, true)))
      {
        if(Config.DEBUG)
View Full Code Here

    return null;
  }

  public boolean checkIfInZone(String zoneType, L2Object obj)
  {
    L2BossZone temp = getZone(obj.getX(), obj.getY(), obj.getZ());
    if(temp == null)
      return false;
    return temp.getZoneName().equalsIgnoreCase(zoneType);
  }
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.model.zone.type.L2BossZone

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.