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

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