Package npc.model

Examples of npc.model.SepulcherMonsterInstance


      {
        NpcTemplate template = NpcHolder.getInstance().getTemplate(loc.npcId);
        NpcInstance npc = null;
        if (template.isInstanceOf(SepulcherMonsterInstance.class))
        {
          npc = new SepulcherMonsterInstance(IdFactory.getInstance().getNextId(), template);
        }
        else
        {
          npc = new SepulcherNpcInstance(IdFactory.getInstance().getNextId(), template);
        }
View Full Code Here


      return;
    }
    for (NpcLocation loc : monsterList)
    {
      NpcTemplate template = NpcHolder.getInstance().getTemplate(loc.npcId);
      SepulcherMonsterInstance mob = new SepulcherMonsterInstance(IdFactory.getInstance().getNextId(), template);
      mob.setSpawnedLoc(loc);
      mob.spawnMe(loc);
      mob.mysteriousBoxId = npcId;
      _allMobs.add(mob);
    }
    _archonSpawned.put(npcId, true);
  }
View Full Code Here

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

              }
              break;
          }
        }
        NpcTemplate template = NpcHolder.getInstance().getTemplate(spawnKeyBoxMob ? 18149 : loc.npcId);
        SepulcherMonsterInstance mob = new SepulcherMonsterInstance(IdFactory.getInstance().getNextId(), template);
        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.SepulcherMonsterInstance

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.