Package l2p.gameserver.model.instances

Examples of l2p.gameserver.model.instances.L2MonsterInstance.takeHarvest()


          player.sendMessage(new CustomMessage("l2p.gameserver.skills.skillclasses.Harvesting.Chance", player).addNumber((long) SuccessRate));
        }
        if(!Rnd.chance(SuccessRate))
        {
          activeChar.sendPacket(Msg.THE_HARVEST_HAS_FAILED);
          monster.takeHarvest();
          continue;
        }
        L2ItemInstance item = monster.takeHarvest();
        if(item == null)
        {
View Full Code Here


        {
          activeChar.sendPacket(Msg.THE_HARVEST_HAS_FAILED);
          monster.takeHarvest();
          continue;
        }
        L2ItemInstance item = monster.takeHarvest();
        if(item == null)
        {
          System.out.println("Harvesting :: monster.takeHarvest() == null :: monster == " + monster);
          continue;
        }
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.