Examples of EndFishing()


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

    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

Examples of l2p.gameserver.model.L2Player.endFishing()

      {
        player.getFishCombat().doDie(false);
      }
      else
      {
        player.endFishing(false);
      }
      player.sendPacket(Msg.CANCELS_FISHING);
      return false;
    }
    if(player.isInVehicle())
View Full Code Here

Examples of l2p.gameserver.model.L2Player.endFishing()

    int type = FishTable.getInstance().GetRandomFishType(group, lure.getItemId());
    GArray<FishData> fishs = FishTable.getInstance().getfish(lvl, type, group);
    if(fishs == null || fishs.size() == 0)
    {
      player.sendMessage("Error: Fishes are not definied for lvl " + lvl + " type " + type + " group " + group + ", report admin please.");
      player.endFishing(false);
      return;
    }
    int check = Rnd.get(fishs.size());
    FishData fish = fishs.get(check);
    if(!GameTimeController.getInstance().isNowNight() && lure.isNightLure())
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.EndFishing()

    }

    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;
    }
        if (player.isInBoat())
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.