Jump to content
  • 0

Cancel Skill 100%


Question

2 answers to this question

Recommended Posts

  • 0
Posted

man test for this

 

Index: java/com/l2jserver/gameserver/skills/Formulas.java

===================================================================

--- java/com/l2jserver/gameserver/skills/Formulas.java  (revision 4472)
+++ java/com/l2jserver/gameserver/skills/Formulas.java  (working copy)
@@ -2446,8 +2446,8 @@

            

            return Rnd.get(100) < value;
        }
-       else if (type.equals(L2SkillType.CANCEL)) // CANCEL-type effects land always
-           return true;
+       else if (type.equals(L2SkillType.CANCEL))
+           return Rnd.get(50) < skill.getMaxChance();     

        if (shld == SHIELD_DEFENSE_PERFECT_BLOCK) // perfect block
        {

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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..