Jump to content

Recommended Posts

Posted

Potion Fix: - When you target a distant mob, and use a skill the Char starts to run to the mob. BUT WHEN you click on a potions, char stops running. Same as when you are attacking PCs.

 

Okay here is a patch to fix it, for Interlude L2J.

Index: /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/model/L2Character.java
===================================================================
--- /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/model/L2Character.java (revision 124)
+++ /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/model/L2Character.java (revision 149)
@@ -5604,4 +5604,8 @@
            L2PcInstance currPlayer = (L2PcInstance)this;
            SkillDat queuedSkill = currPlayer.getQueuedSkill();
+            
+            // Rescuing old skill cast task if exist
+            if (skill.isPotion())
+            	queuedSkill = currPlayer.getCurrentSkill();

            currPlayer.setCurrentSkill(null, false, false);

 

Credits: ŚyśţęmƒяәдҚς

  • 3 years later...
  • 2 weeks later...

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
Reply to this topic...

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