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

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