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

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...