Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2ArtefactInstance


      _combatflag = new FastList<L2ArtefactInstance>();
    }

    for(SiegeSpawn _sp : FortSiegeManager.getInstance().getFlagList(Id))
    {
      L2ArtefactInstance combatflag;

      combatflag = new L2ArtefactInstance(IdFactory.getInstance().getNextId(), NpcTable.getInstance().getTemplate(_sp.getNpcId()));
      combatflag.setCurrentHpMp(combatflag.getMaxHp(), combatflag.getMaxMp());
      combatflag.setHeading(_sp.getLocation().getHeading());
      combatflag.spawnMe(_sp.getLocation().getX(), _sp.getLocation().getY(), _sp.getLocation().getZ() + 10);

      _combatflag.add(combatflag);
      combatflag = null;
    }
View Full Code Here


      _artifacts = new FastList<L2ArtefactInstance>();
    }

    for(SiegeSpawn _sp : SiegeManager.getInstance().getArtefactSpawnList(Id))
    {
      L2ArtefactInstance art;

      art = new L2ArtefactInstance(IdFactory.getInstance().getNextId(), NpcTable.getInstance().getTemplate(_sp.getNpcId()));
      art.setCurrentHpMp(art.getMaxHp(), art.getMaxMp());
      art.setHeading(_sp.getLocation().getHeading());
      art.spawnMe(_sp.getLocation().getX(), _sp.getLocation().getY(), _sp.getLocation().getZ() + 50);

      _artifacts.add(art);
      art = null;
    }
  }
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.model.actor.instance.L2ArtefactInstance

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.