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

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.GetFishCombat()


    if(activeChar == null || !(activeChar instanceof L2PcInstance))
      return;

    L2PcInstance player = (L2PcInstance)activeChar;

    L2Fishing fish = player.GetFishCombat();
    if(fish == null)
    {
      if(skill.getSkillType()==SkillType.PUMPING)
      {
        //Pumping skill is available only while fishing
View Full Code Here


      return;
    }

    if(player.isFishing())
    {
      if(player.GetFishCombat() != null)
        player.GetFishCombat().doDie(false);
      else
        player.EndFishing(false);
      // Cancels fishing
      player.sendPacket(new SystemMessage(SystemMessageId.FISHING_ATTEMPT_CANCELLED));
View Full Code Here

    }

    if(player.isFishing())
    {
      if(player.GetFishCombat() != null)
        player.GetFishCombat().doDie(false);
      else
        player.EndFishing(false);
      // Cancels fishing
      player.sendPacket(new SystemMessage(SystemMessageId.FISHING_ATTEMPT_CANCELLED));
      return;
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.