Examples of onSpawn()


Examples of npc.model.L2SepulcherMonsterInstance.onSpawn()

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

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

Examples of npc.model.L2SepulcherNpcInstance.onSpawn()

    {
      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

Examples of npc.model.L2SepulcherNpcInstance.onSpawn()

    {
      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

Examples of npc.model.L2SepulcherRaidInstance.onSpawn()

    {
      return;
    }
    L2NpcTemplate template = NpcTable.getTemplate(loc.id);
    L2SepulcherRaidInstance mob = new L2SepulcherRaidInstance(IdFactory.getInstance().getNextId(), template);
    mob.onSpawn();
    mob.setSpawnedLoc(loc);
    mob.spawnMe(loc);
    mob.mysteriousBoxId = npcId;
    _allMobs.add(mob);
  }
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.