Package npc.model

Examples of npc.model.SepulcherNpcInstance


    {
      _inEntryTime = false;
      _inAttackTime = true;
      for (GateKeeper gk : FourSepulchersSpawn._GateKeepers)
      {
        SepulcherNpcInstance npc = new SepulcherNpcInstance(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:
            loc = new Location(175606, -82853, -7200, -16248);
            break;
        }
        SepulcherNpcInstance npc = new SepulcherNpcInstance(IdFactory.getInstance().getNextId(), template);
        npc.setSpawnedLoc(loc);
        npc.spawnMe(loc);
        _managers.add(npc);
        _log.info("FourSepulchersManager: Spawned " + template.name);
      }
      catch (Exception e)
      {
View Full Code Here

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

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

    if (_mysteriousBoxSpawns.get(npcId) == null)
    {
      return;
    }
    NpcTemplate template = NpcHolder.getInstance().getTemplate(_mysteriousBoxSpawns.get(npcId).npcId);
    SepulcherNpcInstance npc = new SepulcherNpcInstance(IdFactory.getInstance().getNextId(), template);
    npc.setSpawnedLoc(_mysteriousBoxSpawns.get(npcId));
    npc.spawnMe(npc.getSpawnedLoc());
    _allMobs.add(npc);
  }
View Full Code Here

TOP

Related Classes of npc.model.SepulcherNpcInstance

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.