diff --git a/common/src/main/java/dev/aurelium/auraskills/common/api/implementation/OfflineSkillsUser.java b/common/src/main/java/dev/aurelium/auraskills/common/api/implementation/OfflineSkillsUser.java index e74bbb2e1..b728adb71 100644 --- a/common/src/main/java/dev/aurelium/auraskills/common/api/implementation/OfflineSkillsUser.java +++ b/common/src/main/java/dev/aurelium/auraskills/common/api/implementation/OfflineSkillsUser.java @@ -5,10 +5,14 @@ import dev.aurelium.auraskills.api.skill.Skill; import dev.aurelium.auraskills.api.stat.Stat; import dev.aurelium.auraskills.api.stat.StatModifier; +import dev.aurelium.auraskills.api.trait.Trait; import dev.aurelium.auraskills.api.user.SkillsUser; import dev.aurelium.auraskills.common.AuraSkillsPlugin; +import org.jetbrains.annotations.Nullable; +import java.util.HashMap; import java.util.Locale; +import java.util.Map; import java.util.UUID; public class OfflineSkillsUser implements SkillsUser { @@ -61,6 +65,11 @@ public void setSkillLevel(Skill skill, int level) { } + @Override + public double getSkillAverage() { + return 0; + } + @Override public double getStatLevel(Stat stat) { return 0; @@ -101,6 +110,26 @@ public void removeStatModifier(String name) { } + @Override + public @Nullable StatModifier getStatModifier(String name) { + return null; + } + + @Override + public Map getStatModifiers() { + return new HashMap<>(); + } + + @Override + public double getEffectiveTraitLevel(Trait trait) { + return 0; + } + + @Override + public double getBonusTraitLevel(Trait trait) { + return 0; + } + @Override public int getAbilityLevel(Ability ability) { return 0; diff --git a/common/src/main/resources/sources/mining.yml b/common/src/main/resources/sources/mining.yml index d57ab7431..4350a91e9 100644 --- a/common/src/main/resources/sources/mining.yml +++ b/common/src/main/resources/sources/mining.yml @@ -20,6 +20,9 @@ sources: granite: block: granite xp: 0.2 + sandstone: + block: sandstone + xp: 0.2 coal_ore: block: coal_ore xp: 1.0 diff --git a/common/src/main/resources/stats.yml b/common/src/main/resources/stats.yml index 1f6afd506..e7ce0f143 100644 --- a/common/src/main/resources/stats.yml +++ b/common/src/main/resources/stats.yml @@ -38,7 +38,7 @@ stats: enabled: true traits: auraskills/damage_reduction: - modifier: 0.24 + modifier: 0.3 auraskills/crit_chance: enabled: true traits: diff --git a/common/src/test/java/dev/aurelium/auraskills/test/env/TestAuraSkills.java b/common/src/test/java/dev/aurelium/auraskills/test/env/TestAuraSkills.java index 92f9dbdc0..b7b06ff89 100644 --- a/common/src/test/java/dev/aurelium/auraskills/test/env/TestAuraSkills.java +++ b/common/src/test/java/dev/aurelium/auraskills/test/env/TestAuraSkills.java @@ -205,11 +205,6 @@ public EventHandler getEventHandler() { return null; } - @Override - public T getItemManager(Class itemManagerClass) { - return null; - } - @Override public String getMsg(MessageKey key, Locale locale) { return null;