Package npc.model

Examples of npc.model.L2SepulcherMonsterInstance


      {
        L2NpcTemplate template = NpcTable.getTemplate(loc.id);
        L2NpcInstance npc;
        if(template.isInstanceOf(L2SepulcherMonsterInstance.class))
        {
          npc = new L2SepulcherMonsterInstance(IdFactory.getInstance().getNextId(), template);
        }
        else
        {
          npc = new L2SepulcherNpcInstance(IdFactory.getInstance().getNextId(), template);
        }
View Full Code Here


      return;
    }
    for(Location loc : monsterList)
    {
      L2NpcTemplate template = NpcTable.getTemplate(loc.id);
      L2SepulcherMonsterInstance mob = new L2SepulcherMonsterInstance(IdFactory.getInstance().getNextId(), template);
      mob.onSpawn();
      mob.setSpawnedLoc(loc);
      mob.spawnMe(loc);
      mob.mysteriousBoxId = npcId;
      _allMobs.add(mob);
    }
    _archonSpawned.put(npcId, true);
  }
View Full Code Here

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

              }
              break;
          }
        }
        L2NpcTemplate template = NpcTable.getTemplate(spawnKeyBoxMob ? 18149 : loc.id);
        L2SepulcherMonsterInstance mob = new L2SepulcherMonsterInstance(IdFactory.getInstance().getNextId(), template);
        mob.onSpawn();
        mob.setSpawnedLoc(loc);
        mob.spawnMe(loc);
        mob.mysteriousBoxId = npcId;
        switch(npcId)
        {
          case 31469:
          case 31474:
View Full Code Here

TOP

Related Classes of npc.model.L2SepulcherMonsterInstance

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.