mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Static things shouldn't use a maxbonuslevel from config
This commit is contained in:
parent
4f832edada
commit
6f81cf7384
@ -33,4 +33,16 @@ public class RandomChanceSkillStatic extends RandomChanceSkill {
|
|||||||
public double getProbabilityCap() {
|
public double getProbabilityCap() {
|
||||||
return probabilityCap;
|
return probabilityCap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The maximum bonus level for this skill
|
||||||
|
* This is when the skills level no longer increases the odds of success
|
||||||
|
* For example, a value of 25 will mean the success chance no longer grows after skill level 25
|
||||||
|
*
|
||||||
|
* @return the maximum bonus from skill level for this skill
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public double getMaximumBonusLevelCap() {
|
||||||
|
return 100;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user