Implemented the attack algorithms.

Also refactored the creature presets.