fixed errors
small changes to pathfinding

changed a modifier for when attacking so that the sprite wont move
Merge pull request #9 from Johnidel/master

pulling again