reworked friendalive enemyalive; abstract mId