Package l2p.gameserver.model.instances

Examples of l2p.gameserver.model.instances.L2PetInstance.spawnMe()


            _log.warning("PetSummon: failed set stats for summon " + npcId + ".");
            return;
          }
        }
        _player.sendPacket(new MagicSkillLaunched(_player.getObjectId(), 2046, 1, pet, true));
        pet.spawnMe(GeoEngine.findPointToStay(_player.getX(), _player.getY(), _player.getZ(), MIN_RADIUS, MAX_RADIUS, _player.getReflection().getGeoIndex()));
        pet.setRunning();
        pet.setFollowStatus(true, true);
        if (pet instanceof L2PetBabyInstance)
        {
          ((L2PetBabyInstance) pet).startBuffTask();
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.