Jump to content
  • 0

Pick Up Speed Items


l2balancex

Question

11 answers to this question

Recommended Posts

  • 0

Many thanks, as soon as I learn to add I will test <3

 

its the correct answer, you have to paralyze the character server side but without the frozen effect on the client side. In case speed is still an issue you should reduce the player's speed for that duration

Link to comment
Share on other sites

  • 0

You should add a 'timer' when pick up detected..

 

L2PcInstance.java 

@@ -6892,6 +6892,18 @@
 					checkAndEquipArrows();
 			}
 		}
+
+		double speed = this.getStat().getMovementSpeedMultiplier();
+		int div = 800;
+		ThreadPoolManager.getInstance().scheduleAi(new Runnable()
+				{
+					@Override
+					public void run()
+					{
+						setIsParalyzed(false);
+					}
+				}, (int) (div/speed));
+				setIsParalyzed(true);
 		target = null;
 	}

Customize div to your value

Edited by melron
Link to comment
Share on other sites

  • 0

You should add a 'timer' when pick up detected..

 

L2PcInstance.java 

@@ -6892,6 +6892,18 @@
 					checkAndEquipArrows();
 			}
 		}
+
+		double speed = this.getStat().getMovementSpeedMultiplier();
+		int div = 800;
+		ThreadPoolManager.getInstance().scheduleAi(new Runnable()
+				{
+					@Override
+					public void run()
+					{
+						setIsParalyzed(false);
+					}
+				}, (int) (div/speed));
+				setIsParalyzed(true);
 		target = null;
 	}

Customize div to your value

I love Bro, Working 100%

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...