2012-06-11 22:11:23 +02:00
|
|
|
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;
|
|
|
|
|
2012-06-11 22:11:23 +02:00
|
|
|
public class Acrobatics {
|
2012-11-26 01:40:42 +01:00
|
|
|
static AdvancedConfig advancedConfig = AdvancedConfig.getInstance();
|
2013-01-02 00:34:32 +01:00
|
|
|
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
|
|
|
|
2013-01-02 00:34:32 +01: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();
|
2013-01-02 00:34:32 +01:00
|
|
|
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();
|
2013-01-02 00:34:32 +01:00
|
|
|
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;
|
|
|
|
}
|
2012-06-11 22:11:23 +02:00
|
|
|
}
|