marwan Posted February 26, 2011 Posted February 26, 2011 hi guys , i have l2jserevr freya pack i got program with cancel its 100% i want decrease it chance how , and the buff that cancel Quote
0 K4rmaArr0ws Posted February 26, 2011 Posted February 26, 2011 what? explain your problem better mate :-[ Quote
0 Flash™ Posted February 26, 2011 Posted February 26, 2011 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 { Quote
Question
marwan
hi guys , i have l2jserevr freya pack
i got program with cancel its 100% i want decrease it chance how , and the buff that cancel
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.