partly fixed the invincibility bug
Merge branch 'master' of https://github.com/fryingpan/Assignment2