Vamprirism updates.

This commit is contained in:
nossr50 2012-05-01 09:04:29 -07:00
parent 8cd1541893
commit e1cf89c3bf
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ Key:
Version 1.3.07
+ Added new configurable Hardcore mode functionality to mcMMO
+ Added new configurable Vampirism PVP stat leech for Hardcore mode
+ Added new bypass permission node for the negative penalties of Hardcore mode 'mcmmo.bypass.hardcoremode'
+ Added a permission node for Archery bonus damage
+ Added a permission node for Greater Impact ability

View File

@ -32,7 +32,7 @@ public class Hardcore {
for(SkillType st : SkillType.values()) {
if(st.equals(SkillType.ALL))
continue;
int newValue = (int) (PPd.getSkillLevel(st) - (PPd.getSkillLevel(st) * (Config.getInstance().getHardcoreVampirismStatLeechPercentage() * 0.01D)));
int newValue = (int) (PPd.getSkillLevel(st) * (Config.getInstance().getHardcoreVampirismStatLeechPercentage() * 0.01D));
PPk.modifySkill(st, newValue+PPk.getSkillLevel(st));
}