Page 1 of 1

Disable Herbs

Posted: Fri Jul 03, 2009 11:51 am
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..???

Re: Disable Herbs

Posted: Fri Jul 03, 2009 11:57 am
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)

Re: Disable Herbs

Posted: Fri Jul 03, 2009 11:59 am
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.

Re: Disable Herbs

Posted: Fri Jul 03, 2009 1:25 pm
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...???

Re: Disable Herbs

Posted: Fri Jul 03, 2009 1:30 pm
by janiii
smartmedia wrote:So if i understand correctly i must set those options to 0. Right...???
yeah, just try it ;)