Reduced value for calculating hunting points.

This commit is contained in:
MobiusDev 2019-03-03 11:35:55 +00:00
parent 64a07d7a2b
commit ab399d8cfb
4 changed files with 4 additions and 4 deletions

View File

@ -2977,7 +2977,7 @@ public class L2Clan implements IIdentifiable, INamable
public synchronized void addHuntingPoints(L2PcInstance activeChar, L2Npc target, double value)
{
// TODO: Figure out the retail formula
final int points = (int) value / 29600;
final int points = (int) value / 2960; // Reduced / 10 for Classic.
if (points > 0)
{
getVariables().set("HUNTING_POINTS", getHuntingPoints() + points);

View File

@ -2977,7 +2977,7 @@ public class L2Clan implements IIdentifiable, INamable
public synchronized void addHuntingPoints(L2PcInstance activeChar, L2Npc target, double value)
{
// TODO: Figure out the retail formula
final int points = (int) value / 29600;
final int points = (int) value / 2960; // Reduced / 10 for Classic.
if (points > 0)
{
getVariables().set("HUNTING_POINTS", getHuntingPoints() + points);

View File

@ -2977,7 +2977,7 @@ public class L2Clan implements IIdentifiable, INamable
public synchronized void addHuntingPoints(L2PcInstance activeChar, L2Npc target, double value)
{
// TODO: Figure out the retail formula
final int points = (int) value / 29600;
final int points = (int) value / 2960; // Reduced / 10 for Classic.
if (points > 0)
{
getVariables().set("HUNTING_POINTS", getHuntingPoints() + points);

View File

@ -2977,7 +2977,7 @@ public class L2Clan implements IIdentifiable, INamable
public synchronized void addHuntingPoints(L2PcInstance activeChar, L2Npc target, double value)
{
// TODO: Figure out the retail formula
final int points = (int) value / 29600;
final int points = (int) value / 2960; // Reduced / 10 for Classic.
if (points > 0)
{
getVariables().set("HUNTING_POINTS", getHuntingPoints() + points);