Revert "change setMaxHealth function to setHealth"

This reverts commit 4568794e84d1152092841c11f7e49f11ae1a909b.