fixed errors in item processing

added randomization of menu
context specific spell casting

began work on fight algorithm

not in working state