more work on attack system
still trying to fix null reference bug
same as previous