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

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock