Package npc.model

Examples of npc.model.L2SepulcherNpcInstance


    {
      _inEntryTime = false;
      _inAttackTime = true;
      for(GateKeeper gk : FourSepulchersSpawn._GateKeepers)
      {
        L2SepulcherNpcInstance npc = new L2SepulcherNpcInstance(IdFactory.getInstance().getNextId(), gk.template);
        npc.spawnMe(gk);
        FourSepulchersSpawn._allMobs.add(npc);
      }
      FourSepulchersSpawn.locationShadowSpawns();
      FourSepulchersSpawn.spawnMysteriousBox(31921);
      FourSepulchersSpawn.spawnMysteriousBox(31922);
View Full Code Here


            break;
          case 31924: // judges
            loc = new Location(175606, -82853, -7200, -16248);
            break;
        }
        L2SepulcherNpcInstance npc = new L2SepulcherNpcInstance(IdFactory.getInstance().getNextId(), template);
        npc.onSpawn();
        npc.setSpawnedLoc(loc);
        npc.spawnMe(loc);
        _managers.add(npc);
        _log.warning("FourSepulchersManager: Spawned " + template.name);
      }
      catch(Exception e)
      {
View Full Code Here

        {
          npc = new L2SepulcherMonsterInstance(IdFactory.getInstance().getNextId(), template);
        }
        else
        {
          npc = new L2SepulcherNpcInstance(IdFactory.getInstance().getNextId(), template);
        }
        npc.onSpawn();
        npc.setSpawnedLoc(loc);
        npc.spawnMe(loc);
        _allMobs.add(npc);
View Full Code Here

    if(!FourSepulchersManager.isAttackTime())
    {
      return;
    }
    L2NpcTemplate template = NpcTable.getTemplate(_keyBoxNpc.get(npc.getNpcId()));
    L2SepulcherNpcInstance npc2 = new L2SepulcherNpcInstance(IdFactory.getInstance().getNextId(), template);
    npc2.onSpawn();
    npc2.setSpawnedLoc(npc.getLoc());
    npc2.spawnMe(npc.getLoc());
    _allMobs.add(npc2);
  }
View Full Code Here

    if(!FourSepulchersManager.isAttackTime())
    {
      return;
    }
    L2NpcTemplate template = NpcTable.getTemplate(_mysteriousBoxSpawns.get(npcId).id);
    L2SepulcherNpcInstance npc = new L2SepulcherNpcInstance(IdFactory.getInstance().getNextId(), template);
    npc.onSpawn();
    npc.setSpawnedLoc(_mysteriousBoxSpawns.get(npcId));
    npc.spawnMe(npc.getSpawnedLoc());
    _allMobs.add(npc);
  }
View Full Code Here

TOP

Related Classes of npc.model.L2SepulcherNpcInstance

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.