Overrideable takeDamage for gameobjects