Disable Herbs

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
smartmedia
Posts: 60
Joined: Tue Jun 16, 2009 4:38 pm
Location: Hellas

Disable Herbs

Post by smartmedia »

L2J Revision 3247:
L2JDP Revision 6350:

Hi..
Is it possible to disable completely the herbs in the game ? So when you hit some small mobs not to take any of them..???
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Disable Herbs

Post by janiii »

you have more possibilities how to do that:
1. set the drop rate of herbs to 0 in rates.properties config
2. in npc table set the column drop_herbs to false (update npc set drop_herbs = false)
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
kotk
Posts: 99
Joined: Wed Jan 04, 2006 12:51 am

Re: Disable Herbs

Post by kotk »

Sure just go into java/net/sf/l2j/gameserver/model/actor/L2Attackable.java and comment out the herbs you don't want, then compile.
smartmedia
Posts: 60
Joined: Tue Jun 16, 2009 4:38 pm
Location: Hellas

Re: Disable Herbs

Post by smartmedia »

I don't know how to compile.

Searching in Rates tab on server Configuration Tool the only option i see about herbs are:
Rate Common herbs
Rate HP MP herbs
Rate Greater herbs
Rate Superior herbs

So if i understand correctly i must set those options to 0. Right...???
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Disable Herbs

Post by janiii »

smartmedia wrote:So if i understand correctly i must set those options to 0. Right...???
yeah, just try it ;)
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Post Reply