Jump to content

Question

11 answers to this question

Recommended Posts

  • 0
Posted

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

  • 0
Posted (edited)

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
  • 0
Posted

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%

Guest
This topic is now closed to further replies.


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