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

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2SummonInstance.spawnMe()


    if(getTargetType() == SkillTargetType.TARGET_CORPSE_MOB)
    {
      L2Character target = (L2Character) targets[0];
      if(target.isDead() && target instanceof L2NpcInstance)
      {
        summon.spawnMe(target.getX(), target.getY(), target.getZ() + 5);
        ((L2NpcInstance) target).endDecayTask();
      }
    }
    else
    {
View Full Code Here


        ((L2NpcInstance) target).endDecayTask();
      }
    }
    else
    {
      summon.spawnMe(activeChar.getX() + Rnd.get(40)-20, activeChar.getY() + Rnd.get(40)-20, activeChar.getZ());
    }

    summon.setFollowStatus(true);
    summon.setShowSummonAnimation(false); // addVisibleObject created the info packets with summon animation
    // if someone comes into range now, the animation shouldnt show any more
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.