I just use the built in settings for eating and drinking and I am not sure how to do it through a FightClass. If you try the built in settings make sure you set the threshold for when you want the bot to go into the restore mode I think it defaults at 35% health and/or mana.
I also use
wManager.wManagerSetting.CurrentSetting.FoodName = "Tel'Abim Banana";
to dynamically change which food I want it to use during a Quester profile with Action type RunCode.