This way you can drop herbs by using AI instead of adding them to npc's manually.
REPLACE it at warrior_parameter or warrior forgot which one it was.
don't mention the comments in the AI :p most of them r totally wrong but too lazy to remove
Change the chances to as you desire:
Some Info:
Level: 1-20 - 90% chance to drop.
Level: 21-30 - 80% chance to drop.
Level: 31-40 - 70% chance to drop.
Level: 41-50 - 50% chance to drop.
Level: 51-60 - 25% chance to drop.
Level: 61-80 - 10% chance to drop.
pick number between 0-100 if below 33 pick one of the life herbs
pick number between 0-100 if below 33 pick one of the mana herbs
else pick a misc/etc/whatever herb(atk spd etc.)
Attack speed herb will drop IF last target = fighter
If last target is not a FIGHTER-type it will drop magic speed herb.
Same for the critical increase herb whatever just check yourself
EDIT: oh yea the line count is wrong as well.. just correct it yourself
Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 17 October 2007, 18:26. Открыть источник.