mcMMO/src/main/java/com/gmail/nossr50/skills/acrobatics/Acrobatics.java

27 lines
1.1 KiB
Java
Raw Normal View History

package com.gmail.nossr50.skills.acrobatics;
2012-06-12 02:37:09 +02:00
import java.util.Random;
2012-11-21 21:49:54 +01:00
import com.gmail.nossr50.config.AdvancedConfig;
public class Acrobatics {
2012-11-26 01:40:42 +01:00
static AdvancedConfig advancedConfig = AdvancedConfig.getInstance();
public static final int DODGE_MAX_CHANCE = advancedConfig.getDodgeChanceMax();
2012-11-21 21:49:54 +01:00
public static final int DODGE_MAX_BONUS_LEVEL = advancedConfig.getDodgeMaxBonusLevel();
public static final int DODGE_XP_MODIFIER = advancedConfig.getDodgeXPModifier();
2012-06-12 17:07:27 +02:00
public static final int ROLL_MAX_CHANCE = advancedConfig.getRollChanceMax();
2012-11-21 21:49:54 +01:00
public static final int ROLL_MAX_BONUS_LEVEL = advancedConfig.getRollMaxBonusLevel();
public static final int GRACEFUL_MAX_CHANCE = advancedConfig.getGracefulRollChanceMax();
public static final int GRACEFUL_MAX_BONUS_LEVEL = advancedConfig.getGracefulRollMaxBonusLevel();
2012-11-21 21:49:54 +01:00
public static final int ROLL_XP_MODIFIER = advancedConfig.getRollXPModifier();
public static final int FALL_XP_MODIFIER = advancedConfig.getFallXPModifier();
2012-06-12 02:37:09 +02:00
private static Random random = new Random();
public static Random getRandom() {
return random;
}
}