Skip to content

Commit

Permalink
Merge pull request #19 from greesyB/master
Browse files Browse the repository at this point in the history
Increase discount of ichor armors
  • Loading branch information
Dream-Master authored Jul 29, 2022
2 parents 903f158 + 1316698 commit dc69ee1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public String getArmorTexture(ItemStack stack, Entity entity, int slot, String t
}

@Override
public void addInformation(final ItemStack stack, final EntityPlayer player, final List list, final boolean par4)
public void addInformation(final ItemStack stack, final EntityPlayer player, final List list, final boolean par4)
{
list.add(EnumChatFormatting.DARK_PURPLE + StatCollector.translateToLocal("tc.visdiscount") + ": " + this.getVisDiscount(stack, player, null) + "%");
}
Expand Down Expand Up @@ -115,7 +115,7 @@ public void damageArmor(EntityLivingBase entity, ItemStack stack, DamageSource s

@Override
public int getVisDiscount(ItemStack arg0, EntityPlayer arg1, Aspect arg2) {
return 5;
return 6;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ public void addInformation(ItemStack stack, EntityPlayer par2EntityPlayer, List
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {
return slot == 2 ? LibResources.MODEL_ARMOR_ICHOR_GEM_2 : LibResources.MODEL_ARMOR_ICHOR_GEM_1;
}

@Override
public int getVisDiscount(ItemStack arg0, EntityPlayer arg1, Aspect arg2) {
return 6;
return 10;
}


boolean ticks() {
return false;
Expand Down

0 comments on commit dc69ee1

Please sign in to comment.