Added functions for combat and items