Added optional damage source entity parameter to entity_damage()