Rio Posted January 24, 2010 Posted January 24, 2010 hello guys i need some1 to tell me how can i remove grade penalty... ty
0 Matim Posted January 24, 2010 Posted January 24, 2010 It depends from Your pack, check it, it should be configurable.
0 Rio Posted January 24, 2010 Author Posted January 24, 2010 nop it hasnt any configs to remove grade penalty..how can i edit by myself into java?
0 xAddytzu Posted January 24, 2010 Posted January 24, 2010 public void refreshExpertisePenalty() { + if (Config.ALLOW_GRADE_PENALTY) + { int newPenalty = 0; for (L2ItemInstance item : getInventory().getItems()) { if (item != null && item.isEquipped()) { int crystaltype = item.getItem().getCrystalType(); if (crystaltype > newPenalty) newPenalty = crystaltype; } } newPenalty = newPenalty - getExpertiseIndex(); if (newPenalty <= 0) newPenalty = 0; if (getExpertisePenalty() != newPenalty) { _expertisePenalty = newPenalty; if (newPenalty > 0) super.addSkill(SkillTable.getInstance().getInfo(4267, 1)); else super.removeSkill(getKnownSkill(4267)); sendPacket(new EtcStatusUpdate(this)); } + } } You must to create field for ALLOW_GRADE_PENALTY in Config.Java
0 Kяaσh Posted January 24, 2010 Posted January 24, 2010 http://my-trac.assembla.com/L2J-HardCode/changeset/192
Question
Rio
hello guys i need some1 to tell me how can i remove grade penalty... ty
6 answers to this question
Recommended Posts