added Entity:takeDamage(dmg)