Package npc.model

Examples of npc.model.SepulcherMonsterInstance.spawnMe()


    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


      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);
  }
 
  /**
   * Method spawnKeyBox.
View Full Code Here

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