Jump to content
  • 0

Question

Recommended Posts

  • 0
Posted

yes but in my old server thats works a all weapon...

 

when i open some active skills like acurasy,focus,fist fury. etc and change or remove  my weapon the close autoatic..

  • 0
Posted

+++ /java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 56)
@@ -1830,10 +1830,13 @@
         for (L2Effect currenteffect : getAllEffects())
         {
             L2Skill effectSkill = currenteffect.getSkill();

-            if (currenteffect.getSkill().isToggle())  
-             	currenteffect.exit();
-             	
             // Ignore all buff skills that are party related (ie. songs, dances) while still remaining weapon dependant on cast though.
+            if (!effectSkill.isOffensive() && !(effectSkill.getTargetType() == SkillTargetType.TARGET_PARTY && effectSkill.getSkillType() == SkillType.BUFF))
-            else if (!effectSkill.isOffensive() && !(effectSkill.getTargetType() == SkillTargetType.TARGET_PARTY && effectSkill.getSkillType() == SkillType.BUFF))
             {
                 // Check to rest to assure current effect meets weapon requirements.
             	if (!effectSkill.getWeaponDependancy(this))
                 {

Is a toggle skill that's why..

Just delete the lines on the patch and done ;)

  • 0
Posted

yes but i dont think so that its java problem becose with admin my skills are open if i change or remove weapon but with normal player they closed.. so meaby is any config?? btw i have l2jteon

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