Skip to content

Changing Base Stat impacts

Featured Replies

Hi everyone!

 

We are trying to make a server with 100% chance skill success rate. Where I mean, that if a player has zero % resists against stun attacks can be stunned 100/100.

Normally because of CON / MEN base stats, this rate would be around 85/100. 

 

How can we solve this problem without changing the base stats of each class?

  • Author
7 minutes ago, Zake said:

Depends on the pack you're using, most of the packs cap on 75% chance

Where is this capped in the code exactly? 

Just now, sLeShi said:

Where is this capped in the code exactly? 

this was a mistake, i just saw a crappy old fork. I edited my post above. As i can see in acis 

final double rate = Math.max(1, Math.min((baseChance * statModifier * skillModifier * mAtkModifier * lvlModifier), 99));
  It's between 1 and 99

and in lisvus (c4)

if (rate > 99)
        {
            rate = 99;
        }
        else if (rate < 1)
        {
            rate = 1;
        }
        

is this way too.Which pack are you using?

If you are using a H5 pack, most of them has a min and max debuff chance as config.

  • Author
3 hours ago, Zake said:

this was a mistake, i just saw a crappy old fork. I edited my post above. As i can see in acis 

final double rate = Math.max(1, Math.min((baseChance * statModifier * skillModifier * mAtkModifier * lvlModifier), 99));
  It's between 1 and 99

and in lisvus (c4)

if (rate > 99)
        {
            rate = 99;
        }
        else if (rate < 1)
        {
            rate = 1;
        }
        

is this way too.Which pack are you using?

L2jOrion (Interlude) 

12 hours ago, sLeShi said:

L2jOrion (Interlude) 

This isn't a free pack so i can't help you further with this. Although this might be still in formulas.java under calcskillsuccess method, if you struggle post this method

Create an account or sign in to comment

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.