SySt3MGaM3RFr3aKs Posted December 30, 2009 Share Posted December 30, 2009 Hello, this is a way to " balance " Blow skill Sucess. Here is a Simple diff file. Index: /trunk/Eclipse-Game/config/Custom/Classbalance.properties =================================================================== --- /trunk/Eclipse-Game/config/Custom/Classbalance.properties (revision 76) +++ /trunk/Eclipse-Game/config/Custom/Classbalance.properties (revision 127) @@ -1,3 +1,9 @@ # Eclipse Configurable Damage Optimizations. +#--------------------------------------------- +# Blow Success Configs +#--------------------------------------------- +FrontBlowSuccess = 50 +SideBlowSuccess = 60 +BehindBlowSuccess = 70 #--------------------------------------------- Index: /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/skillhandlers/Blow.java =================================================================== --- /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/skillhandlers/Blow.java (revision 12) +++ /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/skillhandlers/Blow.java (revision 126) @@ -18,4 +18,5 @@ package net.sf.l2j.gameserver.handler.skillhandlers; +import net.sf.l2j.L2Config; import net.sf.l2j.gameserver.handler.ISkillHandler; import net.sf.l2j.gameserver.model.L2Character; @@ -45,7 +46,7 @@ private int _successChance; - public final static int FRONT = 50; - public final static int SIDE = 60; - public final static int BEHIND = 70; + public final static int FRONT = L2Config.FRONT_BLOW_SUCCESS; + public final static int SIDE = L2Config.SIDE_BLOW_SUCCESS; + public final static int BEHIND = L2Config.BEHIND_BLOW_SUCCESS; public void useSkill(L2Character activeChar, L2Skill skill, L2Object[] targets){ Index: /trunk/Eclipse-Game/java/net/sf/l2j/L2Config.java =================================================================== --- /trunk/Eclipse-Game/java/net/sf/l2j/L2Config.java (revision 121) +++ /trunk/Eclipse-Game/java/net/sf/l2j/L2Config.java (revision 126) @@ -794,5 +794,7 @@ public static float POLE_VS_LIGHT; public static float POLE_VS_ROBE; - + public static int FRONT_BLOW_SUCCESS; + public static int SIDE_BLOW_SUCCESS; + public static int BEHIND_BLOW_SUCCESS; // Packet information @@ -1341,4 +1343,7 @@ POLE_VS_ROBE = Float.parseFloat(cbSettings.getProperty("PoleVsHeavy", "1.80")); + FRONT_BLOW_SUCCESS = Integer.parseInt(cbSettings.getProperty("FrontBlowSuccess", "50")); + SIDE_BLOW_SUCCESS = Integer.parseInt(cbSettings.getProperty("SideBlowSuccess", "60")); + BEHIND_BLOW_SUCCESS = Integer.parseInt(cbSettings.getProperty("BehindBlowSuccess", "70")); } catch (Exception e) Credits: L2JForum. ONLY. Quote Link to comment Share on other sites More sharing options...
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.