mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Less XP orbs during Tree Feller + Knock on Wood Rank 2
This commit is contained in:
parent
cf21a5a163
commit
85bf33fca0
@ -1,4 +1,5 @@
|
|||||||
Version 2.1.173
|
Version 2.1.173
|
||||||
|
The experience orbs dropped by Knock on Wood rank 2 during Tree Feller are now much less frequent but provide more XP
|
||||||
mcMMO no longer damages fishing rods or drains a player's hunger when fishing
|
mcMMO no longer damages fishing rods or drains a player's hunger when fishing
|
||||||
Fixed a visual bug where players who had lucky perk were shown incorrect odds when using skill commands (such as /axes)
|
Fixed a visual bug where players who had lucky perk were shown incorrect odds when using skill commands (such as /axes)
|
||||||
Updated ja_JP locale (thanks ViaSnake)
|
Updated ja_JP locale (thanks ViaSnake)
|
||||||
|
@ -308,8 +308,8 @@ public class WoodcuttingManager extends SkillManager {
|
|||||||
|
|
||||||
if(RankUtils.hasReachedRank(2, player, SubSkillType.WOODCUTTING_KNOCK_ON_WOOD)) {
|
if(RankUtils.hasReachedRank(2, player, SubSkillType.WOODCUTTING_KNOCK_ON_WOOD)) {
|
||||||
if(AdvancedConfig.getInstance().isKnockOnWoodXPOrbEnabled()) {
|
if(AdvancedConfig.getInstance().isKnockOnWoodXPOrbEnabled()) {
|
||||||
if(RandomChanceUtil.rollDice(75, 100)) {
|
if(RandomChanceUtil.rollDice(10, 100)) {
|
||||||
int randOrbCount = Math.max(1, Misc.getRandom().nextInt(20));
|
int randOrbCount = Math.max(1, Misc.getRandom().nextInt(100));
|
||||||
Misc.spawnExperienceOrb(blockState.getLocation(), randOrbCount);
|
Misc.spawnExperienceOrb(blockState.getLocation(), randOrbCount);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user