mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
RetroMode and Standard scaling now have specific keys in advanced.yml to reduce confusion
This commit is contained in:
parent
c43fd9bc69
commit
9a428332a9
@ -7,7 +7,11 @@ Key:
|
|||||||
! Change
|
! Change
|
||||||
- Removal
|
- Removal
|
||||||
Version 2.1.8
|
Version 2.1.8
|
||||||
|
MaxBonusLevel now has specific entries for Standard and Retro in advanced.yml
|
||||||
|
MaxBonusLevel for Critical Strikes changed from 75/750 to 100/1000
|
||||||
|
MaxBonusLevel of Dodge changed from 80/800 to 100/1000
|
||||||
|
MaxBonusLevel of Rupture changed from 20/200 to 100/1000
|
||||||
|
MaxBonusLevel of Counter Attack changed from 60/600 to 100/1000
|
||||||
|
|
||||||
Version 2.1.7
|
Version 2.1.7
|
||||||
Fixed an almost 6 year old bug where Salvage materials did not have a defined material count so they defaulted to 2 (which could lead to shovels giving back more diamonds than normal)
|
Fixed an almost 6 year old bug where Salvage materials did not have a defined material count so they defaulted to 2 (which could lead to shovels giving back more diamonds than normal)
|
||||||
|
@ -684,43 +684,23 @@ public class AdvancedConfig extends AutoUpdateConfigLoader {
|
|||||||
* @return the level at which this skills max benefits will be reached on the curve
|
* @return the level at which this skills max benefits will be reached on the curve
|
||||||
*/
|
*/
|
||||||
public int getMaxBonusLevel(SubSkillType subSkillType) {
|
public int getMaxBonusLevel(SubSkillType subSkillType) {
|
||||||
int maxBonusLevel = config.getInt(subSkillType.getAdvConfigAddress() + ".MaxBonusLevel", 100);
|
String keyPath = subSkillType.getAdvConfigAddress() + ".MaxBonusLevel.";
|
||||||
|
return mcMMO.isRetroModeEnabled() ? config.getInt(keyPath+"RetroMode", 1000) : config.getInt(keyPath+"Standard", 100);
|
||||||
if(mcMMO.isRetroModeEnabled())
|
|
||||||
maxBonusLevel *= 10;
|
|
||||||
|
|
||||||
if(maxBonusLevel == 0)
|
|
||||||
mcMMO.p.getLogger().severe("Warning Max Bonus Level for "+subSkillType.getAdvConfigAddress() + ".MaxBonusLevel"+" is set to 0! Typically this value should be 100.");
|
|
||||||
|
|
||||||
return maxBonusLevel;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getMaxBonusLevel(AbstractSubSkill abstractSubSkill) {
|
public int getMaxBonusLevel(AbstractSubSkill abstractSubSkill) {
|
||||||
int maxBonusLevel = config.getInt("Skills."+abstractSubSkill.getPrimaryKeyName()+"."+abstractSubSkill.getConfigKeyName()+".MaxBonusLevel", 100);
|
return getMaxBonusLevel(abstractSubSkill.getSubSkillType());
|
||||||
|
|
||||||
if(mcMMO.isRetroModeEnabled())
|
|
||||||
maxBonusLevel *= 10;
|
|
||||||
|
|
||||||
return maxBonusLevel;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public double getMaximumProbability(SubSkillType subSkillType) {
|
public double getMaximumProbability(SubSkillType subSkillType) {
|
||||||
double maximumProbability = config.getDouble(subSkillType.getAdvConfigAddress() + ".ChanceMax", 100.0D);
|
double maximumProbability = config.getDouble(subSkillType.getAdvConfigAddress() + ".ChanceMax", 100.0D);
|
||||||
|
|
||||||
/*if(mcMMO.isRetroModeEnabled())
|
|
||||||
maximumProbability *= 10; // It seems weird but our formulas need this*/
|
|
||||||
|
|
||||||
return maximumProbability;
|
return maximumProbability;
|
||||||
}
|
}
|
||||||
|
|
||||||
public double getMaximumProbability(AbstractSubSkill abstractSubSkill)
|
public double getMaximumProbability(AbstractSubSkill abstractSubSkill)
|
||||||
{
|
{
|
||||||
double maximumProbability = config.getDouble("Skills."+abstractSubSkill.getPrimaryKeyName()+"."+abstractSubSkill.getConfigKeyName()+".ChanceMax", 100.0D);
|
return getMaximumProbability(abstractSubSkill.getSubSkillType());
|
||||||
|
|
||||||
if(mcMMO.isRetroModeEnabled())
|
|
||||||
maximumProbability *= 10; // It seems weird but our formulas need this
|
|
||||||
|
|
||||||
return maximumProbability;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Notification Settings */
|
/* Notification Settings */
|
||||||
|
@ -99,7 +99,9 @@ Skills:
|
|||||||
# MaxBonusLevel: On this level or higher, the dodge chance will not go higher than <ChanceMax>
|
# MaxBonusLevel: On this level or higher, the dodge chance will not go higher than <ChanceMax>
|
||||||
# DamageModifier: Dodge damage will be divided by this modifier
|
# DamageModifier: Dodge damage will be divided by this modifier
|
||||||
ChanceMax: 20.0
|
ChanceMax: 20.0
|
||||||
MaxBonusLevel: 80
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
DamageModifier: 2.0
|
DamageModifier: 2.0
|
||||||
|
|
||||||
Roll:
|
Roll:
|
||||||
@ -107,7 +109,9 @@ Skills:
|
|||||||
# MaxBonusLevel: On this level or higher, the roll chance will not go higher than <ChanceMax>
|
# MaxBonusLevel: On this level or higher, the roll chance will not go higher than <ChanceMax>
|
||||||
# DamageThreshold: The max damage a player can negate with a roll, graceful roll doubles this number
|
# DamageThreshold: The max damage a player can negate with a roll, graceful roll doubles this number
|
||||||
ChanceMax: 100.0
|
ChanceMax: 100.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
DamageThreshold: 7.0
|
DamageThreshold: 7.0
|
||||||
#
|
#
|
||||||
# Settings for Alchemy
|
# Settings for Alchemy
|
||||||
@ -117,7 +121,9 @@ Skills:
|
|||||||
# MaxBonusLevel: Maximum bonus level of Catalysis, when a player reaches this level his brewing speed will be <MaxSpeed>
|
# MaxBonusLevel: Maximum bonus level of Catalysis, when a player reaches this level his brewing speed will be <MaxSpeed>
|
||||||
# MinSpeed: Minimum brewing speed allowed when at <UnlockLevel> or lower
|
# MinSpeed: Minimum brewing speed allowed when at <UnlockLevel> or lower
|
||||||
# MaxSpeed: Maximum brewing speed allowed when at <MaxBonusLevel> or higher
|
# MaxSpeed: Maximum brewing speed allowed when at <MaxBonusLevel> or higher
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
MinSpeed: 1.0
|
MinSpeed: 1.0
|
||||||
MaxSpeed: 4.0
|
MaxSpeed: 4.0
|
||||||
#
|
#
|
||||||
@ -136,14 +142,18 @@ Skills:
|
|||||||
# MaxBonusLevel: Maximum bonus level of Daze, when a player reaches this level his chance of causing a daze will be <ChanceMax>
|
# MaxBonusLevel: Maximum bonus level of Daze, when a player reaches this level his chance of causing a daze will be <ChanceMax>
|
||||||
# Modifier: Extra damage for arrows that cause a daze (2 damage = 1 heart)
|
# Modifier: Extra damage for arrows that cause a daze (2 damage = 1 heart)
|
||||||
ChanceMax: 50.0
|
ChanceMax: 50.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
BonusDamage: 4.0
|
BonusDamage: 4.0
|
||||||
|
|
||||||
ArrowRetrieval:
|
ArrowRetrieval:
|
||||||
# ChanceMax: Maximum chance of retrieving arrows when on <MaxBonusLevel> or higher
|
# ChanceMax: Maximum chance of retrieving arrows when on <MaxBonusLevel> or higher
|
||||||
# MaxBonusLevel: Maximum bonus level for Arrow retrieval, at this level the chance of retrieving arrows from mobs is <ChanceMax>
|
# MaxBonusLevel: Maximum bonus level for Arrow retrieval, at this level the chance of retrieving arrows from mobs is <ChanceMax>
|
||||||
ChanceMax: 100.0
|
ChanceMax: 100.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
|
|
||||||
# ForceMultiplier: Multiply the force of the bow by this for an XP boost.
|
# ForceMultiplier: Multiply the force of the bow by this for an XP boost.
|
||||||
ForceMultiplier: 2.0
|
ForceMultiplier: 2.0
|
||||||
@ -159,7 +169,9 @@ Skills:
|
|||||||
# ChanceMax: Maximum chance of causing a critical hit when on <MaxBonusLevel> or higher
|
# ChanceMax: Maximum chance of causing a critical hit when on <MaxBonusLevel> or higher
|
||||||
# MaxBonusLevel: Level where <ChanceMax> of causing critical hits is reached
|
# MaxBonusLevel: Level where <ChanceMax> of causing critical hits is reached
|
||||||
ChanceMax: 37.50
|
ChanceMax: 37.50
|
||||||
MaxBonusLevel: 75
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
# Damage modifier of critical hits for PVP / PVE, when causing a critical hit the damage gets multiplied by the modifier
|
# Damage modifier of critical hits for PVP / PVE, when causing a critical hit the damage gets multiplied by the modifier
|
||||||
PVP_Modifier: 1.5
|
PVP_Modifier: 1.5
|
||||||
PVE_Modifier: 2.0
|
PVE_Modifier: 2.0
|
||||||
@ -228,25 +240,33 @@ Skills:
|
|||||||
# ChanceMax: Maximum chance of GreenThumb when on <MaxBonusLevel> or higher
|
# ChanceMax: Maximum chance of GreenThumb when on <MaxBonusLevel> or higher
|
||||||
# MaxBonusLevel: On this level, GreenThumb chance will be <ChanceMax>
|
# MaxBonusLevel: On this level, GreenThumb chance will be <ChanceMax>
|
||||||
ChanceMax: 100.0
|
ChanceMax: 100.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
|
|
||||||
DoubleDrops:
|
DoubleDrops:
|
||||||
# ChanceMax: Maximum chance of receiving double drops when on <MaxBonusLevel> or higher
|
# ChanceMax: Maximum chance of receiving double drops when on <MaxBonusLevel> or higher
|
||||||
# MaxBonusLevel: Level when <ChanceMax> of receiving double drops is reached
|
# MaxBonusLevel: Level when <ChanceMax> of receiving double drops is reached
|
||||||
ChanceMax: 100.0
|
ChanceMax: 100.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
|
|
||||||
HylianLuck:
|
HylianLuck:
|
||||||
# ChanceMax: Maximum chance of Hylian Luck when on <MaxBonusLevel> or higher
|
# ChanceMax: Maximum chance of Hylian Luck when on <MaxBonusLevel> or higher
|
||||||
# MaxBonusLevel: On this level, Hylian Luck chance will be <ChanceMax>
|
# MaxBonusLevel: On this level, Hylian Luck chance will be <ChanceMax>
|
||||||
ChanceMax: 10.0
|
ChanceMax: 10.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
|
|
||||||
ShroomThumb:
|
ShroomThumb:
|
||||||
# ChanceMax: Maximum chance of ShroomThumb when on <MaxBonusLevel> or higher
|
# ChanceMax: Maximum chance of ShroomThumb when on <MaxBonusLevel> or higher
|
||||||
# MaxBonusLevel: On this level, ShroomThumb chance will be <ChanceMax>
|
# MaxBonusLevel: On this level, ShroomThumb chance will be <ChanceMax>
|
||||||
ChanceMax: 50.0
|
ChanceMax: 50.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
#
|
#
|
||||||
# Settings for Mining
|
# Settings for Mining
|
||||||
###
|
###
|
||||||
@ -255,7 +275,9 @@ Skills:
|
|||||||
# ChanceMax: Maximum chance of receiving double drops when on <MaxBonusLevel> or higher
|
# ChanceMax: Maximum chance of receiving double drops when on <MaxBonusLevel> or higher
|
||||||
# MaxBonusLevel: Level when <ChanceMax> of receiving double drops is reached
|
# MaxBonusLevel: Level when <ChanceMax> of receiving double drops is reached
|
||||||
ChanceMax: 100.0
|
ChanceMax: 100.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
|
|
||||||
BlastMining:
|
BlastMining:
|
||||||
# BlastDamageDecrease Ranks: % of damage reduced from TNT explosions
|
# BlastDamageDecrease Ranks: % of damage reduced from TNT explosions
|
||||||
@ -320,13 +342,17 @@ Skills:
|
|||||||
# MaxBonusPercentage: Maximum bonus percentage for Repair Mastery
|
# MaxBonusPercentage: Maximum bonus percentage for Repair Mastery
|
||||||
# MaxBonusLevel: On this level, the maximum bonus is reached
|
# MaxBonusLevel: On this level, the maximum bonus is reached
|
||||||
MaxBonusPercentage: 200.0
|
MaxBonusPercentage: 200.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
|
|
||||||
SuperRepair:
|
SuperRepair:
|
||||||
# ChanceMax: Maximum chance of Super Repair when on <MaxBonusLevel> or higher
|
# ChanceMax: Maximum chance of Super Repair when on <MaxBonusLevel> or higher
|
||||||
# MaxBonusLevel: On this level, Super Repair chance will be <ChanceMax>
|
# MaxBonusLevel: On this level, Super Repair chance will be <ChanceMax>
|
||||||
ChanceMax: 100.0
|
ChanceMax: 100.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
|
|
||||||
ArcaneForging:
|
ArcaneForging:
|
||||||
May_Lose_Enchants: true
|
May_Lose_Enchants: true
|
||||||
@ -388,18 +414,24 @@ Skills:
|
|||||||
# Multiplier: The furnace burn time will be multiplied by this value.
|
# Multiplier: The furnace burn time will be multiplied by this value.
|
||||||
# MaxBonusLevel: On this level, the efficiency multiplier will stop increasing
|
# MaxBonusLevel: On this level, the efficiency multiplier will stop increasing
|
||||||
Multiplier: 3.0
|
Multiplier: 3.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
|
|
||||||
SecondSmelt:
|
SecondSmelt:
|
||||||
# ChanceMax: Maximum chance of triggering Second Smelt
|
# ChanceMax: Maximum chance of triggering Second Smelt
|
||||||
# MaxBonusLevel: On this level, the chance to cause Second Smelt will be <ChanceMax>
|
# MaxBonusLevel: On this level, the chance to cause Second Smelt will be <ChanceMax>
|
||||||
ChanceMax: 50.0
|
ChanceMax: 50.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
|
|
||||||
FluxMining:
|
FluxMining:
|
||||||
# Chance: Chance for Flux Mining to activate
|
# Chance: Chance for Flux Mining to activate
|
||||||
Chance: 33.0
|
Chance: 33.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
|
|
||||||
# VanillaXPMultiplier: Vanilla XP gained from smelting ores is multiplied by these values.
|
# VanillaXPMultiplier: Vanilla XP gained from smelting ores is multiplied by these values.
|
||||||
VanillaXPMultiplier:
|
VanillaXPMultiplier:
|
||||||
@ -420,7 +452,9 @@ Skills:
|
|||||||
# ChanceMax: Maximum chance of triggering bleeding
|
# ChanceMax: Maximum chance of triggering bleeding
|
||||||
# MaxBonusLevel: On this level, the chance to cause Bleeding will be <ChanceMax>
|
# MaxBonusLevel: On this level, the chance to cause Bleeding will be <ChanceMax>
|
||||||
ChanceMax: 33.0
|
ChanceMax: 33.0
|
||||||
MaxBonusLevel: 20
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
|
|
||||||
# DamagePlayer: Bleeding damage dealt to players
|
# DamagePlayer: Bleeding damage dealt to players
|
||||||
# DamageMobs: Bleeding damage dealt to mobs
|
# DamageMobs: Bleeding damage dealt to mobs
|
||||||
@ -436,7 +470,9 @@ Skills:
|
|||||||
# ChanceMax: Maximum chance of triggering a counter attack
|
# ChanceMax: Maximum chance of triggering a counter attack
|
||||||
# MaxBonusLevel: On this level, the chance to Counter will be <ChanceMax>
|
# MaxBonusLevel: On this level, the chance to Counter will be <ChanceMax>
|
||||||
ChanceMax: 30.0
|
ChanceMax: 30.0
|
||||||
MaxBonusLevel: 60
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
|
|
||||||
# DamageModifier: Damaged caused by the damager will get divided by this modifier and dealt back to the damager
|
# DamageModifier: Damaged caused by the damager will get divided by this modifier and dealt back to the damager
|
||||||
DamageModifier: 2.0
|
DamageModifier: 2.0
|
||||||
@ -454,7 +490,9 @@ Skills:
|
|||||||
# ChanceMax: Maximum chance of triggering gore
|
# ChanceMax: Maximum chance of triggering gore
|
||||||
# MaxBonusLevel: On this level, the chance to cause Gore will be <ChanceMax>
|
# MaxBonusLevel: On this level, the chance to cause Gore will be <ChanceMax>
|
||||||
ChanceMax: 100.0
|
ChanceMax: 100.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
# Modifier: Damage will get multiplied by this modifier
|
# Modifier: Damage will get multiplied by this modifier
|
||||||
Modifier: 2.0
|
Modifier: 2.0
|
||||||
FastFoodService:
|
FastFoodService:
|
||||||
@ -487,20 +525,26 @@ Skills:
|
|||||||
# MaxBonusLevel: Level when the maximum chance to disarm is reached
|
# MaxBonusLevel: Level when the maximum chance to disarm is reached
|
||||||
# AntiTheft: Determines if only the disarmed player can retrieve disarmed items
|
# AntiTheft: Determines if only the disarmed player can retrieve disarmed items
|
||||||
ChanceMax: 33.0
|
ChanceMax: 33.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
AntiTheft: false
|
AntiTheft: false
|
||||||
|
|
||||||
ArrowDeflect:
|
ArrowDeflect:
|
||||||
# ChanceMax: Maximum chance of deflecting arrows
|
# ChanceMax: Maximum chance of deflecting arrows
|
||||||
# MaxBonusLevel: Level when the maximum chance to deflect is reached
|
# MaxBonusLevel: Level when the maximum chance to deflect is reached
|
||||||
ChanceMax: 50.0
|
ChanceMax: 50.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
|
|
||||||
IronGrip:
|
IronGrip:
|
||||||
# ChanceMax: Maximum chance of preventing being disarmed
|
# ChanceMax: Maximum chance of preventing being disarmed
|
||||||
# MaxBonusLevel: Level when the maximum chance to prevent being disarmed is reached
|
# MaxBonusLevel: Level when the maximum chance to prevent being disarmed is reached
|
||||||
ChanceMax: 100.0
|
ChanceMax: 100.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
||||||
|
|
||||||
IronArmStyle:
|
IronArmStyle:
|
||||||
# BonusMin: Minimum bonus damage for unarmed
|
# BonusMin: Minimum bonus damage for unarmed
|
||||||
@ -538,4 +582,6 @@ Skills:
|
|||||||
# ChanceMax: Maximum chance of receiving double drops (100 = 100%)
|
# ChanceMax: Maximum chance of receiving double drops (100 = 100%)
|
||||||
# MaxBonusLevel: Level when the maximum chance of receiving double drops is reached
|
# MaxBonusLevel: Level when the maximum chance of receiving double drops is reached
|
||||||
ChanceMax: 100.0
|
ChanceMax: 100.0
|
||||||
MaxBonusLevel: 100
|
MaxBonusLevel:
|
||||||
|
Standard: 100
|
||||||
|
RetroMode: 1000
|
Loading…
Reference in New Issue
Block a user