Package npc.model

Examples of npc.model.L2SepulcherNpcInstance.onSpawn()


          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);
      }
View Full Code Here


    {
      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

    {
      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
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.