Skip to content

Commit

Permalink
Balancing changes from live test - remove hunger effect from regen ac…
Browse files Browse the repository at this point in the history
…tion - reduce vampire damage multiplier from axe. Buff vampire clothing durability
  • Loading branch information
maxanier committed Nov 1, 2022
1 parent a48aa26 commit 2221145
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ private int getMinLevel() {
private float getVampireMult() {
switch (tier) {
case ULTIMATE:
return 1.5F;
case ENHANCED:
return 1.3F;
default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public boolean activate(IVampirePlayer vampire) {
PlayerEntity player = vampire.getRepresentingPlayer();
int dur = VampirismConfig.BALANCE.vaRegenerationDuration.get() * 20;
player.addEffect(new EffectInstance(Effects.REGENERATION, dur, vampire.getSkillHandler().isRefinementEquipped(ModRefinements.REGENERATION.get()) ? 1 : 0));
player.addEffect(new EffectInstance(Effects.HUNGER, dur, 2));
return true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public enum VampirismArmorMaterials implements IArmorMaterial {

MASTERLY_IRON("masterly_iron", 30, new int[]{2, 5, 6, 2}, 10, SoundEvents.ARMOR_EQUIP_IRON, 0, 0, () -> Ingredient.of(Items.IRON_INGOT)),
MASTERLY_LEATHER("masterly_leather", 20, new int[]{1, 2, 3, 1}, 12, SoundEvents.ARMOR_EQUIP_LEATHER, 0.0F, 0.0F, () -> Ingredient.of(Items.LEATHER)),
VAMPIRE_CLOTH("vampire_cloth",5, new int[]{1,2,3,1}, 15, SoundEvents.ARMOR_EQUIP_LEATHER, 0, 0, () -> Ingredient.of(ModTags.Items.HEART));
VAMPIRE_CLOTH("vampire_cloth",15, new int[]{1,2,3,1}, 15, SoundEvents.ARMOR_EQUIP_LEATHER, 0, 0, () -> Ingredient.of(ModTags.Items.HEART));

private static final int[] MAX_DAMAGE_ARRAY = new int[]{13, 15, 16, 11};
private final String name;
Expand Down

0 comments on commit 2221145

Please sign in to comment.