Jump to content
  • 0

Pet Runing speed configure with configs


numl0ckas

Question

11 answers to this question

Recommended Posts

  • 0

Dunno if works just test.

 

### Eclipse Workspace Patch 1.0
#P aCis_gameserver
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PetInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2PetInstance.java	(revision 65)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2PetInstance.java	(working copy)
@@ -938,7 +938,7 @@
	@Override
	public int getRunSpeed()
	{
-		return getStat().getRunSpeed();
+		return getStat().getRunSpeed() + Config.PET_RUN_SPEED;
	}

 

Plus create an int config.

Link to comment
Share on other sites

  • 0

<npc id="14835" name="Dark Panther" title="">

<set name="level" val="80"/>

<set name="radius" val="7"/>

<set name="height" val="13"/>

<set name="rHand" val="0"/>

<set name="lHand" val="0"/>

<set name="type" val="L2Pet"/>

 

So okey, very good, lock it. thanks!

Link to comment
Share on other sites

  • 0

<npc id="14835" name="Dark Panther" title="">

<set name="level" val="80"/>

<set name="radius" val="7"/>

<set name="height" val="13"/>

<set name="rHand" val="0"/>

<set name="lHand" val="0"/>

<set name="type" val="L2Pet"/>

 

So okey, very good, lock it. thanks!

Test it first if you want.
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...