Skip to content

dyes limit removal

Featured Replies

how to remove dyes limit like l2 classic from +5 to +15 im using l2j h5

 

i think its from here what need to change?

 

public void recalcHennaStats()
    {
        _hennaINT = 0;
        _hennaSTR = 0;
        _hennaCON = 0;
        _hennaMEN = 0;
        _hennaWIT = 0;
        _hennaDEX = 0;
        
        for (L2Henna h : _henna)
        {
            if (h == null)
            {
                continue;
            }
            
            _hennaINT += ((_hennaINT + h.getStatINT()) > 5) ? 5 - _hennaINT : h.getStatINT();
            _hennaSTR += ((_hennaSTR + h.getStatSTR()) > 5) ? 5 - _hennaSTR : h.getStatSTR();
            _hennaMEN += ((_hennaMEN + h.getStatMEN()) > 5) ? 5 - _hennaMEN : h.getStatMEN();
            _hennaCON += ((_hennaCON + h.getStatCON()) > 5) ? 5 - _hennaCON : h.getStatCON();
            _hennaWIT += ((_hennaWIT + h.getStatWIT()) > 5) ? 5 - _hennaWIT : h.getStatWIT();
            _hennaDEX += ((_hennaDEX + h.getStatDEX()) > 5) ? 5 - _hennaDEX : h.getStatDEX();
        }
    }

 

Solved by GoldenNightmare

44 minutes ago, GoldenNightmare said:

how to remove dyes limit like l2 classic from +5 to +15 im using l2j h5

 

i think its from here what need to change?

 

 

How much easier do you want it? What would you loose if you change all 5's to 15's in this code and simply, test it?

Edited by Solomun

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.