View Single Post
Old 19.08.2007, 17:44   #26
Gaikotsu
Архивный участник
 
Join Date: Apr 2006
Posts: 74
Default

simple way to realize herbs drop - use eventdata. auto use so simply do is not got.

one of the variant: define the herbs its, custom item type and add in l2server custom function, which will operate when selecting given type of the subject and immediately use herb.

sample:
Code:
item_begin	herb_item	8600	[herb_of_life]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=potion	...
exactly so auto use is made beside us on server

P.S. sorry my bad english
Gaikotsu is offline