Apply premium exp rates in addExpAndSp method.
This commit is contained in:
parent
3fc4d018ea
commit
69422f8a23
@ -107,6 +107,13 @@ public class PcStat extends PlayableStat
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Premium rates
|
||||||
|
if (activeChar.hasPremiumStatus())
|
||||||
|
{
|
||||||
|
addToExp *= Config.PREMIUM_RATE_XP;
|
||||||
|
addToSp *= Config.PREMIUM_RATE_SP;
|
||||||
|
}
|
||||||
|
|
||||||
final double baseExp = addToExp;
|
final double baseExp = addToExp;
|
||||||
final double baseSp = addToSp;
|
final double baseSp = addToSp;
|
||||||
|
|
||||||
|
@ -108,6 +108,13 @@ public class PcStat extends PlayableStat
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Premium rates
|
||||||
|
if (activeChar.hasPremiumStatus())
|
||||||
|
{
|
||||||
|
addToExp *= Config.PREMIUM_RATE_XP;
|
||||||
|
addToSp *= Config.PREMIUM_RATE_SP;
|
||||||
|
}
|
||||||
|
|
||||||
final double baseExp = addToExp;
|
final double baseExp = addToExp;
|
||||||
final double baseSp = addToSp;
|
final double baseSp = addToSp;
|
||||||
|
|
||||||
|
@ -108,6 +108,13 @@ public class PcStat extends PlayableStat
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Premium rates
|
||||||
|
if (activeChar.hasPremiumStatus())
|
||||||
|
{
|
||||||
|
addToExp *= Config.PREMIUM_RATE_XP;
|
||||||
|
addToSp *= Config.PREMIUM_RATE_SP;
|
||||||
|
}
|
||||||
|
|
||||||
final double baseExp = addToExp;
|
final double baseExp = addToExp;
|
||||||
final double baseSp = addToSp;
|
final double baseSp = addToSp;
|
||||||
|
|
||||||
|
@ -107,6 +107,13 @@ public class PcStat extends PlayableStat
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Premium rates
|
||||||
|
if (activeChar.hasPremiumStatus())
|
||||||
|
{
|
||||||
|
addToExp *= Config.PREMIUM_RATE_XP;
|
||||||
|
addToSp *= Config.PREMIUM_RATE_SP;
|
||||||
|
}
|
||||||
|
|
||||||
final double baseExp = addToExp;
|
final double baseExp = addToExp;
|
||||||
final double baseSp = addToSp;
|
final double baseSp = addToSp;
|
||||||
|
|
||||||
|
@ -123,6 +123,13 @@ public class PcStat extends PlayableStat
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Premium rates
|
||||||
|
if (activeChar.hasPremiumStatus())
|
||||||
|
{
|
||||||
|
addToExp *= Config.PREMIUM_RATE_XP;
|
||||||
|
addToSp *= Config.PREMIUM_RATE_SP;
|
||||||
|
}
|
||||||
|
|
||||||
final long baseExp = addToExp;
|
final long baseExp = addToExp;
|
||||||
final int baseSp = addToSp;
|
final int baseSp = addToSp;
|
||||||
|
|
||||||
|
@ -107,6 +107,13 @@ public class PcStat extends PlayableStat
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Premium rates
|
||||||
|
if (activeChar.hasPremiumStatus())
|
||||||
|
{
|
||||||
|
addToExp *= Config.PREMIUM_RATE_XP;
|
||||||
|
addToSp *= Config.PREMIUM_RATE_SP;
|
||||||
|
}
|
||||||
|
|
||||||
final double baseExp = addToExp;
|
final double baseExp = addToExp;
|
||||||
final double baseSp = addToSp;
|
final double baseSp = addToSp;
|
||||||
|
|
||||||
|
@ -107,6 +107,13 @@ public class PcStat extends PlayableStat
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Premium rates
|
||||||
|
if (activeChar.hasPremiumStatus())
|
||||||
|
{
|
||||||
|
addToExp *= Config.PREMIUM_RATE_XP;
|
||||||
|
addToSp *= Config.PREMIUM_RATE_SP;
|
||||||
|
}
|
||||||
|
|
||||||
final double baseExp = addToExp;
|
final double baseExp = addToExp;
|
||||||
final double baseSp = addToSp;
|
final double baseSp = addToSp;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user