Reduced value for calculating hunting points.
This commit is contained in:
parent
64a07d7a2b
commit
ab399d8cfb
@ -2977,7 +2977,7 @@ public class L2Clan implements IIdentifiable, INamable
|
|||||||
public synchronized void addHuntingPoints(L2PcInstance activeChar, L2Npc target, double value)
|
public synchronized void addHuntingPoints(L2PcInstance activeChar, L2Npc target, double value)
|
||||||
{
|
{
|
||||||
// TODO: Figure out the retail formula
|
// 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)
|
if (points > 0)
|
||||||
{
|
{
|
||||||
getVariables().set("HUNTING_POINTS", getHuntingPoints() + points);
|
getVariables().set("HUNTING_POINTS", getHuntingPoints() + points);
|
||||||
|
@ -2977,7 +2977,7 @@ public class L2Clan implements IIdentifiable, INamable
|
|||||||
public synchronized void addHuntingPoints(L2PcInstance activeChar, L2Npc target, double value)
|
public synchronized void addHuntingPoints(L2PcInstance activeChar, L2Npc target, double value)
|
||||||
{
|
{
|
||||||
// TODO: Figure out the retail formula
|
// 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)
|
if (points > 0)
|
||||||
{
|
{
|
||||||
getVariables().set("HUNTING_POINTS", getHuntingPoints() + points);
|
getVariables().set("HUNTING_POINTS", getHuntingPoints() + points);
|
||||||
|
@ -2977,7 +2977,7 @@ public class L2Clan implements IIdentifiable, INamable
|
|||||||
public synchronized void addHuntingPoints(L2PcInstance activeChar, L2Npc target, double value)
|
public synchronized void addHuntingPoints(L2PcInstance activeChar, L2Npc target, double value)
|
||||||
{
|
{
|
||||||
// TODO: Figure out the retail formula
|
// 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)
|
if (points > 0)
|
||||||
{
|
{
|
||||||
getVariables().set("HUNTING_POINTS", getHuntingPoints() + points);
|
getVariables().set("HUNTING_POINTS", getHuntingPoints() + points);
|
||||||
|
@ -2977,7 +2977,7 @@ public class L2Clan implements IIdentifiable, INamable
|
|||||||
public synchronized void addHuntingPoints(L2PcInstance activeChar, L2Npc target, double value)
|
public synchronized void addHuntingPoints(L2PcInstance activeChar, L2Npc target, double value)
|
||||||
{
|
{
|
||||||
// TODO: Figure out the retail formula
|
// 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)
|
if (points > 0)
|
||||||
{
|
{
|
||||||
getVariables().set("HUNTING_POINTS", getHuntingPoints() + points);
|
getVariables().set("HUNTING_POINTS", getHuntingPoints() + points);
|
||||||
|
Loading…
Reference in New Issue
Block a user