Setup Acrobatics/Alchemy XP methods

This commit is contained in:
nossr50 2019-04-10 02:03:01 -07:00
parent ba180ebae3
commit 8ddbb3aa91
3 changed files with 51 additions and 0 deletions

View File

@ -107,4 +107,16 @@ public class ConfigExperience {
public HashMap<String, Integer> getAlchemyXPMap() { public HashMap<String, Integer> getAlchemyXPMap() {
return experienceAlchemy.getAlchemyXPMap(); return experienceAlchemy.getAlchemyXPMap();
} }
public int getDodgeXP() {
return experienceAcrobatics.getDodgeXP();
}
public int getRollXP() {
return experienceAcrobatics.getRollXP();
}
public int getFallXP() {
return experienceAcrobatics.getFallXP();
}
} }

View File

@ -33,4 +33,17 @@ public class ConfigExperienceAcrobatics {
public Double getFeatherFallMultiplier() { public Double getFeatherFallMultiplier() {
return featherFallMultiplier; return featherFallMultiplier;
} }
public int getDodgeXP(){
return acrobaticsXPMap.get("Dodge");
}
public int getRollXP(){
return acrobaticsXPMap.get("Roll");
}
public int getFallXP(){
return acrobaticsXPMap.get("Fall");
}
} }

View File

@ -26,4 +26,30 @@ public class ConfigExperienceAlchemy {
return alchemyXPMap; 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;
}
} }