Examples of startFeed()


Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PetInstance.startFeed()

        _activeChar.setPet(petSummon);
       
        L2World.getInstance().storeObject(petSummon);
        petSummon.spawnMe(_activeChar.getX() + 50, _activeChar.getY() + 100, _activeChar.getZ());
        _activeChar.sendPacket(new PetInfo(petSummon));
        petSummon.startFeed(false);
        _item.setEnchantLevel(petSummon.getLevel());
       
        if (petSummon.getCurrentFed() <= 0)
        {
          ThreadPoolManager.getInstance().scheduleGeneral(new PetSummonFeedWait(_activeChar, petSummon), 60000);
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PetInstance.startFeed()

        {
          ThreadPoolManager.getInstance().scheduleGeneral(new PetSummonFeedWait(_activeChar, petSummon), 60000);
        }
        else
        {
          petSummon.startFeed(false);
        }
       
        petSummon.setFollowStatus(true);
        petSummon.setShowSummonAnimation(false);
        petSummon.broadcastStatusUpdate();
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PetInstance.startFeed()

        activeChar.sendPacket(new MagicSkillUser(activeChar, 2046, 1, 1000, 600000));
        activeChar.sendPacket(new SystemMessage(SystemMessageId.SUMMON_A_PET));
            L2World.getInstance().storeObject(petSummon);
        petSummon.spawnMe(activeChar.getX()+50, activeChar.getY()+100, activeChar.getZ());
            activeChar.sendPacket(new PetInfo(petSummon));
        petSummon.startFeed(false);
        item.setEnchantLevel(petSummon.getLevel());

        ThreadPoolManager.getInstance().scheduleGeneral(new PetSummonFinalizer(activeChar, petSummon), 900);

        if (petSummon.getCurrentFed() <= 0)
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PetInstance.startFeed()

        ThreadPoolManager.getInstance().scheduleGeneral(new PetSummonFinalizer(activeChar, petSummon), 900);

        if (petSummon.getCurrentFed() <= 0)
          ThreadPoolManager.getInstance().scheduleGeneral(new PetSummonFeedWait(activeChar, petSummon), 60000);
        else
          petSummon.startFeed(false);

          break;
        case 2: // wyvern
          if(!activeChar.disarmWeapons()) return;
          Ride mount = new Ride(activeChar.getObjectId(), Ride.ACTION_MOUNT, sitem.getNpcId());
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.