Examples of SepulcherMonsterInstance


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

Examples of npc.model.SepulcherMonsterInstance

      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

Examples of npc.model.SepulcherMonsterInstance

    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

Examples of npc.model.SepulcherMonsterInstance

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