const playerEntity = ecs.lookupPlayerEntity(entity.Owned.owner); if (playerEntity !== other && other.Vulnerable) { other.Vulnerable.damage({amount: Math.round(60 + Math.random() * 10), position: other.Position.toJSON()}) }