Fishing value corrections.

Contributed by Mantra.
This commit is contained in:
MobiusDev
2018-12-16 18:55:03 +00:00
parent e4ed809b43
commit 0bdd4e455c
8 changed files with 12 additions and 16 deletions

View File

@ -144,7 +144,7 @@ public class Fishing
final int minPlayerLevel = baitData == null ? 20 : baitData.getMinPlayerLevel();
if (_player.getLevel() < minPlayerLevel)
{
if (minPlayerLevel == 85)
if (minPlayerLevel == 20)
{
_player.sendPacket(SystemMessageId.YOU_CANNOT_FISH_AS_YOU_DO_NOT_MEET_THE_REQUIREMENTS);
}
@ -287,7 +287,6 @@ public class Fishing
final int numRewards = baitData.getRewards().size();
if (numRewards > 0)
{
// TODO: verify, totally guessed
final FishingData fishingData = FishingData.getInstance();
final int lvlModifier = _player.getLevel() * _player.getLevel();
_player.addExpAndSp(Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier, Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier, true);