mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
2.1.52
This commit is contained in:
parent
661564df36
commit
f61917e8fe
@ -1,3 +1,8 @@
|
|||||||
|
Version 2.1.52
|
||||||
|
Updated Japanese locale (thanks snake0053)
|
||||||
|
Added a toggle for the early game XP boost to experience.yml 'EarlyGameBoost.Enabled'
|
||||||
|
Added a max level multiplier for determining early game boosts cutoff to experience.yml 'EarlyGameBoost.MaxLevelMultiplier'
|
||||||
|
|
||||||
Version 2.1.51
|
Version 2.1.51
|
||||||
You can now customize a locale outside of the JAR! (Thanks mikroskeem)
|
You can now customize a locale outside of the JAR! (Thanks mikroskeem)
|
||||||
Added a new locale reload command 'mmolocalereload' (Thanks mikroskeem)
|
Added a new locale reload command 'mmolocalereload' (Thanks mikroskeem)
|
||||||
|
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||||
<artifactId>mcMMO</artifactId>
|
<artifactId>mcMMO</artifactId>
|
||||||
<version>2.1.51</version>
|
<version>2.1.52</version>
|
||||||
<name>mcMMO</name>
|
<name>mcMMO</name>
|
||||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||||
<scm>
|
<scm>
|
||||||
|
@ -137,6 +137,9 @@ public class ExperienceConfig extends AutoUpdateConfigLoader {
|
|||||||
return noErrorsInConfig(reason);
|
return noErrorsInConfig(reason);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isEarlyGameBoostEnabled() { return config.getBoolean("EarlyGameBoost.Enabled", true); }
|
||||||
|
public double getEarlyGameBoostMultiplier() { return config.getDouble("EarlyGameBoost.MaxLevelMultiplier", 0.05D); }
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FORMULA SETTINGS
|
* FORMULA SETTINGS
|
||||||
*/
|
*/
|
||||||
|
@ -95,7 +95,9 @@ public class SelfListener implements Listener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
int earlyLevelBonusXPCap = mcMMO.isRetroModeEnabled() ? 50 : 5;
|
if(ExperienceConfig.getInstance().isEarlyGameBoostEnabled())
|
||||||
|
{
|
||||||
|
int earlyLevelBonusXPCap = (int) (ExperienceConfig.getInstance().getEarlyGameBoostMultiplier() * Config.getInstance().getLevelCap(event.getSkill()));
|
||||||
|
|
||||||
int earlyGameBonusXP = 0;
|
int earlyGameBonusXP = 0;
|
||||||
|
|
||||||
@ -105,6 +107,8 @@ public class SelfListener implements Listener {
|
|||||||
earlyGameBonusXP += (mcMMOPlayer.getXpToLevel(primarySkillType) * 0.05);
|
earlyGameBonusXP += (mcMMOPlayer.getXpToLevel(primarySkillType) * 0.05);
|
||||||
event.setRawXpGained(event.getRawXpGained() + earlyGameBonusXP);
|
event.setRawXpGained(event.getRawXpGained() + earlyGameBonusXP);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int threshold = ExperienceConfig.getInstance().getDiminishedReturnsThreshold(primarySkillType);
|
int threshold = ExperienceConfig.getInstance().getDiminishedReturnsThreshold(primarySkillType);
|
||||||
|
|
||||||
|
@ -22,6 +22,10 @@
|
|||||||
# Splits the boss bar into 6 segments
|
# Splits the boss bar into 6 segments
|
||||||
#SOLID
|
#SOLID
|
||||||
# The bar is one solid piece
|
# The bar is one solid piece
|
||||||
|
EarlyGameBoost:
|
||||||
|
Enabled: true
|
||||||
|
#Used to determine the cap of the max boot, with default level cap it will be 5 on standard, and 50 on retro
|
||||||
|
MaxLevelMultiplier: 0.05
|
||||||
ExploitFix:
|
ExploitFix:
|
||||||
# Prevent many exploits related to fishing
|
# Prevent many exploits related to fishing
|
||||||
Fishing: true
|
Fishing: true
|
||||||
|
Loading…
Reference in New Issue
Block a user