Enemy effect logic working. Fixed some bugs.