Page 1 of 1
Limit to walk
Posted: Sat Mar 06, 2010 9:11 pm
by deathofkiller
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision
Number: 3979
L2JDP Revision
Number: 7138
What say how can i put a limit on the mobs walk? Thanks
Excusee my bad english

Re: Limit to walk
Posted: Sat Mar 06, 2010 9:16 pm
by Mayhem
In sql database:
In custom_npc or npc there is 'walkspd' and 'runspd' values. Change them as you want.
Re: Limit to walk
Posted: Sat Mar 06, 2010 9:18 pm
by jurchiks
or search for mob drift range in configs
Re: Limit to walk
Posted: Sun Mar 07, 2010 1:37 am
by deathofkiller
Mayhem wrote:In sql database:
In custom_npc or npc there is 'walkspd' and 'runspd' values. Change them as you want.
Changing any of these values, will prevent him walk too? I want him to walk up to a certain point may not go away from the area to spawn. To keep the players leading the mob stay away
Re: Limit to walk
Posted: Sun Mar 07, 2010 12:47 pm
by Mayhem
As jurchiks said, to prevent mobs to walk use this property in NPC.properties:
Code: Select all
# Maximum distance mobs can randomly go from spawn point.# DEFAULT NEEDS TO BE VERIFIED, MUST BE CHANGED HERE AND IN CONFIG.JAVA IF NOT CORRECT# Default: 300MaxDriftRange = 300
Setting this value to 1 will prevent mobs to walk freely.