Jump to content
  • 0

Pet Runing speed configure with configs


Question

11 answers to this question

Recommended Posts

  • 0
Posted

You could make it within 1 minute using this query to your database.

 

update npc
set runspd = runspd +10 WHERE type = 'L2Pet'

 

10 is the value you would like to increase.

  • 0
Posted

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.

  • 0
Posted

Thanks, Devlin! Its for summons like magnus the unicorn, dark panther etc?

It's for all summons whose type is L2Pet.
  • 0
Posted

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

  • 0
Posted

<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.
Guest
This topic is now closed to further replies.


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