Package l2p.gameserver.model.instances

Examples of l2p.gameserver.model.instances.L2MinionInstance.onSpawn()


    monster.setReflection(_master.getReflection());
    if(_master.getChampion() == 2)
    {
      monster.setChampion(1);
    }
    monster.onSpawn();
    monster.setHeading(_master.getHeading());
    addSpawnedMinion(monster);
    monster.spawnMe(_master.getMinionPosition());
  }
View Full Code Here


    if(boss != null && !boss.isDead())
    {
      Location loc = actor.getLoc();
      L2MinionInstance newMinion = new L2MinionInstance(IdFactory.getInstance().getNextId(), NpcTable.getTemplate(Eidolon_ID), boss);
      newMinion.setSpawnedLoc(loc);
      newMinion.onSpawn();
      newMinion.spawnMe(loc);
      newMinion.getAI().setGlobalAggro(0);
      newMinion.getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, boss.getRandomHated(), 1);
      MinionList ml = boss.getMinionList();
      if(ml != null)
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.