mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 14:46:46 +01:00
Setup Acrobatics/Alchemy XP methods
This commit is contained in:
parent
ba180ebae3
commit
8ddbb3aa91
@ -107,4 +107,16 @@ public class ConfigExperience {
|
||||
public HashMap<String, Integer> getAlchemyXPMap() {
|
||||
return experienceAlchemy.getAlchemyXPMap();
|
||||
}
|
||||
|
||||
public int getDodgeXP() {
|
||||
return experienceAcrobatics.getDodgeXP();
|
||||
}
|
||||
|
||||
public int getRollXP() {
|
||||
return experienceAcrobatics.getRollXP();
|
||||
}
|
||||
|
||||
public int getFallXP() {
|
||||
return experienceAcrobatics.getFallXP();
|
||||
}
|
||||
}
|
@ -33,4 +33,17 @@ public class ConfigExperienceAcrobatics {
|
||||
public Double getFeatherFallMultiplier() {
|
||||
return featherFallMultiplier;
|
||||
}
|
||||
|
||||
public int getDodgeXP(){
|
||||
return acrobaticsXPMap.get("Dodge");
|
||||
}
|
||||
|
||||
public int getRollXP(){
|
||||
return acrobaticsXPMap.get("Roll");
|
||||
}
|
||||
|
||||
public int getFallXP(){
|
||||
return acrobaticsXPMap.get("Fall");
|
||||
}
|
||||
|
||||
}
|
@ -26,4 +26,30 @@ public class ConfigExperienceAlchemy {
|
||||
return alchemyXPMap;
|
||||
}
|
||||
|
||||
public int getStageOnePotionXP()
|
||||
{
|
||||
return alchemyXPMap.get("Stage-One-Potion");
|
||||
}
|
||||
|
||||
public int getStageTwoPotionXP()
|
||||
{
|
||||
return alchemyXPMap.get("Stage-Two-Potion");
|
||||
}
|
||||
|
||||
public int getStageThreePotionXP()
|
||||
{
|
||||
return alchemyXPMap.get("Stage-Three-Potion");
|
||||
}
|
||||
|
||||
public int getStageFourPotionXP()
|
||||
{
|
||||
return alchemyXPMap.get("Stage-Four-Potion");
|
||||
}
|
||||
|
||||
public int getStageFivePotionXP()
|
||||
{
|
||||
//This is purposely zero to prevent an exploit
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user