Package net.sf.l2j.gameserver.serverpackets

Examples of net.sf.l2j.gameserver.serverpackets.ExFishingStart


    // Use a copy constructor else the fish data may be over-written below
    _fish = new FishData(fishs.get(check));
    fishs.clear();
    fishs = null;
    sendPacket(new SystemMessage(SystemMessageId.CAST_LINE_AND_START_FISHING));
    ExFishingStart efs = null;
    if (!GameTimeController.getInstance().isNowNight() && _lure.isNightLure())
    {
      _fish.setType(-1);
    }
    // sendMessage("Hook x,y: " + _x + "," + _y + " - Water Z, Player Z:" + _z + ", " + getZ()); //debug line, uncoment to show coordinates used in fishing.
    efs = new ExFishingStart(this, _fish.getType(), _x, _y, _z, _lure.isNightLure());
    broadcastPacket(efs);
    StartLookingForFishTask();
  }
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.serverpackets.ExFishingStart

Copyright © 2018 www.massapicom. 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.