Skip to content

[share]Disable Weight/Grade Penalty

Featured Replies

Disable Weight Penalty  Config:

 

properties :

+#------------------------

+# Grade Weight Config    #

+#------------------------

+# Disable Weight Penalty 

+DisableWeightPenalty = False

 

________________________________

 

Config.java

 

+public static boolean  DISABLE_WEIGHT_PENALTY; 

 

+DISABLE_WEIGHT_PENALTY = Boolean.parseBoolean(L2JBrasilCustom.getProperty("DisableWeightPenalty", "False"));

 

________________________________

 

L2PcInstance.java

@@ -1749,5 +1749,5 @@

                        int weightproc = getCurrentLoad() * 1000 / maxLoad;

                        int newWeightPenalty;

-                        if (weightproc < 500 || _dietMode)

+                        if (weightproc < 500 || _dietMode || Config.DISABLE_WEIGHT_PENALTY)

                        {

                                newWeightPenalty = 0;

@@ -1773,5 +1773,5 @@

                        {

                                _curWeightPenalty = newWeightPenalty;

-                                if (newWeightPenalty > 0 && !_dietMode)

+                                if (newWeightPenalty > 0 && !_dietMode && Config.DISABLE_WEIGHT_PENALTY)

                                {

 

 

Disable Grade Penalty Config:

 

 

properties :

+#------------------------

+# Grade Penalty Config  #

+#------------------------

+# Disable Grade Penalty

+DisableGradePenalty = False

 

 

_____________________________________

 

Config.java

 

+    public static boolean  DISABLE_GRADE_PENALTY;

 

 

+    DISABLE_GRADE_PENALTY  = Boolean.parseBoolean(L2JBrasilCustom.getProperty("DisableGradePenalty", "False"));

 

______________________________________________________

 

L2PcInstance.java

@@ -1805,5 +1805,5 @@

newPenalty = newPenalty - getExpertiseIndex();

 

- if (newPenalty <= 0)

+ if (newPenalty <= 0 || Config.DISABLE_GRADE_PENALTY)

            newPenalty = 0;

 

 

L2JBrasil

i think you have to add the prefix share - competition to participate

  • Author

tnx

but I think I will not participate..

Already shared by SySt3MGaM3RFr3aKs

 

locked

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.