Package npc.model

Examples of npc.model.L2SepulcherMonsterInstance.onSpawn()


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


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