Jump to content

Question

Posted

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();
        }
    }

 

2 answers to this question

Recommended Posts

  • 0
Posted (edited)
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.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..