Apply premium exp rates in addExpAndSp method.

This commit is contained in:
MobiusDev 2018-04-06 21:16:11 +00:00
parent 3fc4d018ea
commit 69422f8a23
7 changed files with 49 additions and 0 deletions

View File

@ -107,6 +107,13 @@ public class PcStat extends PlayableStat
return;
}
// Premium rates
if (activeChar.hasPremiumStatus())
{
addToExp *= Config.PREMIUM_RATE_XP;
addToSp *= Config.PREMIUM_RATE_SP;
}
final double baseExp = addToExp;
final double baseSp = addToSp;

View File

@ -108,6 +108,13 @@ public class PcStat extends PlayableStat
return;
}
// Premium rates
if (activeChar.hasPremiumStatus())
{
addToExp *= Config.PREMIUM_RATE_XP;
addToSp *= Config.PREMIUM_RATE_SP;
}
final double baseExp = addToExp;
final double baseSp = addToSp;

View File

@ -108,6 +108,13 @@ public class PcStat extends PlayableStat
return;
}
// Premium rates
if (activeChar.hasPremiumStatus())
{
addToExp *= Config.PREMIUM_RATE_XP;
addToSp *= Config.PREMIUM_RATE_SP;
}
final double baseExp = addToExp;
final double baseSp = addToSp;

View File

@ -107,6 +107,13 @@ public class PcStat extends PlayableStat
return;
}
// Premium rates
if (activeChar.hasPremiumStatus())
{
addToExp *= Config.PREMIUM_RATE_XP;
addToSp *= Config.PREMIUM_RATE_SP;
}
final double baseExp = addToExp;
final double baseSp = addToSp;

View File

@ -123,6 +123,13 @@ public class PcStat extends PlayableStat
return false;
}
// Premium rates
if (activeChar.hasPremiumStatus())
{
addToExp *= Config.PREMIUM_RATE_XP;
addToSp *= Config.PREMIUM_RATE_SP;
}
final long baseExp = addToExp;
final int baseSp = addToSp;

View File

@ -107,6 +107,13 @@ public class PcStat extends PlayableStat
return;
}
// Premium rates
if (activeChar.hasPremiumStatus())
{
addToExp *= Config.PREMIUM_RATE_XP;
addToSp *= Config.PREMIUM_RATE_SP;
}
final double baseExp = addToExp;
final double baseSp = addToSp;

View File

@ -107,6 +107,13 @@ public class PcStat extends PlayableStat
return;
}
// Premium rates
if (activeChar.hasPremiumStatus())
{
addToExp *= Config.PREMIUM_RATE_XP;
addToSp *= Config.PREMIUM_RATE_SP;
}
final double baseExp = addToExp;
final double baseSp = addToSp;