Jump to content

[share]Disable Weight/Grade Penalty


Guma!

Recommended Posts

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • Welcome to my store :https://ultrasstore11.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10.50 $ 2017 Discord Account :4.99 $ 2018 Discord Account : 3.99 $ 2019 Discord Account : 2.99 $ 2020 Discord Account :1.99$ 2021 Discord Account :1.50$ 2022 Discord Account :0.99$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord :@ultrasstore11 Telegram : https://t.me/ultrastore11 Whatsapp ; +212614849119
    • Trying to add a Heal Over Time to flame and frost armor skills since Archmage & Spellslinger dont get a leech skill. I figured I would try to just add params in the skill xmls but the server dont like that at ALL the way I tried it. Anyone know if this is even possible?
    • Hi), we are searching dev for IL buff shop code. 
    • Im sorry you paid for something that is in a config file....   # --------------------------------------------------------------------------- # Premium Drop Configuration # These rates will be applied to premium char if AutoLoot in Drops.ini is TRUE # otherwise might create some exploits with pickup action # --------------------------------------------------------------------------- # General drop multiplier if item id is NOT in PrRateDropItemsById list PremiumRateDropItems = 2 # Specific multipliers for items, if you add one items in this list will # bypass PremiumRateDropItems # TIP: if you have one item id in Rates.ini for example 57,20 # This rate will multiply 20 * your number here so be carefull PrRateDropItemsById = 57,2;40002,2     This is inside PremiumService.ini, the yellow text above are the (itemID,DropMultiplier) you can separate items with semicolon. like in most of the .ini files. I should add that the above .ini file is in a hi5 pack so for aCis and other revisions Im not sure if its the same.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock